/* Event Details Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #F3F2EC;
    line-height: 1.6;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    background-color: #f5f5f5;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: stretch;
}

/* Left Sidebar */
.left-sidebar {
    width: 270px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.back-navigation {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #003366;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    color: #0056b3;
    transform: translateX(-5px);
}

.back-btn i {
    font-size: 16px;
}

.event-status-card {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.event-status-card h3 {
    color: #003366;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.status-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.status-upcoming {
    background: #fff3cd;
    color: #856404;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-rescheduled {
    background: #e2e3e5;
    color: #383d41;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.meta-item i {
    color: #003366;
    width: 14px;
}

/* Main Area */
.main-area {
    flex: 1;
    min-width: 0;
}

.event-details-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Event Header */
.event-header {
    background: linear-gradient(135deg, #003366 0%, #0056b3 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.event-header h1 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 600;
}

.event-category {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    opacity: 0.9;
}

.event-category i {
    font-size: 14px;
}

/* Event Basic Info */
.event-basic-info {
    padding: 30px;
    border-bottom: 1px solid #e9ecef;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.info-item i {
    color: #003366;
    font-size: 20px;
    margin-top: 2px;
}

.info-content {
    flex: 1;
}

.info-content label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-content span {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.location-link {
    color: #003366;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.location-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Event Sections */
.event-section {
    padding: 30px;
    border-bottom: 1px solid #e9ecef;
}

.event-section:last-child {
    border-bottom: none;
}

.event-section h2 {
    color: #003366;
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 10px;
}

.event-section h2 i {
    color: #003366;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Description */
.description h3,
.organizer h3,
.topics h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.description p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.organizer p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 15px;
}

.organizer i {
    color: #003366;
}

/* Topics */
.topics-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topic-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #bbdefb;
}

/* Important Dates */
.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.date-item i {
    color: #003366;
    font-size: 18px;
}

.date-content label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.date-content span {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Contact Information */
.event-contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.event-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.event-contact-item i {
    color: #003366;
    font-size: 18px;
}

.event-contact-content label {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.event-contact-content a {
    color: #003366;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.event-contact-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Footer */
footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

.footer-content p {
    margin: 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-wrapper {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .left-sidebar {
        width: 250px;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .left-sidebar {
        width: 100%;
        order: 2;
    }
    
    .main-area {
        order: 1;
    }
    
    .back-navigation,
    .event-status-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 10px;
    }
    
    .event-header {
        padding: 30px 20px;
    }
    
    .event-header h1 {
        font-size: 24px;
    }
    
    .event-basic-info,
    .event-section {
        padding: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .dates-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-item,
    .date-item,
    .contact-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .event-header {
        padding: 25px 15px;
    }
    
    .event-header h1 {
        font-size: 20px;
    }
    
    .event-basic-info,
    .event-section {
        padding: 15px;
    }
    
    .info-item,
    .date-item,
    .contact-item {
        padding: 12px;
    }
    
    .event-section h2 {
        font-size: 18px;
    }
}
