:root {
    --auth-primary-indigo: #4f46e5;
    --auth-primary-peach: #ff8a65;
    --auth-primary-dark: #1e1b4b;
    --auth-text-muted: #64748b;
    --auth-font-family: 'Plus Jakarta Sans', sans-serif;
}

body.auth-login {
    font-family: var(--auth-font-family);
    background: linear-gradient(135deg, #e0e7ff 0%, #ffedd5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 20px 10px;
}

.auth-login .bg-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.auth-login .circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.auth-login .circle-1 {
    width: 350px;
    height: 350px;
    background: rgba(79, 70, 229, 0.18);
    top: -50px;
    right: -50px;
}

.auth-login .circle-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 138, 101, 0.18);
    bottom: -50px;
    left: -50px;
}

.auth-login .login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    padding: 10px;
}

.auth-login .login-card {
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(30, 27, 75, 0.06);
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.auth-login .brand-icon-wrapper {
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(255, 138, 101, 0.08) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.auth-login .brand-icon-wrapper i {
    font-size: 30px;
    background: linear-gradient(135deg, var(--auth-primary-indigo), var(--auth-primary-peach));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-login .app-title {
    font-weight: 800;
    color: var(--auth-primary-dark);
    font-size: 25px;
    letter-spacing: 0;
    margin-bottom: 6px;
}

.auth-login .app-subtitle {
    font-size: 13px;
    color: var(--auth-text-muted);
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.5;
}

.auth-login .form-label {
    font-weight: 600;
    font-size: 13px;
    color: var(--auth-primary-dark);
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.auth-login .input-group-custom {
    position: relative;
    margin-bottom: 22px;
}

.auth-login .input-group-custom .form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 46px;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    background-color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.auth-login .input-group-custom .form-control:focus {
    outline: none;
    border-color: var(--auth-primary-indigo);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
    background-color: #fff;
}

.auth-login .input-group-custom .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 5;
    font-size: 16px;
    transition: color 0.2s ease;
}

.auth-login .input-group-custom .form-control:focus ~ .input-icon {
    color: var(--auth-primary-indigo);
}

.auth-login .toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 5;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    transition: color 0.2s ease;
}

.auth-login .toggle-password:hover {
    color: var(--auth-primary-indigo);
}

.auth-login .btn-login {
    background: linear-gradient(135deg, var(--auth-primary-indigo) 0%, var(--auth-primary-peach) 100%);
    border: none;
    border-radius: 14px;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.15);
    transition: all 0.3s ease;
}

.auth-login .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(79, 70, 229, 0.22);
    background: linear-gradient(135deg, #3730a3 0%, #e05e38 100%);
}

.auth-login .btn-login:active {
    transform: translateY(0);
}

.auth-login .alert-custom {
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    background-color: #fee2e2;
    color: #991b1b;
    padding: 12px 16px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-login .footer-text {
    text-align: center;
    font-size: 11.5px;
    color: #64748b;
    margin-top: 24px;
    font-weight: 500;
    line-height: 1.6;
}

.auth-login .footer-text a {
    color: var(--auth-primary-indigo);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1.5px dashed rgba(79, 70, 229, 0.3);
    padding-bottom: 1px;
    transition: all 0.2s ease;
}

.auth-login .footer-text a:hover {
    color: var(--auth-primary-peach);
    border-bottom-color: var(--auth-primary-peach);
}

@media (max-width: 576px) {
    body.auth-login {
        align-items: flex-start;
        padding: 40px 10px;
    }

    .auth-login .login-container {
        padding: 0;
    }

    .auth-login .login-card {
        padding: 32px 20px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.88);
    }

    .auth-login .brand-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .auth-login .brand-icon-wrapper i {
        font-size: 26px;
    }

    .auth-login .app-title {
        font-size: 22px;
    }

    .auth-login .app-subtitle {
        font-size: 12.5px;
        margin-bottom: 24px;
    }

    .auth-login .input-group-custom .form-control {
        padding: 11px 42px;
        font-size: 13.5px;
        border-radius: 12px;
    }

    .auth-login .input-group-custom .input-icon {
        left: 14px;
        font-size: 14px;
    }

    .auth-login .toggle-password {
        right: 14px;
        font-size: 14px;
    }

    .auth-login .btn-login {
        padding: 11px;
        font-size: 14.5px;
        border-radius: 12px;
    }

    .auth-login .footer-text {
        margin-top: 20px;
        font-size: 11px;
    }
}
