:root {
    /* Color Palette - Premium Nature Theme */
    --primary: #65a30d;
    --primary-dark: #3f6212;
    --primary-light: #bef264;
    --secondary: #475569;
    --accent: #facc15;

    /* Backgrounds */
    --bg-gradient-start: #f7fee7;
    --bg-gradient-end: #ecfccb;
    --surface: rgba(255, 255, 255, 0.8);
    --surface-glass: rgba(255, 255, 255, 0.6);

    /* Text */
    --text-main: #1a2e05;
    --text-secondary: #4d7c0f;
    --text-light: #84cc16;

    /* Borders */
    --border: rgba(132, 204, 22, 0.2);
    --border-light: rgba(255, 255, 255, 0.5);

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(101, 163, 13, 0.05);
    --shadow-md: 0 8px 16px rgba(101, 163, 13, 0.1);
    --shadow-lg: 0 16px 32px rgba(101, 163, 13, 0.15);
    --shadow-glow: 0 0 40px rgba(132, 204, 22, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    background-attachment: fixed;
}

/* Layout */
.app-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: var(--spacing-2xl);
}

/* Header */
.main-header {
    padding: var(--spacing-lg) 0;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 254, 231, 0.8);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    font-size: 2rem;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

.main-nav a:hover {
    color: var(--primary-dark);
}

.main-nav a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.mobile-auth-buttons {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    transition: var(--transition-normal);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-dark);
    color: var(--primary-dark);
}

.btn-outline:hover {
    background-color: var(--primary-dark);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-wrapper {
    position: relative;
}

#prompt-input {
    width: 100%;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
    font-family: inherit;
    font-size: 1.1rem;
    min-height: 140px;
    resize: none;
    outline: none;
    transition: var(--transition-normal);
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--text-main);
}

#prompt-input:focus {
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.1);
}

#prompt-input::placeholder {
    color: #94a3b8;
}

.search-btn {
    align-self: flex-end;
    padding: 1rem 3rem;
    font-size: 1rem;
}

/* Results View */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.results-header h2 {
    font-size: 1.75rem;
    color: var(--text-main);
    font-weight: 700;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}

/* Property Card */
.card {
    background-color: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition-normal);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
    color: #9ca3af;
    font-weight: 600;
}

.card-price {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.card-meta {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-condition {
    background: var(--primary);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-meta .premium-badge {
    position: static;
    top: auto;
    right: auto;
    margin-left: auto;
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%);
    color: white;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.3);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-stats {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 0.5rem;
    background: rgba(255, 255, 255, 0.5);
}

.stat-item.bordered {
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.card-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.amenity-tag {
    background: var(--bg-gradient-start);
    color: var(--primary-dark);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border);
    margin-top: 0.25rem;
}

.amenity-more {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* AI Insights */
#ai-insights {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.insight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.insight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.insight-label {
    color: var(--primary-dark);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.insight-text {
    color: var(--text-main);
    margin: 0;
    line-height: 1.6;
}

/* Clarification UI */
.clarification-container {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.clarification-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.clarification-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.clarification-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 0.5rem 0;
}

.clarification-reasoning {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.questions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.question-card {
    background: rgba(25, 255, 255, 0.5);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.question-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.question-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.option-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--border);
    background: white;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: inherit;
}

.option-btn:hover {
    border-color: var(--primary);
    background: var(--bg-gradient-start);
    transform: translateY(-2px);
}

.option-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.question-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition-normal);
}

.question-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(132, 204, 22, 0.1);
}

.submit-answers-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        /* Keep logo and burger in row */
        justify-content: space-between;
        padding: 0 1rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .auth-buttons.desktop-only {
        display: none;
    }

    .main-nav {
        display: flex;
        /* Changed from none to flex for mobile menu */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 2rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 99;
        align-items: flex-start;
        /* Align items to start */
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .main-nav a {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-light);
    }

    .mobile-auth-buttons {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .properties-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   DETAIL PAGE STYLES
   ======================================== */

.detail-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 var(--spacing-md);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: var(--transition-fast);
}

.back-button:hover {
    gap: 0.75rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.floating-back-button {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    box-shadow: 0 12px 25px rgba(67, 160, 71, 0.35);
    cursor: pointer;
    font-weight: 600;
    z-index: 220;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-back-button .icon {
    font-size: 1.1rem;
}

.floating-back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(67, 160, 71, 0.4);
}

@media (max-width: 640px) {
    .floating-back-button {
        left: 1rem;
        right: 1rem;
        bottom: 1.5rem;
        justify-content: center;
        padding: 0.85rem 1.2rem;
        font-size: 0.95rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }
}

/* ========================================
   PREMIUM FORM STYLES
   ======================================== */
.premium-wrapper {
    max-width: 1100px;
    margin: 2rem auto 4rem;
    padding: 0 var(--spacing-md);
}

.premium-hero {
    display: flex;
    gap: 2rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.premium-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.premium-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.premium-subtitle {
    color: var(--text-secondary);
    line-height: 1.6;
}

.premium-highlight {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    min-width: 280px;
}

.premium-highlight h3 {
    margin-top: 0;
}

.premium-highlight ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
}

.premium-form-section {
    background: white;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.listing-history {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.75rem;
    background: rgba(249, 250, 251, 0.9);
    margin-bottom: 2rem;
}

.history-header {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.history-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
    font-weight: 700;
}

.history-header h3 {
    margin: 0;
}

.history-empty {
    border: 1px dashed var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-secondary);
    margin-top: 1rem;
}

.history-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.history-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.history-card__header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.history-card__header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.history-card__header p {
    margin: 0.25rem 0 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.history-card__date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.history-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.history-card__meta span {
    background: var(--bg-gradient-start);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--border);
    font-weight: 600;
    color: var(--text-secondary);
}

.history-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.history-delete {
    border: none;
    background: transparent;
    color: #dc2626;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.premium-locked-card {
    border: 1px dashed rgba(239, 68, 68, 0.4);
    background: rgba(254, 226, 226, 0.6);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.premium-locked-card .locked-actions {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.premium-form.hidden {
    display: none;
}

.premium-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.form-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.premium-status-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.premium-status-text.success {
    color: var(--success, #16a34a);
}

.premium-status-text.error {
    color: var(--danger, #dc2626);
}

@media (max-width: 992px) {
    .premium-hero {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .premium-form-grid {
        grid-template-columns: 1fr;
    }

    .premium-form-section {
        padding: 1.5rem;
    }

    .history-header {
        flex-direction: column;
    }

    .history-card__header {
        flex-direction: column;
    }
}

/* Slider Styles */
.image-gallery {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    position: relative;
    height: 400px;
}

.slider-container {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-main);
    transition: var(--transition-fast);
    z-index: 2;
}

.slider-btn:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.prev-btn {
    left: 1rem;
}

.next-btn {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.detail-header {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.detail-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.detail-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-box {
    background: rgba(132, 204, 22, 0.05);
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    border: 1px solid var(--border);
}

.stat-box-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-box-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.detail-section {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(132, 204, 22, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.facility-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.price-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.price-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.price-period {
    font-size: 1rem;
    opacity: 0.9;
}

.contact-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.contact-button {
    width: 100%;
    padding: 1rem;
    background: #25D366;
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-button:hover {
    background: #20BA5A;
    transform: translateY(-2px);
}

.share-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.share-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.share-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.share-btn {
    padding: 0.75rem;
    border: 2px solid var(--border);
    background: white;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.share-btn.whatsapp {
    border-color: #25D366;
    color: #25D366;
}

.share-btn.whatsapp:hover {
    background: #25D366;
    color: white;
}

.share-btn.facebook {
    border-color: #1877F2;
    color: #1877F2;
}

.share-btn.facebook:hover {
    background: #1877F2;
    color: white;
}

.share-btn.twitter {
    border-color: #1DA1F2;
    color: #1DA1F2;
}

.share-btn.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.share-btn.copy {
    border-color: var(--primary);
    color: var(--primary);
}

.share-btn.copy:hover {
    background: var(--primary);
    color: white;
}

#map-container {
    height: 300px;
    width: 100%;
    border-radius: var(--radius-lg);
    z-index: 1;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

/* Map container wrapper styling */
/* Map container styling */
#map-container {
    height: 300px;
    width: 100%;
    border-radius: var(--radius-lg);
    z-index: 1;
    box-sizing: border-box;
}

/* Specific selector for map section in detail page */
.detail-sidebar>div:nth-last-of-type(2) {
    padding: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
}

/* Adjust spacing when map section is hidden */
.detail-sidebar .contact-card:last-child,
.detail-sidebar .share-card:last-child {
    margin-bottom: 0;
}

#map-container {
    height: 300px;
    width: 100%;
    border-radius: var(--radius-lg);
    z-index: 1;
    box-sizing: border-box;
}

/* Ensure map section has proper spacing */
.detail-section:last-of-type {
    margin-bottom: 0;
}

/* Detail Page Responsive */
@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }

    .detail-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

/* Premium Card Styling */
.card-premium {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #fbbf24;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.card-premium:hover {
    box-shadow: 0 8px 24px rgba(251, 191, 36, 0.3);
}

.advertising-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    z-index: 10;
}

/* Mobile Auth Buttons Fix */
@media (max-width: 768px) {
    .mobile-auth-buttons {
        display: flex !important;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
    }

    .mobile-auth-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

.hidden {
    display: none !important;
}