/* Modern Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Theme variables */
:root {
    --bg-gradient-start: #0b1020;
    --bg-gradient-end: #0f1b3a;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.12);
    --text-primary: #e6e9ef;
    --text-secondary: #a0a8c0;
    --accent-1: #7c3aed; /* violet */
    --accent-2: #06b6d4; /* cyan */
    --accent-3: #f59e0b; /* amber */
    --brand-gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    --button-gradient: radial-gradient(120% 120% at 30% 30%, var(--accent-1), var(--accent-2));
    --border-glow: 0 0 0 1px rgba(124,58,237,0.4), 0 10px 30px rgba(6,182,212,0.25);
}

/* Base */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: radial-gradient(900px 500px at 10% 10%, var(--bg-gradient-start), var(--bg-gradient-end));
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Enhanced Navigation */
.navbar {
    background: rgba(10, 14, 24, 0.75);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--border-glow);
    border-bottom: 1px solid rgba(124,58,237,0.35);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand h2 {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Mobile nav toggle button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 6px 10px;
}

/* Desktop nav */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--brand-gradient);
    transition: width 0.28s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Stunning Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    text-align: center;
    color: white;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.35;
    animation: float 12s ease-in-out infinite;
}

.hero::before {
    background: var(--brand-gradient);
    top: -100px;
    left: -140px;
}

.hero::after {
    background: radial-gradient(closest-side, var(--accent-3), transparent 60%);
    bottom: -120px;
    right: -160px;
    animation-delay: 2.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); }
    50%      { transform: translateY(-8px) translateX(4px) scale(1.02); }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.subtitle {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.2s both;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-heading {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    animation: slideInUp 1s ease-out 0.4s both;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 10px 40px rgba(6,182,212,0.1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--button-gradient);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow: var(--border-glow);
    transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.3s ease;
    animation: slideInUp 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* Enhanced Events Sections */
.upcoming-events,
.past-events {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 40px 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    color: #0e1726; /* deep slate for strong contrast */
}

.upcoming-events p,
.past-events p,
.upcoming-events .event-meta span,
.past-events .event-meta span {
    color: #334155; /* muted dark for secondary text */
}

.upcoming-events .event-card,
.past-events .event-card {
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.upcoming-events .event-info h3,
.past-events .event-info h3 {
    color: #0e1726;
    font-weight: 700;
}

.upcoming-events .event-info p,
.past-events .event-info p {
    color: #475569;
}

/* Empty-state message styling (events.php and index.php) */
.no-events {
    text-align: center;
    padding: 40px 20px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px dashed rgba(17, 24, 39, 0.12);
    border-radius: 16px;
    margin: 20px auto;
}

.no-events p {
    color: #0e1726;
    font-weight: 600;
    letter-spacing: 0.2px;
}

/* Events container for events.php page layout */
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    padding: 0 1rem;
    justify-items: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    align-items: start; /* Align cards to top for different heights */
}

/* Make entire event cards clickable */
.event-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
    height: 100%;
}

.event-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.upcoming-events h2,
.past-events h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.8rem;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.upcoming-events h2::after,
.past-events h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    border-radius: 2px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
    padding: 0 1rem;
    justify-items: center;
}

.event-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--border-glow);
    border: 1px solid rgba(124,58,237,0.25);
    transform: translateZ(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    /* Remove fixed min-height to allow flexibility */
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    border-radius: 15px;
    padding: 2px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover::before {
    opacity: 1;
}

.event-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(6,182,212,0.45);
    box-shadow: 0 0 0 1px rgba(6,182,212,0.35), 0 16px 40px rgba(6,182,212,0.25);
}

/* Update button styling when used as span */
.event-card .btn-primary,
.event-card .btn-secondary {
    cursor: pointer;
    pointer-events: none; /* Prevent double-click issues */
}

/* Ensure proper hover effects */
.event-card-link:hover .event-card {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.event-card-link:hover .event-card::before {
    opacity: 1;
}

.event-card-link:hover .event-card img {
    transform: scale(1.1);
}

.event-card img {
    width: 100%;
    height: auto; /* Auto height to maintain aspect ratio */
    min-height: 120px; /* Minimum height for very small images */
    max-height: 200px; /* Maximum height to prevent oversized images */
    object-fit: contain; /* Contains full image without cropping */
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    flex-shrink: 0;
    background: #f8f9fa; /* Light background for letterboxing */
}

.event-card:hover img {
    transform: scale(1.05);
}

.event-info {
    padding: 1rem; /* Reduced from 1.5rem */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px; /* Minimum content height */
}

.event-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.event-info p {
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    align-items: center;
}

.event-meta span {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-weight: 500;
}

.status {
    background: #e8f5e8;
    color: #2d5a2d;
}

.fee {
    background: #e3f2fd;
    color: #1565c0;
    font-weight: 600;
}

.date {
    background: #f3e5f5;
    color: #7b1fa2;
}

.status-upcoming {
    background: linear-gradient(45deg, #3498db, #5dade2);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.status-ongoing {
    background: linear-gradient(45deg, #f39c12, #f5b041);
    color: white;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.status-past {
    background: linear-gradient(45deg, #95a5a6, #bdc3c7);
    color: white;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
}

/* Enhanced Buttons */
.btn-primary, .btn-secondary {
    padding: 0.6rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
}

.btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(149, 165, 166, 0.4);
}

.btn-large {
    padding: 18px 35px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Enhanced Event Details Page */
.event-details {
    max-width: 900px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 2px solid rgba(52, 152, 219, 0.1);
}

.event-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.event-header img {
    width: 100%;
    height: auto;           /* Allow natural height */
    max-height: 500px;      /* Reasonable maximum to prevent extremely tall images */
    object-fit: contain;    /* Show full image without cropping */
    background: #f8f9fa;    /* Background color for letterboxing */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.event-info h1 {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.event-status {
    margin-bottom: 1.5rem;
}

.event-date,
.event-fee {
    margin-bottom: 1rem;
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
}

.event-description {
    padding: 0 3rem 3rem;
}

.event-description h3 {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* Enhanced Registration Form */
.registration-form {
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 3px solid #3498db;
}

.registration-form h3 {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.2);
    transform: translateY(-2px);
}

.total-price {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    padding: 15px 20px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1.3rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    margin: 1.5rem 0;
}

/* Page header */
.page-header h1 {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.page-header p {
    color: var(--text-secondary);
}

/* Enhanced About Us Page */
.mission-section,
.vision-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.content-wrapper h1,
.content-wrapper h2 {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    position: relative;
}

.content-wrapper h1::after,
.content-wrapper h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    border-radius: 2px;
}

.content-wrapper p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.highlights-section,
.partners-section,
.ongoing-events-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.highlights-section h2,
.partners-section h2,
.ongoing-events-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    position: relative;
}

.highlights-section h2::after,
.partners-section h2::after,
.ongoing-events-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    border-radius: 2px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: fit-content;
    max-width: 400px;
    margin: 0 auto;
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.highlight-item img,
.highlight-item video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.highlight-item:hover img,
.highlight-item:hover video {
    transform: scale(1.05);
}

.highlight-item h4 {
    padding: 1.2rem 1.5rem;
    color: #2c3e50;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding: 0 2rem;
}

.partner-item {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.partner-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-color: #3498db;
}

.partner-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #3498db;
    transition: transform 0.3s ease;
}

.partner-item:hover img {
    transform: scale(1.1);
}

.partner-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Enhanced Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

/* Ensure readable text on contact white surfaces */
.contact-form-section,
.contact-info,
.upcoming-events-sidebar {
    color: #0e1726;
}

.contact-form-section p,
.contact-info p,
.info-item h4,
.upcoming-events-sidebar p {
    color: #334155;
}

.contact-form-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 2px solid rgba(52, 152, 219, 0.1);
}

.contact-form-section h1 {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid rgba(52, 152, 219, 0.1);
}

.contact-info h3 {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateX(5px);
}

.info-item i {
    color: #3498db;
    font-size: 1.5rem;
    width: 25px;
}

.info-item h4 {
    color: #2c3e50;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.social-links {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid rgba(52, 152, 219, 0.1);
}

.social-links h3 {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.social-icons a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
}

.upcoming-events-sidebar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid rgba(52, 152, 219, 0.1);
}

.upcoming-events-sidebar h3 {
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.sidebar-event {
    border-bottom: 2px solid rgba(52, 152, 219, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.sidebar-event:hover {
    background: rgba(52, 152, 219, 0.05);
    padding: 1rem;
    border-radius: 10px;
    border-bottom: 2px solid #3498db;
}

.sidebar-event:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.sidebar-event h4 {
    color: #2c3e50;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: bold;
}

.event-date,
.event-fee {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Enhanced Alerts */
.alert {
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border-left: 5px solid;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.alert-success {
    background: rgba(212, 237, 218, 0.9);
    color: #155724;
    border-left-color: #27ae60;
}

.alert-error {
    background: rgba(248, 215, 218, 0.9);
    color: #721c24;
    border-left-color: #e74c3c;
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    background: linear-gradient(45deg, #3498db, #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #3498db;
    transform: translateX(5px);
}

.footer-section p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.footer-section i {
    margin-right: 0.8rem;
    color: #3498db;
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #34495e;
    color: #95a5a6;
    font-size: 1rem;
}

/* Enhanced Responsive Design */
/* Tablet Responsive (max-width: 992px) */
@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .highlight-item img,
    .highlight-item video {
        height: 200px;
    }
    
    .highlight-item h4 {
        font-size: 1rem;
        padding: 1rem 1.2rem;
        min-height: 50px;
    }
}

/* Mobile menu behavior */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .navbar .container { position: relative; }
    /* hidden by default on mobile, shown when .open is added */
    .nav-menu { display: none; }
    .nav-menu.open { display: flex; }
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        background: rgba(44, 62, 80, 0.95);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        border-radius: 0 0 15px 15px;
    }
    
    .main-heading {
        font-size: 2.5rem;
        line-height: 1.2; /* keep lines open for the glow */
    }
    
    /* Expanded hero background and spacing on mobile */
    .hero {
        padding: 110px 0 140px; /* more top/bottom space */
    }
    .hero::before,
    .hero::after {
        width: 560px;
        height: 560px;
        filter: blur(60px);
        opacity: 0.45; /* slightly stronger to cover text */
    }
    .hero::before {
        top: -160px;
        left: -200px;
    }
    .hero::after {
        bottom: -200px;
        right: -220px;
    }
    
    .event-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .events-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .event-card img {
        max-height: 180px;
        min-height: 100px;
    }
    
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .event-info {
        min-height: 160px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .highlight-item {
        max-width: 100%;
        margin: 0;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .upcoming-events,
    .past-events,
    .mission-section,
    .vision-section,
    .highlights-section,
    .partners-section,
    .ongoing-events-section {
        padding: 3rem 0;
        margin: 1rem;
    }
    
    .highlight-item img,
    .highlight-item video {
        height: 180px;
    }
    
    .highlight-item h4 {
        font-size: 1rem;
        padding: 1rem;
        min-height: 45px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        background: rgba(44, 62, 80, 0.95);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 1rem;
        border-radius: 0 0 15px 15px;
    }
    
    .main-heading {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .event-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .events-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .event-card {
        max-width: 100%;
    }
    
    .event-card img {
        max-height: 160px;
    }
    
    .event-info {
        padding: 1.25rem;
        min-height: 160px;
    }
    
    .event-info h3 {
        font-size: 1.2rem;
    }
    
    .highlights-grid,
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .upcoming-events,
    .past-events,
    .mission-section,
    .vision-section,
    .highlights-section,
    .partners-section,
    .ongoing-events-section {
        padding: 3rem 0;
        margin: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .user-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .registrations-stats {
        grid-template-columns: 1fr;
    }
    
    .registrations-modern-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-form .input-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .btn-modern-primary {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .card-actions {
        justify-content: center;
    }
    
    .status-badges {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    /* Extra coverage for very small screens */
    .hero {
        padding: 100px 0 160px; /* ensures glow extends under headline */
    }
    .main-heading {
        font-size: 2.2rem;
        line-height: 1.25;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    .hero::before,
    .hero::after {
        width: 680px;
        height: 680px;
        filter: blur(70px);
        opacity: 0.5;
    }
    .hero::before {
        top: -200px;
        left: -240px;
    }
    .hero::after {
        bottom: -260px;
        right: -280px;
    }
    
    .events-container {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        margin-bottom: 1rem;
    }
    
    .event-card img {
        max-height: 150px;
        min-height: 80px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .event-info {
        padding: 0.8rem;
        min-height: 140px;
    }
    
    .event-info h3 {
        font-size: 1.1rem;
        min-height: 2.4rem;
    }
    
    .event-info p {
        font-size: 0.9rem;
        min-height: 2.8rem;
    }
    
    .event-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .highlights-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .highlight-item img,
    .highlight-item video {
        height: 160px;
    }
    
    .highlight-item h4 {
        font-size: 0.95rem;
        padding: 0.8rem;
        min-height: 40px;
    }
    
    .contact-form-section,
    .contact-info,
    .social-links,
    .upcoming-events-sidebar {
        padding: 1.5rem;
    }
    
    .registration-form {
        padding: 2rem;
    }
    
    .event-details {
        margin: 1rem;
    }
    
    .event-header {
        padding: 1.5rem;
    }
    
    .event-description {
        padding: 0 1.5rem 1.5rem;
    }
    
    .user-panel-modern {
        padding: 0 10px 40px;
    }
    
    .email-form-modern {
        padding: 40px 20px;
        margin: 0 10px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .card-content {
        padding: 20px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    border-top-color: #3498db;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Reveal utilities */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

/* QR Payment Styles */
.qr-payment-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 20px 0;
}

.payment-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
}

.qr-payment-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.qr-code-container {
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
}

#qrcode {
    margin: 20px auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px;
}

.payment-info {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.payment-confirmation {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

/* Enhanced User Panel Styles */
.user-panel-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.user-panel-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.user-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.user-panel-modern {
    max-width: 1400px;
    margin: -40px auto 0;
    padding: 0 20px 40px;
    position: relative;
    z-index: 10;
}

/* Modern Email Form */
.email-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.email-form-modern {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 2rem;
}

.email-form-modern h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.email-form-modern p {
    color: #7f8c8d;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.modern-form .input-group {
    display: flex;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 5px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.modern-form .input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modern-form .input-group i {
    padding: 15px 20px;
    color: #7f8c8d;
    font-size: 1.1rem;
}

.modern-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px 10px;
    font-size: 1.1rem;
    outline: none;
    color: #2c3e50;
}

.modern-form input::placeholder {
    color: #bdc3c7;
}

.btn-modern-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* User Header */
.user-header {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.user-details h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.user-details p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.header-actions {
    display: flex;
    gap: 15px;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-modern-secondary {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-modern-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.3);
}

/* Statistics Cards */
.registrations-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card:nth-child(1) .stat-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.stat-card:nth-child(2) .stat-icon {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.stat-card:nth-child(3) .stat-icon {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.stat-card:nth-child(4) .stat-icon {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.stat-info h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-info p {
    color: #7f8c8d;
    font-weight: 500;
}

/* Modern Registration Cards */
.registrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.registration-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.registration-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.registrations-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.registration-modern-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.registration-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.card-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.status-badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-badge-modern,
.payment-badge-modern {
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.payment-status {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.payment-paid {
    background: #d4edda;
    color: #155724;
}

.payment-pending {
    background: #fff3cd;
    color: #856404;
}

.payment-failed {
    background: #f8d7da;
    color: #721c24;
}

.card-content {
    padding: 25px;
}

.event-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.detail-item i {
    width: 16px;
    color: #667eea;
    font-size: 0.9rem;
}

.rejection-reason {
    background: #f8d7da;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
}

.rejection-notice {
    background: linear-gradient(135deg, #fee, #fdd);
    border: 1px solid #f5c6cb;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #721c24;
    font-weight: 600;
    margin-bottom: 8px;
}

.rejection-notice p {
    color: #721c24;
    margin: 0;
    line-height: 1.4;
}

.card-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-action {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-action.success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.btn-action.info {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-action.warning {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #bdc3c7, #95a5a6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 3rem;
}

.empty-state h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.empty-state p {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.no-registrations {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Responsive Design for QR and User Panel */
@media (max-width: 768px) {
    .qr-payment-section {
        grid-template-columns: 1fr;
    }
    
    .registrations-grid {
        grid-template-columns: 1fr;
    }
    
    .registration-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}