body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f8;
    margin: 0;
    padding: 0;
}

header {
    background-color: #1e3a8a;
    color: white;
    padding: 1rem;
    text-align: center;
}

main {
    max-width: 600px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

label {
    font-weight: bold;
    margin-top: 1rem;
    display: block;
}

input, select, button {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

button {
    background-color: #1e3a8a;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #334fa3;
}

#addTeamBtn {
    background-color: #2563eb;
}

#addTeamBtn:hover {
    background-color: #3b82f6;
}

.team-number-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.remove-team {
    background-color: #dc2626;
    color: white;
    max-width: 120px;
    flex-shrink: 0;
}

.remove-team:hover {
    background-color: #ef4444;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 6px;
    overflow: hidden;
}

/* Make the table scrollable */
.table-container {
    max-height: 400px; /* Adjust for your layout */
    overflow-y: auto;
}

/* Keep header visible */
.admin-table thead th {
    position: sticky;
    top: 0;
    background-color: #0077cc;
    color: white;
    z-index: 2;
}

.admin-table th, 
.admin-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #ddd;
}

.admin-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
