* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8f9fa;
    min-height: 100vh;
    color: #202124;
    margin: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

header {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: #1a73e8;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.time-timezone-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
    flex-wrap: wrap;
    gap: 24px;
}

.current-time {
    font-size: 1rem;
    color: #5f6368;
    font-weight: 400;
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    gap: 8px;
    flex-wrap: wrap;
    background: white;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.tab-button {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #5f6368;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.25px;
}

.tab-button:hover {
    background: #f1f3f4;
    color: #1a73e8;
}

.tab-button.active {
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 500;
}

.timezone-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.timezone-selector label {
    font-size: 13px;
    font-weight: 500;
    color: #5f6368;
    white-space: nowrap;
}

.timezone-selector select {
    padding: 6px 12px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    background: white;
    color: #202124;
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    transition: border-color 0.2s ease;
    min-width: 120px;
}

.timezone-selector select:hover {
    border-color: #1a73e8;
}

.timezone-selector select:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.clear-cache-btn {
    padding: 6px 8px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    background: white;
    color: #5f6368;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
}

.clear-cache-btn:hover {
    background: #f1f3f4;
    border-color: #1a73e8;
    color: #1a73e8;
    transform: rotate(90deg);
}

.clear-cache-btn:active {
    transform: rotate(180deg);
    background: #e8f0fe;
}

.countdown-section {
    background: white;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.next-release h2 {
    margin-bottom: 24px;
    color: #202124;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.25px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #1a73e8;
    color: white;
    padding: 20px 16px;
    border-radius: 8px;
    min-width: 80px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.countdown-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.countdown-number {
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1;
}

.countdown-label {
    font-size: 0.875rem;
    margin-top: 4px;
    opacity: 0.9;
    font-weight: 400;
}

.next-event-info {
    background: #e8f0fe;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #1a73e8;
    color: #202124;
}

.schedule-container {
    background: white;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    margin-bottom: 24px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    margin-bottom: 24px;
    color: #202124;
    text-align: center;
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: -0.25px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
}

.schedule-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
    border-left: 4px solid #1a73e8;
    border: 1px solid #e8eaed;
}

.schedule-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-color: #dadce0;
}

.schedule-item.expired {
    opacity: 0.6;
    background: #f8f9fa;
    border-left-color: #dadce0;
    color: #5f6368;
}

.schedule-item.next {
    border-left-color: #ea4335;
    background: #fef7f0;
    border-color: #fce8e6;
}

.schedule-item.next:hover {
    box-shadow: 0 4px 12px rgba(234, 67, 53, 0.2);
}

.schedule-date {
    font-size: 1.25rem;
    font-weight: 500;
    color: #202124;
    margin-bottom: 8px;
    letter-spacing: -0.25px;
}

.schedule-time {
    font-size: 0.875rem;
    color: #5f6368;
    margin-bottom: 12px;
    font-weight: 400;
}

.schedule-description {
    font-size: 0.875rem;
    color: #5f6368;
    line-height: 1.5;
    font-weight: 400;
}

.schedule-item.expired .schedule-date,
.schedule-item.expired .schedule-time,
.schedule-item.expired .schedule-description {
    color: #9aa0a6;
}

footer {
    text-align: center;
    color: #5f6368;
    margin-top: 32px;
    padding: 24px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

footer p {
    margin-bottom: 4px;
    font-size: 0.875rem;
    font-weight: 400;
}

.fomc-note {
    font-style: italic;
    color: #1a73e8;
    margin: 8px 0;
    display: none;
}

.fomc-note.show {
    display: block;
}

@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    header {
        margin-bottom: 24px;
        padding: 20px 16px;
    }

    header h1 {
        font-size: 2rem;
    }

    .tabs {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .tab-button {
        width: 100%;
        text-align: center;
    }

    .time-timezone-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .timezone-selector {
        align-self: stretch;
        justify-content: space-between;
    }

    .timezone-selector select {
        min-width: 140px;
    }

    .countdown-section {
        padding: 24px 16px;
    }

    .countdown {
        gap: 12px;
    }

    .countdown-item {
        min-width: 70px;
        padding: 16px 12px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .schedule-container {
        padding: 24px 16px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .schedule-item {
        padding: 16px;
    }

    footer {
        padding: 20px 16px;
        margin-top: 24px;
    }
}
