.section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.section h2 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 400;
}

.section h3 {
    color: #34495e;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.3em;
    font-weight: 500;
}

/* Filter styles */
.filter-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e1e5e9;
}

.filter-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.9em;
}

.filter-group select,
.filter-group input {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9em;
}

.match-count {
    font-size: 0.9em;
    color: #666;
    margin-left: auto;
}

/* No matches state */
.no-matches {
    text-align: center;
    color: #666;
    padding: 60px 20px;
}

.no-matches h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Match table styles */
.match-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.match-table th {
    background: var(--bg-secondary, #f8fafc);
    color: var(--text-primary, #1e293b);
    font-weight: 600;
    padding: 1rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    font-size: 0.875rem;
}

.match-table tr {
    color: var(--text-primary, #1e293b);
    font-size: 0.875rem;
}

.match-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--border-color, #f1f5f9);
    vertical-align: top;
}

.match-table tbody tr:hover {
    background: var(--bg-hover, #f8fafc);
}

.match-table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive table */
@media (max-width: 768px) {
    .match-table {
        display: block;
        border: none;
        box-shadow: none;
    }

    .match-table thead {
        display: none;
    }

    .match-table tbody {
        display: block;
    }

    .match-table tbody tr {
        display: block;
        border: 1px solid var(--border-color, #e2e8f0);
        border-radius: 8px;
        margin-bottom: 1rem;
        background: white;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .match-table tbody tr:hover {
        background: white;
    }

    .match-table tbody td {
        display: block;
        border: none;
        padding: 0.5rem 1rem;
        text-align: left;
        position: relative;
        padding-left: 50%;
        border-bottom: 1px solid #f1f5f9;
    }

    .match-table tbody td:last-child {
        border-bottom: none;
    }

    .match-table tbody td:before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        font-weight: 600;
        color: var(--text-muted, #64748b);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .match-table tbody td[data-label="Date"] {
        font-weight: 600;
        color: var(--text-primary, #1e293b);
    }

    .match-table tbody td[data-label="Match"] {
        background: var(--bg-secondary, #f8fafc);
        border-radius: 8px 8px 0 0;
        margin-top: -1px;
        border-bottom: 1px solid #e2e8f0;
    }

    .match-table tbody td[data-label="Action"] {
        border-radius: 0 0 8px 8px;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* Badge styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
}

.badge-open {
    background: #dcfce7;
    color: #166534;
}

.badge-full {
    background: #fee2e2;
    color: #991b1b;
}

/* Button styles */
.join-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color, #3b82f6);
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s;
}

.join-btn:hover {
    background: var(--primary-hover, #2563eb);
}

/* Column specific styles */
.col-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.col-club {
    font-weight: 500;
}