/**
 * Handball API Frontend Styles
 */

/* Table Styles */
.handball-api-table-container {
    margin: 20px 0;
    overflow-x: auto;
}

.handball-api-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 20px;
}

.handball-api-table th,
.handball-api-table td {
    padding: 8px 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.handball-api-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.handball-api-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.handball-api-table tr:hover {
    background-color: #f5f5f5;
}

.handball-api-team {
    text-align: left;
}

/* Season Selector */
.handball-api-season-selector {
    margin-bottom: 20px;
}

.handball-api-season-selector label {
    margin-right: 10px;
    font-weight: bold;
}

.handball-api-season-selector select {
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Matches List */
.handball-api-matches-container {
    margin: 20px 0;
}

.handball-api-matches-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.handball-api-match {
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.handball-api-match-date {
    font-weight: bold;
    margin-bottom: 5px;
    color: #666;
}

.handball-api-match-teams {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.handball-api-home-team {
    font-weight: bold;
}

.handball-api-guest-team {
    font-weight: bold;
}

.handball-api-score {
    font-weight: bold;
    color: #333;
}

.handball-api-match-status {
    margin-bottom: 10px;
    color: #666;
    font-style: italic;
}

.handball-api-match-link {
    display: inline-block;
    padding: 5px 10px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.handball-api-match-link:hover {
    background-color: #005177;
    color: white;
}

/* Error Messages */
.handball-api-error {
    color: #d63638;
    padding: 10px;
    border: 1px solid #d63638;
    background-color: #ffebe8;
    border-radius: 4px;
}