.corrections-content {
    flex: 1;
    overflow-y: hidden;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.corrections-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #1e2128;
    border-radius: 8px;
    flex-shrink: 0;
}

.corrections-controls .form-group label {
    font-size: 12px;
    margin-bottom: 4px;
}

.corrections-info {
    color: #A0A0A8;
    font-size: 12px;
}

#corrections-game-select {
    max-width: 400px;
    padding: 6px;
    font-size: 12px;
}

.corrections-controls .form-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.corrections-controls .form-group label {
    margin-bottom: 0;
    white-space: nowrap;
}

#game-alias-input {
    max-width: 300px;
    padding: 6px;
    font-size: 12px;
    flex: 0 1 300px;
}

#save-alias-btn {
    padding: 6px 12px;
    font-size: 12px;
    margin-left: 0;
    white-space: nowrap;
}

.corrections-table-container {
    background: #1e2128;
    border-radius: 8px;
    padding: 15px;
    max-width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.corrections-table-wrapper {
    overflow-x: auto;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.corrections-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.corrections-table th,
.corrections-table td {
    padding: 4px 3px;
    text-align: center;
    border-bottom: 1px solid #2a2d35;
    border-right: 1px solid #2a2d35;
}

.corrections-table th {
    background: #252830;
    color: #A0A0A8;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    height: 120px;
    white-space: nowrap;
    font-size: 11px;
    padding: 8px 4px;
}

.corrections-table th:first-child,
.corrections-table th:last-child {
    writing-mode: horizontal-tb;
    height: auto;
}

.corrections-table tr:hover {
    background: #252830;
}

.corrections-table tr.has-correction {
    background: rgba(74, 157, 156, 0.1);
}

.corrections-table tr.has-correction:hover {
    background: rgba(74, 157, 156, 0.15);
}

.corrections-table tr.is-hidden {
    opacity: 0.5;
    background: rgba(220, 53, 69, 0.1);
}

.corrections-table tr.is-hidden:hover {
    background: rgba(220, 53, 69, 0.15);
}

.hidden-indicator {
    color: #dc3545;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 4px;
    background: rgba(220, 53, 69, 0.2);
    border-radius: 3px;
    margin-left: 5px;
}

.corrections-table .edit-field {
    width: 100%;
    padding: 2px 4px;
    background: #2a2d35;
    border: 1px solid #3a3d45;
    border-radius: 3px;
    color: #e0e0e8;
    font-size: 10px;
}

.corrections-table .edit-field:focus {
    outline: none;
    border-color: #4a9d9c;
}

.save-correction-btn,
.delete-correction-btn,
.toggle-hidden-btn {
    padding: 3px 6px;
    margin: 1px;
    font-size: 9px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
    white-space: nowrap;
}

.save-correction-btn {
    background: #4a9d9c;
    color: white;
}

.save-correction-btn:hover {
    background: #5cb8b7;
}

.delete-correction-btn {
    background: #dc3545;
    color: white;
}

.delete-correction-btn:hover {
    background: #c82333;
}

.toggle-hidden-btn.hide {
    background: #6c757d;
    color: white;
}

.toggle-hidden-btn.hide:hover {
    background: #5a6268;
}

.toggle-hidden-btn.unhide {
    background: #28a745;
    color: white;
}

.toggle-hidden-btn.unhide:hover {
    background: #218838;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #A0A0A8;
}

.empty-state.error {
    color: #dc3545;
}

.controls-wrapper {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.sorting-controls {
    padding: 6px;
    background: #252830;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.sorting-controls label {
    color: #A0A0A8;
    font-size: 11px;
    font-weight: 600;
}

.sorting-controls select {
    padding: 4px 8px;
    background: #2a2d35;
    border: 1px solid #3a3d45;
    border-radius: 4px;
    color: #e0e0e8;
    font-size: 11px;
}

.filter-controls {
    padding: 12px;
    background: #252830;
    border-radius: 4px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-header {
    display: flex;
    align-items: center;
    padding-bottom: 8px;
    border-bottom: 1px solid #3a3d45;
}

.filter-header label {
    color: #A0A0A8;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-groups-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 0 0 auto;
    min-width: 120px;
}

.filter-group label {
    color: #A0A0A8;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.filter-group select {
    padding: 4px 6px;
    background: #2a2d35;
    border: 1px solid #3a3d45;
    border-radius: 3px;
    color: #e0e0e8;
    font-size: 10px !important;
    min-width: 100%;
    height: 80px !important;
    max-height: 80px !important;
    font-family: inherit;
}

.filter-group select[multiple] {
    height: 80px !important;
}

.filter-group select:focus {
    outline: none;
    border-color: #4a9d9c;
}

.filter-group select option {
    padding: 3px;
    font-size: 10px !important;
    font-family: inherit;
}

/* CORRECTIONS PAGE ONLY - completely separate styling that does NOT affect dashboard */
.corrections-content #filter-shooter,
.corrections-content #filter-onfield {
    font-size: 10px !important;
    line-height: 1.2 !important;
    height: 80px !important;
    max-height: 80px !important;
    min-height: 80px !important;
    flex: none !important;
}

.corrections-content #filter-team,
.corrections-content #filter-result,
.corrections-content #filter-type,
.corrections-content #filter-turnover {
    font-size: 10px !important;
    line-height: 1.2 !important;
}

.corrections-content #filter-shooter option,
.corrections-content #filter-onfield option {
    font-size: 10px !important;
    line-height: 1.2 !important;
    padding: 2px 3px !important;
}

.corrections-content #filter-team option,
.corrections-content #filter-result option,
.corrections-content #filter-type option,
.corrections-content #filter-turnover option {
    font-size: 10px !important;
    line-height: 1.2 !important;
    padding: 2px 3px !important;
}

.filter-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 8px;
    border-top: 1px solid #3a3d45;
}

.filter-btn {
    padding: 6px 14px;
    border: none;
    font-size: 11px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 600;
}

.filter-btn.apply-btn {
    background: #4a9d9c;
    color: white;
}

.filter-btn.apply-btn:hover {
    background: #5cb8b7;
}

.filter-btn.clear-btn {
    background: #6c757d;
    color: white;
}

.filter-btn.clear-btn:hover {
    background: #5a6268;
}

.sort-btn {
    padding: 4px 10px;
    background: #4a9d9c;
    color: white;
    border: none;
    font-size: 11px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.sort-btn:hover {
    background: #5cb8b7;
}

#apply-filters,
#clear-filters {
    align-self: flex-end;
    margin-bottom: 3px;
}

.corrections-table .time-field {
    width: 50px;
    min-width: 50px;
}

.corrections-table .team-dropdown {
    min-width: 90px;
    max-width: 120px;
}

.corrections-table .player-dropdown {
    min-width: 90px;
    max-width: 110px;
}

.corrections-table .checkbox-field {
    width: 15px;
    height: 15px;
    margin: 0 auto;
    display: block;
    cursor: pointer;
}

.corrections-table .result-goal {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
    color: #4CAF50;
    font-weight: 600;
}

.corrections-table td:first-child {
    font-size: 10px;
    font-weight: 600;
    color: #A0A0A8;
}

.corrections-table td:last-child {
    min-width: 140px;
    padding: 2px;
    white-space: nowrap;
}

.corrections-table select[data-field="result"],
.corrections-table select[data-field="type"] {
    min-width: 70px;
    max-width: 90px;
}
