/* Custom CSS to supplement Tailwind */

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9; /* slate-100 */
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1; /* slate-300 */
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; /* slate-400 */
}

/* Palette button states */
.palette-btn {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0; /* slate-200 */
    background-color: white;
    color: #475569; /* slate-600 */
    transition: all 0.2s;
}

.palette-btn:hover {
    border-color: #94a3b8;
}

.palette-btn.answered {
    background-color: #4f46e5; /* indigo-600 */
    border-color: #4f46e5;
    color: white;
}

.palette-btn.marked {
    background-color: #f59e0b; /* amber-500 */
    border-color: #f59e0b;
    color: white;
}

.palette-btn.active {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Section Card Lock overlay */
.section-card.locked {
    opacity: 0.7;
    pointer-events: none;
    background-color: #f8fafc;
    border-color: #e2e8f0;
}

.section-card.locked .lock-icon {
    display: block;
}

.section-card.locked h3 {
    color: #94a3b8;
}

/* Option styling */
.option-label {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: white;
}

.option-label:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

.option-input:checked + .option-text {
    font-weight: 600;
    color: #4f46e5;
}

.option-label:has(.option-input:checked) {
    border-color: #4f46e5;
    background-color: #eef2ff;
}

.option-input {
    margin-right: 12px;
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #4f46e5;
}
