/* Explain: Styles for the "middot-survey" component, including options, score display, and print styles. */
/* ==========================================================================
   הסקר למידות הלב — סקר אמריקאי עם ארבע תשובות וניקוד
   ========================================================================== */

.middot-options {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 1.6rem;
}

.middot-option {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1.1rem;
    text-align: start;
    border: 1px solid var(--border-color);
    border-radius: 0.9rem;
    background: var(--surface-color);
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.middot-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.middot-option.is-selected {
    border-color: var(--primary-color);
    background: rgba(189, 144, 38, 0.12);
    box-shadow: 0 8px 20px rgba(189, 144, 38, 0.18);
}

.middot-option-mark {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background: var(--surface-2);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.middot-option.is-selected .middot-option-mark {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #12100a;
}

.middot-option-text {
    flex: 1 1 auto;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.middot-score-ring {
    display: grid;
    place-items: center;
    width: 10.5rem;
    height: 10.5rem;
    margin: 2.75rem auto 0;
    border-radius: 9999px;
    border: 1px solid var(--gold-line);
    background: radial-gradient(circle at 50% 28%, rgba(189, 144, 38, 0.18), var(--surface-color) 72%);
    box-shadow: var(--shadow-soft);
}

.middot-score-value {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.75rem;
    line-height: 1;
    color: var(--primary-color);
    font-variant-numeric: tabular-nums;
}

.middot-score-of {
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
}

.middot-level {
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
}

.middot-level-text {
    max-width: 34rem;
    margin: 0.6rem auto 0;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

@media (prefers-reduced-motion: reduce) {
    .middot-option {
        transition: none;
        transform: none;
    }
}

/* ---------- Print ---------- */
@media print {
    html.printing-middot .site-header,
    html.printing-middot .site-footer,
    html.printing-middot .a11y-widget,
    html.printing-middot .robi-widget,
    html.printing-middot #middotTop,
    html.printing-middot #middotRunner,
    html.printing-middot #middotResume,
    html.printing-middot .middot-actions,
    html.printing-middot .middot-ai-btn,
    html.printing-middot .soul-ai-status,
    html.printing-middot .middot-related,
    html.printing-middot .reveal {
        display: none !important;
    }

    html.printing-middot #middotResults {
        display: block !important;
    }

    html.printing-middot body {
        background: #ffffff;
    }

    html.printing-middot .soul-dim-card,
    html.printing-middot .soul-summary {
        break-inside: avoid;
    }
}