.login-page-wrapper {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: radial-gradient(circle at top right, rgba(30, 64, 175, 0.05), transparent),
                radial-gradient(circle at bottom left, rgba(79, 192, 179, 0.05), transparent);
}

.login-premium-card {
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.8s ease-out;
}

.login-brand-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-brand-header .brand-logo {
    width: 70px;
    margin-bottom: 24px;
    filter: drop-shadow(0 10px 15px rgba(30, 64, 175, 0.1));
}

.login-brand-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.login-brand-header p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.premium-form-group {
    margin-bottom: 24px;
}

.premium-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 10px;
    margin-inline-start: 4px;
}

.premium-input-wrapper {
    position: relative;
}

.premium-input-wrapper i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    transition: color 0.3s ease;
}

[dir="rtl"] .premium-input-wrapper i { left: 20px; }
[dir="ltr"] .premium-input-wrapper i { right: 20px; }

.premium-input {
    width: 100%;
    height: 56px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.3s ease;
}

[dir="rtl"] .premium-input { padding-left: 50px; }
[dir="ltr"] .premium-input { padding-right: 50px; }

.premium-input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
    outline: none;
}

.premium-input:focus + i {
    color: var(--primary);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.remember-me input {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    accent-color: var(--primary);
}

.remember-me span {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.forgot-password-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
}

.forgot-password-link:hover {
    color: var(--accent);
    text-decoration: underline !important;
}


.btn-premium-login {
    width: 100%;
    height: 60px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px -5px rgba(30, 64, 175, 0.3);
}

.btn-premium-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(30, 64, 175, 0.4);
    background: #1d3aad;
}

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

.login-card-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #f1f5f9;
}

.login-card-footer p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 12px;
}

.login-card-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-card-footer a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 13px;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .login-premium-card {
        padding: 30px 20px;
        border-radius: 24px;
    }
    
    .login-brand-header h1 {
        font-size: 26px;
    }
}
