* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f2f4f8;
    color: #1f2937;
}

.container {
    max-width: 1100px;
    margin: 32px auto;
    padding: 0 16px 32px;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

header p {
    margin-top: 8px;
    color: #4b5563;
}

.nav-link {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    padding: 20px;
    margin-top: 20px;
}

.row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

input[type="text"],
select {
    height: 38px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 10px;
    min-width: 220px;
}

button {
    height: 38px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff;
    padding: 0 14px;
    cursor: pointer;
    font-weight: 600;
}

button:hover {
    background: #1d4ed8;
}

button.secondary {
    background: #6b7280;
}

button.secondary:hover {
    background: #4b5563;
}

button.danger {
    background: #dc2626;
}

button.danger:hover {
    background: #b91c1c;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
}

th {
    color: #374151;
    background: #f9fafb;
}

.team-list {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-pill {
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    padding: 5px 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.muted {
    color: #6b7280;
}

.hidden {
    display: none !important;
}

.toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    padding: 10px 14px;
    border-radius: 8px;
    color: #fff;
    background: #111827;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
