/* General body and container styles */
body {
    font-family: 'Inter', sans-serif;
}

/* Custom styles for option buttons */
.option-btn {
    background-color: #f8f9fa;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
    font-size: 1rem;
}

.option-btn:hover {
    background-color: #ecf0f1;
    border-color: #3498db;
}

.option-btn.selected {
    background-color: #3498db;
    border-color: #3498db;
    color: #fff;
    box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.option-btn.selected:hover {
    background-color: #2980b9;
}

/* Styles for a hidden class, to be toggled by JS */
.hidden {
    display: none !important;
}

/* Chart Canvas */
#spiderwebChart, #adminSpiderwebChart {
    max-width: 100%;
    max-height: 450px;
}

/* Responsive table for mobile */
@media (max-width: 640px) {
    #summary-table th, #summary-table td {
        padding: 0.75rem;
        display: block;
        width: 100%;
        text-align: right;
    }

    #summary-table thead {
        display: none;
    }

    #summary-table tr {
        border-bottom: 2px solid #e5e7eb;
        margin-bottom: 1rem;
        display: block;
    }
    
    #summary-table td:before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }
}
