﻿.questions-table-scroll {
    max-height: 420px;
    overflow-y: auto;
}

.editing-row {
    background-color: rgba(33,150,243,0.12);
}

.questions-header {
    display: flex;
    flex-direction: row;
    justify-content: start;
}

.question-cell {
    max-height: 72px;
    overflow: auto;
    white-space: normal;
    word-break: break-word;
}

.options-scroll {
    max-height: 150px;
    overflow-y: auto;
    padding: 4px;
}

.options-edit {
    border: 1px dashed rgba(0,0,0,0.3);
    border-radius: 6px;
}

.option-view {
    padding: 4px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
    font-size: .85rem;
    white-space: normal;
    word-break: break-word;
}

.info-block {
    border-right: 2px solid #eee;
}

.areas-block {
    border-right: 2px dashed #ddd;
    background: #fafafa;
}

.options-block {
    background: #fcfcfc;
}

.option-color-0 {
    background: rgba(33,150,243,.15);
}

.option-color-1 {
    background: rgba(76,175,80,.15);
}

.option-color-2 {
    background: rgba(156,39,176,.15);
}

.option-color-3 {
    background: rgba(255,152,0,.15);
}

.option-edit-row {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 4px;
    flex-direction: row;
}

.hscroll-input {
    white-space: nowrap !important;
    overflow-x: auto !important;
}

/* spheres list */

.spheres-cell {
    max-height: 140px;
    overflow-y: auto;
    padding: 6px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,.08);
    background: rgba(0,0,0,.02);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sphere-item {
    padding: 4px 6px;
    border-radius: 4px;
    font-size: .8rem;
    line-height: 1.2;
    border: 1px solid rgba(0,0,0,.12);
    white-space: normal;
    word-break: break-word;
}

.sphere-color-0 {
    background: rgba(33,150,243,.15);
}

.sphere-color-1 {
    background: rgba(76,175,80,.15);
}

.sphere-color-2 {
    background: rgba(156,39,176,.15);
}

.sphere-color-3 {
    background: rgba(255,152,0,.15);
}

.new-question-root {
    background: #fcfcfc;
}

.new-question-block {
    padding: 10px;
    border-radius: 6px;
}

.new-question-root .info-block {
    border-left: 4px solid #1976d2;
    padding: 10px;
}

.new-question-root .areas-block {
    background: #fafafa;
    border-left: 4px dashed #aaa;
    padding: 10px;
}

.new-question-root .options-block {
    background: #fdfdfd;
    border-left: 4px solid #4caf50;
    padding: 10px;
}

.radio-option:hover {
    background: var(--mud-palette-grey-lighten4);
}