.week-plan {
    width: 100%;
    border-spacing: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #29842C;
}

.week-plan th,
.week-plan td {
    border-right: 1px solid #29842C;
    border-bottom: 1px solid #29842C;
}

.week-plan th:last-child,
.week-plan td:last-child {
    border-right: none;
}

.week-plan tr:last-child td {
    border-bottom: none;
}

.week-plan th {
    background-color: #29842C;
    color: #fff;
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    border-bottom: 2px solid #29842C;
}

.week-plan td {
    padding: 15px 10px;
    text-align: center;
    border-bottom: 1px solid #29842C;
    border-right: 1px solid #29842C;
    transition: background-color 0.2s;
}

.time-label {
    background-color: #29842C;
    color: #fff;
    width: 80px;
}

.checkbox-cell {
    position: relative;
    height: 60px;
}

.custom-checkbox {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid #29842C;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.custom-checkbox.checked {
    background-color: #29842C;
    border-color: #29842C;
}

.custom-checkbox.checked::after {
    /* content: "✓";
    position: absolute;
    color: white;
    font-size: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
}

.week-plan tr:hover td:not(.time-label) {
    background-color: #f8f9fa;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

button {
    padding: 10px 20px;
    background: #4b6cb7;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

button:hover {
    background: #3a5795;
}

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

.stat-box {
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    min-width: 150px;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: #4b6cb7;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .container {
        border-radius: 8px;
    }
    h1 {
        font-size: 1.8rem;
    }
    .week-plan th,
    .week-plan td {
        padding: 10px 5px;
        font-size: 0.9rem;
    }
    .time-label {
        width: 60px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px 10px;
    }
    .week-plan {
        font-size: 0.8rem;
    }
    .time-label {
        width: 50px;
    }
    .controls,
    .stats {
        flex-direction: column;
        align-items: center;
    }
    .stat-box {
        width: 100%;
        max-width: 200px;
    }
}