:root {
    --premium-primary: #004aad;
    --premium-secondary: #0078ff;
    --premium-accent: #01d0cc;
    --glass-bg: rgba(255, 255, 255, 1);
    --glass-border: #e2e8f0;
}

#auth-premium-wrapper {
    background: #f0f4f8;
    /* Stylish light blue-grey background */
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px !important;
    font-family: 'Tajawal', sans-serif;
    position: relative;
}

.premium-card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    z-index: 2;
    width: 100%;
    max-width: 440px;
    overflow: hidden;
    animation: authFadeInDown 0.6s ease-out;
}

@keyframes authFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.premium-header {
    background: rgba(255, 255, 255, 0.2);
    padding: 35px 20px 20px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.premium-body {
    padding: 35px 40px;
}

.premium-label {
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.premium-label i {
    margin-left: 8px;
    color: var(--premium-primary);
}

.premium-input {
    background: #f8fafc !important;
    border: 2px solid transparent !important;
    border-radius: 14px !important;
    padding: 12px 18px !important;
    height: auto !important;
    transition: all 0.3s ease !important;
    font-weight: 500;
    color: #2d3748 !important;
}

.premium-input:focus {
    background: #fff !important;
    border-color: var(--premium-secondary) !important;
    box-shadow: 0 10px 20px rgba(0, 120, 255, 0.08) !important;
}

.btn-premium-primary {
    background: linear-gradient(135deg, var(--premium-primary) 0%, var(--premium-secondary) 100%);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s;
    width: 100%;
    display: block;
    text-align: center;
}

.btn-premium-primary:hover {
    box-shadow: 0 10px 20px rgba(0, 74, 173, 0.2);
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-premium-outline {
    background: transparent;
    border: 2px solid var(--premium-secondary);
    color: var(--premium-primary) !important;
    border-radius: 12px;
    padding: 14px 20px;
    font-weight: 700;
    transition: all 0.3s;
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
}

.btn-premium-outline:hover {
    background: var(--premium-secondary);
    color: #fff !important;
    transform: translateY(-2px);
}

.premium-link {
    color: var(--premium-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.premium-link:hover {
    color: var(--premium-secondary);
    text-decoration: underline;
}

.premium-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: #718096;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.premium-divider::before,
.premium-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.premium-divider:not(:empty)::before {
    margin-left: .5em;
}

.premium-divider:not(:empty)::after {
    margin-right: .5em;
}

.premium-chip {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    font-weight: 700;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
}

.premium-chip:hover {
    border-color: var(--premium-primary);
    color: var(--premium-primary);
    transform: translateY(-2px);
}

.premium-chip i {
    margin-left: 8px;
    font-size: 1.1rem;
}

/* RTL Helpers */
[dir="rtl"] .text-right {
    text-align: right !important;
}

[dir="rtl"] .ms-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}