.goalie-board {
    max-width: 1200px;
    margin: 0 auto;
}

.status-summary {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.status-summary h2 {
    margin: 0 0 10px 0;
    color: #fff !important;
    font-size: 1.5em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.sub-needed-alert {
    background-color: #dc3545;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.sub-needed-alert.none {
    background-color: #28a745;
    animation: none;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.week-section {
    margin-bottom: 40px;
}

.week-header {
    background: #333;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.week-header h3 {
    margin: 0;
}

.week-header .division-badge {
    background: #007bff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
}

.matchups-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.matchups-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #dee2e6;
}

.matchups-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.matchups-table tr:last-child td {
    border-bottom: none;
}

.matchups-table tr:hover {
    background-color: #f8f9fa;
}

.team-cell {
    font-weight: 500;
}

.goalie-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.goalie-name {
    font-weight: 500;
}

.goalie-name.is-sub {
    color: #007bff;
}

.sub-badge {
    background: #007bff;
    color: white;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
    display: inline-block;
}

.status-badge.confirmed {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.sub-needed {
    background-color: #f8d7da;
    color: #721c24;
    animation: pulse 2s infinite;
}

.status-badge.unconfirmed {
    background-color: #fff3cd;
    color: #856404;
}

.time-cell {
    color: #666;
    font-size: 0.9em;
}

.no-matchups {
    text-align: center;
    padding: 40px;
    color: #666;
}

.legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.captain-panel {
    max-width: 900px;
    margin: 0 auto;
}

.team-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

.team-header h2 {
    margin: 0 0 10px 0;
    font-size: 2.2em;
    color: #fff !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.team-header p {
    margin: 0;
    opacity: 0.8;
}

.roster-goalie-info {
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 15px;
}

.matchup-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.matchup-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.matchup-date {
    font-weight: 600;
    color: #333;
}

.matchup-opponent {
    color: #666;
}

.matchup-opponent strong {
    color: #333;
}

.matchup-body {
    padding: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1em;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
}

.form-group select:focus {
    outline: none;
    border-color: #007bff;
}

.form-group select:hover {
    border-color: #999;
}

.btn-update {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 120px;
}

.btn-update:hover {
    background: #0056b3;
}

.btn-update:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-update.saving {
    background: #6c757d;
}

.btn-update.saved {
    background: #28a745;
}

.current-status {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.current-status-label {
    color: #666;
}

.help-text {
    background: #e7f3ff;
    border-left: 4px solid #007bff;
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
}

.help-text h4 {
    margin: 0 0 10px 0;
    color: #0056b3;
}

.help-text ul {
    margin: 0;
    padding-left: 20px;
}

.help-text li {
    margin-bottom: 5px;
}

.update-feedback {
    display: none;
    margin-left: 10px;
    font-size: 0.9em;
}

.update-feedback.success {
    color: #28a745;
}

.update-feedback.error {
    color: #dc3545;
}

@media (max-width: 768px) {
    .matchups-table {
        font-size: 0.9em;
    }

    .matchups-table th,
    .matchups-table td {
        padding: 10px 8px;
    }

    .goalie-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }

    .form-group {
        width: 100%;
    }

    .btn-update {
        width: 100%;
    }
}
