/* Dark theme overrides */
body {
    background-color: #121212;
}

.table-dark {
    --bs-table-bg: #1e1e1e;
}

.card {
    background-color: #1e1e1e;
    border-color: #333;
}

.habit-checkbox {
    width: 1.2em;
    height: 1.2em;
    cursor: pointer;
}

/* Mobile: stack sprint table into date cards */
@media (max-width: 575.98px) {
    .sprint-table {
        display: block;
    }
    .sprint-table thead {
        display: none;
    }
    .sprint-table tbody {
        display: block;
    }
    .sprint-table tr {
        display: block;
        border: 1px solid #495057;
        border-radius: 0.375rem;
        margin-bottom: 1rem;
        overflow: hidden;
    }
    .sprint-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 0.75rem;
        border: none;
        border-bottom: 1px solid #2c3034;
    }
    .sprint-table td:last-child {
        border-bottom: none;
    }
    .sprint-table td::before {
        content: attr(data-label);
        color: #adb5bd;
        font-size: 0.875rem;
        flex-shrink: 0;
        margin-right: 0.5rem;
    }
    .sprint-table td.date-cell {
        background-color: rgba(255, 255, 255, 0.07);
        font-weight: 600;
        justify-content: flex-start;
    }
    .sprint-table td.date-cell::before {
        content: none;
    }
}
