html,
body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #f8f9fa;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.siged-login {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.siged-login__brand {
    align-items: center;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 42%),
        linear-gradient(135deg, #184e73 0%, #082f49 100%);
    color: #ffffff;
    display: flex;
    flex: 1.15;
    justify-content: center;
    overflow: hidden;
    padding: 3rem;
    position: relative;
}

.siged-login__shape {
    animation: sigedFloat 15s infinite ease-in-out;
    background: rgba(255, 255, 255, 0.055);
    border-radius: 999px;
    position: absolute;
}

.siged-login__shape--one {
    height: 350px;
    left: -100px;
    top: -100px;
    width: 350px;
}

.siged-login__shape--two {
    animation-delay: -5s;
    bottom: -150px;
    height: 500px;
    right: -150px;
    width: 500px;
}

.siged-login__shape--three {
    animation-delay: -10s;
    height: 200px;
    left: 60%;
    top: 40%;
    width: 200px;
}

.siged-login__brand-content {
    max-width: 680px;
    position: relative;
    text-align: center;
    z-index: 1;
}

.siged-login__title {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    font-size: clamp(3.2rem, 5.6vw, 5.6rem);
    font-weight: 800;
    gap: 0.8rem;
    justify-content: center;
    line-height: 0.95;
    margin-bottom: 1rem;
    text-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
}

.siged-login__connector {
    color: #7dd3fc;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.52em;
    font-style: italic;
    font-weight: 700;
    text-transform: lowercase;
}

.siged-login__subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.45;
}

.siged-login__panel {
    align-items: center;
    background: #ffffff;
    display: flex;
    flex: 1;
    justify-content: center;
    padding: 2rem;
}

.siged-login__form {
    max-width: 400px;
    width: 100%;
}

.siged-login__heading {
    color: #195a85;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.siged-login__description {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 2.5rem;
}

.siged-login__alert {
    align-items: center;
    background-color: #fee2e2;
    border: 1px solid #f87171;
    border-radius: 12px;
    color: #991b1b;
    display: flex;
    font-size: 0.95rem;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding: 12px 15px;
}

.siged-login__field {
    margin-bottom: 1.8rem;
    position: relative;
}

.siged-login__icon,
.siged-login__toggle {
    color: #8fa4b3;
    font-size: 1.1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.siged-login__icon {
    left: 1.2rem;
}

.siged-login__toggle {
    cursor: pointer;
    right: 1.2rem;
}

.siged-login__control {
    background-color: #f8fafc;
    border: 2px solid #eef1f4;
    border-radius: 14px;
    color: #333333;
    font-size: 1.05rem;
    padding: 0.9rem 1rem 0.9rem 3.2rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    width: 100%;
}

.siged-login__control--password {
    padding-right: 3.2rem;
}

.siged-login__control:focus {
    background-color: #ffffff;
    border-color: #195a85;
    box-shadow: 0 0 0 4px rgba(25, 90, 133, 0.1);
    outline: none;
}

.siged-login__control.is-invalid {
    background-color: #fffafa;
    border-color: #e3342f;
}

.siged-login__remember {
    align-items: center;
    color: #555555;
    cursor: pointer;
    display: flex;
    font-size: 0.95rem;
    gap: 0.6rem;
    margin-bottom: 1rem;
    user-select: none;
}

.siged-login__remember input {
    accent-color: #195a85;
    cursor: pointer;
    height: 18px;
    width: 18px;
}

.siged-login__button {
    align-items: center;
    background: linear-gradient(135deg, #195a85 0%, #134668 100%);
    border: 0;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(25, 90, 133, 0.25);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    font-size: 1.1rem;
    font-weight: 700;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    padding: 0.9rem;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    width: 100%;
}

.siged-login__button:hover {
    background: linear-gradient(135deg, #134668 0%, #0d3654 100%);
    box-shadow: 0 8px 25px rgba(25, 90, 133, 0.35);
    color: #ffffff;
    transform: translateY(-2px);
}

.siged-login .invalid-feedback {
    color: #e3342f;
    display: block;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
}

@keyframes sigedFloat {
    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

@media (max-width: 991.98px) {
    .siged-login__brand {
        display: none;
    }

    .siged-login__panel {
        background: linear-gradient(135deg, #195a85 0%, #0d3654 100%);
    }

    .siged-login__form {
        background: #ffffff;
        border-radius: 24px;
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
        padding: 3rem 2.5rem;
    }

    .siged-login__heading,
    .siged-login__description {
        text-align: center;
    }
}
