.login-body {
    min-height: 100vh;
    margin: 0;
    color: #eaf1ff;
    background: #0a102a;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.left-section {
    min-height: 100vh;
    position: relative;
    background-image:
        linear-gradient(160deg, rgba(6, 15, 41, 0.8), rgba(26, 8, 52, 0.86)),
        url("../images/arkaplan.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.left-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 25%, rgba(74, 141, 255, 0.2), transparent 45%);
}

.left-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 3rem;
    animation: fadeSlideLeft 0.9s ease-out both;
}

.brand-logo {
    width: 180px;
    max-width: 100%;
}

.hero-title {
    margin: 1.75rem 0 0.75rem;
    font-size: clamp(2.1rem, 5vw, 3.3rem);
    font-weight: 800;
    line-height: 1.1;
}

.hero-text {
    color: #c6d4f4;
    font-size: 1.02rem;
    line-height: 1.7;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.9rem;
    backdrop-filter: blur(4px);
}

.feature-title {
    color: #ffffff;
    font-weight: 700;
}

.feature-desc {
    color: #caD4ef;
    font-size: 0.9rem;
}

.right-section {
    min-height: 100vh;
    background: radial-gradient(circle at 15% 10%, #1f3b66, #0d1638 58%, #0a102a 100%);
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: rgba(12, 21, 48, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    animation: fadeSlideUp 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.login-card.login-error {
    border-color: rgba(255, 107, 107, 0.6);
    box-shadow:
        0 16px 36px rgba(255, 73, 73, 0.18),
        0 24px 60px rgba(0, 0, 0, 0.35);
    animation: shakeError 0.55s ease both;
}

.login-card.login-success {
    border-color: rgba(92, 230, 160, 0.7);
    box-shadow:
        0 0 0 1px rgba(92, 230, 160, 0.25),
        0 16px 36px rgba(54, 211, 153, 0.25),
        0 24px 60px rgba(0, 0, 0, 0.35);
    animation: successPop 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.back-link {
    color: #9ac8ff;
    text-decoration: none;
}

.back-link:hover {
    color: #cfe5ff;
}

.form-label {
    color: #d6e1fa;
}

.form-control {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: #4cc9f0;
    box-shadow: 0 0 0 0.2rem rgba(76, 201, 240, 0.22);
}

.form-control::placeholder {
    color: #a9b8da;
}

.input-group-auth .input-group-text {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #9fd9ff;
    min-width: 52px;
    justify-content: center;
}

.input-group-auth .form-control {
    border-left: 0;
}

.input-group-auth .form-control:focus {
    border-left: 0;
}

.input-group-auth .form-control:focus + .input-group-text {
    border-color: #4cc9f0;
}

.input-group-auth i {
    font-size: 1.08rem;
}

.btn-login {
    position: relative;
    overflow: hidden;
    font-weight: 700;
    border: 0;
    color: #05203f;
    background: linear-gradient(180deg, #5ce6ff 0%, #2ecaf2 55%, #20b2df 100%);
    box-shadow:
        0 14px 24px rgba(8, 146, 190, 0.35),
        0 4px 0 #1285b1;
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-login:hover {
    color: #05203f;
    filter: brightness(1.04);
    transform: translateY(-2px);
    box-shadow:
        0 18px 28px rgba(8, 146, 190, 0.4),
        0 6px 0 #1285b1;
}

.btn-login:active {
    transform: translateY(2px);
    box-shadow:
        0 8px 16px rgba(8, 146, 190, 0.3),
        0 2px 0 #1285b1;
}

.btn-login::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 10%;
    width: 80%;
    height: 46%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.alert-login {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-width: 1px;
    border-radius: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transform: translateY(0);
    animation: fadeSlideUp 0.35s ease both, alertPop3d 0.45s ease both;
}

.alert-login::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 5%;
    width: 90%;
    height: 45%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.alert-danger.alert-login {
    color: #51121a;
    border-color: rgba(173, 31, 49, 0.45);
    background: linear-gradient(180deg, #ffd8df 0%, #f6b6c1 100%);
    box-shadow:
        0 10px 20px rgba(173, 31, 49, 0.26),
        0 4px 0 #b54f62;
}

.alert-success.alert-login {
    color: #0f4731;
    border-color: rgba(27, 135, 98, 0.45);
    background: linear-gradient(180deg, #d4ffef 0%, #a7f0d6 100%);
    box-shadow:
        0 10px 20px rgba(27, 135, 98, 0.25),
        0 4px 0 #389a77;
}

.alert-login i {
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 50%;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.35);
}

.helper-text {
    color: #8fa6d5;
    font-size: 0.875rem;
}

.login-footer {
    margin-top: 3.8rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(155, 188, 240, 0.35);
    background: rgba(89, 123, 184, 0.14);
    color: #d8e6ff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    animation: fadeSlideUp 1s ease both;
    animation-delay: 0.2s;
}

.login-footer::before {
    content: "";
    display: block;
    width: 150px;
    height: 1px;
    margin: 0 auto 15px;
    background: linear-gradient(90deg, rgba(136, 178, 238, 0), rgba(136, 178, 238, 0.95), rgba(136, 178, 238, 0));
}

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(34px) scale(0.98);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes fadeSlideLeft {
    0% {
        opacity: 0;
        transform: translateX(-26px);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes shakeError {
    0% { transform: translateX(0); }
    20% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

@keyframes successPop {
    0% {
        transform: scale(0.985);
        filter: saturate(0.95);
    }
    60% {
        transform: scale(1.01);
        filter: saturate(1.08);
    }
    100% {
        transform: scale(1);
        filter: saturate(1);
    }
}

@keyframes alertPop3d {
    0% {
        transform: perspective(600px) rotateX(8deg) translateY(6px) scale(0.98);
    }
    100% {
        transform: perspective(600px) rotateX(0deg) translateY(0) scale(1);
    }
}

@media (max-width: 991.98px) {
    .left-section {
        display: none !important;
    }

    .right-section {
        padding: 1.5rem !important;
    }
}
