/* GrupDersiUygunlukTesti — soru tipi stilleri (likert / forced_choice / scenario) */

.gut-question {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--gut-border);
}

.gut-question:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.gut-question-number {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gut-brand);
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.gut-question-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gut-text);
    line-height: 1.45;
    margin: 0 0 1rem 0;
}

/* ============ Likert (1-5 segmented) ============ */

.gut-likert-scale-hint {
    font-size: 0.8rem;
    color: var(--gut-text-faint);
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.gut-likert-scale-hint span:last-child {
    text-align: right;
}

.gut-likert-options {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.gut-likert-option {
    position: relative;
}

.gut-likert-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gut-likert-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    background: var(--gut-surface-2);
    border: 1.5px solid var(--gut-border-strong);
    border-radius: var(--gut-radius-md);
    color: var(--gut-text);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color var(--gut-transition-fast), border-color var(--gut-transition-fast), color var(--gut-transition-fast), transform var(--gut-transition-fast);
    user-select: none;
}

.gut-likert-option label:hover {
    border-color: var(--gut-brand-soft);
    background: var(--gut-brand-tint);
}

.gut-likert-option input:checked + label {
    background: var(--gut-brand);
    color: var(--gut-text-on-brand);
    border-color: var(--gut-brand);
    box-shadow: var(--gut-shadow-sm);
}

.gut-likert-option input:focus-visible + label {
    outline: 3px solid var(--gut-accent);
    outline-offset: 2px;
}

@media (max-width: 540px) {
    .gut-likert-option label {
        height: 48px;
        font-size: 1rem;
    }
}

/* ============ Forced Choice (A / B cards) ============ */

.gut-fc-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

@media (max-width: 540px) {
    .gut-fc-options {
        grid-template-columns: 1fr;
    }
}

.gut-fc-option {
    position: relative;
}

.gut-fc-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gut-fc-option label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    background: var(--gut-surface-2);
    border: 1.5px solid var(--gut-border-strong);
    border-radius: var(--gut-radius-md);
    padding: 1.1rem 1.2rem;
    cursor: pointer;
    transition: background-color var(--gut-transition-fast), border-color var(--gut-transition-fast), transform var(--gut-transition-fast), box-shadow var(--gut-transition-fast);
    min-height: 100%;
}

.gut-fc-option label:hover {
    border-color: var(--gut-brand-soft);
    background: var(--gut-brand-tint);
    transform: translateY(-2px);
    box-shadow: var(--gut-shadow-sm);
}

.gut-fc-option input:checked + label {
    background: var(--gut-brand);
    color: var(--gut-text-on-brand);
    border-color: var(--gut-brand);
    box-shadow: var(--gut-shadow-md);
}

.gut-fc-option input:checked + label .gut-fc-tag {
    background: var(--gut-text-on-brand);
    color: var(--gut-brand);
}

.gut-fc-option input:focus-visible + label {
    outline: 3px solid var(--gut-accent);
    outline-offset: 2px;
}

.gut-fc-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gut-brand);
    color: var(--gut-text-on-brand);
    font-weight: 800;
    font-size: 0.9rem;
    transition: background-color var(--gut-transition-fast), color var(--gut-transition-fast);
}

.gut-fc-text {
    font-size: 0.97rem;
    font-weight: 600;
    line-height: 1.45;
}

/* ============ Scenario (radio cards) ============ */

.gut-scenario-options {
    display: grid;
    gap: 0.6rem;
}

.gut-scenario-option {
    position: relative;
}

.gut-scenario-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gut-scenario-option label {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 0.85rem;
    align-items: center;
    background: var(--gut-surface-2);
    border: 1.5px solid var(--gut-border-strong);
    border-radius: var(--gut-radius-md);
    padding: 0.95rem 1.1rem;
    cursor: pointer;
    transition: background-color var(--gut-transition-fast), border-color var(--gut-transition-fast);
}

.gut-scenario-option label:hover {
    border-color: var(--gut-brand-soft);
    background: var(--gut-brand-tint);
}

.gut-scenario-option input:checked + label {
    background: var(--gut-brand);
    color: var(--gut-text-on-brand);
    border-color: var(--gut-brand);
}

.gut-scenario-option input:checked + label .gut-scenario-num {
    background: var(--gut-text-on-brand);
    color: var(--gut-brand);
}

.gut-scenario-option input:focus-visible + label {
    outline: 3px solid var(--gut-accent);
    outline-offset: 2px;
}

.gut-scenario-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gut-brand);
    color: var(--gut-text-on-brand);
    font-weight: 800;
    font-size: 0.95rem;
}

.gut-scenario-text {
    font-size: 0.97rem;
    font-weight: 600;
    line-height: 1.4;
}
