* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'century', Arial, sans-serif;
    background-color: #020C1F;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    margin: 0 auto;
    padding: 20px;
    max-width: 1440px;
}

.dashboard {
    display: grid;
    grid-template-columns: .4fr 1fr;
    gap: 30px;
}

.sidebar h2 {
    font-family: 'tecnor', Arial, sans-serif;
    margin-bottom: 25px;
    font-size: 30px;
    font-weight: normal;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.event-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #032B44;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.event-card:hover {
    background: rgba(6, 145, 192, 0.1);
    border-color: rgba(6, 145, 192, 0.3);
}

.event-card.active {
    background: rgb(006, 145, 192);
    border-color: transparent;
}

.event-info h3 {
    font-size: 1rem;
    color: #fff;
}

.event-years {
    font-size: 0.85rem;
    color: rgb(006, 145, 192);
    font-weight: 500;
}

.main-content {
    background: #032B44;
    border-radius: 5px;
    padding: 40px;
}

.title-and-date{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
}

.content-header {
    margin-bottom: 15px;
}

.event-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.event-title h2 {
    font-family: 'tecnor', Arial, sans-serif;
    font-size: 2.5rem;
    color: rgb(006, 145, 192);
    font-weight: normal;
}

.year-selector {
    display: flex;
    gap: 10px;
}

.year-chip {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'century', Arial, sans-serif;
    font-size: 0.9rem;
}

.year-chip:hover {
    background: rgba(6, 145, 192, 0.2);
    border-color: rgba(6, 145, 192, 0.5);
}

.year-chip.active {
    background: rgb(006, 145, 192);
    border-color: rgb(006, 145, 192);
    color: #fff;
}

.event-description {
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    border-left: 4px solid rgb(006, 145, 192);
}

.event-description p {
    font-size: 1    rem;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, calc(25% - 20px)));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(6, 145, 192, 0.1);
    border-radius: 5px;
    padding: 20px 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'tecnor', Arial, sans-serif;
    font-size: 3rem;
    color: rgb(006, 145, 192);
    margin-bottom: 10px;
    font-weight: normal;
}

.stat-label {
    font-size: 1rem;
    color: #fff;
    opacity: 0.9;
}

.topics-section {
    margin-bottom: 30px;
}

.topics-section h3,
.date-section h3,
.links-section h3 {
    font-family: 'tecnor', Arial, sans-serif;
    color: rgb(006, 145, 192);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: normal;
}

.links-section {
    margin-top: 30px;
}

.links-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.links-grid a {
    color: #fff;
    text-decoration: none;
    background: rgba(6, 145, 192, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.links-grid a:hover {
    background: rgba(6, 145, 192, 0.3);
}

.date-section h3 {
    margin-bottom: 0;
}

.topics-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.topic-tag {
    padding: 8px 16px;
    background: rgba(6, 145, 192, 0.2);
    border-radius: 5px;
    color: #fff;
    font-size: 0.9rem;
}

.document-preview img {
    width: 50%;
    border-radius: 5px;
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.document-header h3 {
    font-family: 'tecnor', Arial, sans-serif;
    color: rgb(006, 145, 192);
    font-size: 1.3rem;
    font-weight: normal;
}


@media (max-width: 1024px) {
    .dashboard {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        order: 1;
    }
    
    .main-content {
        order: 2;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
    
    .event-title {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .document-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .sidebar,
    .main-content {
        padding: 20px;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}