/*
 * نظام التصميم الاحترافي للواجهة الأمامية
 * نظام تحفيظ القرآن الكريم الذكي
 * تاريخ: 19 أكتوبر 2025
 */

/* ===== المتغيرات العامة ===== */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --info-gradient: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    --warning-gradient: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    --danger-gradient: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    
    --primary-color: #667eea;
    --primary-dark: #764ba2;
    --secondary-color: #11998e;
    --accent-color: #f39c12;
    
    --text-dark: #2c3e50;
    --text-muted: #7f8c8d;
    --text-light: #ecf0f1;
    
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.18);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.22);
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    --font-ar: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
}

/* ===== إعدادات عامة ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-ar);
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.8;
    overflow-x: hidden;
}

section {
    padding: 80px 0;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== النصوص والعناوين ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }

/* ===== Modern Navigation ===== */
.modern-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-normal);
}

.modern-navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition-fast);
}

.navbar-brand i {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.navbar-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    transition: var(--transition-fast);
    padding: 8px 0;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--primary-color);
}

.navbar-menu a:hover::after,
.navbar-menu a.active::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* ===== Hero Section Modern ===== */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.hero-modern::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    animation: float 20s ease-in-out infinite;
}

.hero-modern::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: slideDown 0.8s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: slideUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 40px;
    animation: slideUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease 0.6s both;
}

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

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

/* ===== الأزرار الحديثة ===== */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.4s ease;
}

.btn-modern:hover::before {
    width: 100%;
}

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

.btn-primary-modern {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.btn-outline-modern {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-modern:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
}

/* ===== قسم الإحصائيات الحديث ===== */
.stats-modern {
    margin-top: -120px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.stat-card-modern {
    background: white;
    padding: 36px 28px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* .stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
} */

.stat-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: var(--transition-normal);
}

.stat-card-modern:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ===== قسم العناوين ===== */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== قسم الخدمات ===== */
.services-section {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 42px 32px;
    border-radius: var(--border-radius-lg);
    border: 2px solid transparent;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-icon {
    width: 90px;
    height: 90px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.05) rotate(-5deg);
}

.service-title {
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.service-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    position: relative;
    z-index: 1;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
}

/* ===== قسم المميزات ===== */
.features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.feature-card {
    background: white;
    padding: 36px 28px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
}

.feature-icon i {
    color: #ffffff !important;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== قسم الحوكمة ===== */
.governance-section {
    background: white;
}

.governance-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.governance-content h2 {
    margin-bottom: 24px;
}

.governance-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.governance-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.governance-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.governance-item-icon {
    width: 50px;
    height: 50px;
    background: var(--success-gradient);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.governance-item-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.governance-item-content p {
    font-size: 1rem;
    margin: 0;
}

.governance-visual {
    position: relative;
}

.governance-card-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.governance-card-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 24px;
    border-radius: var(--border-radius-md);
    border-right: 4px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.governance-card-item:hover {
    transform: translateX(-10px);
    box-shadow: var(--shadow-md);
}

.governance-card-item h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

/* ===== قسم الشهادات ===== */
.testimonials-section {
    background: var(--primary-gradient);
    color: white;
}

.testimonials-section .section-title,
.testimonials-section .section-subtitle {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 36px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
    color: #ffd700;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.testimonial-author-info h5 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.testimonial-author-info p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 0;
}

/* ===== قسم CTA ===== */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 100px 24px;
    border-radius: var(--border-radius-xl);
    margin: 80px auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -150px;
    right: -150px;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ===== Footer Modern ===== */
.footer-modern {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-about h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: white;
}

.footer-about p {
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
    text-decoration: none;
    color: white;
}

.social-icon:hover {
    background: var(--primary-gradient);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links ul li a:hover {
    color: white;
    padding-right: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    .governance-container { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; }
    .navbar-menu { display: none; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .btn-modern { width: 100%; justify-content: center; }
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* ===== Utilities ===== */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.bg-gradient-success {
    background: var(--success-gradient);
}

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* ===== Login Page Modern Design ===== */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    /* position: relative; */
    overflow-x: hidden;
    overflow-y: auto;
}

.login-page-content {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px 60px;
}

.login-page::before {
    content: '';
    position: absolute;
    width: 800px;
    /* height: 800px; */
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -300px;
    left: -300px;
    animation: float 25s ease-in-out infinite;
}

.login-page::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite reverse;
}

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

.login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: slideUp 0.6s ease;
}

.login-header {
    background: var(--primary-gradient);
    color: white;
    padding: 36px 32px 28px;
    text-align: center;
    border-radius: var(--radius-xl);
}

.login-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: white;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.quran-icon {
    animation: fadeIn 0.8s ease 0.3s both;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: white;
    animation: slideDown 0.6s ease 0.2s both;
}

.login-header p {
    font-size: 1.05rem;
    animation: fadeIn 0.8s ease 0.4s both;
}

.login-body {
    padding: 32px 32px 36px;
}

.login-body .form-label {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 10px;
    display: block;
}

.login-body .form-control {
    padding: 14px 18px;
    font-size: 1.05rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.login-body .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.login-body .btn-primary {
    padding: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    background: var(--primary-gradient);
    border: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.login-body .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.login-body .btn-primary:hover::before {
    left: 100%;
}

.login-body .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.eye-icon {
    z-index: 10;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 32px;
}

.eye-icon:hover {
    color: var(--primary-color);
}

.login-footer-text {
    text-align: center;
    color: white;
    margin-top: 28px;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Success Message Toast */
.success-toast {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 20px 28px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 9999;
    animation: slideInRight 0.5s ease, slideOutRight 0.5s ease 4s forwards;
    min-width: 320px;
}

.success-toast .icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.success-toast .content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: white;
}

.success-toast .content p {
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.95;
}

.success-toast .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-right: auto;
    opacity: 0.8;
    transition: var(--transition-fast);
}

.success-toast .close-btn:hover {
    opacity: 1;
    transform: rotate(90deg);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

/* Error Alert Enhanced */
.login-body .alert-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    padding: 16px 20px;
    font-weight: 600;
    animation: shake 0.5s ease;
}

.login-body .alert-danger .btn-close {
    filter: brightness(0) invert(1);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Modal Enhancements */
.modal-content {
    border-radius: var(--border-radius-lg);
    border: none;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    padding: 24px 28px;
}

.modal-header .modal-title {
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 32px 28px;
}

.modal-footer {
    padding: 20px 28px;
    border-top: 1px solid var(--border-color);
}

/* Responsive Login */
@media (max-width: 768px) {
    .login-page-content {
        padding: 60px 16px 80px;
    }

    .login-container {
        max-width: 100%;
        padding: 16px;
    }
    
    .login-header {
        padding: 28px 20px 24px;
    }
    
    .login-body {
        padding: 24px 20px 28px;
    }
    
    .success-toast {
        right: 16px;
        left: 16px;
        min-width: auto;
    }
}
