.login-page {
    min-height: calc(100vh - 130px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 50%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.login-page::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.login-card {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.login-card-inner {
    background: #fff;
    border-radius: 24px;
    padding: 44px 36px 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.login-card-inner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #60a5fa, #2563eb);
}

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

.login-logo {
    height: 48px;
    margin-bottom: 20px;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.login-header p {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.login-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 24px;
}

.login-alert i {
    color: #ef4444;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.login-alert ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #b91c1c;
    font-weight: 500;
}

.login-alert ul li + li {
    margin-top: 4px;
}

.login-field {
    margin-bottom: 20px;
}

.login-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.login-input-wrap {
    position: relative;
}

.login-input-wrap input {
    width: 100%;
    height: 50px;
    padding: 0 48px 0 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Tajawal', sans-serif;
    font-size: 15px;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.25s ease;
    outline: none;
}

.login-input-wrap input:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.login-input-wrap input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.login-input-wrap i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    transition: color 0.25s ease;
    pointer-events: none;
}

.login-input-wrap input:focus + i {
    color: #2563eb;
}

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

.login-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    user-select: none;
}

.login-remember input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    border-radius: 4px;
    cursor: pointer;
}

.login-forgot {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}

.login-forgot:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-btn:hover::before {
    opacity: 1;
}

.login-btn span,
.login-btn i {
    position: relative;
    z-index: 1;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

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

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

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

.login-footer a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.login-footer a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.login-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
}

.login-back:hover {
    color: #64748b !important;
}

/* ── Verify Email ── */
.verify-content {
    text-align: center;
    margin-bottom: 28px;
}

.verify-icon {
    font-size: 56px;
    color: #2563eb;
    margin-bottom: 16px;
    line-height: 1;
}

.verify-icon i {
    display: inline-block;
    animation: verify-pulse 2s ease-in-out infinite;
}

@keyframes verify-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.8; }
}

.verify-text {
    font-size: 15px;
    color: #334155;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 12px;
}

.verify-text-sm {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
    line-height: 1.6;
}

.verify-logout-btn {
    background: none;
    border: none;
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ef4444;
    cursor: pointer;
    padding: 0;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.verify-logout-btn:hover {
    color: #dc2626;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-card-inner {
        padding: 32px 20px 28px;
    }

    .login-header h1 {
        font-size: 20px;
    }

    .login-options {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
}
