/* Zenperi Host Portal — dashboard, registro, wizard */

:root {
    --zhd-primary: #0073aa;
    --zhd-primary-dark: #005177;
    --zhd-bg: #f7f8fa;
    --zhd-surface: #ffffff;
    --zhd-border: #e3e6ea;
    --zhd-text: #1f2937;
    --zhd-text-muted: #6b7280;
    --zhd-success: #10b981;
    --zhd-warning: #f59e0b;
    --zhd-danger: #ef4444;
    --zhd-radius: 10px;
    --zhd-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
}

/* === Notice / fallback boxes === */
.zenperi-host-notice {
    max-width: 720px;
    margin: 2rem auto;
    background: var(--zhd-surface);
    border: 1px solid var(--zhd-border);
    border-radius: var(--zhd-radius);
    padding: 1.5rem;
    text-align: center;
}
.zenperi-host-notice .button,
.zenperi-host-notice a.button {
    display: inline-block;
    margin: .25rem;
    padding: .6rem 1.2rem;
    background: var(--zhd-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
}

/* === Register page === */
.zenperi-host-register {
    max-width: 1080px;
    margin: 2rem auto;
    padding: 0 1rem;
    color: var(--zhd-text);
}
.zhr-header { text-align: center; margin-bottom: 2rem; }
.zhr-header h1 { font-size: 2rem; margin: 0 0 .5rem; }
.zhr-header p { color: var(--zhd-text-muted); }
.zhr-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 768px) { .zhr-grid { grid-template-columns: 1fr; } }
.zhr-benefits { list-style: none; padding: 0; margin: 0; }
.zhr-benefits li {
    background: var(--zhd-surface);
    padding: 1rem 1.25rem;
    border-radius: var(--zhd-radius);
    margin-bottom: .75rem;
    border: 1px solid var(--zhd-border);
}
.zhr-form {
    background: var(--zhd-surface);
    padding: 2rem;
    border-radius: var(--zhd-radius);
    border: 1px solid var(--zhd-border);
    box-shadow: var(--zhd-shadow);
}
.zhr-logged-in-notice {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e3a8a;
    padding: .75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}
.zhr-field { margin-bottom: 1rem; }
.zhr-field label { display: block; font-weight: 500; margin-bottom: .35rem; }
.zhr-field input {
    width: 100%;
    padding: .65rem .85rem;
    border: 1px solid var(--zhd-border);
    border-radius: 6px;
    font-size: 1rem;
    font: inherit;
}
.zhr-field input:focus { outline: none; border-color: var(--zhd-primary); box-shadow: 0 0 0 3px rgba(0,115,170,.15); }
.zhr-field small { display: block; color: var(--zhd-text-muted); margin-top: .25rem; font-size: .85rem; }
.zhr-submit-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }
.zhr-submit {
    flex: 1;
    min-width: 200px;
    padding: .85rem 1.5rem;
    background: var(--zhd-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}
.zhr-submit:hover { background: var(--zhd-primary-dark); }
.zhr-submit:disabled { background: #9ca3af; cursor: not-allowed; }
.zhr-login-link { color: var(--zhd-primary); text-decoration: none; }
.zhr-feedback { margin-top: 1rem; min-height: 1.25rem; }
.zhr-feedback.is-error { color: var(--zhd-danger); }
.zhr-feedback.is-success { color: var(--zhd-success); }

/* === Dashboard === */
.zenperi-host-dashboard {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    color: var(--zhd-text);
}
.zhd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.zhd-header h1 { font-size: 1.75rem; margin: 0; }
.zhd-subtitle { color: var(--zhd-text-muted); margin: .25rem 0 0; }
.zhd-btn {
    display: inline-block;
    padding: .6rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--zhd-border);
    background: var(--zhd-surface);
    color: var(--zhd-text);
    cursor: pointer;
}
.zhd-btn-primary { background: var(--zhd-primary); color: #fff; border-color: var(--zhd-primary); }
.zhd-btn-primary:hover { background: var(--zhd-primary-dark); border-color: var(--zhd-primary-dark); color: #fff; }

/* Tabs */
.zhd-tabs {
    display: flex;
    gap: .25rem;
    border-bottom: 1px solid var(--zhd-border);
    margin-bottom: 1.5rem;
    overflow-x: auto;
}
.zhd-tab {
    padding: .85rem 1.25rem;
    text-decoration: none;
    color: var(--zhd-text-muted);
    border-bottom: 2px solid transparent;
    font-weight: 500;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.zhd-tab:hover { color: var(--zhd-text); }
.zhd-tab.is-active { color: var(--zhd-primary); border-bottom-color: var(--zhd-primary); }
.zhd-badge {
    background: var(--zhd-border);
    color: var(--zhd-text);
    border-radius: 999px;
    padding: 0 .5rem;
    font-size: .75rem;
    line-height: 1.4rem;
}
.zhd-badge-warning { background: var(--zhd-warning); color: #fff; }

/* Cards & layout */
.zhd-section { margin-bottom: 2rem; }
.zhd-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.zhd-card {
    background: var(--zhd-surface);
    border: 1px solid var(--zhd-border);
    border-radius: var(--zhd-radius);
    padding: 1.25rem;
    box-shadow: var(--zhd-shadow);
}
.zhd-card h2 { margin: 0 0 1rem; font-size: 1.1rem; }
.zhd-overview-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}
@media (max-width: 768px) { .zhd-overview-cols { grid-template-columns: 1fr; } }

/* Stats */
.zhd-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.zhd-stat {
    background: var(--zhd-surface);
    border: 1px solid var(--zhd-border);
    border-radius: var(--zhd-radius);
    padding: 1.25rem;
    box-shadow: var(--zhd-shadow);
}
.zhd-stat-label { color: var(--zhd-text-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.zhd-stat-value { font-size: 1.75rem; font-weight: 700; margin-top: .35rem; color: var(--zhd-primary); }
.zhd-stat-highlight { background: linear-gradient(135deg, var(--zhd-primary), var(--zhd-primary-dark)); color: #fff; border-color: transparent; }
.zhd-stat-highlight .zhd-stat-label,
.zhd-stat-highlight .zhd-stat-value { color: #fff; opacity: 1; }
.zhd-stat-highlight .zhd-stat-label { opacity: .85; }

/* Lists */
.zhd-list { list-style: none; padding: 0; margin: 0; }
.zhd-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 0;
    border-bottom: 1px solid var(--zhd-border);
    gap: 1rem;
}
.zhd-list-item:last-child { border-bottom: none; }
.zhd-list-item small { display: block; color: var(--zhd-text-muted); font-size: .85rem; margin-top: .15rem; }
.zhd-link { color: var(--zhd-primary); text-decoration: none; font-weight: 500; }
.zhd-empty { color: var(--zhd-text-muted); margin: 0; }
.zhd-empty-state {
    background: var(--zhd-surface);
    border: 2px dashed var(--zhd-border);
    border-radius: var(--zhd-radius);
    padding: 2.5rem;
    text-align: center;
    color: var(--zhd-text-muted);
}

/* Property cards */
.zhd-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.zhd-property-card {
    background: var(--zhd-surface);
    border: 1px solid var(--zhd-border);
    border-radius: var(--zhd-radius);
    overflow: hidden;
    box-shadow: var(--zhd-shadow);
    display: flex;
    flex-direction: column;
}
.zhd-property-thumb {
    aspect-ratio: 16 / 10;
    background: #e5e7eb;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zhd-text-muted);
}
.zhd-property-status {
    position: absolute;
    top: .5rem;
    left: .5rem;
    padding: .15rem .5rem;
    border-radius: 4px;
    font-size: .75rem;
    background: rgba(0,0,0,.6);
    color: #fff;
}
.zhd-property-status-active { background: var(--zhd-success); }
.zhd-property-status-inactive { background: var(--zhd-text-muted); }
.zhd-property-body { padding: 1rem 1rem .25rem; flex: 1; }
.zhd-property-body h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.zhd-property-loc { color: var(--zhd-text-muted); font-size: .85rem; margin: 0 0 .35rem; }
.zhd-property-price { margin: 0; font-weight: 600; color: var(--zhd-primary); }
.zhd-property-actions {
    display: flex;
    gap: .35rem;
    padding: .75rem 1rem 1rem;
    flex-wrap: wrap;
}
.zhd-btn-mini {
    padding: .35rem .65rem;
    background: var(--zhd-bg);
    border: 1px solid var(--zhd-border);
    border-radius: 5px;
    text-decoration: none;
    color: var(--zhd-text);
    font-size: .85rem;
    cursor: pointer;
    font: inherit;
}
.zhd-btn-mini:hover { background: var(--zhd-border); }
.zhd-btn-danger { color: var(--zhd-danger); }
.zhd-btn-danger:hover { background: #fee2e2; }

/* Bookings table */
.zhd-bookings-table-wrap {
    background: var(--zhd-surface);
    border: 1px solid var(--zhd-border);
    border-radius: var(--zhd-radius);
    overflow-x: auto;
    box-shadow: var(--zhd-shadow);
}
.zhd-bookings-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}
.zhd-bookings-table th,
.zhd-bookings-table td {
    text-align: left;
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--zhd-border);
}
.zhd-bookings-table th {
    background: var(--zhd-bg);
    font-weight: 600;
    color: var(--zhd-text-muted);
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .05em;
}
.zhd-bookings-table tbody tr:last-child td { border-bottom: none; }
.zhd-bookings-table tbody tr:hover { background: #fafbfc; }

/* Status pills */
.zhd-status {
    display: inline-block;
    padding: .15rem .55rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.zhd-status-pending { background: #fef3c7; color: #92400e; }
.zhd-status-confirmed { background: #d1fae5; color: #065f46; }
.zhd-status-cancelled { background: #fee2e2; color: #991b1b; }
.zhd-status-completed { background: #dbeafe; color: #1e3a8a; }

.zhd-note { color: var(--zhd-text-muted); font-size: .85rem; margin-top: 1rem; }

/* === Wizard === */
.zenperi-host-wizard {
    max-width: 880px;
    margin: 2rem auto;
    padding: 0 1rem;
    color: var(--zhd-text);
}
.zhw-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.zhw-header h1 { margin: 0 0 .25rem; font-size: 1.5rem; }
.zhw-subtitle { color: var(--zhd-text-muted); margin: 0; }
.zhw-back { color: var(--zhd-primary); text-decoration: none; font-weight: 500; }

/* Progress bar (steps) */
.zhw-progress {
    display: flex;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    counter-reset: step;
    overflow-x: auto;
}
.zhw-progress li {
    flex: 1;
    min-width: 90px;
    counter-increment: step;
    color: var(--zhd-text-muted);
    font-size: .8rem;
    font-weight: 500;
    text-align: center;
    padding-top: .75rem;
    border-top: 3px solid var(--zhd-border);
    cursor: default;
    transition: all .2s;
}
.zhw-progress li::before {
    content: counter(step);
    display: inline-block;
    width: 22px;
    height: 22px;
    line-height: 22px;
    border-radius: 50%;
    background: var(--zhd-border);
    color: var(--zhd-text-muted);
    margin-right: .35rem;
    font-weight: 700;
    font-size: .75rem;
    transition: all .2s;
}
.zhw-progress li.is-active {
    color: var(--zhd-primary);
    border-top-color: var(--zhd-primary);
    cursor: pointer;
}
.zhw-progress li.is-active::before {
    background: var(--zhd-primary);
    color: #fff;
}
.zhw-progress li.is-done {
    color: var(--zhd-success);
    border-top-color: var(--zhd-success);
    cursor: pointer;
}
.zhw-progress li.is-done::before {
    background: var(--zhd-success);
    color: #fff;
    content: '✓';
}

/* Form */
.zhw-form {
    background: var(--zhd-surface);
    border: 1px solid var(--zhd-border);
    border-radius: var(--zhd-radius);
    padding: 2rem;
    box-shadow: var(--zhd-shadow);
}
.zhw-step { display: none; }
.zhw-step.is-active { display: block; animation: zhwFadeIn .25s ease-out; }
@keyframes zhwFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.zhw-step h2 { margin: 0 0 .5rem; font-size: 1.4rem; }
.zhw-help { color: var(--zhd-text-muted); margin: 0 0 1.5rem; }

.zhw-field { margin-bottom: 1.25rem; }
.zhw-field label { display: block; font-weight: 500; margin-bottom: .35rem; }
.zhw-field input,
.zhw-field select,
.zhw-field textarea {
    width: 100%;
    padding: .65rem .85rem;
    border: 1px solid var(--zhd-border);
    border-radius: 6px;
    font-size: 1rem;
    font: inherit;
    background: #fff;
    box-sizing: border-box;
}
.zhw-field textarea { resize: vertical; min-height: 120px; }
.zhw-field input:focus,
.zhw-field select:focus,
.zhw-field textarea:focus {
    outline: none;
    border-color: var(--zhd-primary);
    box-shadow: 0 0 0 3px rgba(0,115,170,.15);
}
.zhw-field input.zhw-invalid,
.zhw-field textarea.zhw-invalid,
.zhw-field select.zhw-invalid {
    border-color: var(--zhd-danger);
    box-shadow: 0 0 0 3px rgba(239,68,68,.15);
}
.zhw-field small { display: block; color: var(--zhd-text-muted); margin-top: .35rem; font-size: .85rem; }

.zhw-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.zhw-row .zhw-field { margin-bottom: 0; }

.zhw-advanced {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--zhd-bg);
    border-radius: 6px;
}
.zhw-advanced summary { cursor: pointer; font-weight: 500; color: var(--zhd-primary); }
.zhw-advanced[open] summary { margin-bottom: 1rem; }

/* Amenities */
.zhw-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .5rem;
}
.zhw-amenity {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1rem;
    border: 1px solid var(--zhd-border);
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s;
}
.zhw-amenity:hover { border-color: var(--zhd-primary); background: #f0f7ff; }
.zhw-amenity input { margin: 0; }
.zhw-amenity input:checked + span { font-weight: 600; color: var(--zhd-primary); }

/* Price preview */
.zhw-price-field { max-width: 280px; }
.zhw-price-preview {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f0f7ff, #e0efff);
    border-radius: var(--zhd-radius);
    display: grid;
    gap: .5rem;
}
.zhw-price-preview div { display: flex; justify-content: space-between; }

/* Review */
.zhw-review {
    background: var(--zhd-bg);
    padding: 1.5rem;
    border-radius: var(--zhd-radius);
}
.zhw-review-list {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: .75rem 1rem;
    margin: 0;
}
@media (max-width: 568px) {
    .zhw-review-list { grid-template-columns: 1fr; }
    .zhw-review-list dt { margin-top: .5rem; }
}
.zhw-review-list dt { font-weight: 600; color: var(--zhd-text-muted); margin: 0; }
.zhw-review-list dd { margin: 0; color: var(--zhd-text); }

/* Footer */
.zhw-footer {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--zhd-border);
    flex-wrap: wrap;
}
.zhw-footer-status { flex: 1; }
.zhw-save-indicator {
    color: var(--zhd-text-muted);
    font-size: .85rem;
}
.zhw-btn {
    padding: .65rem 1.25rem;
    border-radius: 6px;
    border: 1px solid var(--zhd-border);
    background: var(--zhd-surface);
    color: var(--zhd-text);
    font-weight: 600;
    cursor: pointer;
    font: inherit;
    transition: all .15s;
}
.zhw-btn:hover { background: var(--zhd-border); }
.zhw-btn-ghost { background: transparent; border-color: transparent; }
.zhw-btn-ghost:hover { background: var(--zhd-bg); }
.zhw-btn-primary { background: var(--zhd-primary); color: #fff; border-color: var(--zhd-primary); }
.zhw-btn-primary:hover { background: var(--zhd-primary-dark); border-color: var(--zhd-primary-dark); }
.zhw-btn:disabled { opacity: .6; cursor: not-allowed; }

.zhw-feedback { margin-top: 1rem; min-height: 1.25rem; }
.zhw-feedback.is-error { color: var(--zhd-danger); }
.zhw-feedback.is-success { color: var(--zhd-success); }

/* === Uploader de fotos === */
.zhw-uploader { margin-top: 1rem; }
.zhw-dropzone {
    border: 2px dashed var(--zhd-border);
    border-radius: var(--zhd-radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: var(--zhd-bg);
    cursor: pointer;
    transition: all .2s;
    color: var(--zhd-text-muted);
    margin-bottom: 1rem;
}
.zhw-dropzone:hover,
.zhw-dropzone:focus {
    border-color: var(--zhd-primary);
    background: #f0f7ff;
    color: var(--zhd-primary);
    outline: none;
}
.zhw-dropzone.is-dragover {
    border-color: var(--zhd-primary);
    background: #dbeafe;
    color: var(--zhd-primary);
    transform: scale(1.01);
}
.zhw-dropzone-inner svg { display: block; margin: 0 auto .75rem; opacity: .7; }
.zhw-dropzone-inner p { margin: 0 0 .25rem; font-size: 1rem; }
.zhw-dropzone-inner small { font-size: .85rem; opacity: .8; }

.zhw-photo-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: .75rem;
}
.zhw-photo {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #e5e7eb;
    cursor: grab;
    border: 2px solid transparent;
    transition: transform .15s, border-color .15s;
}
.zhw-photo:active { cursor: grabbing; }
.zhw-photo.is-dragging { opacity: .4; transform: scale(.95); }
.zhw-photo.is-drop-target { border-color: var(--zhd-primary); transform: scale(1.03); }
.zhw-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.zhw-photo-badge {
    position: absolute;
    top: .35rem;
    left: .35rem;
    background: var(--zhd-primary);
    color: #fff;
    padding: .15rem .55rem;
    border-radius: 4px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    pointer-events: none;
}
.zhw-photo-delete {
    position: absolute;
    top: .35rem;
    right: .35rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s, background .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.zhw-photo:hover .zhw-photo-delete,
.zhw-photo:focus-within .zhw-photo-delete { opacity: 1; }
.zhw-photo-delete:hover { background: var(--zhd-danger); }

.zhw-photo-uploading {
    background: var(--zhd-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.zhw-photo-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid var(--zhd-border);
    border-top-color: var(--zhd-primary);
    border-radius: 50%;
    animation: zhwSpin .8s linear infinite;
}
@keyframes zhwSpin { to { transform: rotate(360deg); } }

.zhw-uploader-status {
    margin: .75rem 0 0;
    font-size: .85rem;
    color: var(--zhd-text-muted);
}
.zhw-uploader-status.is-error { color: var(--zhd-danger); }
.zhw-uploader-status.is-success { color: var(--zhd-success); }

/* ============================================================
   INBOX DE MENSAGENS (host dashboard) — Sprint 4C
   ============================================================ */
.zenperi-inbox {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 16px;
    background: var(--zhd-surface);
    border: 1px solid var(--zhd-border);
    border-radius: var(--zhd-radius);
    overflow: hidden;
    min-height: 460px;
    box-shadow: var(--zhd-shadow);
}
@media (max-width: 760px) {
    .zenperi-inbox { grid-template-columns: 1fr; }
}
.zenperi-inbox-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-right: 1px solid var(--zhd-border);
    max-height: 540px;
    overflow-y: auto;
}
@media (max-width: 760px) {
    .zenperi-inbox-list { border-right: none; border-bottom: 1px solid var(--zhd-border); max-height: 280px; }
}
.zenperi-inbox-item a {
    display: block;
    padding: 12px 14px;
    text-decoration: none;
    color: var(--zhd-text);
    border-bottom: 1px solid var(--zhd-border);
    transition: background .12s;
}
.zenperi-inbox-item a:hover { background: var(--zhd-bg); }
.zenperi-inbox-item.is-active a { background: #eff6ff; border-left: 3px solid var(--zhd-primary); padding-left: 11px; }
.zenperi-inbox-item-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.zenperi-inbox-unread {
    background: var(--zhd-warning);
    color: #fff;
    border-radius: 999px;
    padding: 0 8px;
    font-size: .75rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}
.zenperi-inbox-property { display: block; color: var(--zhd-text-muted); font-size: .8rem; margin-top: 2px; }
.zenperi-inbox-preview { margin: 6px 0 4px; color: var(--zhd-text); font-size: .9rem; }
.zenperi-inbox-item time { color: var(--zhd-text-muted); font-size: .75rem; }

.zenperi-inbox-thread { padding: 16px; }
.zenperi-inbox-thread .zhd-empty { color: var(--zhd-text-muted); font-style: italic; padding: 30px; text-align: center; }
.zenperi-thread-header {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--zhd-border);
}
.zenperi-thread-header strong { display: block; font-size: 1.05rem; }
.zenperi-thread-header small { color: var(--zhd-text-muted); }

/* === Seletores de modelo (radio em cartões) no wizard === */
.zhw-choice { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 560px) { .zhw-choice { grid-template-columns: 1fr; } }
.zhw-choice-opt {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    border: 1px solid var(--zhd-border);
    border-radius: 10px;
    padding: .85rem 1rem;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.zhw-choice-opt:hover { border-color: var(--zhd-primary); background: #f0f7ff; }
.zhw-choice-opt input { margin-top: .2rem; }
.zhw-choice-opt span { display: flex; flex-direction: column; }
.zhw-choice-opt strong { font-size: .98rem; }
.zhw-choice-opt small { color: var(--zhd-text-muted); font-size: .82rem; line-height: 1.35; margin-top: .15rem; }
.zhw-choice-opt input:checked ~ span strong { color: var(--zhd-primary); }
.zhw-choice-opt:has(input:checked) { border-color: var(--zhd-primary); background: #eaf4fb; }
.zhw-price-hint { color: var(--zhd-text-muted); }

/* === Botões de IA na descrição do wizard === */
.zhw-label-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.zhw-ai-actions { display: inline-flex; gap: .4rem; }
.zhw-ai-btn {
    background: linear-gradient(135deg, #7c3aed, #4f46e5);
    color: #fff; border: none; border-radius: 999px;
    padding: .3rem .8rem; font-size: .82rem; font-weight: 600; cursor: pointer;
    transition: filter .15s; font: inherit; line-height: 1.4;
}
.zhw-ai-btn:hover { filter: brightness(1.08); }
.zhw-ai-btn:disabled { opacity: .6; cursor: not-allowed; }
.zhw-ai-improve { background: #fff; color: #4f46e5; border: 1px solid #c7d2fe; }
.zhw-ai-hint { display: block; color: var(--zhd-text-muted); margin-top: .2rem; }

/* ===== Repasses (aba Ganhos) ===== */
.zhd-payout-rules { background: #f6f8f7; border: 1px solid var(--zhd-border); border-radius: 10px; padding: .9rem 1rem; margin-bottom: 1rem; }
.zhd-payout-rules strong { display: block; margin-bottom: .25rem; }
.zhd-payout-rules p { margin: 0; color: var(--zhd-text-muted); }
.zhd-pix-form { margin: 1rem 0; }
.zhd-pix-form label { display: block; font-weight: 600; margin-bottom: .35rem; }
.zhd-pix-row { display: flex; gap: .5rem; max-width: 560px; }
.zhd-pix-row input { flex: 1; padding: .6rem .8rem; border: 1px solid var(--zhd-border); border-radius: 8px; font: inherit; }
.zhd-pix-feedback { display: inline-block; margin-top: .4rem; font-size: .9rem; }
.zhd-pix-feedback.is-success { color: #1e7e4f; }
.zhd-pix-feedback.is-error { color: var(--zhd-danger); }
.zhd-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.zhd-table { width: 100%; border-collapse: collapse; margin-top: .5rem; min-width: 480px; }
.zhd-table th, .zhd-table td { text-align: left; padding: .6rem .5rem; border-bottom: 1px solid var(--zhd-border); font-size: .92rem; white-space: nowrap; }
.zhd-table th { color: var(--zhd-text-muted); font-weight: 600; }

/* ===== Polimento mobile do painel ===== */
@media (max-width: 600px) {
    .zhd-properties-grid { grid-template-columns: 1fr; }
    .zhd-stats-grid { grid-template-columns: 1fr 1fr; }
    .zhd-section-header { flex-direction: column; align-items: stretch; gap: .6rem; }
    .zhd-section-header .zhd-btn { width: 100%; text-align: center; }
    .zhd-pix-row { flex-wrap: wrap; }
    .zhd-pix-row .zhd-btn { width: 100%; }
    .zhd-property-actions { flex-wrap: wrap; }
}
@media (max-width: 380px) {
    .zhd-stats-grid { grid-template-columns: 1fr; }
}
/* (Modal de compartilhamento: estilos em public.css — .zenperi-share-*) */

/* ===== Conta / alterar senha ===== */
.zhd-account-form { max-width: 420px; }
.zhd-account-form h3 { margin: 0 0 .75rem; }
.zhd-account-form .zhd-field { margin-bottom: .9rem; }
.zhd-account-form label { display: block; font-weight: 600; margin-bottom: .3rem; }
.zhd-account-form input { width: 100%; padding: .6rem .8rem; border: 1px solid var(--zhd-border); border-radius: 8px; font: inherit; }
.zhd-pass-feedback { display: inline-block; margin-left: .6rem; font-size: .9rem; }
.zhd-pass-feedback.is-success { color: #1e7e4f; }
.zhd-pass-feedback.is-error { color: var(--zhd-danger); }
