/* =========================================================
   Inhala Diagnóstico de Liderazgo – quiz.css
   Design system: white cards, teal #1ABCBC, yellow-green #B6D300
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');

/* --- Wrap ------------------------------------------------ */
.inhala-quiz-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 24px 16px 60px;
    font-family: 'Varela Round', sans-serif;
    position: relative;
}

/* --- Progress -------------------------------------------- */
.inhala-progress-wrap {
    margin-bottom: 28px;
}

.inhala-step-counter {
    font-size: 13px;
    font-weight: 600;
    color: #1ABCBC;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.inhala-progress-track {
    height: 6px;
    background: #dde1e8;
    border-radius: 999px;
    overflow: hidden;
}

.inhala-progress-bar {
    height: 100%;
    background: #1ABCBC;
    border-radius: 999px;
    transition: width 0.4s cubic-bezier(.4, 0, .2, 1);
}

/* --- Card ------------------------------------------------ */
.inhala-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: 6px 12px 28px rgba(0, 0, 0, 0.16);
    padding: 36px 40px;
    position: relative;
}

@media (max-width: 540px) {
    .inhala-card {
        padding: 28px 22px;
    }
}

/* --- Card header ----------------------------------------- */
.inhala-card-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.25;
}

.inhala-card-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 28px;
    line-height: 1.6;
}

/* --- Question text --------------------------------------- */
.inhala-question-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px;
    line-height: 1.4;
}

.inhala-question-hint {
    font-size: 0.85rem;
    color: #999;
    font-weight: 400;
    display: block;
    margin-top: 4px;
}

/* --- Options --------------------------------------------- */
.inhala-options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Single choice */
.inhala-option {
    cursor: pointer;
}

.inhala-option input[type="radio"],
.inhala-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.inhala-option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border: 2px solid #e0e4eb;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
    user-select: none;
}

.inhala-option-label:hover {
    border-color: #1ABCBC;
    background: #f0fafa;
}

/* Indicator dot for single */
.inhala-option-indicator {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cdd2da;
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inhala-option-indicator::after {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1ABCBC;
    opacity: 0;
    transition: opacity 0.2s;
}

/* Single selected */
.inhala-option input[type="radio"]:checked + .inhala-option-label {
    border-color: #1ABCBC;
    background: #e8fafa;
    box-shadow: 0 0 0 3px rgba(26, 188, 188, 0.12);
}

.inhala-option input[type="radio"]:checked + .inhala-option-label .inhala-option-indicator {
    border-color: #1ABCBC;
    background: #fff;
}

.inhala-option input[type="radio"]:checked + .inhala-option-label .inhala-option-indicator::after {
    opacity: 1;
}

/* Multiple choice indicator (square) */
.inhala-option input[type="checkbox"] + .inhala-option-label .inhala-option-indicator {
    border-radius: 5px;
}

.inhala-option input[type="checkbox"] + .inhala-option-label .inhala-option-indicator::after {
    width: 11px;
    height: 11px;
    border-radius: 2px;
}

.inhala-option input[type="checkbox"]:checked + .inhala-option-label {
    border-color: #1ABCBC;
    background: #e8fafa;
    box-shadow: 0 0 0 3px rgba(26, 188, 188, 0.12);
}

.inhala-option input[type="checkbox"]:checked + .inhala-option-label .inhala-option-indicator {
    border-color: #1ABCBC;
    background: #1ABCBC;
}

.inhala-option input[type="checkbox"]:checked + .inhala-option-label .inhala-option-indicator::after {
    opacity: 1;
    background: #fff;
}

/* Keyboard focus */
.inhala-option input:focus + .inhala-option-label {
    outline: 2px solid #1ABCBC;
    outline-offset: 2px;
}

/* --- Contact Form ---------------------------------------- */
.inhala-contact-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.inhala-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 500px) {
    .inhala-form-row {
        grid-template-columns: 1fr;
    }
}

.inhala-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.inhala-form-full {
    margin-bottom: 16px;
}

.inhala-form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
}

.inhala-form-group label .req {
    color: #e04444;
}

.inhala-form-group input,
.inhala-form-group textarea {
    padding: 11px 14px;
    border: 2px solid #e0e4eb;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #222;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.inhala-form-group input:focus,
.inhala-form-group textarea:focus {
    outline: none;
    border-color: #1ABCBC;
    box-shadow: 0 0 0 3px rgba(26, 188, 188, 0.15);
}

.inhala-form-group input.invalid,
.inhala-form-group textarea.invalid {
    border-color: #e04444;
}

.inhala-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* --- Navigation buttons ---------------------------------- */
.inhala-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    gap: 12px;
}

.inhala-nav-start {
    justify-content: flex-end;
}

.inhala-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    text-decoration: none;
    line-height: 1;
    font-family: inherit;
}

.inhala-btn:active {
    transform: scale(0.97);
}

/* Teal (primary) */
.inhala-btn-next,
.inhala-btn-submit {
    background: #1ABCBC;
    color: #fff;
}

.inhala-btn-next:hover,
.inhala-btn-submit:hover {
    background: #14a0a0;
    box-shadow: 0 4px 18px rgba(26, 188, 188, 0.35);
}

/* Ghost (prev) */
.inhala-btn-prev {
    background: transparent;
    color: #1ABCBC;
    border: 2px solid #1ABCBC;
}

.inhala-btn-prev:hover {
    background: #f0fafa;
}

/* Yellow-green (result CTA) */
.inhala-btn-calendly {
    background: #B6D300;
    color: #1a1a00;
    font-size: 1.05rem;
    padding: 16px 36px;
    margin-top: 28px;
}

.inhala-btn-calendly:hover {
    background: #9eb800;
    box-shadow: 0 4px 18px rgba(182, 211, 0, 0.35);
}

/* Disabled state */
.inhala-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* --- Step visibility ------------------------------------- */
.inhala-step {
    display: none;
}

.inhala-step.active {
    display: block;
    animation: inhalaFadeIn 0.3s ease;
}

@keyframes inhalaFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Loading overlay ------------------------------------- */
.inhala-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 50;
    font-weight: 600;
    color: #1ABCBC;
}

.inhala-spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #e0e4eb;
    border-top-color: #1ABCBC;
    border-radius: 50%;
    animation: inhalaSpin 0.8s linear infinite;
}

@keyframes inhalaSpin {
    to { transform: rotate(360deg); }
}

/* --- Error messages -------------------------------------- */
.inhala-form-error,
.inhala-step-error,
.inhala-global-error,
.inhala-error {
    background: #fff0f0;
    color: #c0392b;
    border: 1px solid #f5c6c6;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-top: 12px;
}

/* --- Result screen --------------------------------------- */
.inhala-result {
    animation: inhalaFadeIn 0.5s ease;
}

.inhala-result-card {
    text-align: center;
}

.inhala-result-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1ABCBC;
    background: #e8fafa;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.inhala-result-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1ABCBC;
    margin: 0 0 8px;
}

.inhala-result-tagline {
    font-size: 1.05rem;
    font-style: italic;
    color: #666;
    margin: 0 0 20px;
}

.inhala-result-score-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f4f7fa;
    padding: 8px 20px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.inhala-result-score-label {
    font-size: 13px;
    color: #888;
    font-weight: 600;
}

.inhala-result-score {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1ABCBC;
}

.inhala-result-desc {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    text-align: left;
    margin: 0 0 8px;
}

.inhala-result-footer {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 28px;
}

/* =========================================================
   Admin Frontend Shortcode [inhala_admin]
   ========================================================= */

.inhala-admin-wrap {
    font-family: 'Varela Round', sans-serif;
    padding: 0 0 60px;
}

.inhala-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.inhala-admin-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
}

.inhala-btn-export {
    background: #1ABCBC;
    color: #fff;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.inhala-btn-export:hover {
    background: #14a0a0;
    color: #fff;
}

/* Filter bar */
.inhala-filter-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.inhala-filter-bar select,
.inhala-filter-bar input[type="text"] {
    padding: 9px 14px;
    border: 2px solid #e0e4eb;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #fff;
}

.inhala-filter-bar select:focus,
.inhala-filter-bar input:focus {
    outline: none;
    border-color: #1ABCBC;
}

.inhala-btn-filter {
    background: #1ABCBC;
    color: #fff;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.inhala-btn-filter:hover { background: #14a0a0; }

.inhala-btn-ghost {
    background: transparent;
    color: #1ABCBC;
    border: 2px solid #1ABCBC;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.inhala-admin-count {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
}

.inhala-admin-empty {
    background: #f4f7fa;
    padding: 28px;
    border-radius: 12px;
    text-align: center;
    color: #888;
}

/* Table */
.inhala-table-wrap {
    overflow-x: auto;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.inhala-admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.9rem;
}

.inhala-admin-table th {
    background: #f4f7fa;
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #555;
    border-bottom: 2px solid #e0e4eb;
}

.inhala-admin-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f3f8;
    vertical-align: middle;
    color: #333;
}

.inhala-admin-table tr:last-child td { border-bottom: none; }

.inhala-admin-table tr:nth-child(even) td { background: #fafbfd; }

.inhala-admin-table tr:hover td { background: #f0fafa; }

.inhala-admin-table a { color: #1ABCBC; text-decoration: none; }
.inhala-admin-table a:hover { text-decoration: underline; }

.inhala-score { font-weight: 700; color: #1ABCBC; }

/* Badges */
.inhala-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
}

.inhala-badge-essential  { background: #1ABCBC; color: #fff; }
.inhala-badge-plus       { background: #B6D300; color: #1a1a00; }
.inhala-badge-premium    { background: #1ABCBC; color: #fff; }
.inhala-badge-enterprise { background: #222; color: #fff; }

/* Small button */
.inhala-btn-sm {
    padding: 6px 14px;
    font-size: 0.82rem;
    border-radius: 999px;
    background: #e8fafa;
    color: #1ABCBC;
    border: 1px solid #b0e8e8;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: background 0.2s;
}

.inhala-btn-sm:hover { background: #1ABCBC; color: #fff; }

/* --- Modal ----------------------------------------------- */
.inhala-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: inhalaFadeIn 0.2s ease;
}

.inhala-modal {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 720px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    padding: 32px 36px;
}

@media (max-width: 540px) {
    .inhala-modal { padding: 24px 20px; }
}

.inhala-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: #f4f7fa;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: background 0.2s;
}

.inhala-modal-close:hover { background: #e0e4eb; }

/* --- Detail view (modal body) ---------------------------- */
.inhala-detail-title {
    margin: 0 0 20px;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.inhala-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

@media (max-width: 540px) {
    .inhala-detail-grid { grid-template-columns: 1fr; }
}

.inhala-detail-section h4 {
    margin: 0 0 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1ABCBC;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
}

.inhala-detail-section h5 {
    margin: 14px 0 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
}

.inhala-detail-section dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
    font-size: 0.9rem;
}

.inhala-detail-section dt {
    font-weight: 600;
    color: #888;
    white-space: nowrap;
}

.inhala-detail-section dd {
    margin: 0;
    color: #333;
}

.inhala-detail-full {
    grid-column: 1 / -1;
}

.inhala-score-big {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1ABCBC;
}

.inhala-tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.inhala-tag-list li {
    background: #e8fafa;
    color: #1ABCBC;
    border: 1px solid #b0e8e8;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.inhala-answers-list {
    margin: 0;
    padding-left: 20px;
}

.inhala-answers-list li {
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.inhala-answers-list li strong {
    display: block;
    color: #333;
    margin-bottom: 2px;
}

.inhala-answers-list li span {
    color: #1ABCBC;
    font-weight: 600;
}

/* =========================================================
   Frontend Admin Panel [inhala_admin]
   Tabs · Sections · Forms · Question Editor
   ========================================================= */

/* Wrap */
.inhala-fa-wrap {
    font-family: 'Varela Round', sans-serif;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 60px;
}

/* Tab nav */
.inhala-fa-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e0e4eb;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.inhala-fa-tab {
    padding: 12px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    border-radius: 10px 10px 0 0;
    border: 2px solid transparent;
    border-bottom: none;
    transition: color 0.2s, background 0.2s;
    margin-bottom: -2px;
}

.inhala-fa-tab:hover { color: #1ABCBC; background: #f4fafa; }

.inhala-tab-active {
    color: #1ABCBC;
    background: #fff;
    border-color: #e0e4eb;
    border-bottom-color: #fff;
}

/* Section */
.inhala-fa-section {
    animation: inhalaFadeIn 0.25s ease;
}

.inhala-fa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.inhala-fa-header h2 { margin: 0; font-size: 1.4rem; font-weight: 800; color: #222; }

.inhala-fa-desc {
    color: #888;
    font-size: 0.95rem;
    margin: 0 0 24px;
}

.inhala-fa-count {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
}

.inhala-fa-empty {
    background: #f4f7fa;
    padding: 32px;
    border-radius: 14px;
    text-align: center;
    color: #888;
}

/* Message feedback */
.inhala-fa-msg {
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.inhala-fa-msg.success { background: #e8fafa; color: #14a0a0; border: 1px solid #b0e8e8; }
.inhala-fa-msg.error   { background: #fff0f0; color: #c0392b; border: 1px solid #f5c6c6; }

/* Buttons */
.inhala-btn-primary {
    background: #1ABCBC;
    color: #fff;
    padding: 11px 26px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.inhala-btn-primary:hover { background: #14a0a0; color: #fff; }

.inhala-btn-danger {
    background: #fff0f0;
    color: #c0392b;
    border: 1px solid #f5c6c6;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.inhala-btn-danger:hover { background: #c0392b; color: #fff; }

.inhala-btn-xs {
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    border: 1px solid #e0e4eb;
    background: #f4f7fa;
    color: #555;
    transition: background 0.15s;
}

.inhala-btn-xs:hover { background: #e0e4eb; }

/* Settings / Thresholds form */
.inhala-fa-form fieldset {
    border: 2px solid #e0e4eb;
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 20px;
}

.inhala-fa-form legend {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1ABCBC;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0 8px;
}

.inhala-fa-field {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.inhala-fa-field label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #555;
}

.inhala-fa-field input[type="text"],
.inhala-fa-field input[type="url"],
.inhala-fa-field input[type="email"],
.inhala-fa-field input[type="number"],
.inhala-fa-field select,
.inhala-fa-field textarea {
    padding: 10px 14px;
    border: 2px solid #e0e4eb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.inhala-fa-field input:focus,
.inhala-fa-field select:focus,
.inhala-fa-field textarea:focus {
    outline: none;
    border-color: #1ABCBC;
}

.inhala-fa-field small { font-size: 0.82rem; color: #aaa; }

.inhala-fa-field-sm { max-width: 140px; }

.inhala-fa-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.inhala-fa-row .inhala-fa-field { flex: 1; min-width: 180px; }

.inhala-fa-actions {
    margin-top: 24px;
}

/* Thresholds fieldset */
.inhala-thr-fieldset { margin-bottom: 16px; }

/* Question editor */
.inhala-q-editor {
    background: #fff;
    border: 2px solid #e0e4eb;
    border-radius: 16px;
    padding: 22px 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: border-color 0.2s;
}

.inhala-q-editor:hover { border-color: #b0e8e8; }

.inhala-q-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.inhala-q-number {
    background: #1ABCBC;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.inhala-q-header-actions {
    margin-left: auto;
    display: flex;
    gap: 6px;
    align-items: center;
}

/* Question options */
.inhala-q-options { margin-bottom: 16px; }

.inhala-q-options > label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

.inhala-q-option {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.inhala-q-option .inhala-opt-text {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #e0e4eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
}

.inhala-q-option .inhala-opt-text:focus { outline: none; border-color: #1ABCBC; }

.inhala-q-option .inhala-opt-score {
    width: 64px;
    padding: 8px 10px;
    border: 2px solid #e0e4eb;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    text-align: center;
}

.inhala-q-option .inhala-opt-score:focus { outline: none; border-color: #1ABCBC; }

.inhala-q-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f3f8;
}

.inhala-q-status {
    font-size: 0.85rem;
    color: #14a0a0;
    font-weight: 600;
}

.inhala-q-status.error { color: #c0392b; }

/* Responsive */
@media (max-width: 640px) {
    .inhala-fa-tabs { gap: 2px; }
    .inhala-fa-tab  { padding: 10px 14px; font-size: 0.85rem; }
    .inhala-fa-form fieldset { padding: 16px; }
    .inhala-fa-row { flex-direction: column; }
    .inhala-fa-field-sm { max-width: 100%; }
}
