:root {
    --primary: #22c55e;
    --bg: #f4f7fa; 
    --text-dark: #1c1e21;
    --text-gray: #65676b;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* CONTAINER */
.app-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    padding-bottom: 40px;
}

/* HEADER */
.header {
    padding: 20px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;

    display: flex;
    align-items: center;
    gap: 15px;

    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.header a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 18px;
}

.header h2 {
    font-size: 18px;
    font-weight: 700;
}

/* FEATURED */
.featured-agenda {
    padding: 20px;
}

.next-event-card {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    padding: 25px 20px;
    border-radius: 24px;
    color: white;

    box-shadow: 0 12px 25px rgba(34, 197, 94, 0.25);
}

.next-event-card p {
    font-size: 10px;
    opacity: 0.9;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.next-event-card h3 {
    font-size: 20px;
    margin: 10px 0;
    font-weight: 800;
    line-height: 1.3;
}

.event-meta {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    font-size: 11px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;

    background: rgba(255,255,255,0.15);
    padding: 8px 14px;
    border-radius: 12px;

    backdrop-filter: blur(5px);
}

/* FILTER */
.filter-wrapper {
    padding-bottom: 20px;
}

.filter-container {
    display: flex;
    gap: 10px;
    padding: 0 20px;

    overflow-x: auto;
    scrollbar-width: none;
}

.filter-container::-webkit-scrollbar {
    display: none;
}

.month-chip {
    padding: 10px 22px;
    background: white;
    border-radius: 15px;

    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;

    white-space: nowrap;
    box-shadow: var(--shadow);

    cursor: pointer;
    transition: 0.3s;

    border: 2px solid transparent;
}

.month-chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);

    box-shadow: 0 8px 15px rgba(34, 197, 94, 0.25);
}

/* AGENDA SECTION */
.agenda-section {
    background: white;
    border-radius: 35px 35px 0 0;

    padding: 30px 20px;
    min-height: 500px;

    box-shadow: 0 -10px 30px rgba(0,0,0,0.02);
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #334155;
}

/* ITEM */
.agenda-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

/* LINE TIMELINE */
.agenda-item::before {
    content: '';
    position: absolute;

    left: 24px;
    top: 55px;

    width: 2px;
    height: calc(100% - 25px);

    background: #f1f5f9;
}

.agenda-item:last-child::before {
    display: none;
}

/* DATE BOX */
.date-box {
    min-width: 52px;
    height: 52px;

    background: #f8fafc;
    border-radius: 16px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1.5px solid #f1f5f9;
}

.date-box .day {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.date-box .month-label {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}

/* INFO */
.agenda-info {
    flex: 1;
}

.agenda-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1e293b;
}

.agenda-info p {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 12px;
}

/* BADGE */
.badge-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.info-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;

    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.loc {
    background: #ecfdf5;
    color: #16a34a;
}

.time {
    background: #f1f5f9;
    color: #64748b;
}

/* EMPTY */
#emptyState {
    display: none;
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}

#emptyState i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.info-tag i {
  font-size: 11px;
}