/* === RESET E VARIÁVEIS CSS === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Principais - AZUL CLARO SOFISTICADO */
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #60a5fa;
    
    /* Cores de Suporte */
    --success-green: #10b981;
    --warning-orange: #f59e0b;
    --danger-red: #ef4444;
    --accent-blue: #0ea5e9;
    
    /* Cores Neutras - Paleta Sofisticada */
    --gray-50: #ffffff;
    --gray-100: #fafafa;
    --gray-200: #f5f5f5;
    --gray-300: #eeeeee;
    --gray-400: #e0e0e0;
    --gray-500: #bdbdbd;
    --gray-600: #9e9e9e;
    --gray-700: #757575;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Background e Surface */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    --surface: #ffffff;
    --surface-elevated: #ffffff;
    
    /* Texto */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-tertiary: #9ca3af;
    
    /* Bordas Ultra-Finas */
    --border-light: #f3f4f6;
    --border-medium: #e5e7eb;
    
    /* Sombras Sutis */
    --shadow-xs: 0 1px 2px 0 rgba(59, 130, 246, 0.05);
    --shadow-sm: 0 1px 3px 0 rgba(59, 130, 246, 0.08);
    --shadow-md: 0 2px 6px -1px rgba(59, 130, 246, 0.1);
    --shadow-lg: 0 4px 12px -2px rgba(59, 130, 246, 0.12);
    --shadow-xl: 0 8px 24px -4px rgba(59, 130, 246, 0.15);
    
    /* Gradientes Sutis */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-success: linear-gradient(135deg, var(--success-green), #059669);
    --gradient-warning: linear-gradient(135deg, var(--warning-orange), #d97706);
    --gradient-danger: linear-gradient(135deg, var(--danger-red), #dc2626);
    
    /* Tipografia Sofisticada */
    --font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Espaçamento Refinado */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 0.75rem;
    --spacing-lg: 1rem;
    --spacing-xl: 1.5rem;
    --spacing-2xl: 2rem;
    --spacing-3xl: 3rem;
    
    /* Border Radius Sutil */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    
    /* Transições Suaves */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === BASE STYLES === */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-primary);
    background: #ffffff;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

/* === TELA DE LOGIN === */
.login-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom right, #f8fafc, #e0f2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-container {
    width: 100%;
    max-width: 440px;
    padding: 1.5rem;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    max-width: 440px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    color: white;
}

.login-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.login-header p {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 400;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #334155;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: #94a3b8;
    font-size: 0.875rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    background: #ffffff;
    font-weight: 400;
    color: #1e293b;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
    color: #cbd5e1;
}

.login-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
    margin-top: 0.5rem;
}

.login-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.login-help {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

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

.demo-credentials h4 {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.credentials code {
    background: #f1f5f9;
    padding: 0.375rem 0.625rem;
    border-radius: 6px;
    font-family: 'SF Mono', 'Consolas', 'Monaco', monospace;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.8125rem;
}

/* === DASHBOARD PRINCIPAL === */
.admin-dashboard {
    min-height: 100vh;
    background: var(--bg-secondary);
}

/* === HEADER === */
.admin-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    position: static;
    top: auto;
    z-index: auto;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-spacer {
    flex: 1;
}

.header-logo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-logo img {
    max-width: 160px;
    height: auto;
}

.header-actions {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.mobile-actions {
    display: none;
}

.mobile-actions-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.35);
    cursor: pointer;
    font-size: 1.25rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-actions-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(59, 130, 246, 0.4);
}

.mobile-actions-menu {
    position: absolute;
    right: 0;
    bottom: 72px;
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(15, 23, 42, 0.06);
    min-width: 180px;
    z-index: 120;
}

.mobile-actions-menu button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f2937;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    text-align: left;
}

.mobile-actions-menu button i {
    color: var(--primary-color);
}

.mobile-actions-menu button:hover {
    background: #eff6ff;
    transform: translateX(2px);
}

.mobile-actions.open .mobile-actions-menu {
    display: flex;
}

.mobile-actions {
    position: fixed;
    right: 1.25rem;
    bottom: 1.5rem;
    z-index: 110;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: white;
}

.brand-text h1 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.brand-text span {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: var(--font-weight-normal);
    letter-spacing: 0.01em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.btn-view-site,
.btn-logout {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    letter-spacing: -0.01em;
}

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

.btn-view-site:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-logout {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
}

.btn-logout:hover {
    background: var(--bg-tertiary);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.profile-info {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.welcome {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: var(--font-weight-medium);
}

.admin-name {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.profile-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

/* === NAVEGAÇÃO === */
.admin-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}

.nav-tab {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    position: relative;
}

.nav-tab:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-tab.active {
    border-bottom-color: var(--primary-color);
    background: transparent;
}

.tab-content {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.tab-icon {
    font-size: 1rem;
    color: var(--text-secondary);
}

.nav-tab.active .tab-icon {
    color: var(--primary-color);
}

.tab-label {
    font-size: 0.8125rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.nav-tab.active .tab-label {
    color: var(--primary-color);
    font-weight: var(--font-weight-semibold);
}

.tab-badge {
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 50px;
    min-width: 20px;
    text-align: center;
}

/* === CONTEÚDO PRINCIPAL === */
.admin-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-2xl);
}

/* === OVERVIEW DASHBOARD === */
.dashboard-overview {
    margin-bottom: var(--spacing-3xl);
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
}

.stat-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-medium);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    color: white;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: var(--font-weight-normal);
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

/* === SEÇÕES === */
.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.section-title h2 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 0.375rem;
    letter-spacing: -0.02em;
}

.section-title p {
    color: var(--text-tertiary);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-normal);
}

.section-actions {
    display: flex;
    gap: var(--spacing-md);
}

/* === BOTÕES === */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    letter-spacing: -0.01em;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: transparent;
    color: var(--danger-red);
    border: 1px solid var(--danger-red);
}

.btn-danger:hover {
    background: var(--danger-red);
    color: white;
}

/* === BARRA DE FILTROS === */
.filters-container {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.filters-header h3 {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filters-header h3 i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

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

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.filter-group label i {
    font-size: 0.75rem;
    color: var(--primary-color);
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: var(--transition-fast);
    font-family: inherit;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-input::placeholder {
    color: var(--text-tertiary);
}

.filter-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

.filter-select:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233b82f6' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.filter-stats {
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.filter-stats span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-ghost:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.4rem 0.875rem;
    font-size: 0.8rem;
}

/* === PROPRIEDADES === */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* === CARDS DE PROPRIEDADES === */
.property-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    position: relative;
}

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

.property-card.hero-highlight {
    border: 1px solid rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.12);
}

.property-card.hero-highlight::after {
    content: 'Destaque na capa';
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.property-card.premium-highlight {
    border-color: rgba(202, 138, 4, 0.35);
    box-shadow: 0 16px 35px rgba(217, 119, 6, 0.16);
}

.property-card .premium-ribbon {
    position: absolute;
    top: 16px;
    right: 16px;
    bottom: auto;
    left: auto;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff5d6;
    border-radius: 14px;
    font-size: 0.95rem;
    box-shadow: 0 10px 18px rgba(202, 138, 4, 0.28);
}

.property-card .premium-ribbon i {
    animation: shimmer 3s infinite;
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.03);
}

.property-chip {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.property-actions {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card:hover .property-actions {
    opacity: 1;
}

.property-actions .btn-icon-action {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.8125rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    backdrop-filter: blur(8px);
}

.property-actions .btn-icon-action:hover {
    background: #ffffff;
    color: var(--text-primary);
    transform: scale(1.05);
}

.property-actions .btn-icon-action.btn-icon-danger:hover {
    background: var(--danger-red);
    color: white;
}

.property-info {
    padding: 1.25rem;
}

.property-info h3 {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.property-info .price {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.property-info .location {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.property-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.property-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12);
    color: #1e3a8a;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.property-tag i {
    font-size: 0.85rem;
}

.property-tag.premium-chip {
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.25), rgba(217, 119, 6, 0.18));
    color: #92400e;
}

.property-tag.sold-chip {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.25), rgba(185, 28, 28, 0.18));
    color: #991b1b;
    font-weight: 700;
}

.property-tag.soft-chip {
    background: rgba(16, 185, 129, 0.18);
    color: #047857;
}

.property-info .features {
    display: flex;
    gap: 0.875rem;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

.property-info .features span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.property-info .features i {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.property-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.85rem;
}

.property-amenities span {
    background: rgba(15, 23, 42, 0.06);
    color: var(--text-secondary);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
}

.property-amenities .more-chip {
    background: rgba(202, 138, 4, 0.18);
    color: #92400e;
    font-weight: 600;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

/* === CARDS DE DEPOIMENTOS === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    align-items: center;
    justify-content: center;
}

.btn-edit {
    background: rgba(16, 185, 129, 0.9);
    color: white;
}

.btn-edit:hover {
    background: var(--success-green);
    transform: scale(1.1);
}

.btn-delete {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.btn-delete:hover {
    background: var(--danger-red);
    transform: scale(1.1);
}

.property-info {
    padding: var(--spacing-xl);
}

.property-info h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
}

.property-info .price {
    color: var(--success-green);
    font-size: 1.375rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

.property-info .location {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 0.875rem;
}

.features {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.features span {
    background: var(--bg-tertiary);
    color: var(--primary-blue);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    border: 1px solid var(--border-light);
}

/* === CARDS DE DEPOIMENTOS === */
.testimonial-card {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition-normal);
    text-align: center;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--spacing-lg);
    border: 4px solid var(--bg-tertiary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.testimonial-rating {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

.testimonial-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.btn-icon-action {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #6b7280;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.btn-icon-action:hover {
    background: #f3f4f6;
    color: #374151;
    transform: translateY(-1px);
}

.btn-icon-action.btn-icon-danger:hover {
    background: #fee;
    color: #dc2626;
}

.btn-icon-action:active {
    transform: translateY(0);
}

/* === EMPTY STATES === */
.empty-state {
    text-align: center;
    padding: var(--spacing-3xl);
    background: var(--surface);
    border-radius: var(--radius-xl);
    border: 2px dashed var(--border-medium);
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.5;
}

.empty-state h3 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* === CONFIGURAÇÕES === */
.section-content {
    width: 100%;
    max-width: 100%;
    padding: var(--spacing-lg);
}

.settings-tabs-container {
    background: var(--surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.settings-tabs {
    display: flex;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 2px solid var(--border-light);
    padding: var(--spacing-md) var(--spacing-lg) 0;
    gap: var(--spacing-sm);
    overflow-x: auto;
}

.settings-tab {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
    white-space: nowrap;
}

.settings-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.settings-tab:hover {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.05);
}

.settings-tab.active {
    color: var(--primary);
    background: var(--surface);
    font-weight: var(--font-weight-semibold);
}

.settings-tab.active::after {
    transform: scaleX(1);
}

.settings-tab i {
    font-size: 1.125rem;
}

.settings-tab-content {
    display: none;
    padding: var(--spacing-2xl);
    animation: fadeIn 0.3s ease;
}

.settings-tab-content.active {
    display: block;
}

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

.settings-grid {
    display: grid;
    gap: var(--spacing-xl);
}

.settings-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
}

.settings-card .card-header {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--border-light);
}

.settings-card .card-header h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.settings-card .card-header h3 i {
    color: var(--primary);
    font-size: 1.375rem;
}

.settings-card .card-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

.settings-card h3 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-light);
}

.settings-card .card-footer {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.layout-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-xl);
}

.layout-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.layout-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.layout-option-body {
    background: linear-gradient(160deg, rgba(59, 130, 246, 0.05) 0%, rgba(96, 165, 250, 0.04) 100%);
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.layout-option:hover .layout-option-body {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.layout-option input:focus-visible + .layout-option-body {
    outline: 3px solid rgba(59, 130, 246, 0.25);
    outline-offset: 3px;
}

.layout-option input:checked + .layout-option-body {
    border-color: var(--primary);
    background: linear-gradient(160deg, rgba(59, 130, 246, 0.12) 0%, rgba(96, 165, 250, 0.08) 100%);
    box-shadow: var(--shadow-lg);
}

.layout-option-title {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
    font-size: 1.05rem;
    color: var(--text-primary);
}

.layout-option-title i {
    color: var(--primary);
}

.layout-option-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.layout-option-body ul {
    margin: 0;
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.layout-option-body ul li {
    list-style: disc;
}

.hero-copy-editor {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.hero-copy-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.hero-copy-tab {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 0.65rem 1.25rem;
    background: var(--gray-200);
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

.hero-copy-tab i {
    color: var(--primary);
}

.hero-copy-tab:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.hero-copy-tab:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.25);
    outline-offset: 3px;
}

.hero-copy-tab.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.hero-copy-tab.active i {
    color: #ffffff;
}

.hero-copy-panels {
    background: linear-gradient(160deg, rgba(59, 130, 246, 0.05) 0%, rgba(96, 165, 250, 0.03) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-sm);
}

.hero-copy-panel {
    display: none;
}

.hero-copy-panel.active {
    display: block;
}

/* Tracking Section Styles */
.tracking-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.tracking-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.tracking-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.tracking-icon.facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0e5dc0 100%);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.tracking-info h4 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.tracking-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.tracking-section label {
    display: block;
    margin-bottom: var(--spacing-md);
    font-size: 0.9375rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.tracking-section input {
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    background: var(--surface);
    border: 2px solid var(--border-medium);
}

.tracking-section input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    display: flex;
    gap: var(--spacing-lg);
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.info-content h5 {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0 0 var(--spacing-md) 0;
}

.info-content ul {
    margin: 0;
    padding-left: var(--spacing-xl);
    color: var(--text-secondary);
}

.info-content li {
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    line-height: 1.6;
}

.info-content li:last-child {
    margin-bottom: 0;
}

.info-content strong {
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;

.featured-toggle {
    margin-top: var(--spacing-sm);
}

.featured-toggle-label {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    background: rgba(59, 130, 246, 0.05);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(59, 130, 246, 0.12);
    cursor: pointer;
    transition: var(--transition-normal);
}

.featured-toggle-label:hover {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: var(--shadow-sm);
    background: rgba(59, 130, 246, 0.08);
}

.featured-toggle-label input {
    display: none;
}

.featured-toggle-custom {
    position: relative;
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: var(--border-medium);
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.featured-toggle-custom::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    transition: var(--transition-normal);
}

.featured-toggle-label input:checked + .featured-toggle-custom {
    background: var(--gradient-primary);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
}

.featured-toggle-label input:checked + .featured-toggle-custom::after {
    transform: translateX(20px);
}

.featured-toggle-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    color: var(--text-primary);
}

.featured-toggle-text strong {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
}

.featured-toggle-text small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}
    transition: var(--transition-normal);
    background: var(--bg-primary);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.option-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.5rem 0 1.5rem;
}

.option-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.08);
    color: #1e3a8a;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.option-tag input {
    accent-color: #2563eb;
}

.option-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.amenities-group textarea {
    margin-top: 0.75rem;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem 1rem;
    margin-top: 0.6rem;
}

.amenities-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px dashed rgba(15, 23, 42, 0.08);
    font-size: 0.85rem;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amenities-grid label input {
    accent-color: #2563eb;
}

.amenities-grid label:hover {
    border-color: rgba(37, 99, 235, 0.45);
    background: rgba(37, 99, 235, 0.08);
}

.premium-toggle .featured-toggle-label {
    border: 1px solid rgba(202, 138, 4, 0.25);
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.12), rgba(217, 119, 6, 0.08));
}

.premium-toggle .featured-toggle-label strong {
    color: #b45309;
}

.premium-toggle .featured-toggle-label .featured-toggle-custom {
    background: rgba(180, 83, 9, 0.18);
}

.premium-toggle .featured-toggle-label input:checked + .featured-toggle-custom {
    background: linear-gradient(135deg, #ca8a04, #d97706);
}

.premium-toggle .featured-toggle-label input:checked + .featured-toggle-custom::after {
    background: #facc15;
}

/* === MODALS === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 24, 39, 0.75);
    z-index: 1000;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.2s ease;
}

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

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.modal-content.large {
    max-width: 800px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(to bottom, #ffffff, #fafafa);
}

.modal-header h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.01em;
}

.close {
    background: #f3f4f6;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.close:hover {
    background: #e5e7eb;
    color: #111827;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.875rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

/* === UPLOAD DE IMAGENS === */
.image-upload-section {
    margin-top: var(--spacing-md);
}

.upload-controls {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.upload-controls input {
    flex: 1;
}

.btn-add-image {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-add-image:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-md);
    max-height: 300px;
    overflow-y: auto;
    padding: var(--spacing-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 2px dashed var(--border-medium);
}

.image-preview-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-primary);
    aspect-ratio: 4/3;
    border: 1px solid var(--border-light);
}

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

.remove-image {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    transition: var(--transition-normal);
}

.remove-image:hover {
    background: var(--danger-red);
    transform: scale(1.1);
}

.main-badge {
    position: absolute;
    bottom: var(--spacing-sm);
    left: var(--spacing-sm);
    background: var(--success-green);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
}

.no-images {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-tertiary);
    font-style: italic;
    padding: var(--spacing-2xl);
}

/* === CALENDÁRIO === */
.calendar-container {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.visual-calendar {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

/* === CABEÇALHO DO CALENDÁRIO === */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.calendar-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: capitalize;
}

.calendar-nav-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.calendar-nav-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.calendar-nav-btn:active {
    transform: translateY(0);
}

/* === GRID DO CALENDÁRIO === */
.calendar-grid {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.calendar-header-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--bg-secondary);
}

.calendar-header-days > div {
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-right: 1px solid var(--border-light);
}

.calendar-header-days > div:last-child {
    border-right: none;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--surface);
}

.calendar-day {
    min-height: 60px;
    padding: 0.5rem;
    border-right: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s ease;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day.empty {
    background: var(--bg-tertiary);
}

.calendar-day.clickable {
    cursor: pointer;
}

.calendar-day.clickable:hover {
    background: rgba(59, 130, 246, 0.05);
}

.calendar-day.available {
    background: rgba(16, 185, 129, 0.1);
}

.calendar-day.past {
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
}

.day-number {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.day-status {
    margin-top: 0.25rem;
}

/* === LISTA DE DISPONIBILIDADES AGRUPADAS === */
.availability-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.day-availability-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.2s ease;
}

.day-availability-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.day-header {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    gap: 1rem;
}

.day-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    min-width: 70px;
}

.day-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.day-month {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    margin-top: 0.25rem;
    font-weight: 600;
}

.day-info {
    flex: 1;
}

.day-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: capitalize;
}

.full-date {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.slots-count {
    display: inline-block;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.day-actions {
    display: flex;
    gap: 0.5rem;
}

.day-times {
    padding: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    background: var(--surface);
}

.time-tag {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.time-tag:hover {
    background: #fef2f2;
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-1px);
}

.time-tag i {
    opacity: 0;
    transition: opacity 0.2s ease;
    font-size: 0.75rem;
}

.time-tag:hover i {
    opacity: 1;
}

/* Estados do card por data */
.day-availability-card.today {
    border-color: #10b981;
    background: linear-gradient(to right, #f0fdf4, #ffffff);
}

.day-availability-card.today .day-date {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.day-availability-card.today .day-info h4 {
    color: #10b981;
    font-weight: 600;
}

.day-availability-card.today .slots-count {
    color: #10b981;
    font-weight: 600;
}

.day-availability-card.past {
    opacity: 0.7;
    background: #f9fafb;
}

.day-availability-card.past .day-date {
    background: #9ca3af;
}

.day-availability-card.past .day-number,
.day-availability-card.past .day-month {
    color: #ffffff;
}

.day-availability-card.past .day-info h4,
.day-availability-card.past .full-date,
.day-availability-card.past .slots-count {
    color: #6b7280;
}

.day-availability-card.past .time-tag {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #d1d5db;
}

.day-availability-card.past .time-tag:hover {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
}

.empty-availability {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-availability i {
    font-size: 3rem;
    color: var(--border-light);
    margin-bottom: 1rem;
}

.empty-availability p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.empty-availability small {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* === SELETOR PROFISSIONAL DE HORÁRIOS === */
.time-selector {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.time-selector-label {
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.time-selector-label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.time-periods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.time-period {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: 1px solid var(--border-light);
}

.period-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.period-title i {
    color: var(--primary-color);
    font-size: 0.875rem;
}

.time-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 0.75rem;
}

.time-chip {
    background: var(--surface);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.time-chip:hover {
    border-color: var(--primary-light);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.time-chip.selected {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.time-chip.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.time-chip .time {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
}

.time-chip .period {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.time-chip.selected .period {
    opacity: 0.9;
}

.custom-time {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.custom-time label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.custom-time label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.custom-time input {
    width: 100%;
    max-width: 200px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--surface);
    transition: all 0.2s ease;
}

.custom-time input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Responsivo */
@media (max-width: 768px) {
    .time-chips {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 0.5rem;
    }
    
    .time-chip {
        padding: 0.5rem 0.25rem;
    }
    
    .time-chip .time {
        font-size: 1rem;
    }
}

/* === MODAL DE CONFIGURAÇÃO INTELIGENTE === */
.large-modal {
    max-width: 900px;
    width: 90vw;
}

.smart-config {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.config-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
}

.config-section h4 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.config-section h4 i {
    color: var(--primary-color);
}

.date-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.days-selector {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.day-chip {
    background: var(--surface);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0.75rem 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.day-chip:hover {
    border-color: var(--primary-light);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}

.day-chip.selected {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.day-chip.weekend {
    border-color: #f59e0b;
}

.day-chip.weekend.selected {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border-color: #f59e0b;
}

.day-chip .day-short {
    display: block;
    font-weight: 700;
    font-size: 0.875rem;
}

.day-chip .day-full {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.quick-select {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.quick-btn {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.preset-btn {
    background: var(--surface);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.preset-btn:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.preset-btn.selected {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.preset-btn i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.preset-btn.selected i {
    color: #ffffff;
}

.preset-btn span {
    font-weight: 600;
    font-size: 1rem;
}

.preset-btn small {
    opacity: 0.8;
    font-size: 0.75rem;
}

.selected-times {
    margin-top: 1rem;
}

.selected-times label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.times-display {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    min-height: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.time-tag {
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-tag:hover {
    background: #ef4444;
    transform: scale(0.95);
}

.time-tag::after {
    content: '×';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.time-tag:hover::after {
    opacity: 1;
}

.no-times {
    color: var(--text-secondary);
    font-style: italic;
}

/* === EDIÇÃO MANUAL DE HORÁRIOS === */
.manual-edit {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.manual-edit label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.manual-edit label i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.manual-edit small {
    display: block;
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* === EDITOR DE HORÁRIOS COM CARDS === */
.time-editor {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-light);
}

.editor-periods {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.period-editor {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid var(--border-light);
}

.period-editor h5 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

.period-editor h5 i {
    color: var(--primary-color);
}

.period-times {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    min-height: 60px;
}

.editable-time-chip {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    cursor: pointer;
}

.editable-time-chip:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(2px);
}

.editable-time-chip .time-display {
    font-weight: 600;
    color: var(--text-primary);
}

.editable-time-chip .time-actions {
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.editable-time-chip:hover .time-actions {
    opacity: 1;
}

.time-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-action-btn.edit {
    color: var(--primary-color);
}

.time-action-btn.edit:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.time-action-btn.delete {
    color: #ef4444;
}

.time-action-btn.delete:hover {
    background: #ef4444;
    color: #ffffff;
}

.add-time-btn {
    background: var(--bg-tertiary);
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    width: 100%;
}

.add-time-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.empty-period {
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    padding: 1rem;
    border: 1px dashed var(--border-light);
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
}

/* Modal para adicionar/editar horário */
.time-input-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.time-input-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.time-input-content h4 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    text-align: center;
}

.time-input-content input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.time-input-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Responsivo */
@media (max-width: 768px) {
    .editor-periods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.config-preview {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 1rem;
}

.preview-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.preview-info i {
    font-size: 1.125rem;
}

/* Responsivo */
@media (max-width: 768px) {
    .large-modal {
        width: 95vw;
        max-width: none;
    }
    
    .date-range {
        grid-template-columns: 1fr;
    }
    
    .days-selector {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .time-presets {
        grid-template-columns: 1fr;
    }
    
    .quick-select {
        flex-direction: column;
    }
}

/* === ESTATÍSTICAS DETALHADAS === */
.stat-card.detailed {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-lg);
}

.stat-header {
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-light);
}

.stat-header h3 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

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

.stat-metric {
    margin-bottom: var(--spacing-lg);
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-blue);
    line-height: 1;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    margin-top: var(--spacing-sm);
}

.stat-breakdown {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.breakdown-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breakdown-value {
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
}

.bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.5s ease;
}

.stats-overview {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
}

/* === RESPONSIVIDADE === */
@media (max-width: 1024px) {
    .admin-main {
        padding: var(--spacing-xl);
    }
    
    .header-container {
        padding: var(--spacing-lg) var(--spacing-xl);
    }
    
    .nav-container {
        padding: 0 var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: stretch;
    }
    
    .header-right {
        justify-content: space-between;
    }
    
    .admin-profile {
        order: -1;
    }
    
    .section-header {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-lg);
    }
    
    .nav-tabs {
        padding-bottom: var(--spacing-sm);
    }
    
    .properties-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .stats-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .modal-content {
        width: 95%;
        margin: var(--spacing-lg);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-controls {
        flex-direction: column;
    }
    
    .modal-footer {
        flex-direction: column-reverse;
    }
}

@media (max-width: 480px) {
    .admin-main {
        padding: var(--spacing-lg);
    }
    
    .header-container,
    .nav-container {
        padding: var(--spacing-md) var(--spacing-lg);
    }
    
    .modal-body,
    .modal-header,
    .modal-footer {
        padding: var(--spacing-lg);
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .brand-text h1 {
        font-size: 1.25rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
}

/* === ANIMAÇÕES === */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.property-card,
.testimonial-card,
.stat-card {
    animation: slideInUp 0.6s ease forwards;
}

/* Stagger animations */
.property-card:nth-child(1) { animation-delay: 0.1s; }
.property-card:nth-child(2) { animation-delay: 0.2s; }
.property-card:nth-child(3) { animation-delay: 0.3s; }
.property-card:nth-child(4) { animation-delay: 0.4s; }
.property-card:nth-child(5) { animation-delay: 0.5s; }
.property-card:nth-child(6) { animation-delay: 0.6s; }

/* === LOADING STATES === */
.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

.spinner {
    animation: spin 1s linear infinite;
}

/* === SCROLLBAR PERSONALIZADA === */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: var(--radius-sm);
}

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

/* === UTILITIES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.hidden { display: none; }
.visible { display: block; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: var(--spacing-sm); }
.gap-2 { gap: var(--spacing-md); }
.gap-3 { gap: var(--spacing-lg); }
.gap-4 { gap: var(--spacing-xl); }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: 50%; }

.shadow { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* === WIZARD MODAL === */
.wizard-modal .modal-content {
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25), 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wizard-modal .modal-body {
    padding: 0;
    background: #fafafa;
}

/* === WIZARD NAVIGATION === */
.wizard-nav {
    display: flex;
    background: linear-gradient(to bottom, #ffffff, #fafafa);
    border-bottom: 2px solid #f3f4f6;
    padding: 0;
    overflow-x: auto;
    position: relative;
}

.wizard-nav::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
}

.wizard-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.75rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 200px;
}

.wizard-tab::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transform: scaleX(0);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 999px 999px 0 0;
}

.wizard-tab:hover {
    background: rgba(59, 130, 246, 0.04);
}

.wizard-tab.active {
    background: transparent;
}

.wizard-tab.active::before {
    transform: scaleX(1);
}

.wizard-tab.completed {
    background: rgba(16, 185, 129, 0.03);
}

.wizard-tab.completed .step-number {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    color: #9ca3af;
    font-size: 0.9375rem;
    font-weight: 700;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wizard-tab.active .step-number {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    transform: scale(1.2);
    box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.15), 0 8px 20px rgba(59, 130, 246, 0.35);
}

.step-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.35s ease;
    letter-spacing: -0.01em;
}

.wizard-tab.active .step-title {
    color: #0f172a;
    font-weight: 700;
}

.wizard-tab.completed .step-title {
    color: #059669;
    font-weight: 600;
}

.step-subtitle {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 400;
    margin-top: 3px;
    letter-spacing: 0;
}

/* === WIZARD STEPS === */
.wizard-step {
    display: none;
    padding: 3rem 3.5rem;
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    min-height: 550px;
}

.wizard-step.active {
    display: block;
}

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

.step-content {
    max-width: 780px;
    margin: 0 auto;
}

.step-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f3f4f6;
    position: relative;
}

.step-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 999px;
}

.step-header h4 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.step-header p {
    font-size: 1.0625rem;
    color: #64748b;
    line-height: 1.7;
    max-width: 640px;
}

/* === CHOICE CARDS === */
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.choice-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2.5rem 1.75rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.choice-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.choice-card:hover {
    border-color: #3b82f6;
    background: #fafcfe;
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.choice-card.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.25), 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-4px) scale(1.02);
}

.choice-card.selected::before {
    opacity: 1;
}

.choice-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 16px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.choice-card:hover .choice-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(147, 197, 253, 0.15));
    transform: scale(1.08) rotate(-3deg);
}

.choice-card.selected .choice-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: scale(1.12) rotate(0deg);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.4);
}

.choice-icon svg {
    width: 30px;
    height: 30px;
    fill: #6b7280;
    transition: fill 0.35s ease;
}

.choice-card.selected .choice-icon svg {
    fill: white;
}

.choice-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.choice-card.selected .choice-title {
    color: #1e40af;
    font-weight: 700;
}

.choice-description {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
}

/* === DYNAMIC FIELDS === */
.dynamic-field {
    display: none;
    animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dynamic-field.visible {
    display: block;
}

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

/* === WIZARD FORM STYLES === */
.wizard-step .form-group {
    margin-bottom: 2rem;
}

.wizard-step .form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.wizard-step .form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.wizard-step .form-group input,
.wizard-step .form-group textarea,
.wizard-step .form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    font-family: inherit;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wizard-step .form-group input:hover,
.wizard-step .form-group textarea:hover,
.wizard-step .form-group select:hover {
    border-color: #cbd5e1;
}

.wizard-step .form-group input:focus,
.wizard-step .form-group textarea:focus,
.wizard-step .form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    background: #ffffff;
    transform: translateY(-1px);
}

.wizard-step .form-group input::placeholder,
.wizard-step .form-group textarea::placeholder {
    color: #94a3b8;
}

.wizard-step .form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.7;
}

.wizard-step .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.wizard-step .form-grid .form-group.full-width {
    grid-column: 1 / -1;
}

@media (max-width: 640px) {
    .wizard-step .form-grid {
        grid-template-columns: 1fr;
    }
}

/* === UPLOAD ZONE === */
.upload-zone {
    border: 3px dashed #cbd5e1;
    border-radius: 16px;
    padding: 3.5rem 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, #fafafa, #f8fafc);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2.5rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-zone::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), rgba(147, 197, 253, 0.03));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.upload-zone:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
    transform: translateY(-2px);
}

.upload-zone:hover::before {
    opacity: 1;
}

.upload-zone.dragover {
    border-color: #2563eb;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(147, 197, 253, 0.08));
    border-style: solid;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 12px 32px rgba(59, 130, 246, 0.2);
    transform: scale(1.02);
}

.upload-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(147, 197, 253, 0.12));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.upload-zone:hover .upload-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(147, 197, 253, 0.18));
    transform: scale(1.08);
}

.upload-icon svg {
    width: 36px;
    height: 36px;
    fill: #3b82f6;
}

.upload-text {
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.upload-text strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.625rem;
    letter-spacing: -0.02em;
}

.upload-text span {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.upload-hint {
    font-size: 0.9375rem;
    color: #94a3b8;
    margin-top: 1.25rem;
    position: relative;
    z-index: 1;
}

/* === IMAGE GRID === */
.images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.image-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: move;
}

.image-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.image-item.dragging {
    opacity: 0.5;
    transform: scale(0.95);
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

.image-item .remove-image {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.95);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    z-index: 10;
}

.image-item:hover .remove-image {
    opacity: 1;
}

.image-item .remove-image:hover {
    background: #dc2626;
    transform: scale(1.15) rotate(90deg);
}

.image-item .main-badge {
    position: absolute;
    bottom: 0.625rem;
    left: 0.625rem;
    background: linear-gradient(135deg, #10b981, #059669);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 5;
}

@media (max-width: 768px) {
    .images-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .images-grid {
        grid-template-columns: 1fr;
    }
}

/* === AMENITIES SECTION === */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.amenity-item {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.125rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.amenity-item:hover {
    border-color: #93c5fd;
    background: #fafcfe;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
}

.amenity-item:has(input:checked) {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(147, 197, 253, 0.06));
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.amenity-item input[type="checkbox"] {
    width: 22px;
    height: 22px;
    accent-color: #3b82f6;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.amenity-item input[type="checkbox"]:checked {
    transform: scale(1.15);
}

.amenity-item label {
    flex: 1;
    font-size: 0.9375rem;
    color: #334155;
    cursor: pointer;
    margin: 0;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.amenity-item:has(input:checked) label {
    font-weight: 600;
    color: #1e40af;
}

/* === TOGGLE SWITCHES === */
.toggle-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.toggle-item {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.toggle-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.toggle-item.active {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), rgba(147, 197, 253, 0.04));
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.12);
}

.toggle-label {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    cursor: pointer;
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 32px;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    border-radius: 999px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 50%;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.toggle-item input[type="checkbox"] {
    display: none;
}

.toggle-item input[type="checkbox"]:checked + .toggle-label .toggle-switch {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35), inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.toggle-item input[type="checkbox"]:checked + .toggle-label .toggle-switch::after {
    transform: translateX(24px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.toggle-info {
    flex: 1;
}

.toggle-info strong {
    display: block;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.toggle-info small {
    display: block;
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.7;
}

/* === WIZARD FOOTER === */
.wizard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    background: linear-gradient(to top, #f8fafc, #ffffff);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
}

.wizard-footer .btn-secondary,
.wizard-footer .btn-primary {
    min-width: 160px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-footer .btn-secondary {
    background: #ffffff;
    color: #475569;
    border: 2px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wizard-footer .btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.wizard-footer .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
    border: none;
}

.wizard-footer .btn-primary:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45);
    transform: translateY(-2px);
}

.wizard-footer .btn-primary:active {
    transform: translateY(0);
}

/* === WIZARD PREMIUM TOGGLE === */
.wizard-modal .premium-toggle .toggle-item {
    border-color: rgba(217, 119, 6, 0.25);
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.05), rgba(217, 119, 6, 0.02));
}

.wizard-modal .premium-toggle .toggle-item:hover {
    border-color: rgba(217, 119, 6, 0.4);
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.1);
}

.wizard-modal .premium-toggle .toggle-item.active {
    border-color: #d97706;
    background: linear-gradient(135deg, rgba(253, 224, 71, 0.12), rgba(217, 119, 6, 0.06));
}

.wizard-modal .premium-toggle input[type="checkbox"]:checked + .toggle-label .toggle-switch {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.wizard-modal .premium-toggle input[type="checkbox"]:checked + .toggle-label .toggle-switch::after {
    background: #fef3c7;
}

.wizard-modal .premium-toggle .toggle-info strong {
    color: #92400e;
}

/* === SOLD TOGGLE === */
.wizard-modal .sold-toggle .toggle-item {
    border-color: rgba(220, 38, 38, 0.25);
    background: linear-gradient(135deg, rgba(254, 202, 202, 0.05), rgba(220, 38, 38, 0.02));
}

.wizard-modal .sold-toggle .toggle-item:hover {
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.1);
}

.wizard-modal .sold-toggle .toggle-item.active {
    border-color: #dc2626;
    background: linear-gradient(135deg, rgba(254, 202, 202, 0.12), rgba(220, 38, 38, 0.06));
}

.wizard-modal .sold-toggle input[type="checkbox"]:checked + .toggle-label .toggle-switch {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.wizard-modal .sold-toggle input[type="checkbox"]:checked + .toggle-label .toggle-switch::after {
    background: #fecaca;
}

.wizard-modal .sold-toggle .toggle-info strong {
    color: #991b1b;
}

/* === INPUT WITH BUTTON === */
.input-with-button {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.input-with-button input {
    flex: 1;
}

.input-with-button .btn-secondary {
    min-width: 120px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* === SCROLLBAR CUSTOMIZATION === */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 0 16px 16px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
    transition: background 0.2s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.wizard-step::-webkit-scrollbar {
    width: 6px;
}

.wizard-step::-webkit-scrollbar-track {
    background: transparent;
}

.wizard-step::-webkit-scrollbar-thumb {
    background: #e5e7eb;
    border-radius: 999px;
}

.wizard-step::-webkit-scrollbar-thumb:hover {
    background: #d1d5db;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .wizard-modal .modal-content {
        width: 96%;
        max-width: 96%;
        max-height: 96vh;
        margin: 2vh auto;
    }

    .wizard-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .wizard-nav::-webkit-scrollbar {
        display: none;
    }

    .wizard-tab {
        min-width: 160px;
        padding: 1.25rem 1rem;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.8125rem;
    }

    .step-title {
        font-size: 0.875rem;
    }

    .step-subtitle {
        display: none;
    }

    .wizard-step {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    .step-header h4 {
        font-size: 1.25rem;
    }

    .step-header p {
        font-size: 0.9375rem;
    }

    .choice-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .choice-card {
        padding: 1.5rem 1.25rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .images-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }

    .wizard-footer {
        flex-direction: column-reverse;
        gap: 0.875rem;
        padding: 1.25rem 1.5rem;
    }

    .wizard-footer .btn-secondary,
    .wizard-footer .btn-primary {
        width: 100%;
        min-width: 0;
    }

    .upload-zone {
        padding: 2rem 1.5rem;
    }

    .upload-icon {
        width: 56px;
        height: 56px;
    }

    .upload-text strong {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .wizard-step {
        padding: 1.5rem 1rem;
    }

    .step-header {
        margin-bottom: 1.75rem;
        padding-bottom: 1.25rem;
    }

    .step-header h4 {
        font-size: 1.125rem;
    }

    .step-header p {
        font-size: 0.875rem;
    }

    .choice-icon {
        width: 48px;
        height: 48px;
    }

    .choice-icon svg {
        width: 24px;
        height: 24px;
    }

    .wizard-step .form-group input,
    .wizard-step .form-group textarea,
    .wizard-step .form-group select {
        font-size: 16px; /* Previne zoom em iOS */
    }
}

/* === ESTILOS PARA RANGES DE DISPONIBILIDADE === */

/* Container de ranges */
.range-availability-card {
    background: var(--surface);
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.range-availability-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Tipos de range */
.range-availability-card.multi-day {
    border-left: 4px solid var(--primary-color);
}

.range-availability-card.single-day {
    border-left: 4px solid var(--success-green);
}

/* Estados */
.range-availability-card.past {
    opacity: 0.6;
    background: var(--bg-secondary);
}

.range-availability-card.active {
    background: linear-gradient(135deg, #ecfdf5 0%, #ffffff 100%);
    border-color: var(--success-green);
}

/* Header do range */
.range-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.range-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.single-day .range-icon {
    background: linear-gradient(135deg, var(--success-green) 0%, #059669 100%);
}

.range-info {
    flex: 1;
    min-width: 0;
}

.range-dates {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.range-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.range-days,
.range-times {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.status-badge.upcoming {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.expired {
    background: var(--gray-200);
    color: var(--gray-600);
}

/* Lista de horários */
.range-times-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.time-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.9rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.time-pill:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-medium);
}

/* Notas */
.range-notes {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #fffbeb;
    border-left: 3px solid var(--warning-orange);
    border-radius: 6px;
    font-size: 0.85rem;
    color: #92400e;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.range-notes i {
    color: var(--warning-orange);
    margin-top: 0.1rem;
}

/* Ações do range */
.range-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-icon-action {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.btn-icon-action.edit {
    background: #dbeafe;
    color: #1e40af;
}

.btn-icon-action.edit:hover {
    background: var(--primary-color);
    color: white;
}

.btn-icon-action.delete {
    background: #fee2e2;
    color: var(--danger-red);
}

.btn-icon-action.delete:hover {
    background: var(--danger-red);
    color: white;
}

/* Compatibilidade com formato antigo */
.day-availability-card.legacy {
    border-left: 4px solid var(--warning-orange);
    background: #fffbeb;
}

.legacy-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: #fef3c7;
    color: #92400e;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Empty state */
.empty-availability {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-secondary);
}

.empty-availability i {
    font-size: 3rem;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.empty-availability p {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.empty-availability small {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .range-header {
        flex-direction: column;
    }

    .range-icon {
        align-self: flex-start;
    }

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

    .btn-icon-action {
        flex: 1;
    }

    .range-details {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================
   MODAL MODERNO - ADICIONAR IMÓVEL
   ============================================ */

/* Modal Base */
.modal-content.modern-wizard {
    max-width: 900px;
    max-height: 90vh;
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: visible;
    display: flex;
    flex-direction: column;
}

/* Header Moderno */
.modern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-bottom: none;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.header-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
}

.header-text h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.02em;
}

.header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
    font-weight: 400;
}

.modern-close {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(10px);
}

.modern-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.modern-close svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

/* Wizard Navigation */
.wizard-nav.modern-nav {
    background: #f8fafc;
    padding: 0;
    border-bottom: 1px solid var(--border-medium);
    position: relative;
    min-height: 140px;
}

.wizard-steps-track {
    display: flex;
    position: relative;
    padding: 0;
    min-height: 140px;
    align-items: center;
}

.wizard-step-connector {
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-medium);
    z-index: 0;
}

.wizard-tab.modern-tab {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 2.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    min-height: 140px;
}

.wizard-tab.modern-tab:hover {
    background: rgba(59, 130, 246, 0.03);
}

.wizard-tab.modern-tab.active {
    border-bottom-color: var(--primary-color);
    background: white;
}

.tab-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s;
    position: relative;
}

.wizard-tab.active .tab-number {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.wizard-tab.completed .tab-number {
    background: var(--success-green);
    color: white;
}

.tab-number span {
    display: block;
}

.tab-number .check-icon {
    display: none;
    width: 20px;
    height: 20px;
}

.wizard-tab.completed .tab-number span {
    display: none;
}

.wizard-tab.completed .tab-number .check-icon {
    display: block;
}

.tab-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.tab-label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    transition: color 0.3s;
    line-height: 1.4;
}

.tab-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
    max-width: 140px;
}

.wizard-tab.active .tab-label {
    color: var(--primary-color);
}

/* Step Content */
.modern-step {
    padding: 2rem 2.5rem;
}

.step-content {
    max-width: 100%;
}

/* Modal Body com Scroll */
.modern-wizard .modal-body {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(90vh - 280px);
    flex: 1;
    padding: 0;
}

/* Scrollbar personalizada */
.modern-wizard .modal-body::-webkit-scrollbar {
    width: 8px;
}

.modern-wizard .modal-body::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.modern-wizard .modal-body::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

.modern-wizard .modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

.step-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.step-main-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 0 2rem;
}

/* Form Groups Modernos */
.form-group.modern-input {
    margin-bottom: 1.5rem;
}

.modern-label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.label-text {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.label-required {
    color: var(--danger-red);
    font-weight: 700;
}

.label-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.08);
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
    cursor: help;
    transition: all 0.25s ease;
}

.label-hint:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.label-hint i {
    font-size: 0.875rem;
}

.field-description {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.625rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 3px solid var(--primary-color);
    border-radius: 6px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.field-description i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.field-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.modern-field {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-medium);
    border-radius: 10px;
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: white;
    transition: all 0.2s;
    font-family: inherit;
}

.modern-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.modern-field::placeholder {
    color: var(--text-tertiary);
}

textarea.modern-field {
    resize: vertical;
    min-height: 100px;
}

.field-hint {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.input-with-icon .modern-field {
    padding-left: 2.75rem;
}

.input-with-icon .input-icon + .modern-field {
    padding-left: 3rem;
}

/* Choice Cards Modernos */
.choice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.choice-card.modern-choice {
    position: relative;
    padding: 1.5rem;
    border: 2px solid var(--border-medium);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.choice-card.modern-choice:hover {
    border-color: var(--primary-light);
    background: rgba(59, 130, 246, 0.02);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.choice-card.modern-choice.active {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.choice-check {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}

.choice-card.modern-choice.active .choice-check {
    opacity: 1;
    background: var(--primary-color);
}

.choice-check svg {
    stroke: white;
}

.choice-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--text-secondary);
    transition: stroke 0.3s;
}

.choice-card.modern-choice.active .choice-icon svg {
    stroke: var(--primary-color);
}

.choice-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.choice-label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    text-align: center;
}

.choice-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Toggle Box Moderno */
.modern-toggle-box {
    background: var(--bg-secondary);
    border: 2px solid var(--border-medium);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.modern-toggle-box:hover {
    border-color: var(--border-medium);
    background: white;
}

.modern-toggle-box.premium-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #fbbf24;
}

.modern-toggle-box.sold-box {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #f87171;
}

.modern-toggle-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.toggle-indicator {
    width: 48px;
    height: 28px;
    background: var(--gray-300);
    border-radius: 14px;
    position: relative;
    transition: all 0.3s;
    flex-shrink: 0;
}

.toggle-indicator::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modern-checkbox:checked + .toggle-indicator {
    background: var(--primary-color);
}

.modern-checkbox:checked + .toggle-indicator::after {
    transform: translateX(20px);
}

.modern-checkbox {
    display: none;
}

.toggle-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.toggle-title {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-title svg {
    width: 18px;
    height: 18px;
}

.toggle-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0 1.5rem;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-medium);
}

.divider-text {
    padding: 0 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Grid Modern */
.form-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-grid-modern.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Upload Zone Moderno */
.upload-zone.modern-upload {
    border: 2px dashed var(--border-medium);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--bg-secondary);
    margin-bottom: 1.5rem;
}

.upload-zone.modern-upload:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.03);
}

.upload-icon {
    margin-bottom: 1rem;
}

.upload-icon svg {
    stroke: var(--primary-color);
}

.upload-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.upload-text strong {
    font-size: 1rem;
    color: var(--text-primary);
}

.upload-text span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.upload-hint svg {
    width: 16px;
    height: 16px;
}

/* Input with Button */
.input-with-button {
    display: flex;
    gap: 0.75rem;
}

.input-with-button .modern-field {
    flex: 1;
}

.btn-modern {
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    white-space: nowrap;
}

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

.btn-modern.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-modern.btn-secondary {
    background: var(--gray-200);
    color: var(--text-primary);
}

.btn-modern.btn-secondary:hover {
    background: var(--gray-300);
}

.btn-modern.btn-outline {
    background: transparent;
    border: 2px solid var(--border-medium);
    color: var(--text-primary);
}

.btn-modern.btn-outline:hover {
    border-color: var(--gray-400);
    background: var(--bg-secondary);
}

.btn-modern.btn-text {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.875rem 1rem;
}

.btn-modern.btn-text:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

.btn-modern.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Amenities Grid */
.modern-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.amenity-item.modern-amenity {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--border-medium);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.amenity-item.modern-amenity:hover {
    border-color: var(--primary-light);
    background: rgba(59, 130, 246, 0.02);
}

.amenity-item.modern-amenity input[type="checkbox"] {
    display: none;
}

.amenity-item.modern-amenity input:checked + .amenity-check {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.amenity-item.modern-amenity input:checked ~ .amenity-text {
    color: var(--primary-color);
    font-weight: 600;
}

.amenity-item.modern-amenity input:checked ~ .amenity-icon svg {
    stroke: var(--primary-color);
}

.amenity-check {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    transition: all 0.3s;
    flex-shrink: 0;
}

.amenity-check svg {
    stroke: white;
    opacity: 0;
    transition: opacity 0.2s;
}

.amenity-item.modern-amenity input:checked + .amenity-check svg {
    opacity: 1;
}

.amenity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.amenity-icon svg,
.amenity-icon i {
    stroke: var(--text-secondary);
    transition: stroke 0.3s;
}

/* Estilo específico para ícones Lucide */
.amenity-icon i {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.amenity-item.modern-amenity input:checked ~ .amenity-icon i {
    color: var(--primary-color);
}

.amenity-text {
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: all 0.3s;
}

.modern-quick-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modern-quick-options .modern-amenity {
    grid-column: 1 / -1;
}

/* Modal Footer Moderno */
.modal-footer.modern-footer {
    padding: 1.5rem 2.5rem;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-medium);
}

.footer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-right {
    display: flex;
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content.modern-wizard {
        max-width: 100%;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .modern-wizard .modal-body {
        max-height: calc(100vh - 300px);
    }

    .modern-header {
        padding: 1.25rem 1rem;
    }

    .header-icon {
        width: 44px;
        height: 44px;
    }

    .header-icon svg {
        width: 24px;
        height: 24px;
    }

    .header-text h3 {
        font-size: 1.125rem;
    }

    .header-subtitle {
        font-size: 0.75rem;
    }

    .modern-step {
        padding: 1.25rem 1rem;
    }

    .wizard-tab.modern-tab {
        padding: 0.875rem 0.375rem;
        font-size: 0.75rem;
    }

    .tab-number {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .tab-label {
        font-size: 0.75rem;
    }

    .tab-desc {
        display: none;
    }

    .step-badge {
        font-size: 0.65rem;
        padding: 0.375rem 0.75rem;
    }

    .step-main-title {
        font-size: 1.375rem;
    }

    .step-description {
        font-size: 0.875rem;
    }

    .form-grid-modern,
    .form-grid-modern.grid-3 {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .choice-cards {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .choice-card.modern-choice {
        padding: 1.25rem;
    }

    .modern-amenities-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .amenity-item.modern-amenity {
        padding: 0.875rem;
    }

    .upload-zone.modern-upload {
        padding: 2rem 1rem;
    }

    .modal-footer.modern-footer {
        padding: 1rem;
    }

    .footer-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-right {
        width: 100%;
        flex-direction: column;
    }

    .btn-modern {
        width: 100%;
    }

    /* Ajuste para telas muito pequenas */
    .input-with-icon .modern-field {
        font-size: 0.875rem;
        padding: 0.75rem 1rem 0.75rem 2.5rem;
    }

    .modern-label {
        font-size: 0.8125rem;
    }

    .section-divider {
        margin: 1.5rem 0 1rem;
    }

    .divider-text {
        font-size: 0.75rem;
    }
}

/* Tablet - Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .modal-content.modern-wizard {
        max-width: 85%;
        max-height: 90vh;
    }

    .modern-wizard .modal-body {
        max-height: calc(90vh - 260px);
    }

    .form-grid-modern.grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .modern-amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Ajustes para telas muito pequenas (< 480px) */
@media (max-width: 480px) {
    .modern-header {
        padding: 1rem 0.875rem;
    }

    .header-icon {
        width: 40px;
        height: 40px;
    }

    .header-icon svg {
        width: 22px;
        height: 22px;
    }

    .header-text h3 {
        font-size: 1rem;
    }

    .modern-close {
        width: 36px;
        height: 36px;
    }

    .modern-step {
        padding: 1rem 0.875rem;
    }

    .wizard-tab.modern-tab {
        padding: 0.75rem 0.25rem;
    }

    .tab-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .tab-label {
        font-size: 0.6875rem;
    }

    .step-main-title {
        font-size: 1.125rem;
    }

    .choice-card.modern-choice {
        padding: 1rem;
    }

    .choice-icon svg {
        width: 28px;
        height: 28px;
    }

    .modern-wizard .modal-body {
        max-height: calc(100vh - 320px);
    }

    /* Responsive Settings Tabs */
    .settings-tabs {
        gap: 0;
        padding: var(--spacing-sm) var(--spacing-sm) 0;
    }

    .settings-tab {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.8125rem;
        flex: 1;
        min-width: 0;
    }

    .settings-tab span {
        display: none;
    }

    .settings-tab i {
        margin: 0;
        font-size: 1.25rem;
    }

    .settings-tab-content {
        padding: var(--spacing-lg);
    }

    .tracking-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tracking-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .info-box {
        flex-direction: column;
    }

    .info-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Tablet - mostrar ícone + texto nas abas */
@media (min-width: 481px) and (max-width: 768px) {
    .settings-tabs {
        padding: var(--spacing-md) var(--spacing-md) 0;
    }

    .settings-tab {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 0.875rem;
    }

    .settings-tab span {
        display: inline;
    }

    .settings-tab i {
        font-size: 1rem;
    }
}

/* === RESPONSIVIDADE PARA FILTROS === */
@media (max-width: 768px) {
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    .filters-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .filters-container {
        padding: 1rem;
    }
    
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) and (max-width: 1366px) {
    .filters-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Fim dos estilos de ranges */

/* ============================================
   MODAL DE CONFIRMAÇÃO DE EXCLUSÃO
   ============================================ */

#deleteConfirmModal {
    display: none;
    align-items: center;
    justify-content: center;
}

#deleteConfirmModal .modal-content {
    width: clamp(280px, 88vw, 420px);
    margin: 0 auto;
    padding: 28px 32px;
    border-radius: 18px;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

#deleteConfirmModal .delete-confirm-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(248, 113, 113, 0.16);
    color: #b91c1c;
    display: flex;
    align-items: center;
    justify-content: center;
}

#deleteConfirmModal h3 {
    font-size: 1.35rem;
    color: #111827;
    margin: 0;
    font-weight: 700;
}

#deleteConfirmModal p {
    margin: 0;
    color: #4b5563;
    font-size: 0.96rem;
    line-height: 1.6;
}

#deleteConfirmModal .delete-confirm-actions {
    display: flex;
    gap: 14px;
    width: 100%;
}

#deleteConfirmModal .delete-confirm-btn {
    flex: 1;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

#deleteConfirmModal .delete-confirm-btn.cancel {
    background: #f3f4f6;
    color: #1f2937;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

#deleteConfirmModal .delete-confirm-btn.cancel:hover {
    filter: brightness(0.97);
}

#deleteConfirmModal .delete-confirm-btn.danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(239, 68, 68, 0.3);
}

#deleteConfirmModal .delete-confirm-btn.danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.35);
}

#deleteConfirmModal .delete-confirm-btn:focus {
    outline: 3px solid rgba(239, 68, 68, 0.25);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    #deleteConfirmModal .modal-content {
        padding: 24px;
        gap: 16px;
    }

    #deleteConfirmModal .delete-confirm-actions {
        flex-direction: column;
    }

    #deleteConfirmModal .delete-confirm-btn {
        width: 100%;
    }
}

/* ============================================
   NOTIFICAÇÃO CENTRAL
   ============================================ */

.center-notification-container {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1100;
    padding: 24px;
}

.center-notification {
    min-width: clamp(220px, 40vw, 320px);
    padding: 18px 26px;
    border-radius: 14px;
    background: rgba(17, 24, 39, 0.88);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(6px);
    pointer-events: none;
}

.center-notification.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.center-notification.hide {
    opacity: 0;
    transform: translateY(-6px) scale(0.96);
}

.center-notification.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95), rgba(5, 150, 105, 0.95));
}

.center-notification.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(220, 38, 38, 0.95));
}

.center-notification.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(37, 99, 235, 0.95));
}

.center-notification::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.18);
    pointer-events: none;
}

@media (max-width: 480px) {
    .center-notification-container {
        padding: 16px;
    }

    .center-notification {
        width: 100%;
        min-width: unset;
        font-size: 0.95rem;
        padding: 16px 20px;
    }
    
    /* Responsividade do Login */
    .login-container {
        padding: 1rem;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .login-header h1 {
        font-size: 1.5rem;
    }
    
    .login-logo img {
        max-width: 220px !important;
    }
    
    .form-group input {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .login-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .header-actions {
        display: none;
    }

    .header-container {
        padding: 1rem 1.5rem;
    }

    .mobile-actions {
        display: block;
    }

    .nav-tabs {
        justify-content: center;
    }
}
