/*
 * Zenperi — estilos públicos.
 *
 * MANUTENÇÃO: este arquivo cresceu em CAMADAS históricas. Há duas iterações
 * antigas de estilos de LISTAGEM/CARD ("Zenperi Public Styles" e, mais abaixo,
 * "CSS Público do Zenperi") com seletores que se repetem e divergem (a segunda
 * usa var(--zenperi-primary); a primeira tem cores fixas). A cascata resolve:
 * a definição mais ABAIXO vence nos conflitos. Por isso, ao editar um estilo de
 * listagem/card, procure por TODAS as ocorrências do seletor (a de baixo é a que
 * vale). Uma consolidação completa dessas duas iterações exige QA visual e foi
 * deixada para um momento dedicado — não dá para deduplicar no escuro sem risco
 * de regressão. (Os estilos da página de propriedade foram extraídos para
 * assets/css/single-property.css.)
 */

/* Cor de AÇÃO primária (CTAs): coral, consistente em busca, login, reserva.
   Definida em um lugar só para padronização. */
:root { --zenperi-accent: #e8604c; --zenperi-accent-dark: #cf4e3b; }

/* Zenperi Public Styles */

.zenperi-properties-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.zenperi-filters {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.zenperi-search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-row input,
.filter-row select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
}

.filter-row input[type="text"] {
    flex: 1;
    min-width: 200px;
}

.filter-row input[type="number"] {
    width: 120px;
}

.zenperi-search-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.zenperi-search-btn:hover {
    background: #005a87;
}

.zenperi-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.zenperi-property-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.zenperi-property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.property-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-image .no-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #6c757d;
}

.property-content {
    padding: 20px;
}

.property-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: bold;
}

.property-title a {
    color: #333;
    text-decoration: none;
}

.property-title a:hover {
    color: #0073aa;
}

.property-location {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #495057;
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-price {
    margin-bottom: 15px;
    text-align: center;
}

.property-price .price {
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
}

.property-price .per-day {
    font-size: 14px;
    color: #6c757d;
}

.property-actions {
    display: flex;
    gap: 10px;
}

.property-actions .button {
    flex: 1;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background-color 0.2s;
}

.view-property {
    background: #6c757d;
    color: white;
}

.view-property:hover {
    background: #5a6268;
    color: white;
}

.book-now {
    background: #28a745;
    color: white;
}

.book-now:hover {
    background: #218838;
    color: white;
}

.zenperi-no-properties {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.zenperi-load-more {
    text-align: center;
    margin-top: 30px;
}

.load-more-properties {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.load-more-properties:hover {
    background: #005a87;
}

/* Single Property Page */
.zenperi-single-property {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.property-header {
    margin-bottom: 30px;
}

.property-header .property-title {
    font-size: 32px;
    margin-bottom: 10px;
}

.property-gallery {
    margin-bottom: 30px;
}

.main-image {
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.property-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.property-main-content {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
}

.property-description,
.property-details,
.property-amenities,
.property-location-details {
    margin-bottom: 30px;
}

.property-description h2,
.property-details h2,
.property-amenities h2,
.property-location-details h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.detail-item .label {
    font-weight: bold;
    color: #495057;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.amenity-tag {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.location-info p {
    margin: 8px 0;
}

.property-map {
    margin-top: 20px;
    height: 300px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    /* sticky removido: agora quem gruda é a sidebar inteira (single-property.css),
       senão o card de reserva sobrepunha o card do proprietário ao rolar. */
}

.price-info {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.price-info .price {
    font-size: 28px;
    font-weight: bold;
    color: #28a745;
}

.price-info .per-day {
    font-size: 14px;
    color: #6c757d;
}

.booking-form h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.zenperi-booking-form {
    margin-top: 1rem;
}

.zenperi-booking-form .form-group {
    margin-bottom: 1rem;
}

.zenperi-booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.zenperi-booking-form input,
.zenperi-booking-form select,
.zenperi-booking-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.zenperi-booking-form textarea {
    resize: vertical;
    min-height: 80px;
}

.guest-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    border-left: 3px solid var(--zenperi-primary, #0073aa);
}

.guest-info h4 {
    margin: 0 0 1rem 0;
    color: var(--zenperi-primary, #0073aa);
    font-size: 1rem;
}

.zenperi-booking-form .book-now-btn {
    width: 100%;
    background: var(--zenperi-accent, #e8604c);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.zenperi-booking-form .book-now-btn:hover {
    background: var(--zenperi-accent-dark, #cf4e3b);
}

.zenperi-booking-form .book-now-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.total-price {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    text-align: center;
}

.property-owner {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
}

.property-owner h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.owner-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.owner-avatar img {
    border-radius: 50%;
}

.owner-details h4 {
    margin: 0 0 5px 0;
    color: #333;
}

.owner-details p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .zenperi-properties-grid {
        grid-template-columns: 1fr;
    }
    
    .property-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .property-actions {
        flex-direction: column;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
} 

/* CSS Público do Zenperi */

/* Reset e base */
.zenperi-single-property * {
    box-sizing: border-box;
}

.zenperi-single-property .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Integração com tema do site */
.zenperi-single-property {
    font-family: inherit;
    line-height: 1.6;
    color: inherit;
}

.zenperi-single-property h1,
.zenperi-single-property h2,
.zenperi-single-property h3,
.zenperi-single-property h4,
.zenperi-single-property h5,
.zenperi-single-property h6 {
    font-family: inherit;
    font-weight: inherit;
    margin: 0 0 1rem 0;
}

.zenperi-single-property p {
    margin: 0 0 1rem 0;
}

/* Lista de propriedades */
.zenperi-properties-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.zenperi-filters {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.zenperi-search-form .filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.zenperi-search-form input,
.zenperi-search-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.zenperi-search-btn {
    background: var(--zenperi-primary, #0073aa);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.zenperi-search-btn:hover {
    background: var(--zenperi-secondary, #005177);
}

/* Grid de propriedades */
.zenperi-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.zenperi-property-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.zenperi-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.zenperi-property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-image .no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #f0f0f0;
    color: #666;
}

.property-content {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.property-title a {
    color: inherit;
    text-decoration: none;
}

.property-title a:hover {
    color: var(--zenperi-primary, #0073aa);
}

.property-location {
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.property-details span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.property-price {
    text-align: center;
    margin-bottom: 1rem;
}

.property-price .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--zenperi-primary, #0073aa);
}

.property-price .per-day {
    font-size: 0.9rem;
    color: #666;
}

.property-actions {
    display: flex;
    gap: 0.5rem;
}

.property-actions .button {
    flex: 1;
    padding: 0.75rem;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s;
}

.view-property {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.view-property:hover {
    background: #e9ecef;
}

.book-now {
    background: var(--zenperi-primary, #0073aa);
    color: white;
    border: 1px solid var(--zenperi-primary, #0073aa);
}

.book-now:hover {
    background: var(--zenperi-secondary, #005177);
    border-color: var(--zenperi-secondary, #005177);
}

/* Estados de carregamento */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.zenperi-no-properties {
    text-align: center;
    padding: 3rem;
    color: #666;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Botão carregar mais */
.zenperi-load-more {
    text-align: center;
    margin-top: 2rem;
}

.load-more-properties {
    background: var(--zenperi-primary, #0073aa);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.load-more-properties:hover {
    background: var(--zenperi-secondary, #005177);
}

.load-more-properties:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Responsividade */
@media (max-width: 768px) {
    .zenperi-properties-grid {
        grid-template-columns: 1fr;
    }
    
    .zenperi-search-form .filter-row {
        grid-template-columns: 1fr;
    }
    
    .property-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .property-actions {
        flex-direction: column;
    }
}

/* Galeria de imagens */
.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.thumbnail {
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail img {
    width: 100%;
    height: 60px;
    object-fit: cover;
}

/* Mapa */
#property-map {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* Utilitários */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.zenperi-property-card {
    animation: fadeIn 0.5s ease-out;
}

/* Estados de erro */
.zenperi-error {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
    margin: 1rem 0;
}

.zenperi-success {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
    margin: 1rem 0;
}

/* Opções de usuário no formulário de reserva */
.user-options {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
}

.user-options h4 {
    margin: 0 0 10px 0;
    color: #0073aa;
    font-size: 16px;
    font-weight: 600;
}

.user-options .options-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.user-options a {
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
}

.user-options .login-btn {
    background: #0073aa;
    color: white;
}

.user-options .login-btn:hover {
    background: #005a87;
    color: white;
    transform: translateY(-1px);
}

.user-options .register-btn {
    background: #28a745;
    color: white;
}

.user-options .register-btn:hover {
    background: #218838;
    color: white;
    transform: translateY(-1px);
}

.user-options .guest-text {
    color: #666;
    font-size: 12px;
    align-self: center;
    font-style: italic;
}

/* Melhorar estilo dos dados de contato para visitantes */
.guest-info {
    background: #fff3cd;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border-left: 4px solid #ffc107;
}

.guest-info h4 {
    margin: 0 0 10px 0;
    color: #856404;
    font-size: 16px;
    font-weight: 600;
}

/* Responsividade para opções de usuário */
@media (max-width: 768px) {
    .user-options .options-container {
        flex-direction: column;
        align-items: stretch;
    }

    .user-options a {
        text-align: center;
    }

    .user-options .guest-text {
        text-align: center;
        margin-top: 5px;
    }
}

/* ============================================================
   TOASTS — Sprint 3
   ============================================================ */
.zenperi-toasts {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.zenperi-toast {
    pointer-events: auto;
    background: #1f2937;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
    max-width: 380px;
    cursor: pointer;
    transform: translateX(20px);
    opacity: 0;
    transition: transform .25s ease-out, opacity .25s ease-out;
    font-size: 14px;
    line-height: 1.4;
}
.zenperi-toast.is-visible { transform: translateX(0); opacity: 1; }
.zenperi-toast-success { background: #10b981; }
.zenperi-toast-error   { background: #ef4444; }
.zenperi-toast-warning { background: #f59e0b; }
.zenperi-toast-info    { background: #2563eb; }

/* ============================================================
   LIGHTBOX — Sprint 3
   ============================================================ */
body.zenperi-lightbox-open { overflow: hidden; }
.zenperi-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}
.zenperi-lightbox.is-open { display: flex; }
.zenperi-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 40px rgba(0,0,0,.5);
}
.zenperi-lightbox-close,
.zenperi-lightbox-prev,
.zenperi-lightbox-next {
    position: absolute;
    background: rgba(255,255,255,.1);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.zenperi-lightbox-close:hover,
.zenperi-lightbox-prev:hover,
.zenperi-lightbox-next:hover { background: rgba(255,255,255,.25); }
.zenperi-lightbox-close { top: 16px; right: 16px; }
.zenperi-lightbox-prev  { left: 16px; top: 50%; transform: translateY(-50%); }
.zenperi-lightbox-next  { right: 16px; top: 50%; transform: translateY(-50%); }
.zenperi-lightbox-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(0,0,0,.5);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
}
@media (max-width: 568px) {
    .zenperi-lightbox-prev, .zenperi-lightbox-next { width: 40px; height: 40px; font-size: 22px; }
}

/* ============================================================
   DATE-RANGE PICKER — Sprint 3
   ============================================================ */
.zenperi-dp {
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
    user-select: none;
}
.zenperi-dp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.zenperi-dp-title { font-weight: 600; color: #1f2937; }
.zenperi-dp-nav {
    background: transparent;
    border: 1px solid #e3e6ea;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    color: #6b7280;
    transition: background .15s;
}
.zenperi-dp-nav:hover { background: #f3f4f6; color: #0073aa; }
.zenperi-dp-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}
.zenperi-dp-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.zenperi-dp-day,
.zenperi-dp-empty {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #1f2937;
    transition: background .12s, color .12s;
    font: inherit;
    padding: 0;
}
.zenperi-dp-day:hover:not([disabled]) { background: #e0efff; color: #0073aa; }
.zenperi-dp-day[disabled] { cursor: not-allowed; opacity: .35; }
.zenperi-dp-day.is-blocked {
    background: repeating-linear-gradient(45deg, #fee2e2, #fee2e2 4px, #fff 4px, #fff 8px);
    color: #b91c1c;
    text-decoration: line-through;
}
.zenperi-dp-day.is-checkin,
.zenperi-dp-day.is-checkout {
    background: #0073aa;
    color: #fff;
    font-weight: 700;
}
.zenperi-dp-day.is-in-range {
    background: #dbeafe;
    color: #1e40af;
    border-radius: 0;
}
.zenperi-dp-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e3e6ea;
    font-size: 13px;
    color: #4b5563;
    flex-wrap: wrap;
    gap: 8px;
}
.zenperi-dp-summary { display: flex; gap: 16px; flex-wrap: wrap; }
.zenperi-dp-clear {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 13px;
    padding: 4px 8px;
}
.zenperi-dp-clear:hover { text-decoration: underline; }

/* ============================================================
   MINHAS RESERVAS — Sprint 3
   ============================================================ */
.zenperi-my-bookings {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}
.zenperi-mb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.zenperi-mb-card {
    display: grid;
    grid-template-columns: 140px 1fr auto;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.zenperi-mb-card-compact {
    grid-template-columns: 1fr;
    padding: 12px 16px;
}
.zenperi-mb-thumb {
    width: 140px;
    height: 100px;
    border-radius: 6px;
    background: #e5e7eb center/cover no-repeat;
}
.zenperi-mb-body h3 { margin: 0 0 4px; font-size: 1.1rem; }
.zenperi-mb-body h3 a { color: #1f2937; text-decoration: none; }
.zenperi-mb-body h3 a:hover { color: #0073aa; }
.zenperi-mb-loc { color: #6b7280; margin: 0 0 8px; font-size: 0.9rem; }
.zenperi-mb-dates { font-size: 0.92rem; color: #4b5563; }
.zenperi-mb-sep { color: #9ca3af; margin: 0 6px; }
.zenperi-mb-meta { margin: 4px 0 0; color: #6b7280; font-size: 0.9rem; }
.zenperi-mb-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
@media (max-width: 568px) {
    .zenperi-mb-card { grid-template-columns: 1fr; }
    .zenperi-mb-thumb { width: 100%; height: 140px; }
    .zenperi-mb-side { align-items: stretch; }
}

/* ============================================================
   AVALIAÇÕES — Sprint 4
   ============================================================ */
.property-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    padding: 2px 10px;
    background: rgba(255,255,255,.15);
    border-radius: 12px;
    font-size: 0.95rem;
    backdrop-filter: blur(4px);
}
.property-rating-badge .star { color: #fbbf24; }
.property-rating-badge a { color: inherit; text-decoration: underline; opacity: .9; }

.property-reviews { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.reviews-summary { margin-bottom: 24px; }
.reviews-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}
.reviews-stars { color: #fbbf24; font-size: 1.3rem; letter-spacing: 2px; }
.reviews-stars .empty { color: #e5e7eb; }
.reviews-count { color: #6b7280; font-size: 0.95rem; }
.reviews-empty {
    color: #6b7280;
    font-style: italic;
    padding: 20px;
    text-align: center;
    background: #f9fafb;
    border-radius: 8px;
}
.reviews-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.review-item {
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    padding: 18px;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 12px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.review-author img { border-radius: 50%; }
.review-author small { display: block; color: #6b7280; font-size: 0.82rem; }
.review-stars { color: #fbbf24; font-size: 1.05rem; letter-spacing: 1px; }
.review-stars .empty { color: #e5e7eb; }
.review-item h4 { margin: 6px 0 4px; }
.review-item p { margin: 0; color: #374151; line-height: 1.55; }

.review-badge {
    background: #d1fae5;
    color: #065f46;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Modal de avaliação */
body.zenperi-modal-open { overflow: hidden; }
.zenperi-review-modal {
    position: fixed; inset: 0; z-index: 99997;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.zenperi-review-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.55);
}
.zenperi-review-modal-panel {
    position: relative;
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    z-index: 1;
}
.zenperi-review-modal-close {
    position: absolute; top: 12px; right: 12px;
    background: transparent; border: none;
    font-size: 28px; cursor: pointer; color: #6b7280;
    width: 32px; height: 32px; line-height: 1;
    border-radius: 50%;
}
.zenperi-review-modal-close:hover { background: #f3f4f6; }
.zenperi-review-modal h2 { margin: 0 0 8px; font-size: 1.3rem; }
.zenperi-review-target { color: #6b7280; margin: 0 0 16px; font-size: 0.95rem; }

.zenperi-review-stars-input {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    justify-content: center;
}
.zenperi-review-star {
    background: transparent;
    border: none;
    font-size: 2.2rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: color .12s, transform .12s;
    padding: 0;
    line-height: 1;
}
.zenperi-review-star:hover { color: #fbbf24; transform: scale(1.1); }
.zenperi-review-star.is-selected { color: #fbbf24; }

.zenperi-review-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

/* ============================================================
   POLÍTICA DE CANCELAMENTO — Sprint 4B
   ============================================================ */
.property-cancellation { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.cancellation-card {
    background: #f9fafb;
    border-left: 4px solid #0073aa;
    padding: 14px 18px;
    border-radius: 6px;
    margin-top: 10px;
}
.cancellation-card strong { font-size: 1.05rem; }
.cancellation-card p { margin: 6px 0 0; color: #4b5563; line-height: 1.5; }
.cancellation-policy-flexible { border-left-color: #10b981; }
.cancellation-policy-moderate { border-left-color: #f59e0b; }
.cancellation-policy-strict   { border-left-color: #ef4444; }

.zenperi-mb-policy {
    margin: 8px 0 0;
    padding: 8px 10px;
    background: #f9fafb;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #374151;
}
.zenperi-mb-policy strong { color: #1f2937; }
.zenperi-mb-refund-estimate { color: #065f46; font-weight: 600; }
.zenperi-mb-policy-name {
    display: block;
    color: #6b7280;
    font-size: 0.82rem;
    margin-top: 2px;
}

/* ============================================================
   MENSAGENS — Sprint 4C
   ============================================================ */
.zenperi-thread-container {
    list-style: none;
    background: #f9fafb;
    border: 1px solid #e3e6ea;
    border-top: none;
    border-radius: 0 0 10px 10px;
    margin-top: -1px;
    padding: 0;
    margin-bottom: 12px;
}
.zenperi-thread { padding: 14px; }
.zenperi-thread-messages {
    max-height: 320px;
    overflow-y: auto;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.zenperi-thread-empty,
.zenperi-thread-loading,
.zenperi-thread-error { color: #6b7280; font-style: italic; text-align: center; padding: 12px; margin: 0; }
.zenperi-thread-error { color: #b91c1c; }
.zenperi-msg {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e3e6ea;
}
.zenperi-msg.is-mine {
    background: #dbeafe;
    border-color: #bfdbfe;
    align-self: flex-end;
}
.zenperi-msg-meta { font-size: 0.78rem; color: #6b7280; margin-bottom: 4px; }
.zenperi-msg-meta strong { color: #1f2937; }
.zenperi-msg-body { color: #1f2937; line-height: 1.45; word-wrap: break-word; }

.zenperi-thread-form {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}
.zenperi-thread-form textarea {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #e3e6ea;
    border-radius: 6px;
    font: inherit;
    resize: vertical;
    min-height: 44px;
} 
/* ============================================================
   CARD DE PROPRIEDADE (partial reutilizável) — home + listagem
   ============================================================ */
.zenperi-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}
.zenperi-card {
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
    display: flex;
    flex-direction: column;
}
.zenperi-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.zenperi-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #f0f2f5;
    overflow: hidden;
}
.zenperi-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zenperi-card-noimg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #9ca3af; font-size: .9rem;
}
.zenperi-card-rating {
    position: absolute; top: .6rem; right: .6rem;
    background: rgba(0,0,0,.7); color: #fff;
    padding: .2rem .55rem; border-radius: 999px;
    font-size: .82rem; font-weight: 600;
}
/* O media e o corpo são <a>; resetar o estilo de link do tema (cor/sublinhado)
   que estava vazando azul+underline pro título e preço. !important porque
   temas (Kadence etc.) sublinham links de conteúdo com alta especificidade
   (.entry-content a). */
.zenperi-card a,
.zenperi-card a:hover,
.zenperi-card a:focus { text-decoration: none !important; box-shadow: none; }
.zenperi-card-media,
.zenperi-card-body,
.zenperi-card-body:hover,
.zenperi-card-body:focus { color: #1f2937; }
.zenperi-card-body { padding: .9rem 1rem 1.1rem; flex: 1; display: flex; flex-direction: column; }
.zenperi-card-title { font-size: 1.05rem; margin: 0 0 .25rem; line-height: 1.3; color: #1f2937; font-weight: 600; }
.zenperi-card:hover .zenperi-card-title { color: var(--zenperi-primary, #0073aa); }
.zenperi-card-loc { color: #6b7280; font-size: .9rem; margin: 0 0 .4rem; }
.zenperi-card-meta { color: #6b7280; font-size: .85rem; margin: 0 0 .6rem; }
.zenperi-card-price { margin: auto 0 0; color: #1f2937; }
.zenperi-card-price strong { font-size: 1.1rem; color: #1f2937; }
.zenperi-card-price span { color: #6b7280; font-size: .9rem; }

/* Botão de compartilhar sobre a imagem do card (home/listagem e busca) */
.zenperi-card { position: relative; }
.zenperi-property-card .property-image { position: relative; }
.zenperi-card .zenperi-share,
.zenperi-property-card .zenperi-share {
    position: absolute; top: .6rem; right: .6rem; z-index: 3;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.92); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #1f2937 !important; box-shadow: 0 2px 8px rgba(0,0,0,.18);
    padding: 0;
}
.zenperi-card .zenperi-share:hover,
.zenperi-property-card .zenperi-share:hover { background: #fff; color: var(--zenperi-primary, #0073aa) !important; }
.zenperi-card .zenperi-share svg,
.zenperi-property-card .zenperi-share svg { width: 18px; height: 18px; display: block; }

/* Modal de compartilhamento (cards públicos + painel do host) */
body.zenperi-modal-open { overflow: hidden; }
.zenperi-share-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.zenperi-share-modal[hidden] { display: none; }
.zenperi-share-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.zenperi-share-box { position: relative; z-index: 1; background: #fff; width: 100%; max-width: 420px; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.zenperi-share-x { position: absolute; top: .5rem; right: .5rem; z-index: 2; width: 34px; height: 34px; border: none; border-radius: 50%; background: rgba(255,255,255,.85); font-size: 1.4rem; line-height: 1; cursor: pointer; color: #333; }
.zenperi-share-photo { height: 170px; background: #e5e7eb center/cover no-repeat; }
.zenperi-share-photo.is-empty { background: linear-gradient(135deg, #10845f, #0a5f43); }
.zenperi-share-info { padding: 1rem 1.25rem .25rem; }
.zenperi-share-title { margin: 0 0 .25rem; font-size: 1.15rem; color: #1f2937; }
.zenperi-share-meta { margin: 0; color: #6b7280; font-size: .9rem; }
.zenperi-share-label { margin: .75rem 1.25rem .25rem; font-weight: 600; color: #1f2937; }
.zenperi-share-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .5rem 1.25rem; }
.zenperi-share-btn { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .65rem .5rem; border-radius: 10px; text-decoration: none !important; font-weight: 600; font-size: .9rem; color: #fff; border: none; cursor: pointer; text-align: center; }
.zenperi-share-btn:hover { filter: brightness(.94); color: #fff; }
.zsh-wa { background: #25D366; } .zsh-fb { background: #1877F2; } .zsh-tw { background: #111; }
.zsh-tg { background: #229ED9; } .zsh-em { background: #6b7280; } .zsh-native { background: #10845f; }
.zenperi-share-copyrow { display: flex; gap: .4rem; padding: .5rem 1.25rem 1.25rem; }
.zenperi-share-url { flex: 1; padding: .55rem .7rem; border: 1px solid #e3e6ea; border-radius: 8px; font-size: .85rem; color: #374151; background: #f9fafb; }
.zenperi-share-copy { padding: .55rem 1rem; border: 1px solid #e3e6ea; border-radius: 8px; background: #fff; cursor: pointer; font-weight: 600; }

/* ===== Barra de busca compacta estilo Airbnb (header) ===== */
.zsb { position: relative; display: inline-block; font-size: 14px; color: #222; }
.zsb-pill {
    display: inline-flex; align-items: center; gap: .25rem;
    /* !important: alguns temas (Kadence) pintam <button> do cabeçalho de azul */
    background: #fff !important; border: 1px solid #e3e6ea; border-radius: 999px;
    padding: .35rem .35rem .35rem 1.1rem; cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,.08); transition: box-shadow .15s;
    color: #222 !important; font: inherit; line-height: 1.2;
}
.zsb-pill:hover, .zsb-pill:focus, .zsb-pill:active { background: #fff !important; color: #222 !important; box-shadow: 0 2px 10px rgba(0,0,0,.14); }
.zsb-pill-seg { font-weight: 600; white-space: nowrap; color: #222; }
.zsb-pill .zsb-muted { color: #717171 !important; font-weight: 500; }
.zsb-pill-sep { width: 1px; height: 22px; background: #e3e6ea; margin: 0 .7rem; }
.zsb-pill-ico {
    flex: 0 0 auto; width: 34px; height: 34px; margin-left: .6rem; border-radius: 50%;
    background: var(--zenperi-accent, #e8604c); color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.zsb-pill-ico svg { width: 16px; height: 16px; }

.zsb-panel {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
    z-index: 9000; background: #fff; border: 1px solid #ebebeb; border-radius: 18px;
    box-shadow: 0 12px 40px rgba(0,0,0,.18); padding: .5rem;
    width: min(92vw, 720px);
}
.zsb-panel[hidden] { display: none; }
.zsb-form { display: flex; align-items: stretch; gap: .25rem; }
.zsb-field { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: .5rem .9rem; border-radius: 12px; min-width: 0; }
.zsb-field:hover { background: #f7f7f7; }
.zsb-field > label { font-size: .68rem; font-weight: 700; color: #222; margin-bottom: .15rem; }
.zsb-field input[type="text"], .zsb-field input[type="date"] {
    border: none; background: transparent; padding: 0; font: inherit; font-size: .92rem; color: #222; outline: none; width: 100%; min-width: 0;
}
.zsb-where-field { flex: 1.4; }
.zsb-who-toggle { border: none; background: transparent; padding: 0; font: inherit; font-size: .92rem; color: #717171; cursor: pointer; text-align: left; }
.zsb-submit {
    flex: 0 0 auto; align-self: center; display: inline-flex; align-items: center; gap: .4rem;
    background: var(--zenperi-accent, #e8604c); color: #fff; border: none; cursor: pointer;
    border-radius: 999px; padding: .7rem 1.1rem; font: inherit; font-weight: 700; margin-left: .25rem;
}
.zsb-submit:hover { filter: brightness(.95); }
.zsb-submit-ico svg { width: 16px; height: 16px; display: block; }

/* Popover de hóspedes */
.zsb-who-pop {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 1;
    background: #fff; border: 1px solid #ebebeb; border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.16); padding: .75rem 1rem; width: 300px;
}
.zsb-who-pop[hidden] { display: none; }
.zsb-who-row { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid #f0f0f0; }
.zsb-who-row:last-child { border-bottom: none; }
.zsb-who-label strong { display: block; font-size: .95rem; }
.zsb-who-label span { color: #717171; font-size: .82rem; }
.zsb-stepper { display: flex; align-items: center; gap: .7rem; }
.zsb-step { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #b0b0b0; background: #fff; color: #222; font-size: 1.1rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.zsb-step:hover { border-color: #222; }
.zsb-step:disabled { opacity: .35; cursor: default; }
.zsb-count { min-width: 1.2rem; text-align: center; font-weight: 600; }

/* Autocomplete dentro da barra */
.zsb-suggest {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px; max-width: 92vw;
    background: #fff; border: 1px solid #ebebeb; border-radius: 14px; box-shadow: 0 12px 36px rgba(0,0,0,.18);
    z-index: 2; padding: .35rem; text-align: left;
}
.zsb-suggest[hidden] { display: none; }
.zsb-suggest-item { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 10px; text-decoration: none !important; color: #222; cursor: pointer; }
.zsb-suggest-item:hover, .zsb-suggest-item.is-active { background: #f3f4f6; }
.zsb-suggest-ico { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 8px; background: #f0f0f0; color: #717171; display: flex; align-items: center; justify-content: center; }
.zsb-suggest-ico svg { width: 16px; height: 16px; }
.zsb-suggest-label { font-weight: 600; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zsb-suggest-sub { color: #717171; font-size: .78rem; }

/* Estado expandido (home no topo): mostra a barra inteira em vez da pílula */
.zsb--expanded { display: block; }
.zsb--expanded .zsb-pill { display: none; }
.zsb--expanded .zsb-panel {
    display: block; position: static; transform: none;
    width: min(90vw, 720px); margin: 0 auto; padding: .3rem;
    border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,.10);
}

/* ===== Menu de conta estilo Airbnb ===== */
.zam { position: relative; display: inline-block; }
.zam-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    /* !important: evita o tema pintar o botão de azul ao focar/abrir */
    background: #fff !important; border: 1px solid #e3e6ea; border-radius: 999px;
    padding: .3rem .35rem .3rem .7rem; cursor: pointer; color: #222 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .15s;
}
.zam-btn:hover, .zam-btn:focus, .zam-btn:active { background: #fff !important; color: #222 !important; box-shadow: 0 2px 10px rgba(0,0,0,.14); }
.zam-bars svg { width: 16px; height: 16px; display: block; color: #444; }
.zam-avatar {
    width: 30px; height: 30px; border-radius: 50%; overflow: hidden;
    background: #717171; color: #fff; display: flex; align-items: center; justify-content: center;
}
.zam-avatar svg { width: 28px; height: 28px; }
.zam-avatar .zam-gravatar { width: 30px; height: 30px; display: block; }
.zam-menu {
    position: absolute; top: calc(100% + 10px); right: 0; z-index: 9000;
    background: #fff; border: 1px solid #ebebeb; border-radius: 14px;
    box-shadow: 0 10px 34px rgba(0,0,0,.18); padding: .4rem; min-width: 240px;
}
.zam-menu[hidden] { display: none; }
.zam-greet { padding: .5rem .85rem .35rem; color: #717171; font-size: .82rem; }
.zam-item {
    display: block; padding: .6rem .85rem; border-radius: 9px;
    text-decoration: none !important; color: #222 !important; font-size: .95rem;
}
.zam-item:hover { background: #f3f4f6; }
.zam-strong { font-weight: 700; }
.zam-sep { height: 1px; background: #ebebeb; margin: .35rem .25rem; }

/* Combinação busca + conta num só elemento (temas com 1 caixa de HTML).
   Grid de 3 colunas: busca centralizada, menu de conta à direita. */
.zheader-tools { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; width: 100%; }
.zheader-tools .zsb { grid-column: 2; justify-self: center; }
.zheader-tools .zam { grid-column: 3; justify-self: end; }
@media (max-width: 740px) {
    .zheader-tools { display: flex; gap: .5rem; }
    .zheader-tools .zsb { flex: 1; min-width: 0; }
    .zheader-tools .zsb-pill { width: 100%; }
    .zheader-tools .zam { margin-left: auto; }
}

/* ===== Modal de login / registro ===== */
body.zauth-open { overflow: hidden; }
.zauth { position: fixed; inset: 0; z-index: 100001; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.zauth[hidden] { display: none; }
.zauth-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.zauth-box { position: relative; z-index: 1; background: #fff; width: 100%; max-width: 420px; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.3); padding: 1.25rem 1.5rem 1.5rem; }
.zauth-x { position: absolute; top: .55rem; right: .7rem; border: none; background: transparent; font-size: 1.7rem; line-height: 1; cursor: pointer; color: #444; }
.zauth-tabs { display: flex; gap: 1rem; border-bottom: 1px solid #ebebeb; margin-bottom: 1rem; }
.zauth-tab { border: none; background: transparent; padding: .6rem .1rem; font: inherit; font-weight: 600; color: #717171; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.zauth-tab.is-active { color: #222; border-bottom-color: var(--zenperi-accent, #e8604c); }
.zauth-form h2 { margin: .25rem 0 1rem; font-size: 1.25rem; }
.zauth-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .8rem; color: #222; }
.zauth-form input[type="text"], .zauth-form input[type="email"], .zauth-form input[type="password"] {
    display: block; width: 100%; margin-top: .35rem; padding: .65rem .8rem; border: 1px solid #d1d5db; border-radius: 10px; font: inherit; box-sizing: border-box;
}
.zauth-pass { position: relative; display: block; margin-top: .35rem; }
.zauth-pass input { margin-top: 0 !important; padding-right: 2.6rem; }
.zauth-eye { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); border: none; background: transparent; cursor: pointer; color: #9ca3af; padding: .35rem; display: flex; }
.zauth-eye:hover { color: #555; }
.zauth-eye svg { width: 20px; height: 20px; display: block; }
.zauth-eye.is-on { color: var(--zenperi-accent, #e8604c); }
.zauth-hint { display: block; margin: -.4rem 0 .8rem; color: #717171; font-size: .82rem; }
.zauth-check { display: flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .9rem; color: #444; margin: .2rem 0 .9rem; cursor: pointer; }
.zauth-check input { width: auto !important; margin: 0; }
.zauth-feedback a { color: var(--zenperi-accent, #e8604c); font-weight: 600; }
.zenperi-checkout-login a.zenperi-auth-open { font-weight: 700; }
.zauth-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.zauth-submit { width: 100%; padding: .8rem; border: none; border-radius: 10px; background: var(--zenperi-accent, #e8604c); color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; margin-top: .25rem; }
.zauth-submit:hover { filter: brightness(.95); }
.zauth-submit:disabled { opacity: .6; cursor: default; }
.zauth-feedback { display: block; margin-top: .6rem; font-size: .9rem; min-height: 1.1em; }
.zauth-feedback.is-error { color: #b32d2e; }
.zauth-feedback.is-success { color: #1e7e4f; }
.zauth-forgot { display: inline-block; margin-top: .75rem; color: #717171; font-size: .88rem; }
.zauth-alt { margin: .9rem 0 0; color: #717171; font-size: .88rem; }

@media (max-width: 740px) {
    .zsb-pill-when, .zsb-pill-sep { display: none; }
    /* Painel: não centralizar na pílula (que fica à esquerda) — alinhar à
       esquerda e ocupar quase a largura da tela, senão "vaza" e corta. */
    .zsb-panel {
        left: 0; right: auto; transform: none;
        width: calc(100vw - 1.25rem); max-width: none;
        max-height: 78vh; overflow-y: auto;
    }
    .zsb-form { flex-direction: column; }
    .zsb-field { padding: .7rem .9rem; }
    .zsb-field:not(:last-child) { border-bottom: 1px solid #f0f0f0; }
    .zsb-submit { width: 100%; justify-content: center; margin: .5rem 0 0; }
    .zsb-who-pop { width: 100%; right: auto; left: 0; }
}

/* === Day use: linha de horários no formulário de reserva === */
.zenperi-booking-form .form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.zenperi-booking-form .booking-window-hint { font-size: .82rem; color: #6b7280; margin: -.4rem 0 .8rem; }
