/**
 * Event Detail Page Styles
 * Modular CSS for event detail page components
 */

/* ================================
   CSS Variables & Root Configuration
   ================================ */
:root {
    --event-primary: #667eea;
    --event-secondary: #764ba2;
    --event-accent: #f093fb;
    --event-success: #10b981;
    --event-warning: #f59e0b;
    --event-danger: #ef4444;
    --card-border-radius: 16px;
    --section-spacing: 2rem;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes backgroundMove {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(60px, 60px);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* ================================
   Hero Section Component
   ================================ */
.event-hero {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    overflow: hidden;
    margin-bottom: var(--section-spacing);
}

.event-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: backgroundMove 20s linear infinite;
}

.event-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7);
}

.event-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(2px);
}

.event-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 3rem 0;
    color: white;
}

/* Hero Title & Organizer */
.event-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease-out;
    max-width: 800px;
}

.event-organizer {
    font-size: 1.125rem;
    opacity: 0.95;
    font-weight: 400;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.event-organizer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.event-organizer a:hover {
    border-color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* Hero Date Card */
.hero-date-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    min-width: 140px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-date-month {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.hero-date-day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

/* Hero Action Buttons */
.hero-action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.hero-btn-primary {
    background: white;
    color: var(--event-primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.4);
    color: var(--event-primary);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}

/* ================================
   Event Badges Component
   ================================ */
.event-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    align-items: center;
}

.event-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.event-badge i {
    font-size: 0.875rem;
}

.event-badge.featured {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #000;
    border-color: transparent;
}

/* ================================
   Info Cards Component
   ================================ */
.info-card {
    background: white;
    border-radius: var(--card-border-radius);
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
    margin-bottom: var(--section-spacing);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
}

.info-card-title i {
    font-size: 1.25rem;
    color: var(--event-primary);
}

/* ================================
   Timeline Progress Component
   ================================ */
.schedule-timeline-enhanced {
    position: relative;
    padding: 1rem 0 0.5rem;
    margin-bottom: 2rem;
}

.timeline-progress-track {
    position: absolute;
    left: 110px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: #e9ecef;
    z-index: 1;
}

.timeline-progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    transition: height 1s ease-out, opacity 0.3s ease;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.4);
}

.timeline-progress-indicator {
    position: absolute;
    left: -8px;
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid var(--event-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2), 0 0 20px rgba(102, 126, 234, 0.4);
    animation: pulse 2s ease-in-out infinite;
    transition: bottom 1s ease-out, opacity 0.3s ease;
    z-index: 5;
}

.timeline-progress-indicator.registration-open {
    border-color: var(--event-warning);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2), 0 0 20px rgba(245, 158, 11, 0.4);
}

.timeline-progress-indicator.in-progress {
    border-color: var(--event-success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2), 0 0 20px rgba(16, 185, 129, 0.4);
}

.timeline-progress-indicator.completed {
    border-color: #6c757d;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.2), 0 0 20px rgba(108, 117, 125, 0.4);
    animation: none;
}

/* Schedule Event Items */
.schedule-event-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.75rem;
    position: relative;
}

.schedule-time {
    flex-shrink: 0;
    width: 90px;
    font-weight: 600;
    color: var(--event-primary);
    font-size: 0.95rem;
    padding-top: 0.125rem;
}

.schedule-dot {
    width: 12px;
    height: 12px;
    background: white;
    border: 2px solid var(--event-primary);
    border-radius: 50%;
    margin: 0.375rem 1.25rem 0 1.25rem;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.schedule-content {
    flex: 1;
    padding-left: 0.5rem;
}

.schedule-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.schedule-description {
    color: #6c757d;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* ================================
   Countdown Timer Component
   ================================ */
.countdown-container {
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    border-radius: var(--card-border-radius);
    padding: 2rem;
    color: white;
    text-align: center;
    margin-bottom: var(--section-spacing);
    box-shadow: var(--shadow-lg);
}

.countdown-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.countdown-unit {
    text-align: center;
}

.countdown-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
}

/* ================================
   Metric Cards Component
   ================================ */
.impact-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.metric-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.metric-icon {
    font-size: 2rem;
    color: var(--event-primary);
    margin-bottom: 0.75rem;
}

.metric-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2c3e50;
    display: block;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ================================
   FAQ Component
   ================================ */
.faq-container {
    margin-top: 1.5rem;
}

.faq-section {
    margin-top: 2rem;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1rem 1.25rem;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #212529;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    color: var(--event-primary);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.show {
    max-height: 500px;
}

.faq-answer p {
    padding: 0.5rem 1.25rem 0.75rem;
    margin: 0;
    line-height: 1.6;
}

/* ================================
   Registration Status Component
   ================================ */
.registration-status {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.registration-status.open {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--event-success);
}

.registration-status.closed {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--event-danger);
}

.registration-status.full {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--event-warning);
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 768px) {
    .event-hero {
        height: 400px;
    }

    .event-title {
        font-size: 2rem;
    }

    .hero-action-buttons {
        flex-direction: column;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .countdown-display {
        gap: 0.75rem;
    }

    .countdown-value {
        font-size: 1.75rem;
    }

    .impact-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-time {
        width: 70px;
        font-size: 0.875rem;
    }
}
/* Event Detail Page-Specific Styles */
.schedule-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.schedule-meta .badge {
    font-weight: 500;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
}

/* Quick Stats Cards */
.schedule-quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.stat-card-mini {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-card-mini:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateY(-2px);
}

.stat-card-mini i {
    font-size: 1.5rem;
    color: var(--event-primary);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-info .stat-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #212529;
}

.stat-info .stat-label {
    font-size: 0.625rem;
    font-weight: 500;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Add to Calendar Button */
.add-to-calendar {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.add-to-calendar .btn {
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-to-calendar .btn:hover {
    background: var(--event-primary);
    border-color: var(--event-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Active state animation */
@keyframes schedulePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

.schedule-event-item.active .schedule-content {
    animation: fadeInUp 0.6s ease-out;
}

/* Capacity Progress */
.capacity-progress {
    margin-top: 1.25rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.capacity-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    transition: width 0.6s ease;
    border-radius: 8px;
}

.capacity-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #495057;
    font-weight: 500;
}

.capacity-stats strong {
    color: #212529;
    font-size: 1rem;
}

/* Registration Card */
.registration-card {
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    border-radius: var(--card-border-radius);
    padding: 1.75rem;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
    margin-bottom: 1.5rem;
}

/* Sticky Sidebar Container */
.sticky-sidebar {
    position: sticky;
    top: 20px;
}

.registration-card h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.registration-card h5 i {
    font-size: 1.25rem;
}

.registration-card p {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.registration-card .text-center {
    text-align: center !important;
}

.registration-card .text-center h5,
.registration-card .text-center p {
    width: 100%;
}

.registration-card .btn {
    width: 100%;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.registration-card .btn-light {
    background: white;
    color: var(--event-primary);
    border: none;
}

.registration-card .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.registration-card .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
}

.registration-card .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
}

/* Success State */
.registration-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* Stats Box */
.stats-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-box h6 {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    opacity: 0.85;
    font-size: 0.875rem;
    font-weight: 400;
}

.stat-value {
    font-weight: 600;
    font-size: 1rem;
}

/* Contact Section */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.contact-item:hover {
    background: #f1f3f5;
    border-color: #dee2e6;
}

.contact-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    color: white;
    border-radius: 8px;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info {
    flex: 1;
}

.contact-info small {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info a {
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
}

.contact-info a:hover {
    color: var(--event-primary);
}

/* Similar Events Cards */
.similar-event-card {
    border: 1px solid #e9ecef;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.similar-event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    border-color: #dee2e6;
}

.similar-event-card .card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
}

.similar-event-date {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.similar-event-date i {
    font-size: 0.625rem;
}

.similar-event-card .card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.similar-event-card .text-muted {
    font-size: 0.8125rem;
    color: #6c757d !important;
    margin-bottom: auto;
}

.similar-event-card .btn {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
}

/* Virtual Link Button */
.virtual-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.25);
}

.virtual-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(102, 126, 234, 0.35);
    color: white;
}

.virtual-link-btn i {
    font-size: 1rem;
}

/* Description Text */
.event-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #495057;
}

.event-description p {
    margin-bottom: 1rem;
}

/* Alert boxes */
.event-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-left: 3px solid var(--event-primary);
    background: rgba(102, 126, 234, 0.08);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.875rem;
}

.event-alert i {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.event-alert strong {
    font-weight: 600;
}

.event-alert.warning {
    border-left-color: #ffc107;
    background: rgba(255, 193, 7, 0.08);
    color: #856404;
}

.event-alert.danger {
    border-left-color: #dc3545;
    background: rgba(220, 53, 69, 0.08);
    color: #721c24;
}

/* Share Section */
.share-section {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: var(--card-border-radius);
    margin-top: var(--section-spacing);
}

.share-section h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-buttons .btn {
    flex: 1;
    padding: 0.75rem;
    font-size: 1.5rem;
    border-radius: 6px;
}

/* Countdown Timer */
.countdown-timer {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(102, 126, 234, 0.2);
    overflow: hidden;
}

.countdown-timer h6 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    text-align: center;
}

.countdown-display {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
}

.countdown-unit {
    text-align: center;
    background: white;
    border-radius: 8px;
    padding: 1.25rem 0.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.countdown-unit:hover {
    transform: translateY(-2px);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--event-primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.65rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.5px;
}

/* Tabs Section */
.event-tabs {
    margin-bottom: 2rem;
}

.nav-tabs {
    border-bottom: 2px solid #e9ecef;
    gap: 0.5rem;
}

.nav-tabs .nav-link {
    color: #6c757d;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px 8px 0 0;
    transition: all 0.3s ease;
    background: transparent;
    position: relative;
}

.nav-tabs .nav-link:hover {
    color: var(--event-primary);
    background: rgba(102, 126, 234, 0.05);
}

.nav-tabs .nav-link.active {
    color: var(--event-primary);
    background: white;
    border: 2px solid #e9ecef;
    border-bottom-color: white;
    margin-bottom: -2px;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    border-radius: 3px 3px 0 0;
}

.tab-content {
    background: white;
    border-radius: 0 0 var(--card-border-radius) var(--card-border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

/* Attendees Section */
.attendees-section {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.attendees-avatars {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.attendee-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-left: -10px;
    border: 3px solid white;
    transition: transform 0.2s ease;
    position: relative;
    z-index: 1;
}

.attendee-avatar:first-child {
    margin-left: 0;
}

.attendee-avatar:hover {
    transform: scale(1.1);
    z-index: 2;
}

.attendee-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.attendees-more {
    margin-left: -10px;
    background: #e9ecef;
    color: #495057;
}

/* Skills Tags */
.skills-section {
    margin-top: 1.5rem;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--event-primary);
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Enhanced Info Cards */
.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateX(4px);
}

/* Enhanced buttons */
.btn-gradient {
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    color: white;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.btn-gradient:hover::before {
    left: 100%;
}

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

/* Responsive adjustments for page-specific styles */
@media (max-width: 768px) {
    .sticky-sidebar {
        position: static;
    }

    .registration-card {
        margin-top: var(--section-spacing);
        margin-bottom: var(--section-spacing);
    }

    .schedule-quick-stats {
        grid-template-columns: 1fr;
    }

    .stat-card-mini {
        justify-content: center;
    }

    .similar-event-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .countdown-timer {
        padding: 1rem;
    }

    .countdown-display {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .countdown-unit {
        padding: 0.5rem 0.25rem;
    }

    .countdown-value {
        font-size: 1.25rem;
    }

    .countdown-label {
        font-size: 0.625rem;
    }
}

@media (max-width: 400px) {
    .countdown-timer {
        padding: 0.75rem;
    }

    .countdown-display {
        gap: 0.35rem;
    }

    .countdown-unit {
        padding: 0.4rem 0.15rem;
    }

    .countdown-value {
        font-size: 1rem;
    }

    .countdown-label {
        font-size: 0.55rem;
    }
}

/* ================================
   Enhanced About Section Components
   ================================ */

/* Quick Info Cards */
.quick-info-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.quick-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.quick-info-icon {
    font-size: 2rem;
    color: var(--event-primary);
    margin-bottom: 0.75rem;
}

.quick-info-icon i {
    display: block;
}

.quick-info-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.quick-info-value {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
}

/* Enhanced Event Description */
.event-description-enhanced {
    padding: 0 0 1.5rem 0;
    background: transparent;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.description-content {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: #34495e;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.description-content p {
    margin-bottom: 1.5rem;
}

.description-content p:first-child {
    font-size: 1.125rem;
    line-height: 2;
    color: #2c3e50;
    font-weight: 500;
}

.description-content p:last-child {
    margin-bottom: 0;
}

/* Event Highlights */
.event-highlights {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(5, 150, 105, 0.03) 100%);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.event-highlights h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.highlight-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.highlight-item i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.highlight-item span {
    font-size: 0.9375rem;
    color: #495057;
    font-weight: 500;
}

/* Organizer Section */
.organizer-section {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.organizer-section h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.organizer-card {
    background: white;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.organizer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.organizer-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.organizer-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.organizer-info h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.organizer-info p {
    margin: 0;
    font-size: 0.875rem;
}

.organizer-mission {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.organizer-mission p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #495057;
}

.organizer-actions {
    display: flex;
    gap: 0.5rem;
}

.organizer-actions .btn {
    flex: 1;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Enhanced Attendees Section */
.attendees-section-enhanced {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.attendees-section-enhanced h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.attendees-container {
    background: white;
    border-radius: 10px;
    padding: 1.25rem;
}

.attendees-avatars-enhanced {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.attendee-avatar-enhanced {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--event-primary) 0%, var(--event-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    margin-left: -12px;
    border: 3px solid white;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.attendee-avatar-enhanced:first-child {
    margin-left: 0;
}

.attendee-avatar-enhanced:hover {
    transform: scale(1.15) translateY(-2px);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.attendee-avatar-enhanced .avatar-initial {
    font-size: 0.8rem;
    font-weight: 600;
}

.attendees-more-enhanced {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
}

.attendees-stats p {
    font-size: 0.9375rem;
    color: #212529;
}

.attendees-stats small {
    font-size: 0.8125rem;
}

/* Responsive adjustments for enhanced About section */
@media (max-width: 768px) {
    .quick-info-card {
        padding: 1rem;
    }

    .quick-info-icon {
        font-size: 1.5rem;
    }

    .quick-info-value {
        font-size: 0.9375rem;
    }

    .organizer-header {
        flex-direction: column;
        text-align: center;
    }

    .organizer-logo,
    .organizer-logo-placeholder {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .attendee-avatar-enhanced {
        width: 38px;
        height: 38px;
        margin-left: -10px;
    }

    .highlight-item {
        padding: 0.5rem;
    }

    .highlight-item span {
        font-size: 0.875rem;
    }
}
