/* DISC Assessment - Options Layout Optimization */

/* Options container - flex layout for better spacing */
.options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.25rem 0 1.5rem 0;
    padding: 0.25rem 0;
}

/* Individual option labels - styled as clickable cards */
.option-label {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.25rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    line-height: 1.4;
    color: #2d3748;
    position: relative;
    user-select: none;
}

/* Hover effect */
.option-label:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Selected state - radio button checked */
.option-label:has(input[type="radio"]:checked) {
    background: #ebf8ff;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
    transform: translateX(4px);
}

/* Hide default radio button */
.option-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

/* Custom radio indicator */
.option-label::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-right: 14px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    background: white;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Custom radio - checked state */
.option-label:has(input[type="radio"]:checked)::before {
    border-color: #4299e1;
    background: #4299e1;
    box-shadow: inset 0 0 0 4px white, 0 0 0 1px #4299e1;
}

/* Custom radio - hover state */
.option-label:hover::before {
    border-color: #90c4f0;
}

/* Label text - ensure proper spacing */
.option-label span {
    flex: 1;
}

/* Responsive - stack on mobile */
@media (max-width: 640px) {
    .option-label {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    .option-label::before {
        width: 18px;
        height: 18px;
        min-width: 18px;
        margin-right: 12px;
    }
}

/* Compact view for smaller screens */
@media (max-width: 480px) {
    .options {
        gap: 0.5rem;
    }
    
    .option-label {
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }
}

/* Question container spacing */
.question {
    margin-bottom: 1.5rem;
}

.question p:first-of-type {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.question p:last-of-type {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: #1a202c;
}

/* Button positioning */
.calc-btn {
    margin-top: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.calc-btn:active {
    transform: translateY(0);
}
