/* Wizard visual de presupuesto: layout de 2 columnas (sidebar + panel) con topbar fija.
   Paleta heredada del sitio: azul marino #0a2050 y naranja #e8901a. */

.wz-main {
    background: #f6f7fb;
    min-height: calc(100vh - 80px);
    padding-bottom: 80px;
}

/* ---------- Topbar fija con progreso y acciones ---------- */
.wz-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 4px rgba(15, 47, 107, 0.06);
}

.wz-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
}

.wz-topbar-title h1 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0a2050;
    margin: 0;
    line-height: 1.2;
}

.wz-topbar-sub {
    font-size: 0.82rem;
    color: #556079;
    margin: 2px 0 0;
}

.wz-topbar-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.wz-btn {
    border: 1.5px solid transparent;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.wz-btn-primary {
    background: linear-gradient(135deg, #f0a93a 0%, #e8901a 100%);
    color: #0a2050;
    box-shadow: 0 3px 10px rgba(232, 144, 26, 0.3);
}

.wz-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(201, 118, 10, 0.38);
    color: #fff;
    background: linear-gradient(135deg, #e8901a 0%, #c9760a 100%);
}

.wz-btn-ghost {
    background: #fff;
    color: #0a2050;
    border-color: #d8dde7;
}

.wz-btn-ghost:hover {
    background: #f1f3f8;
    border-color: #0a2050;
}

.wz-btn-primary:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

.wz-progress-track {
    height: 3px;
    background: #eef1f6;
    overflow: hidden;
}

.wz-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #f0a93a 0%, #e8901a 100%);
    transition: width 0.3s ease;
}

/* ---------- Layout principal ---------- */
.wz-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
    align-items: start;
    padding: 24px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

/* ---------- Sidebar ---------- */
.wz-sidebar {
    position: sticky;
    top: 92px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px 10px 16px;
}

.wz-sidebar-toggle {
    display: none;
    width: 100%;
    padding: 12px 14px;
    background: none;
    border: none;
    font-weight: 700;
    color: #0a2050;
    font-size: 0.95rem;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-family: inherit;
}

.wz-sidebar-toggle-icon {
    transition: transform 0.18s ease;
}

.wz-sidebar-toggle[aria-expanded="false"] .wz-sidebar-toggle-icon {
    transform: rotate(-90deg);
}

.wz-section-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wz-section-group-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8390a9;
    padding: 12px 12px 6px;
}

.wz-section-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    font-family: inherit;
    font-size: 0.92rem;
    color: #2a3246;
    cursor: pointer;
    transition: background 0.12s ease, color 0.12s ease;
}

.wz-section-item:hover {
    background: #f1f3f8;
}

.wz-section-item.is-active {
    background: #0a2050;
    color: #fff;
}

.wz-section-item.is-active .wz-section-status {
    color: #f0a93a;
}

.wz-section-status {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 600;
    color: #8390a9;
    flex-shrink: 0;
}

.wz-section-status.is-complete {
    color: #10b981;
}

.wz-section-status.is-partial {
    color: #e8901a;
}

.wz-sidebar-help {
    margin: 18px 10px 0;
    padding: 12px;
    border-radius: 10px;
    background: #f1f3f8;
    font-size: 0.85rem;
    color: #2a3246;
    line-height: 1.45;
}

.wz-sidebar-help p {
    margin: 0;
}

.wz-sidebar-help p + p {
    margin-top: 4px;
}

.wz-sidebar-help a {
    color: #0a2050;
    font-weight: 600;
}

/* ---------- Panel central ---------- */
.wz-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 30px;
    min-height: 460px;
}

.wz-panel-header {
    border-bottom: 1px solid #eef1f6;
    padding-bottom: 18px;
    margin-bottom: 22px;
}

.wz-panel-head-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wz-panel-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f2f6b 0%, #0a2050 100%);
    color: #f0a93a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(10, 32, 80, 0.18);
}

.wz-panel-crumb {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8390a9;
    margin: 0 0 2px;
    font-weight: 700;
}

.wz-panel-header h2 {
    font-size: 1.45rem;
    color: #0a2050;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

.wz-panel-intro {
    color: #2a3246;
    font-size: 0.96rem;
    line-height: 1.55;
    margin: 14px 0 0;
    padding: 12px 16px;
    background: #f6f8fc;
    border-left: 3px solid #f0a93a;
    border-radius: 0 8px 8px 0;
}

.wz-helper-note {
    margin-top: 18px;
    padding: 12px 16px;
    background: #fff8ec;
    border: 1px solid #ffd88a;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #5a3c0e;
    line-height: 1.5;
}

/* ---------- Pantalla de alcance: cantidades de estancias ---------- */
.wz-alcance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
    margin-bottom: 8px;
}

.wz-count-card {
    background: #fafbfd;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 14px 12px;
}

.wz-count-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.wz-count-icon {
    color: #0a2050;
    flex-shrink: 0;
}

.wz-count-label {
    font-weight: 600;
    color: #0a2050;
    font-size: 0.96rem;
}

.wz-count-opts {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* Selector inicial del wizard: opción A (rellenar) vs opción B (visita técnica) */
.wz-intro-choice { background: #f6f7fb; padding: 40px 20px 50px; }
.wz-intro-choice h2 { text-align: center; color: #0a2050; font-size: 1.6rem; margin: 0 0 8px; }
.wz-intro-sub { text-align: center; color: #556079; margin: 0 auto 28px; max-width: 640px; }
.wz-intro-grid { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.wz-intro-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 26px 28px; display: flex; flex-direction: column; box-shadow: 0 2px 12px rgba(10,32,80,0.06); }
.wz-intro-card h3 { color: #0a2050; margin: 10px 0 10px; font-size: 1.15rem; }
.wz-intro-card p { color: #2a3246; margin: 0 0 14px; line-height: 1.55; }
.wz-intro-list { list-style: none; padding: 0; margin: 0 0 20px; }
.wz-intro-list li { padding: 5px 0 5px 24px; position: relative; color: #556079; font-size: 0.92rem; }
.wz-intro-list li::before { content: "✓"; position: absolute; left: 0; color: #e8901a; font-weight: 700; }
.wz-intro-card .wz-btn { margin-top: auto; justify-content: center; }
.wz-intro-icon { font-size: 2.4rem; }
.wz-intro-B { background: linear-gradient(135deg, #fff8ec, #fff); border-color: #ffd88a; }
.wz-intro-recommended { border-color: #0a2050; border-width: 2px; position: relative; box-shadow: 0 4px 16px rgba(10,32,80,0.15); }
.wz-intro-badge { display: inline-block; align-self: flex-start; background: #0a2050; color: #f0a93a; padding: 4px 12px; border-radius: 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; }
.wz-intro-badge-time { background: #fff8ec; color: #8a5a0f; border: 1px solid #ffd88a; }
@media (max-width: 780px) { .wz-intro-grid { grid-template-columns: 1fr; } }

/* Modal de visita técnica */
.wz-visit-modal { background: #fff; border-radius: 14px; padding: 28px 30px; max-width: 520px; width: 100%; max-height: 90vh; overflow-y: auto; overflow-x: visible; box-shadow: 0 10px 40px rgba(10,32,80,0.3); position: relative; }
.wz-visit-modal h2 { color: #0a2050; margin: 0 0 8px; font-size: 1.3rem; }
.wz-visit-modal > p { color: #556079; margin: 0 0 18px; line-height: 1.5; }
.wz-visit-close { position: absolute; top: 12px; right: 14px; background: none; border: none; font-size: 1.6rem; color: #8390a9; cursor: pointer; line-height: 1; padding: 4px 10px; }
.wz-visit-close:hover { color: #0a2050; }
.wz-visit-legal { font-size: 0.78rem; color: #8390a9; margin: 10px 0 14px; }
.wz-visit-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px; }
.wz-visit-actions .wz-btn { flex: 0 1 auto; }

/* Autocompletado de direcciones (usado en wizard y chat).
   La lista se añade al <body> con position:fixed (portal) para escapar de contenedores
   con overflow (modales, cards del chat, paneles con scroll). JS calcula top/left/width. */
.mb-addr-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.mb-addr-sugg,
.mb-addr-sugg--portal {
    margin: 0;
    padding: 6px 0;
    background: #ffffff;
    border: 1px solid #c8cfdc;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(10, 32, 80, 0.28), 0 2px 6px rgba(10, 32, 80, 0.16);
    list-style: none;
    max-height: 260px;
    overflow-y: auto;
    font-size: 0.92rem;
    pointer-events: auto;
    z-index: 10050;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
}
.mb-addr-sugg-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 14px;
    cursor: pointer;
    color: #2a3246;
    line-height: 1.4;
    background: #ffffff;
}
.mb-addr-sugg-item + .mb-addr-sugg-item {
    border-top: 1px solid #eef0f5;
}
.mb-addr-sugg-item:hover,
.mb-addr-sugg-item.is-active {
    background: #f1f3f8;
    color: #0a2050;
}
.mb-addr-sugg-ic {
    flex-shrink: 0;
    margin-top: 1px;
}
.mb-addr-sugg-txt {
    flex: 1;
    word-break: break-word;
}

/* Panel de rango de precio estimado al finalizar wizard */
.wz-price-estimate { background: linear-gradient(135deg, #0a2050, #0f2f6b); color: #fff; padding: 26px 30px; border-radius: 14px; margin: 20px 0; }
.wz-price-estimate h3 { margin: 0 0 6px; color: #f0a93a; font-size: 1.1rem; }
.wz-price-estimate .wz-price-range { font-size: 2rem; font-weight: 800; color: #fff; margin: 10px 0; }
.wz-price-estimate .wz-price-note { font-size: 0.86rem; opacity: 0.85; margin: 6px 0 0; line-height: 1.5; }

/* Nota contextual bajo el selector de cantidad (p.ej. "más de una cocina: llámanos") */
.wz-count-note {
    margin: 10px 0 0;
    padding: 10px 12px;
    background: #fff8ec;
    border-left: 3px solid #e8901a;
    border-radius: 0 6px 6px 0;
    font-size: 0.82rem;
    color: #5a3c0e;
    line-height: 1.45;
}
.wz-count-note a {
    color: #0a2050;
    text-decoration: none;
}
.wz-count-note a:hover {
    text-decoration: underline;
}

.wz-count-btn {
    flex: 1;
    min-width: 42px;
    padding: 8px 10px;
    border: 1.5px solid #d8dde7;
    border-radius: 10px;
    background: #fff;
    color: #2a3246;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.12s ease;
}

.wz-count-btn:hover {
    border-color: #0a2050;
    color: #0a2050;
}

.wz-count-btn.is-selected {
    background: #0a2050;
    border-color: #0a2050;
    color: #fff;
    box-shadow: inset 0 0 0 2px rgba(240, 169, 58, 0.5);
}

/* ---------- Pantalla de alcance: checkboxes de partes generales ---------- */
.wz-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
}

.wz-check-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #fafbfd;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.12s ease;
    position: relative;
}

.wz-check-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wz-check-card::before {
    content: "";
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
    border: 1.5px solid #c8cfdd;
    border-radius: 6px;
    background: #fff;
    transition: all 0.12s ease;
}

.wz-check-card.is-selected {
    background: #f1f3f8;
    border-color: #0a2050;
}

.wz-check-card.is-selected::before {
    background: #0a2050;
    border-color: #0a2050;
}

.wz-check-card.is-selected::after {
    content: "";
    position: absolute;
    top: 19px;
    right: 20px;
    width: 8px;
    height: 4px;
    border-left: 2px solid #f0a93a;
    border-bottom: 2px solid #f0a93a;
    transform: rotate(-45deg);
}

.wz-check-card-icon {
    color: #0a2050;
    flex-shrink: 0;
    margin-top: 2px;
}

.wz-check-card-text {
    padding-right: 28px;
}

.wz-check-card-text strong {
    display: block;
    color: #0a2050;
    font-size: 0.95rem;
    margin-bottom: 2px;
    line-height: 1.3;
}

.wz-check-card-text span {
    display: block;
    color: #556079;
    font-size: 0.82rem;
    line-height: 1.4;
}

@media (max-width: 560px) {
    .wz-panel-icon { width: 54px; height: 54px; }
    .wz-panel-icon svg { width: 36px; height: 36px; }
    .wz-panel-header h2 { font-size: 1.2rem; }
    .wz-alcance-grid,
    .wz-check-grid { grid-template-columns: 1fr; }
}

/* ---------- Bloques (OBRA / INSTALACIONES / EQUIPAMIENTO) ---------- */
.wz-block {
    margin-bottom: 26px;
}

.wz-block-title {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0a2050;
    margin: 0 0 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wz-block-title::before {
    content: "";
    width: 18px;
    height: 2px;
    background: #e8901a;
    display: inline-block;
}

.wz-category {
    background: #fafbfd;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.wz-category-head {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.wz-category-check {
    width: 18px;
    height: 18px;
    border: 1.5px solid #c8cfdd;
    border-radius: 5px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.12s ease;
}

.wz-category-check::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: transparent;
    transition: background 0.12s ease;
}

.wz-category input:checked + .wz-category-check {
    border-color: #0a2050;
    background: #0a2050;
}

.wz-category input:checked + .wz-category-check::after {
    background: #f0a93a;
}

.wz-category-name {
    font-weight: 600;
    color: #0a2050;
    font-size: 0.98rem;
}

.wz-category-count {
    margin-left: auto;
    font-size: 0.78rem;
    color: #8390a9;
}

.wz-category-body {
    display: none;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e5e7eb;
}

.wz-category.is-open .wz-category-body {
    display: block;
}

.wz-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wz-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    font-size: 0.88rem;
    color: #2a3246;
    cursor: pointer;
    transition: all 0.12s ease;
    font-family: inherit;
}

.wz-option:hover {
    border-color: #0a2050;
    color: #0a2050;
}

.wz-option.is-selected {
    background: #0a2050;
    border-color: #0a2050;
    color: #fff;
}

.wz-option.is-selected::before {
    content: "✓";
    font-weight: 700;
    color: #f0a93a;
}

/* ---------- Medidas de estancia ---------- */
.wz-dims {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 20px;
    flex-wrap: wrap;
}

.wz-dims-label {
    font-size: 0.92rem;
    color: #2a3246;
    font-weight: 600;
}

.wz-dims-input {
    width: 90px;
    padding: 9px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 0.95rem;
    text-align: center;
    font-family: inherit;
    -moz-appearance: textfield;
}

.wz-dims-input::-webkit-outer-spin-button,
.wz-dims-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wz-dims-input:focus {
    outline: none;
    border-color: #0a2050;
    box-shadow: 0 0 0 3px rgba(15, 47, 107, 0.1);
}

.wz-dims-area {
    font-size: 0.88rem;
    color: #8390a9;
    margin-left: 8px;
}

/* ---------- Textarea libre ---------- */
.wz-free {
    margin-top: 10px;
}

.wz-free label {
    display: block;
    font-weight: 600;
    color: #0a2050;
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.wz-free textarea {
    width: 100%;
    min-height: 90px;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    line-height: 1.5;
}

.wz-free textarea:focus {
    outline: none;
    border-color: #0a2050;
    box-shadow: 0 0 0 3px rgba(15, 47, 107, 0.1);
}

/* ---------- Instancias múltiples (baño 1, baño 2…) ---------- */
.wz-instance {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 18px;
    position: relative;
}

.wz-instance-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f6;
}

.wz-instance-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a2050;
    margin: 0;
}

.wz-instance-remove {
    background: none;
    border: none;
    color: #ca3a3a;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: inherit;
}

.wz-instance-remove:hover {
    background: #fff0f0;
}

.wz-add-instance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #fff;
    border: 1.5px dashed #c8cfdd;
    border-radius: 12px;
    color: #0a2050;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    margin-top: 6px;
    font-family: inherit;
    transition: all 0.12s ease;
}

.wz-add-instance:hover {
    border-color: #0a2050;
    background: #f1f3f8;
}

.wz-add-instance::before {
    content: "+";
    font-size: 1.2rem;
    line-height: 1;
}

/* ---------- Formulario estándar (datos del inmueble, contacto) ---------- */
.wz-field {
    margin-bottom: 14px;
}

.wz-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #0a2050;
    margin-bottom: 6px;
}

.wz-field input[type="text"],
.wz-field input[type="email"],
.wz-field input[type="tel"],
.wz-field input[type="number"],
.wz-field select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.wz-field input:focus,
.wz-field select:focus {
    outline: none;
    border-color: #0a2050;
    box-shadow: 0 0 0 3px rgba(15, 47, 107, 0.1);
}

.wz-field-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.wz-field-row-3 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
}

.wz-field-error {
    color: #ca3a3a;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.wz-field.is-error input,
.wz-field.is-error select {
    border-color: #ca3a3a;
}

.wz-field.is-error .wz-field-error {
    display: block;
}

/* ---------- Navegación al pie del panel ---------- */
.wz-panel-footer {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #eef1f6;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.wz-panel-footer .wz-btn {
    flex: 1 0 140px;
    justify-content: center;
}

/* ---------- Modal de confirmación de envío ---------- */
.wz-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 32, 80, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
}

.wz-overlay[aria-hidden="false"] {
    display: flex;
}

.wz-result-modal {
    background: #fff;
    border-radius: 14px;
    padding: 30px 28px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(10, 32, 80, 0.3);
}

.wz-result-modal h2 {
    color: #0a2050;
    font-size: 1.3rem;
    margin: 0 0 10px;
}

.wz-result-modal p {
    color: #2a3246;
    line-height: 1.5;
    margin: 0 0 20px;
}

.wz-result-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .wz-container {
        grid-template-columns: 1fr;
    }

    .wz-sidebar {
        position: static;
        max-height: none;
        padding: 0;
    }

    .wz-sidebar-toggle {
        display: flex;
    }

    .wz-section-list,
    .wz-sidebar-help {
        padding: 0 10px 12px;
    }

    .wz-sidebar[data-collapsed="true"] .wz-section-list,
    .wz-sidebar[data-collapsed="true"] .wz-sidebar-help {
        display: none;
    }

    .wz-topbar-inner {
        flex-wrap: wrap;
    }

    .wz-topbar-title h1 {
        font-size: 1rem;
    }

    .wz-panel {
        padding: 22px 18px;
    }
}

@media (max-width: 560px) {
    .wz-field-row,
    .wz-field-row-3 {
        grid-template-columns: 1fr;
    }

    .wz-topbar-actions {
        width: 100%;
        justify-content: stretch;
    }

    .wz-topbar-actions .wz-btn {
        flex: 1;
        justify-content: center;
    }
}
