/* ========================================
   VOTEHUB - COMPLETE STYLESHEET
   Includes: Variables, Preloader, Navigation, Hero, Features, Particles, Responsive
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Light Mode */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fa;
    --text-primary: #1a1a2e;
    --text-secondary: #6c757d;
    --text-muted: #8b92a5;
    --border-color: #e9ecef;
    --shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.1);
    --gradient-start: #4f46e5;
    --gradient-end: #7c3aed;
    --accent: #4f46e5;
    --accent-light: #818cf8;
    --accent-dark: #4338ca;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
}

[data-theme="dark"] {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --bg-card: #1a1a2e;
    --bg-card-hover: #2a2a3e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6c6d7a;
    --border-color: #2a2a3e;
    --shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.4);
    --gradient-start: #6366f1;
    --gradient-end: #8b5cf6;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-dark: #4f46e5;
}

/* ========================================
   BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* ========================================
   CANVAS PARTICLE BACKGROUND
   ======================================== */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.navbar,
.hero,
.features,
.how-it-works,
.cta,
.footer {
    position: relative;
    z-index: 1;
}

/* ========================================
   PRELOADER
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */
.theme-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

[data-theme="light"] .theme-toggle-btn .light-icon {
    display: block;
}
[data-theme="light"] .theme-toggle-btn .dark-icon {
    display: none;
}
[data-theme="dark"] .theme-toggle-btn .light-icon {
    display: none;
}
[data-theme="dark"] .theme-toggle-btn .dark-icon {
    display: block;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
    background-color: transparent;
}

.navbar-scrolled {
    padding: 12px 0;
    background-color: var(--bg-primary);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

[data-theme="light"] .navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .navbar-scrolled {
    background-color: rgba(15, 15, 26, 0.95);
}

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

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
}

.brand-icon i {
    font-size: 1.3rem;
    color: white;
}

.brand-text {
    color: var(--text-primary);
}

.brand-text .highlight {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.navbar-nav .nav-link {
    color: var(--text-primary);
    font-weight: 300;
    padding: 4px 13px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    margin-right: 10px;
    gap: 8px;
    border-radius: 30px;
}

.navbar-nav .nav-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
    background: rgba(79, 70, 229, 0.1);
}

.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.navbar-nav .nav-link.active i {
    color: white;
}

.navbar-nav .btn-login,
.navbar-nav .btn-register {
    border-radius: 30px;
}

.navbar-nav .btn-login {
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.navbar-nav .btn-login:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.navbar-nav .btn-login.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.navbar-nav .btn-register {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
}

.navbar-nav .btn-register.active {
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

/* Dropdown Menu */
.dropdown-menu {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    padding: 8px;
    margin-top: 10px;
}

.dropdown-item {
    color: var(--text-primary);
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    transform: translateX(5px);
}

.dropdown-item i {
    font-size: 1rem;
}

.dropdown-divider {
    border-color: var(--border-color);
    margin: 8px 0;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: top;
    overflow: hidden;
    padding-top: 0px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(79, 70, 229, 0.08) 0%, transparent 50%);
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 500px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.btn-outline-light {
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
}

.btn-outline-light:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-outline-light {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.hero-stats {
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
    min-height: 400px;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    border: 1px solid var(--border-color);
    min-width: 180px;
}

.floating-card:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.floating-card i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.floating-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.floating-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.floating-card:nth-child(1) {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 40%;
    right: 0;
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    bottom: 0;
    left: 15%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    color: var(--bg-secondary);
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.feature-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--shadow);
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

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

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-primary);
}

.step-card {
    text-align: center;
    padding: 30px;
    position: relative;
    transition: all 0.3s;
    border-radius: 24px;
}

.step-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card);
    box-shadow: var(--shadow);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.step-icon i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--text-secondary);
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.btn-white {
    background: white;
    color: var(--gradient-start);
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-secondary);
    position: relative;
    padding-top: 60px;
    border-top: 1px solid lightgrey;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    color: var(--bg-secondary);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-brand i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-brand span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand .highlight {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.social-link {
    width: 38px;
    height: 38px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    transform: translateY(-3px);
}

.footer h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer ul li a i {
    font-size: 0.8rem;
    transition: all 0.3s;
}

.footer ul li a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer ul li a:hover i {
    transform: translateX(3px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.contact-info li i {
    color: var(--accent);
    font-size: 1.1rem;
}

.newsletter h5 {
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.newsletter .input-group {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.newsletter .form-control {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 15px;
}

.newsletter .form-control:focus {
    box-shadow: none;
    border-color: var(--accent);
}

.newsletter .btn {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    padding: 10px 18px;
}

.newsletter .btn:hover {
    opacity: 0.9;
}

.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    box-shadow: var(--shadow);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-hover);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        margin-top: 50px;
        min-height: 350px;
    }
    
    .floating-card {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .theme-toggle-btn,
    .scroll-top-btn {
        width: 40px;
        height: 40px;
        right: 15px;
    }
    
    .scroll-top-btn {
        bottom: 80px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
        justify-content: center;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.shadow-hover {
    transition: all 0.3s;
}

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




























/* ========================================
   LOGIN & REGISTER PAGE STYLES
   ======================================== */

/* Login Section */
.login-section,
.register-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

.login-bg-overlay,
.register-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    z-index: 0;
}

.login-wrapper,
.register-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

/* Left Side */
.login-left,
.register-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.login-brand,
.register-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.login-logo,
.register-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.login-logo i,
.register-logo i {
    font-size: 2rem;
    color: white;
}

.login-brand h1,
.register-brand h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.login-brand h1 span,
.register-brand h1 span {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.login-left-content h2,
.register-left-content h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.login-left-content > p,
.register-left-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-item i {
    width: 50px;
    height: 50px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.login-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

/* Register Benefits */
.register-benefits {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 25px;
    margin-top: 30px;
}

.register-benefits h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.register-benefits ul {
    list-style: none;
    padding: 0;
}

.register-benefits ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.register-benefits ul li i {
    color: var(--success);
    font-size: 0.8rem;
}

/* Right Side Card */
.login-right,
.register-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card,
.register-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 45px 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.login-card-header,
.register-card-header {
    text-align: center;
    margin-bottom: 35px;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: float 3s ease-in-out infinite;
}

.card-icon i {
    font-size: 2.5rem;
    color: white;
}

.login-card-header h3,
.register-card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-card-header p,
.register-card-header p {
    color: var(--text-secondary);
}

/* Form Styles */
.login-form,
.register-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.input-icon {
    width: 48px;
    height: 48px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-icon i {
    font-size: 1.3rem;
    color: var(--accent);
}

.input-field {
    flex: 1;
}

.input-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.input-field input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.input-field input:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.password-field {
    position: relative;
}

.password-field input {
    width: 100%;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
}

.toggle-password:hover {
    color: var(--accent);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.checkbox input {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--accent);
}

.checkbox a {
    color: var(--accent);
    text-decoration: none;
}

.checkbox a:hover {
    text-decoration: underline;
}

.forgot-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.login-btn,
.register-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
}

.login-btn:hover,
.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
}

.login-footer,
.register-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.login-footer a,
.register-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover,
.register-footer a:hover {
    text-decoration: underline;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 992px) {
    .login-wrapper,
    .register-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .login-left,
    .register-left {
        text-align: center;
        padding: 20px;
    }
    
    .login-left-content h2,
    .register-left-content h2 {
        font-size: 2.2rem;
    }
    
    .feature-list {
        align-items: center;
    }
    
    .feature-item {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .login-stats {
        justify-content: center;
    }
    
    .stat {
        text-align: center;
    }
    
    .login-card,
    .register-card {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .login-card,
    .register-card {
        padding: 35px 25px;
    }
    
    .login-left-content h2,
    .register-left-content h2 {
        font-size: 1.8rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .input-icon {
        width: 40px;
        height: 40px;
    }
    
    .input-icon i {
        font-size: 1rem;
    }
}
















/* Forgot Password Specific Styles */
.forgot-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

.forgot-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
    z-index: 0;
}

.forgot-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.forgot-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.forgot-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.forgot-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.forgot-logo i {
    font-size: 2rem;
    color: white;
}

.forgot-brand h1 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.forgot-brand h1 span {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.forgot-left-content h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.forgot-left-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.info-box {
    background: rgba(79, 70, 229, 0.1);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.info-box i {
    font-size: 1.5rem;
    color: var(--accent);
}

.info-box h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.info-box ul li i {
    font-size: 0.8rem;
    color: var(--success);
}

.security-tips {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.security-tips h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-tips p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.security-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-tips ul li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.security-tips ul li::before {
    content: '•';
    position: absolute;
    left: 5px;
    color: var(--accent);
}

.forgot-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.forgot-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 45px 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.forgot-card-header {
    text-align: center;
    margin-bottom: 35px;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: float 3s ease-in-out infinite;
}

.card-icon i {
    font-size: 2.5rem;
    color: white;
}

.forgot-card-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.forgot-card-header p {
    color: var(--text-secondary);
}

.forgot-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.input-icon {
    width: 48px;
    height: 48px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-icon i {
    font-size: 1.3rem;
    color: var(--accent);
}

.input-field {
    flex: 1;
}

.input-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.input-field input {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.input-field input:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.password-field {
    position: relative;
}

.password-field input {
    width: 100%;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
}

.forgot-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 40px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
}

.forgot-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
}

.forgot-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.forgot-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.forgot-footer a:hover {
    text-decoration: underline;
}

.success-message {
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.success-message i {
    font-size: 1.5rem;
    color: var(--success);
}

.success-message p {
    margin: 0;
    color: var(--text-primary);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 992px) {
    .forgot-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .forgot-left {
        text-align: center;
        padding: 20px;
    }
    
    .info-box {
        text-align: left;
    }
    
    .security-tips {
        text-align: left;
    }
    
    .forgot-left-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .forgot-card {
        padding: 35px 25px;
    }
    
    .input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .input-icon {
        width: 40px;
        height: 40px;
    }
}
































/* ========================================
   ADMIN DASHBOARD STYLES
   ======================================== */

/* Dashboard Section */
.dashboard-section {
    min-height: 100vh;
    padding: 120px 0 60px;
    background: var(--bg-secondary);
    position: relative;
}

.dashboard-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.08) 0%, transparent 50%);
    z-index: -1;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.welcome-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-icon i {
    font-size: 2rem;
    color: white;
}

.welcome-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.welcome-text p {
    color: var(--text-secondary);
}

.date-time {
    background: var(--bg-card);
    padding: 12px 24px;
    border-radius: 40px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-time i {
    color: var(--accent);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.purple {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
}

.stat-icon.cyan {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
}

.stat-icon.orange {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.stat-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.stat-icon i {
    font-size: 1.8rem;
    color: white;
}

.stat-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--text-secondary);
    margin: 0;
}

.stat-change {
    margin-left: auto;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.stat-change.positive {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.stat-change.warning {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

/* Dashboard Card */
.dashboard-card {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 30px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-header p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 5px 0 0 0;
}

.card-body {
    padding: 20px;
}

.btn-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-link:hover {
    transform: translateX(3px);
}

/* Dashboard Table */
.dashboard-table {
    width: 100%;
}

.dashboard-table thead th {
    padding: 15px 20px;
    text-align: left;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.8rem;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-table tbody td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.status-ended {
    background: rgba(107, 114, 128, 0.15);
    color: #6b7280;
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Activity List */
.activity-list {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}

.activity-item:hover {
    background: var(--bg-hover);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon i {
    font-size: 1.2rem;
    color: var(--accent);
}

.activity-details p {
    font-weight: 500;
    margin-bottom: 4px;
}

.activity-details span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Turnout Circle */
.turnout-circle {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
}

.turnout-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.turnout-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.turnout-percent span {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.turnout-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.turnout-stat {
    text-align: center;
}

.turnout-stat .label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.turnout-stat .value {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Quick Actions */
.quick-actions {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.quick-actions h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.action-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.action-btn i {
    font-size: 1.8rem;
    color: var(--accent);
}

.action-btn span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.action-btn:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-box {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .turnout-circle {
        width: 150px;
        height: 150px;
    }
    
    .turnout-percent span {
        font-size: 1.8rem;
    }
}























/* Students Page Styles */
.students-section {
    min-height: 100vh;
    padding: 120px 0 60px;
    background: var(--bg-secondary);
    position: relative;
}

.students-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.page-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.page-header h2 i {
    color: var(--accent);
    margin-right: 10px;
}

.page-header p {
    color: var(--text-secondary);
    margin: 0;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.btn-outline-custom {
    background: transparent;
    border: 1px solid var(--accent);
    padding: 10px 24px;
    border-radius: 10px;
    color: var(--accent);
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: var(--accent);
    color: white;
}

.btn-secondary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--text-primary);
}

.btn-danger {
    background: #ef4444;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    color: white;
}

.filters-card, .table-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.filters-header {
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.filters-body {
    padding: 20px;
}

.form-control-custom {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.data-table {
    width: 100%;
}

.data-table thead th {
    padding: 15px 20px;
    text-align: left;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
}

.data-table tbody td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn i {
    font-size: 1.5rem;
}



.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.action-btn.edit {
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent);
}

.action-btn.delete {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 0.5rem;
}

.action-btn:hover {
    transform: translateY(-2px);
}

/* Modal Styles - Fix for overlay */
.modal {
    z-index: 1050;
}

.modal-backdrop {
    z-index: 1040;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
}

.form-control {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 10px 15px;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
    outline: none;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.pagination {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination li {
    display: inline-block;
}

.pagination li a, .pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination li.active a, .pagination li.active span {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-color: transparent;
    color: white;
}

.pagination li a:hover:not(.active) {
    background: var(--bg-secondary);
    border-color: var(--accent);
}

.pagination li.disabled a, .pagination li.disabled span {
    opacity: 0.5;
    cursor: not-allowed;
}

.badge-male {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

.badge-female {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        text-align: center;
    }
    
    .data-table {
        font-size: 0.8rem;
    }
    
    .data-table thead th,
    .data-table tbody td {
        padding: 8px 12px;
    }
    
    .pagination-container {
        flex-direction: column;
        justify-content: center;
    }
}


























/* Import Page Styles */
.import-section {
    min-height: 100vh;
    padding: 120px 0 60px;
    background: var(--bg-secondary);
    position: relative;
}

.import-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(79, 70, 229, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.page-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.page-header h2 i {
    color: var(--accent);
    margin-right: 10px;
}

.page-header p {
    color: var(--text-secondary);
    margin: 0;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    color: white;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(79, 70, 229, 0.3);
}

.btn-outline-custom {
    background: transparent;
    border: 1px solid var(--accent);
    padding: 10px 24px;
    border-radius: 10px;
    color: var(--accent);
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    background: var(--accent);
    color: white;
}

.btn-secondary {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 8px;
    color: var(--text-primary);
}

.instructions-card, .upload-card {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.instructions-header, .upload-header {
    padding: 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.instructions-header i, .upload-header i {
    font-size: 1.5rem;
    color: var(--accent);
}

.instructions-header h3, .upload-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.instructions-body {
    padding: 20px;
}

.instruction-step {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.step-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.step-content ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.step-content ul li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.step-content ul li i {
    color: #10b981;
    font-size: 0.7rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-download:hover {
    background: var(--accent);
    color: white;
}

.sample-data {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.sample-data h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.sample-table {
    overflow-x: auto;
}

.sample-table table {
    width: 100%;
    font-size: 0.7rem;
    border-collapse: collapse;
}

.sample-table th, .sample-table td {
    padding: 8px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.sample-table th {
    background: var(--bg-secondary);
    font-weight: 600;
}

.upload-area {
    padding: 50px 20px;
    text-align: center;
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    margin: 20px;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area.drag-over {
    border-color: var(--accent);
    background: rgba(79, 70, 229, 0.05);
}

.upload-icon i {
    font-size: 4rem;
    color: var(--text-muted);
}

.upload-area h4 {
    margin: 15px 0 10px;
}

.btn-browse {
    background: var(--accent);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    margin: 15px 0;
    cursor: pointer;
}

.file-info {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.preview-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-title i {
    color: var(--accent);
}

.preview-stats {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.preview-table {
    width: 100%;
    font-size: 0.8rem;
}

.preview-table th, .preview-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.preview-table th {
    background: var(--bg-secondary);
    font-weight: 600;
}

.import-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.progress {
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        text-align: center;
    }
    
    .preview-table {
        font-size: 0.7rem;
    }
    
    .preview-table th, .preview-table td {
        padding: 6px 8px;
    }
    
    .import-actions {
        flex-direction: column;
    }
}
