body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h1 {
    text-align: center;
    color: #ffffff;
}

#controls {
    margin-bottom: 1rem;
    text-align: center;
}


#day-columns-container {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.day-column {
    background-color: #1e1e1e;
    border-radius: 8px;
    padding: 1rem;
    flex: 1;
}

.day-column-header {
    text-align: center;
    margin-bottom: 1rem;
}

.day-description {
    font-style: italic;
    color: #aaa;
    margin-bottom: 0.5rem;
    min-height: 20px;
}


.time-slots-list {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.time-slot-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    background-color: #2c2c2c;
    transition: background-color 0.3s;
    min-height: 38px;
}

.time-slot-row.claimed-processed {
    background-color: #004d40;
}

.time-slot-row.claimed-pending {
    background-color: #5a5a22;
}

.time-slot-row.claimed-failed {
    background-color: #8b0000;
}

.time-label {
    flex-basis: 50px;
    font-weight: bold;
    align-self: center;
}

.row-content {
    display: flex;
    flex-grow: 1;
    align-items: center;
    gap: 0.5rem;
}


.action-btn:disabled {
    display: none;
}

.status-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-left: auto;
}

/* Styles for the rich player view */
.player-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
}

.player-info img.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.player-info .name {
    font-weight: bold;
}

.player-info .furnace {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    font-size: 0.9em;
}

.player-info img.furnace-img {
    width: 20px;
    height: 20px;
}

.player-info-pending {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
}

.pending-text {
    font-size: 0.8em;
    color: #bbb;
    font-style: italic;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.inline-visible {
    display: inline-block !important;
}

/* Buffs page specific styles */
.card {
    background-color: #1e1e1e;
    border: 1px solid #333;
}
.list-group-item {
    background-color: #2c2c2c;
    border: 1px solid #333;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    min-height: 45px;
}

.state-pending, .state-pending > td {
    --bs-table-bg-type: #5a5a22;
    --bs-table-striped-bg: #5a5a22;
    background-color: #5a5a22 !important;
}

.state-failed, .state-failed > td {
    --bs-table-bg-type: #8b0000;
    --bs-table-striped-bg: #8b0000;
    background-color: #8b0000 !important;
}

@media (max-width: 768px) {
    #day-columns-container {
        flex-direction: column;
    }
}