body {
    font-family: sans-serif;
    background-color: #101010;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 700px;
    margin: 20px auto;
    background: #2b2a2a;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
    color: #fffdfd;
    text-align: center;
    margin-bottom: 20px;
}

a {

    color: white;

}

a:hover {
    color: green;

}

/* Step Handling */
.step {
    display: none;
    /* Hide steps by default */
    margin-bottom: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.step.active-step {
    display: block;
    /* Show the current step */
}

/* Button Styles */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* Spacing between buttons */
    justify-content: center;
    margin-bottom: 15px;
}

.selection-button {
    padding: 10px 15px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    color: #838080;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    min-width: 60px;
    /* Ensure buttons have some width */
    text-align: center;
}

.selection-button:hover {
    background-color: #e9e9e9;
    border-color: #bbb;
}

/* Style for selected buttons */
.selection-button.selected {
    background-color: #007bff;
    /* Blue background for selected */
    color: #fff;
    /* White text */
    border-color: #0056b3;
}

/* Specific style for 'ALL' button if needed */
.row-button[data-value="ALL"] {
    background-color: #ffc107;
    /* Amber color */
    border-color: #e0a800;
    color: #333;
}

.row-button[data-value="ALL"].selected {
    background-color: #e0a800;
    border-color: #c69500;
    color: #fff;
}


#submit-button,
#reset-button {
    display: block;
    width: 100%;
    max-width: 200px;
    /* Limit width */
    margin: 15px auto 5px auto;
    /* Center */
    padding: 12px 20px;
    font-size: 1.1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#submit-button {
    background-color: #28a745;
    /* Green */
    color: white;
}

#submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#submit-button:not(:disabled):hover {
    background-color: #218838;
}

.secondary-button {
    background-color: #6c757d;
    /* Gray */
    color: white;
}

.secondary-button:hover {
    background-color: #5a6268;
}


.instructions {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin-top: 10px;
}

#selected-house-display {
    font-weight: bold;
    color: #0056b3;
}

/* Feedback Message Styling */
.feedback {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    display: none;
    /* Hidden by default */
}

.feedback.success {
    background-color: #d4edda;
    /* Light green */
    color: #155724;
    /* Dark green */
    border: 1px solid #c3e6cb;
    display: block;
    /* Show on success */
}

.feedback.error {
    background-color: #f8d7da;
    /* Light red */
    color: #721c24;
    /* Dark red */
    border: 1px solid #f5c6cb;
    display: block;
    /* Show on error */
}

/* Previous Week Display */
.previous-week-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #007bff;
    /* Separator */
}

.previous-week-section h2 {
    margin-bottom: 15px;
    color: #0056b3;
}

#previous-week-content {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #dee2e6;
    min-height: 50px;
    /* Ensure it has some height even when empty */
}

#previous-week-content p {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #ced4da;
}

#previous-week-content p:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.loading-indicator {
    text-align: center;
    padding: 10px;
    color: #666;
    font-style: italic;
}

#previous-week-content .no-records {
    text-align: center;
    color: #666;
    font-style: italic;
}

#previous-week-content strong {
    color: #333;
}