/* ============================================
   StayViable - Farmhouse Rental Platform
   Mobile-First Design (Airbnb Style)
   ============================================ */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #111827;
    --gold: #D4AF37;
    --gold-light: #F3E5AB;
    --bg: #ffffff;
    --bg-warm: #FFFBF0;
    --surface: #F9FAFB;
    --text: #111827;
    --text-secondary: #6B7280;
    --text-muted: #9CA3AF;
    --danger: #EF4444;
    --success: #10B981;
    --warning: #F59E0B;
    --radius: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; outline: none; }
img { max-width: 100%; display: block; }

main {
    padding-bottom: 80px; /* Space for bottom nav */
    min-height: calc(100vh - 60px);
}

.font-playfair { font-family: 'Playfair Display', Georgia, serif; }
.font-inter { font-family: 'Inter', sans-serif; }

/* ============================================
   SCROLLBAR HIDE
   ============================================ */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar { display: none; }

/* ============================================
   SITE HEADER
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4ADE80, #22c55e);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.logo-text {
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
}

/* Header Search */
.header-search {
    display: none;
    align-items: center;
    background: var(--surface);
    border-radius: var(--radius-full);
    padding: 8px 8px 8px 16px;
    gap: 8px;
    flex: 1;
    max-width: 400px;
    box-shadow: var(--shadow);
}

.header-search .search-icon { color: var(--gold); font-size: 14px; }

.header-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text);
}

.header-search input::placeholder { color: var(--text-muted); }

.search-btn {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.search-btn:hover { transform: scale(1.03); box-shadow: var(--shadow); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.2s;
}

.header-icon-btn:hover { background: var(--surface); color: var(--gold); }

.header-menu-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.header-login-btn {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    padding: 8px 14px;
}

.header-register-btn {
    font-size: 13px;
    font-weight: 500;
    color: white;
    background: var(--primary);
    padding: 8px 18px;
    border-radius: var(--radius-full);
}

/* User Dropdown */
.user-dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 200;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.dropdown-name { font-size: 14px; font-weight: 600; color: var(--text); }
.dropdown-email { font-size: 12px; color: var(--text-muted); }

.dropdown-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text);
    transition: background 0.15s;
}

.dropdown-links a:hover { background: var(--surface); }
.dropdown-links a i { font-size: 14px; color: var(--text-secondary); width: 16px; }
.dropdown-links hr { margin: 4px 12px; border: none; border-top: 1px solid #f0f0f0; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    text-align: center;
    padding: 24px 20px 32px;
}

.hero-subtitle {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 14px 0;
}

.hero-divider .line {
    width: 48px;
    height: 1px;
    background: #d1d5db;
}

.hero-divider .diamond {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--text);
    letter-spacing: -0.02em;
}

.hero-title .italic-gold {
    font-style: italic;
    color: var(--gold);
}

.hero-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 12px;
    line-height: 1.6;
}

/* Hero Search */
.hero-search {
    display: flex;
    align-items: center;
    background: var(--surface);
    border-radius: var(--radius-full);
    padding: 6px 6px 6px 16px;
    margin-top: 24px;
    box-shadow: var(--shadow-lg);
    gap: 8px;
}

.hero-search .search-icon { color: var(--gold); font-size: 14px; flex-shrink: 0; }

.hero-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--text);
}

.hero-search input::placeholder { color: var(--text-muted); }

.hero-search .search-btn {
    padding: 10px 24px;
    font-size: 14px;
}

/* ============================================
   TRUST INDICATORS
   ============================================ */
.trust-section {
    display: flex;
    justify-content: space-around;
    padding: 24px 16px;
    gap: 8px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.trust-item i {
    font-size: 22px;
    color: var(--gold);
}

.trust-item span {
    font-size: 11px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.3;
    white-space: pre-line;
}

/* ============================================
   PROPERTY CARDS
   ============================================ */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
}

.section-viewall {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.section-viewall:hover { color: var(--gold); }

/* Horizontal Scroll */
.horizontal-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 0 20px 16px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
}

.horizontal-scroll::-webkit-scrollbar { display: none; }

/* Property Card */
.property-card {
    flex: 0 0 280px;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    scroll-snap-align: start;
    transition: all 0.25s;
    cursor: pointer;
}

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

.property-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.property-badge i { color: var(--gold); font-size: 10px; }

.property-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s;
    z-index: 2;
}

.property-wishlist:hover { background: white; color: #EF4444; }
.property-wishlist.active { color: #EF4444; }
.property-wishlist.active i { font-weight: 900; }

.property-info { padding: 14px; }

.property-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.property-location i { font-size: 10px; }

.property-price {
    margin-top: 8px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.property-price .amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.property-price .unit {
    font-size: 12px;
    color: var(--text-muted);
}

/* Property Type Tag */
.property-type {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   GRID LAYOUT
   ============================================ */
.property-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 20px;
}

.property-grid .property-card { flex: none; width: 100%; }

/* ============================================
   LIST YOUR PROPERTY CTA
   ============================================ */
.list-property-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 20px;
    margin: 24px 20px;
    border: 1px solid #f0f0f0;
}

.list-property-cta .cta-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 22px;
    flex-shrink: 0;
}

.list-property-cta .cta-text h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.list-property-cta .cta-text p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.list-property-cta .cta-btn {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
}

.list-property-cta .cta-btn:hover { transform: scale(1.03); }

/* ============================================
   FEATURED SECTION
   ============================================ */
.featured-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/10;
    margin: 0 20px;
    cursor: pointer;
}

.featured-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.featured-overlay h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
}

.featured-overlay .location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.featured-overlay .price {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-top: 6px;
}

.featured-overlay .price span {
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
}

/* ============================================
   BOTTOM NAVIGATION
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-around;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 100;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.04);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 20px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 500;
    transition: all 0.2s;
}

.bottom-nav-item i { font-size: 20px; transition: all 0.2s; }

.bottom-nav-item.active { color: var(--gold); }
.bottom-nav-item.active i { font-weight: 900; }

.bottom-nav-item:hover:not(.active) { color: var(--text-secondary); }

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
/* Floating Contact Buttons */
.float-btns {
    position: fixed;
    bottom: 80px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}
.float-call, .float-wa {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
    transition: all 0.2s;
    text-decoration: none;
}
.float-call {
    background: #1e293b;
}
.float-wa {
    background: #25D366;
    animation: pulse 2s infinite;
}
.float-call:hover { transform: scale(1.08); box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
.float-wa:hover   { transform: scale(1.08); box-shadow: 0 4px 16px rgba(37,211,102,0.5); }

@keyframes pulse {
    0%, 100% { box-shadow: 0 3px 12px rgba(37,211,102,0.4); }
    50%       { box-shadow: 0 3px 20px rgba(37,211,102,0.7); }
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--primary);
    color: white;
    padding: 40px 20px 20px;
    margin-bottom: 60px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand { margin-bottom: 24px; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
}

.footer-logo i {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #4ADE80, #22c55e);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 6px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.page-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
}

.page-header p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.page-header-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 18px;
    margin-left: -8px;
}

/* ============================================
   FORMS
   ============================================ */
.form-section {
    padding: 24px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group label i { color: var(--gold); font-size: 13px; }

.form-input {
    width: 100%;
    background: var(--surface);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text);
    transition: all 0.2s;
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.form-input::placeholder { color: var(--text-muted); }

textarea.form-input { resize: none; min-height: 100px; }

select.form-input {
    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 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Number Input with +/- */
.number-input {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.number-input button {
    width: 56px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
    transition: background 0.15s;
}

.number-input button:hover { background: #e5e7eb; }

.number-input .value {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

/* Upload Area */
.upload-area {
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--gold);
    background: var(--surface);
}

.upload-area i { font-size: 28px; color: var(--text-muted); margin-bottom: 8px; }

.upload-area p { font-size: 13px; color: var(--text-secondary); }

.upload-area .hint { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--surface);
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.15s;
}

.checkbox-item:hover { border-color: var(--gold); }

.checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--gold);
}

/* Submit Button */
.btn-primary {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 16px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
    display: block;
    text-align: center;
}

.btn-primary:hover { transform: scale(1.01); box-shadow: var(--shadow-lg); }

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-secondary {
    width: 100%;
    background: var(--surface);
    color: var(--text);
    padding: 14px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
    display: block;
    text-align: center;
}

.btn-secondary:hover { background: #e5e7eb; }

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-whatsapp:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

.btn-whatsapp i { font-size: 20px; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--text);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #e5e7eb;
    transition: all 0.2s;
}

.btn-outline:hover { border-color: var(--gold); }

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #FFFBF0 0%, #FFF8E7 100%);
}

.auth-box {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: var(--radius);
    padding: 40px 28px;
    box-shadow: var(--shadow-lg);
}

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo i {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #4ADE80, #22c55e);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 12px;
}

.auth-logo h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    font-weight: 600;
}

.auth-logo p { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.auth-footer a { color: var(--gold); font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px 20px;
}

.stat-card {
    background: var(--surface);
    border-radius: 14px;
    padding: 16px 12px;
    text-align: center;
}

.stat-card .number {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

.stat-card .label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.dashboard-menu {
    padding: 8px 20px 20px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    border-radius: 12px;
    transition: background 0.15s;
    margin-bottom: 2px;
}

.menu-item:hover { background: var(--surface); }

.menu-item i {
    width: 36px;
    height: 36px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.menu-item .menu-text { flex: 1; }

.menu-item .menu-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}

.menu-item .menu-subtitle {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 1px;
}

.menu-item .menu-arrow {
    color: var(--text-muted);
    font-size: 12px;
}

/* ============================================
   PROPERTY DETAIL PAGE
   ============================================ */
.detail-gallery {
    position: relative;
}

.detail-gallery .main-image {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.detail-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 12px;
    box-shadow: var(--shadow);
    z-index: 2;
}

.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }

.gallery-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.gallery-dots button {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: all 0.2s;
}

.gallery-dots button.active {
    background: white;
    width: 20px;
    border-radius: 3px;
}

.detail-content { padding: 20px; }

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.detail-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    flex: 1;
    padding-right: 12px;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--surface);
    padding: 6px 10px;
    border-radius: 8px;
    white-space: nowrap;
}

.detail-rating i { color: var(--gold); font-size: 12px; }
.detail-rating span { font-size: 14px; font-weight: 600; }

.detail-meta {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-top: 12px;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.detail-meta-item i { font-size: 16px; color: var(--text-muted); }

.detail-section {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-section:last-child { border-bottom: none; }

.detail-section h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.detail-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.amenity-item i {
    width: 28px;
    text-align: center;
    color: var(--text-muted);
}

/* Host Card */
.host-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--surface);
    border-radius: 14px;
}

.host-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.host-name { font-size: 15px; font-weight: 600; }
.host-since { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* Sticky Price Bar */
.sticky-bar {
    position: fixed;
    bottom: 65px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #f0f0f0;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 80;
}

.sticky-bar .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.sticky-bar .price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

/* ============================================
   SEARCH PAGE
   ============================================ */
.search-filters {
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid #f0f0f0;
}

.search-filters::-webkit-scrollbar { display: none; }

.filter-chip {
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
    background: var(--surface);
    color: var(--text-secondary);
}

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

.filter-chip:hover:not(.active) { background: #e5e7eb; }

.results-count {
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   BOOKINGS
   ============================================ */
.booking-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid #f0f0f0;
    overflow: hidden;
    margin-bottom: 16px;
}

.booking-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

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

.booking-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.status-confirmed { background: #dcfce7; color: #166534; }
.status-pending { background: #fef3c7; color: #92400e; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

.booking-info { padding: 16px; }

.booking-info h3 {
    font-size: 16px;
    font-weight: 600;
}

.booking-dates {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-secondary);
}

.booking-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.booking-balance {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--surface);
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 10px;
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.empty-state i {
    width: 64px;
    height: 64px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-state h3 { font-size: 18px; font-weight: 600; color: var(--text); }
.empty-state p { font-size: 14px; color: var(--text-muted); margin-top: 6px; }

/* ============================================
   WISHLIST HEART
   ============================================ */
.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 2;
    transition: all 0.2s;
}

.wishlist-btn:hover { background: white; }

.wishlist-btn i { font-size: 14px; color: var(--text-secondary); }
.wishlist-btn.saved i { color: #EF4444; }
.wishlist-btn.saved i::before { content: '\f004'; font-weight: 900; }

/* ============================================
   WHATSAPP BUTTON ON DETAIL PAGE
   ============================================ */
.whatsapp-booking {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 16px;
    margin-top: 16px;
}

.whatsapp-booking i {
    font-size: 32px;
    color: #25D366;
}

.whatsapp-booking .whatsapp-text { flex: 1; }
.whatsapp-booking .whatsapp-text h4 { font-size: 14px; font-weight: 600; }
.whatsapp-booking .whatsapp-text p { font-size: 12px; color: var(--text-secondary); }

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-header {
    background: var(--primary);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-header h1 { font-size: 18px; font-weight: 600; }

.admin-nav {
    display: flex;
    gap: 4px;
    padding: 8px 12px;
    overflow-x: auto;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.admin-nav a {
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-secondary);
    transition: all 0.15s;
}

.admin-nav a:hover, .admin-nav a.active {
    background: var(--primary);
    color: white;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
}

.admin-stat {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.admin-stat .number { font-size: 28px; font-weight: 700; color: var(--text); }
.admin-stat .label { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

/* Table */
.admin-table-container {
    padding: 16px;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th {
    background: var(--surface);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.admin-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-secondary);
    vertical-align: middle;
}

.admin-table tr:hover td { background: var(--surface); }

.table-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

/* Status Badge */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.badge-pending { background: #fef3c7; color: #92400e; }
.badge-approved { background: #dcfce7; color: #166534; }
.badge-rejected { background: #fee2e2; color: #991b1b; }

/* Action Buttons */
.btn-sm {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.15s;
}

.btn-edit { background: #eff6ff; color: #1d4ed8; }
.btn-edit:hover { background: #dbeafe; }
.btn-delete { background: #fee2e2; color: #dc2626; }
.btn-delete:hover { background: #fecaca; }
.btn-approve { background: #dcfce7; color: #166534; }
.btn-approve:hover { background: #bbf7d0; }

/* ============================================
   PRICE BREAKDOWN
   ============================================ */
.price-box {
    background: var(--surface);
    border-radius: 14px;
    padding: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 6px 0;
}

.price-row .label { color: var(--text-secondary); }
.price-row .value { color: var(--text); font-weight: 500; }

.price-row.highlight {
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
    padding-top: 12px;
    font-weight: 600;
}

.price-row.highlight .value { color: var(--gold); font-size: 16px; }

.price-row.total {
    border-top: 2px solid #e5e7eb;
    margin-top: 8px;
    padding-top: 12px;
    font-size: 16px;
    font-weight: 700;
}

/* ============================================
   PAYMENT OPTION
   ============================================ */
.payment-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--primary);
    color: white;
    border-radius: 14px;
}

.payment-option .radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.payment-option .radio .dot {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
}

.payment-option .pay-title { font-size: 14px; font-weight: 500; }
.payment-option .pay-subtitle { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */
@media (min-width: 768px) {
    .header-search { display: flex; }
    .hero-title { font-size: 52px; }
    .property-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-links { grid-template-columns: repeat(4, 1fr); }
    .dashboard-stats { max-width: 500px; }
    .checkbox-grid { grid-template-columns: repeat(3, 1fr); }
    .amenities-grid { grid-template-columns: repeat(3, 1fr); }
    .admin-stats { grid-template-columns: repeat(4, 1fr); max-width: 800px; margin: 0 auto; }
}

@media (min-width: 1024px) {
    .property-grid { grid-template-columns: repeat(4, 1fr); max-width: 1200px; margin: 0 auto; }
    .form-section { max-width: 700px; }
    .horizontal-scroll { justify-content: center; }
    .detail-content { max-width: 800px; margin: 0 auto; }
    .page-header { max-width: 1200px; margin: 0 auto; }
    .site-footer .footer-inner { display: flex; gap: 60px; }
    .footer-brand { flex: 0 0 280px; }
    .footer-links { flex: 1; grid-template-columns: repeat(3, 1fr); }
    .booking-results { max-width: 800px; margin: 0 auto; }
    .search-results { max-width: 900px; margin: 0 auto; }
}
