#time-blocking-tool {
    font-family: Arial, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

#tbt-calendar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.tbt-day {
    border: 1px solid #ddd;
    padding: 10px;
    min-height: 200px;
    background-color: #f9f9f9;
}

.tbt-day h3 {
    margin-top: 0;
    text-align: center;
    background-color: #4CAF50;
    color: white;
    padding: 5px;
}

.tbt-task {
    background-color: #e1f5fe;
    border: 1px solid #81d4fa;
    padding: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    border-radius: 3px;
}

#tbt-task-form, #tbt-sleep-time {
    background-color: #f0f0f0;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
    border-radius: 5px;
}

#tbt-task-form h3, #tbt-sleep-time h3 {
    margin-top: 0;
    color: #333;
}

#tbt-task-form label, #tbt-sleep-time label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

#tbt-task-form input,
#tbt-task-form select,
#tbt-sleep-time input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

#tbt-task-form button,
#tbt-sleep-time button,
#tbt-download {
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    font-size: 16px;
}

#tbt-task-form button:hover,
#tbt-sleep-time button:hover,
#tbt-download:hover {
    background-color: #45a049;
}

#tbt-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 3px;
}

#tbt-message p {
    margin: 0;
}

#tbt-total-hours {
    font-weight: bold;
    margin-top: 10px;
    font-size: 18px;
}

.tbt-warning {
    color: #ff0000;
}

#tbt-download {
    display: block;
    width: 200px;
    margin: 20px auto;
    text-align: center;
}

@media (max-width: 600px) {
    #tbt-calendar {
        grid-template-columns: 1fr;
    }
}

.tbt-task {
    background-color: #e1f5fe;
    border: 1px solid #81d4fa;
    padding: 5px;
    margin-bottom: 5px;
    font-size: 14px;
    border-radius: 3px;
    position: relative;
}

.tbt-delete-task {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #f44336;
    color: white;
    border: none;
    padding: 2px 5px;
    font-size: 12px;
    cursor: pointer;
    border-radius: 3px;
}

.tbt-delete-task:hover {
    background-color: #d32f2f;
}