/* ============================================
   FORMATADOR JSON AIRBNB - DESIGN SYSTEM
   Otimizado para navegação em tabs temáticas
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Primárias */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --accent: #f59e0b;
    --danger: #ef4444;
    --success: #10b981;
    
    /* Backgrounds */
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-hover: #f1f5f9;
    --bg-sidebar: #fafbfc;
    
    /* Textos */
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    
    /* Bordas */
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #cbd5e1;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Raios */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   CONTAINER & LAYOUT PRINCIPAL
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background: white;
    border-radius: var(--radius-xl);
    padding: 24px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    text-align: center;
}

header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

header p {
    font-size: 15px;
    color: var(--text-secondary);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.logo-container img {
    height: 70px;
    width: auto;
}

/* ============================================
   PANELS
   ============================================ */

.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel {
    background: white;
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.panel-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ============================================
   BOTÕES
   ============================================ */

.btn {
    padding: 10px 18px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--text-secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--text-primary);
    transform: translateY(-1px);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* ============================================
   INPUT PANEL
   ============================================ */

.input-panel textarea {
    width: 100%;
    min-height: 500px;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.2s ease;
    background: var(--bg-main);
    color: var(--text-primary);
}

textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    background: white;
}

textarea::placeholder {
    color: var(--text-muted);
}

/* ============================================
   FULLSCREEN MODE
   ============================================ */

.main-content.fullscreen-mode {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
    background: var(--bg-main);
    z-index: 900;
    overflow: auto;
}

.panel.input-panel.hidden {
    display: none;
}

.panel.viewer-panel {
    display: none;
}

.panel.viewer-panel.active {
    display: block;
}

.main-content.fullscreen-mode .panel.viewer-panel {
    margin: 20px auto;
    max-width: 1400px;
    width: calc(100% - 40px);
    min-height: calc(100vh - 40px);
}

body.fullscreen-active > .container > header {
    display: none;
}

body.fullscreen-active {
    padding: 0;
    overflow: hidden;
}

/* ============================================
   STICKY HEADER AREA
   ============================================ */

.sticky-header-area {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    padding: 16px;
    margin: -24px -24px 0 -24px;
    border-bottom: 2px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-container {
    position: relative;
    margin: 16px 0;
    display: none;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: all 0.2s ease;
    background: var(--bg-main);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: white;
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-results-count {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    display: none;
}

/* ============================================
   TABS TEMÁTICAS
   ============================================ */

.thematic-tabs {
    display: flex;
    gap: 6px;
    padding: 16px 0 0 0;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--border-light);
}

.thematic-tabs::-webkit-scrollbar {
    height: 6px;
}

.thematic-tabs::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 3px;
}

.thematic-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.thematic-tabs::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.thematic-tab {
    padding: 12px 20px;
    border: 2px solid var(--border);
    background: white;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-radius: var(--radius-lg);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    flex-shrink: 0;
}

.thematic-tab:hover {
    color: var(--primary);
    background: #eff6ff;
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.thematic-tab.active {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tab-icon {
    font-size: 18px;
}

.tab-label {
    font-weight: 600;
}

/* ============================================
   PROPERTY HEADER (Fixo no topo de cada tab)
   ============================================ */

.property-header-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-lg);
    color: white;
}

.property-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.property-address {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 12px;
}

.property-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.property-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.property-tag.price-tag {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
}

.property-tag.available {
    background: rgba(16, 185, 129, 0.9);
}

.property-tag.unavailable {
    background: rgba(239, 68, 68, 0.9);
}

/* ============================================
   TAB: RESUMO
   ============================================ */

.tab-content-resumo {
    padding: 20px 0;
}

.resumo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.resumo-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.resumo-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-light);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.card-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

.info-value.text-block {
    text-align: left;
    margin-top: 8px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Capacity Grid */
.capacity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.capacity-item {
    background: var(--bg-hover);
    border-radius: var(--radius);
    padding: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.capacity-item:hover {
    background: #e0f2fe;
    transform: scale(1.05);
}

.capacity-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.capacity-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 500;
}

/* Seções do Resumo */
.resumo-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.section-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.section-title h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.section-count {
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-hover);
    padding: 4px 12px;
    border-radius: 12px;
}

/* Amenidades Quick Grid */
.amenities-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.amenity-quick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-hover);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.amenity-quick-item:hover {
    background: #e0f2fe;
    border-color: var(--primary-light);
    transform: translateX(4px);
}

.amenity-icon {
    font-size: 20px;
}

.amenity-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Photos Preview Grid */
.photos-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.photo-preview-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.photo-preview-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.photo-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-preview-item.more-photos {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-photos-content {
    text-align: center;
    color: white;
}

.more-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

.more-text {
    display: block;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.9;
}

/* ============================================
   TAB: PREÇOS
   ============================================ */

.tab-content-precos {
    padding: 20px 0;
}

.price-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.price-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.price-card {
    background: var(--bg-hover);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.price-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.price-card.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.price-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.price-card.highlight .price-card-label {
    opacity: 0.9;
}

.price-card-value {
    font-size: 28px;
    font-weight: 700;
}

.price-card.highlight .price-card-value {
    color: white;
}

/* Fees List */
.fees-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--bg-hover);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.fee-item:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.fee-info {
    flex: 1;
}

.fee-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.fee-details {
    font-size: 12px;
    color: var(--text-secondary);
}

.fee-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* Discounts List */
.discounts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.discount-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--bg-hover);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.discount-type {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.discount-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.discount-badge.discount {
    background: #d1fae5;
    color: #065f46;
}

.discount-badge.increase {
    background: #fee2e2;
    color: #991b1b;
}

/* Platform Fees */
.platform-fees {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.platform-fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-hover);
    border-radius: var(--radius);
}

.platform-fee-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.platform-fee-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

/* ============================================
   TAB: RESERVAS
   ============================================ */

.tab-content-reservas {
    padding: 20px 0;
}

.reservas-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* Check-in Grid */
.checkin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.checkin-card {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 2px solid #0ea5e9;
}

.checkin-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0369a1;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.checkin-time {
    font-size: 24px;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 8px;
}

.checkin-method {
    font-size: 13px;
    color: #075985;
    font-weight: 500;
}

.checkin-instruction {
    font-size: 12px;
    color: #0369a1;
    margin-top: 6px;
    font-style: italic;
}

/* Cancellation Info */
.cancellation-info {
    background: var(--bg-hover);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.cancellation-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 2px solid var(--primary);
}

.cancellation-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.cancellation-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

.cancellation-sub {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 8px;
}

.cancellation-available {
    margin-top: 12px;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius);
}

.cancellation-available .cancellation-label {
    display: block;
    margin-bottom: 8px;
}

.cancellation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.policy-tag {
    padding: 4px 12px;
    background: #dbeafe;
    color: var(--primary);
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

/* Availability Grid */
.availability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.availability-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-hover);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.availability-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.availability-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

/* Rules Grid */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-hover);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: all 0.2s ease;
}

.rule-item.allowed {
    background: #d1fae5;
    border-color: #10b981;
}

.rule-item.not-allowed {
    background: #fee2e2;
    border-color: #ef4444;
}

.rule-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.rule-item.allowed .rule-icon {
    background: #10b981;
    color: white;
}

.rule-item.not-allowed .rule-icon {
    background: #ef4444;
    color: white;
}

.rule-label {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.rule-status {
    font-size: 12px;
    font-weight: 600;
}

.rule-item.allowed .rule-status {
    color: #065f46;
}

.rule-item.not-allowed .rule-status {
    color: #991b1b;
}

/* Tasks List */
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.task-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-hover);
    border-radius: var(--radius);
    border-left: 3px solid var(--success);
}

.task-icon {
    width: 24px;
    height: 24px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.task-info {
    flex: 1;
}

.task-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.task-detail {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Info List */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ============================================
   TAB: DESCRIÇÕES
   ============================================ */

.tab-content-descricoes {
    padding: 20px 0;
}

.language-selector {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 12px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.lang-btn {
    padding: 10px 20px;
    border: 2px solid var(--border);
    background: white;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.lang-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #eff6ff;
}

.lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.description-content {
    display: none;
}

.description-content.active {
    display: block;
}

.description-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary);
}

.description-block {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.description-block-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.description-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.description-block-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.description-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ============================================
   TAB: FOTOS
   ============================================ */

.tab-content-fotos {
    padding: 20px 0;
}

.photos-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
    text-align: center;
}

.photo-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--border);
    background: white;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #eff6ff;
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.photos-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.photo-full-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.photo-full-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
    z-index: 10;
}

.photo-full-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
}

/* ============================================
   TAB: AMENIDADES
   ============================================ */

.tab-content-amenidades {
    padding: 20px 0;
}

.amenities-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 140px;
}

.stat-card.present {
    border-color: var(--success);
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
}

.stat-card.absent {
    border-color: var(--danger);
    background: linear-gradient(135deg, #fee2e2, #fecaca);
}

.stat-card.total {
    border-color: var(--primary);
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.stat-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.stat-card .stat-number {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card.present .stat-number {
    color: #065f46;
}

.stat-card.absent .stat-number {
    color: #991b1b;
}

.stat-card.total .stat-number {
    color: #1e40af;
}

.stat-card .stat-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card.present .stat-label {
    color: #065f46;
}

.stat-card.absent .stat-label {
    color: #991b1b;
}

.stat-card.total .stat-label {
    color: #1e40af;
}

.amenities-category {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}

.amenity-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: var(--bg-hover);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    transition: all 0.2s ease;
}

.amenity-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.amenity-item.present {
    background: #d1fae5;
    border-color: #10b981;
}

.amenity-item.absent {
    background: #f3f4f6;
    border-color: var(--border);
    opacity: 0.6;
}

.amenity-status-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.amenity-item.present .amenity-status-icon {
    background: #10b981;
    color: white;
}

.amenity-item.absent .amenity-status-icon {
    background: #d1d5db;
    color: white;
}

.amenity-emoji {
    font-size: 20px;
    flex-shrink: 0;
}

.amenity-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.amenity-metadata {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid var(--border);
    font-size: 11px;
    color: var(--text-muted);
}

.metadata-item {
    margin-bottom: 2px;
}

.metadata-key {
    font-weight: 600;
}

.amenity-instruction {
    margin-top: 6px;
    font-size: 12px;
    font-style: italic;
    color: var(--text-muted);
}

/* ============================================
   TAB: CÔMODOS
   ============================================ */

.tab-content-comodos {
    padding: 20px 0;
}

.rooms-category {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.rooms-category-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.room-card {
    background: var(--bg-hover);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    transition: all 0.2s ease;
}

.room-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid white;
}

.room-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.room-privacy {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.room-privacy.private {
    background: #d1fae5;
    color: #065f46;
}

.room-privacy.shared {
    background: #dbeafe;
    color: #1e40af;
}

.room-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.room-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.room-beds {
    background: white;
    padding: 10px 12px;
    border-radius: var(--radius);
}

.bed-info {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
}

.room-amenities {
    background: white;
    padding: 10px 12px;
    border-radius: var(--radius);
}

.room-amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.room-amenity-tag {
    padding: 4px 10px;
    background: #dbeafe;
    color: var(--primary);
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* ============================================
   TAB: JSON BRUTO
   ============================================ */

.tab-content-json {
    padding: 20px 0;
}

.json-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.json-raw-container {
    background: #1e293b;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border: 2px solid #334155;
    max-height: 600px;
    overflow: auto;
}

.json-code {
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
    white-space: pre;
    overflow-x: auto;
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    cursor: pointer;
    animation: fadeIn 0.2s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border-radius: var(--radius-lg);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(239, 68, 68, 0.9);
    transform: scale(1.1);
}

.lightbox-info {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   LOADING & ESTADOS
   ============================================ */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.loading-overlay.active {
    display: flex;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255,255,255,0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: white;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.empty-state h3 {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
}

.error-message, .success-message {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin: 12px 0;
    display: none;
    font-size: 14px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

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

.error-message {
    background: #fee2e2;
    border-left: 4px solid var(--danger);
    color: #991b1b;
}

.success-message {
    background: #d1fae5;
    border-left: 4px solid var(--success);
    color: #065f46;
}

/* ============================================
   THEME SWITCHER
   ============================================ */

.theme-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999;
}

.theme-toggle {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 10px 18px;
    cursor: pointer;
    font-size: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* ============================================
   HELP PANEL
   ============================================ */

.help-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.help-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.help-button:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
}

.help-content {
    position: absolute;
    bottom: 70px;
    right: 0;
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-xl);
    width: 320px;
    display: none;
    border: 2px solid var(--border);
    animation: slideUp 0.3s ease;
}

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

.help-content h3 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

.help-content ul {
    padding-left: 20px;
    margin: 0 0 16px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.help-content li {
    margin-bottom: 6px;
}

.help-content kbd {
    background: var(--bg-hover);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
    border: 1px solid var(--border);
    font-weight: 600;
}

/* ============================================
   ONBOARDING
   ============================================ */

.onboarding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
}

.onboarding-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 32px;
    max-width: 500px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.onboarding-card h2 {
    margin: 0 0 12px 0;
    font-size: 24px;
    color: var(--text-primary);
}

.onboarding-card p {
    margin: 0 0 24px 0;
    color: var(--text-secondary);
}

.onboarding-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.onboarding-step {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.2s ease;
}

.onboarding-step.active {
    background: var(--primary);
    transform: scale(1.3);
}

.onboarding-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ============================================
   EXPORT MENU
   ============================================ */

.export-menu {
    position: relative;
    display: none;
}

.export-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    margin-top: 6px;
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
    animation: slideDown 0.2s ease;
}

.export-option {
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.export-option:last-child {
    border-bottom: none;
}

.export-option:hover {
    background: var(--bg-hover);
    padding-left: 24px;
}

/* ============================================
   HISTORY PANEL
   ============================================ */

.history-panel {
    background: var(--bg-hover);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 16px;
    border: 2px solid var(--border);
    animation: slideDown 0.3s ease;
}

.history-panel h3 {
    margin: 0 0 12px 0;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 700;
}

#historyList {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-item {
    background: white;
    padding: 12px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
}

.history-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.history-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.history-time {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================
   PROGRESS BAR
   ============================================ */

.progress-container {
    width: 100%;
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    margin: 8px 0;
    display: none;
}

.progress-container.active {
    display: block;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    width: 0%;
    transition: width 0.3s ease;
}

/* ============================================
   JSON VIEWER
   ============================================ */

#jsonViewer {
    min-height: 400px;
}

/* ============================================
   DARK MODE
   ============================================ */

body.dark-mode {
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --bg-hover: #334155;
    --bg-sidebar: #1e293b;
    
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    
    --border: #334155;
    --border-light: #1e293b;
    --border-dark: #475569;
}

body.dark-mode .property-header-card {
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
}

body.dark-mode .thematic-tab {
    background: var(--bg-card);
    border-color: var(--border);
    color: var(--text-secondary);
}

body.dark-mode .thematic-tab:hover {
    background: var(--bg-hover);
    border-color: var(--primary-light);
}

body.dark-mode .thematic-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

body.dark-mode .card-icon,
body.dark-mode .section-icon,
body.dark-mode .description-icon {
    background: linear-gradient(135deg, var(--primary-light), #3b82f6);
}

body.dark-mode .sticky-header-area {
    background: var(--bg-card);
    border-bottom-color: var(--border);
}

body.dark-mode .json-raw-container {
    background: #0f172a;
    border-color: #1e293b;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 1024px) {
    .resumo-grid {
        grid-template-columns: 1fr;
    }
    
    .property-overview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 12px;
    }
    
    header {
        padding: 20px;
    }
    
    header h1 {
        font-size: 22px;
    }
    
    .logo-container img {
        height: 50px;
    }
    
    .panel {
        padding: 16px;
    }
    
    .sticky-header-area {
        margin: -16px -16px 0 -16px;
        padding: 12px;
    }
    
    .thematic-tabs {
        gap: 4px;
    }
    
    .thematic-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .tab-icon {
        font-size: 16px;
    }
    
    .property-name {
        font-size: 20px;
    }
    
    .property-address {
        font-size: 14px;
    }
    
    .property-tags {
        flex-direction: column;
        gap: 6px;
    }
    
    .property-tag {
        text-align: center;
    }
    
    .resumo-grid,
    .price-cards-grid,
    .checkin-grid,
    .availability-grid,
    .rules-grid,
    .amenities-grid,
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .capacity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .photos-preview-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .photos-full-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .amenities-quick-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-stats {
        flex-direction: column;
    }
    
    .help-panel {
        bottom: 80px;
    }
    
    .help-content {
        bottom: 70px;
        right: -10px;
        width: 280px;
    }
    
    .lightbox img {
        max-width: 95%;
        max-height: 80%;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .action-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .thematic-tab .tab-label {
        display: none;
    }
    
    .thematic-tab {
        padding: 10px;
    }
    
    .tab-icon {
        font-size: 20px;
    }
    
    .capacity-number {
        font-size: 28px;
    }
    
    .price-card-value {
        font-size: 24px;
    }
    
    .photos-full-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SEARCH HIGHLIGHT
   ============================================ */

.search-highlight {
    background: rgba(255, 235, 59, 0.4);
    border-radius: 3px;
    padding: 2px 4px;
    box-shadow: 0 0 0 2px rgba(255, 235, 59, 0.6);
    animation: highlightPulse 0.5s ease;
}

@keyframes highlightPulse {
    0% { background: rgba(255, 235, 59, 0); }
    50% { background: rgba(255, 235, 59, 0.6); }
    100% { background: rgba(255, 235, 59, 0.4); }
}

/* ============================================
   QUALITY CLASSES
   ============================================ */

.quality-good {
    color: #10b981 !important;
    font-weight: 700;
}

.quality-educate {
    color: #f59e0b !important;
    font-weight: 700;
}

.quality-warning {
    color: #ef4444 !important;
    font-weight: 700;
}

.quality-poor {
    color: #dc2626 !important;
    font-weight: 700;
}

/* ============================================
   LOCATION INFO
   ============================================ */

.location-info {
    background: var(--bg-hover);
    border-radius: var(--radius);
    padding: 16px;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.location-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.location-value {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============================================
   ALERT SECTION (Reservation Issues)
   ============================================ */

.alert-section {
    background: #fef2f2;
    border: 2px solid #ef4444;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.alert-header {
    font-size: 16px;
    font-weight: 700;
    color: #991b1b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert-item {
    background: white;
    padding: 12px 16px;
    border-radius: var(--radius);
    border-left: 4px solid #ef4444;
}

.alert-code {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.alert-detail {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================
   UTILITÁRIOS
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }

/* ============================================
   SCROLL SUAVE
   ============================================ */

* {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--border-light);
}

::-webkit-scrollbar-thumb {
    background: var(--border-dark);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ============================================
   ANIMAÇÕES ADICIONAIS
   ============================================ */

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading-overlay .spinner {
    animation: spin 0.8s linear infinite;
}

/* Transições suaves em hover */
.resumo-card,
.price-card,
.amenity-item,
.photo-full-item,
.room-card,
.fee-item,
.discount-item,
.task-item {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */

.btn:focus,
.thematic-tab:focus,
.lang-btn:focus,
.filter-btn:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.search-input:focus {
    outline: none;
}

/* Indicadores visuais para interação */
button {
    cursor: pointer;
}

button:active {
    transform: scale(0.98);
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .theme-switcher,
    .help-panel,
    .sticky-header-area .action-buttons,
    .search-container,
    .thematic-tabs {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .panel {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
