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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    background: #f8f8f8;
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

header {
    margin-bottom: 2rem;
}

h1 {
    font-size: 1.6rem;
    font-weight: 700;
}

.subtitle {
    color: #666;
    font-size: 0.95rem;
}

.errors {
    background: #fff3cd;
    border: 1px solid #e6c200;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.errors ul {
    margin-left: 1.2rem;
    margin-top: 0.3rem;
}

.day-group {
    margin-bottom: 1.5rem;
}

.date-header {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.3rem;
    margin-bottom: 0.5rem;
}

.today-badge {
    background: #2563eb;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.5rem;
    border-radius: 9999px;
    vertical-align: middle;
    margin-left: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.event-list {
    list-style: none;
}

.event-card {
    display: flex;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #eee;
}

.event-card:last-child {
    border-bottom: none;
}

.event-time {
    flex-shrink: 0;
    width: 3rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    padding-top: 0.1rem;
}

.event-details {
    flex: 1;
}

.event-title {
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}

.event-title:hover {
    text-decoration: underline;
}

.event-venue {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.8rem;
    color: #666;
    background: #eee;
    padding: 0.05rem 0.45rem;
    border-radius: 4px;
}

.event-desc {
    font-size: 0.85rem;
    color: #555;
    margin-top: 0.2rem;
}

.weekend-toggle {
    margin-top: 0.6rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #ccc;
    border-radius: 9999px;
    background: #fff;
    color: #333;
    cursor: pointer;
}

.weekend-toggle:hover {
    background: #f0f0f0;
}

.weekend-toggle.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.weekday-range {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    padding: 0.3rem 0;
    margin-bottom: 0.4rem;
}

.weekend-only .weekday {
    display: none;
}

.no-events {
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

footer {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #999;
    text-align: center;
}
