/* ============================================================
   RENTHAM DESIGN SYSTEM v2
   Pan-African Rental Marketplace — Zillow-level beauty
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
    --primary: #10B981;
    --primary-dark: #059669;
    --primary-light: #34D399;
    --primary-50: #ECFDF5;
    --primary-100: #D1FAE5;
    --primary-200: #A7F3D0;
    --secondary: #F59E0B;
    --secondary-dark: #D97706;
    --secondary-light: #FCD34D;
    --accent: #6366F1;
    --accent-light: #818CF8;

    --bg: #FFFFFF;
    --bg-soft: #F8FAFC;
    --bg-muted: #F1F5F9;
    --surface: #FFFFFF;
    --surface-raised: #FFFFFF;
    --border: #E2E8F0;
    --border-light: #F1F5F9;

    --text: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-inverse: #FFFFFF;

    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-glow: 0 0 40px rgba(16,185,129,0.15);

    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --nav-height: 72px;
    --max-width: 1280px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-height);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); background: rgba(255,255,255,0.97); }
.nav-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { flex-shrink: 0; }
.logo-text { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.logo-accent { color: var(--primary); }
.nav-links { display: flex; gap: 4px; }
.nav-link {
    padding: 8px 16px; border-radius: var(--radius-full);
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--primary-50); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-menu-btn span {
    display: block; width: 22px; height: 2px; background: var(--text);
    border-radius: 2px; transition: var(--transition);
}
.mobile-menu {
    position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
    z-index: 999; transform: translateX(100%); transition: var(--transition-slow);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-inner { padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu-inner a {
    padding: 14px 16px; border-radius: var(--radius); font-size: 16px;
    font-weight: 500; transition: var(--transition);
}
.mobile-menu-inner a:hover { background: var(--bg-muted); color: var(--primary); }
.mobile-menu-inner hr { border: none; border-top: 1px solid var(--border); margin: 8px 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; border-radius: var(--radius);
    font-size: 14px; font-weight: 600; white-space: nowrap;
    transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; box-shadow: 0 2px 8px rgba(16,185,129,0.3);
}
.btn-primary:hover {
    transform: translateY(-1px); box-shadow: 0 6px 20px rgba(16,185,129,0.4);
    background: linear-gradient(135deg, var(--primary-dark), #047857);
}
.btn-secondary { background: var(--text); color: white; }
.btn-secondary:hover { background: #1E293B; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-50); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--primary); background: var(--primary-50); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn-loading { position: relative; color: transparent !important; }
.btn-loading::after {
    content: ''; position: absolute; width: 20px; height: 20px;
    border: 2px solid rgba(255,255,255,0.3); border-top-color: white;
    border-radius: 50%; animation: spin 0.6s linear infinite;
}
.btn-danger { background: var(--error); color: white; }
.btn-danger:hover { background: #DC2626; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; letter-spacing: 0.3px; }
.form-input {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-size: 15px; color: var(--text);
    background: var(--bg); transition: var(--transition); outline: none;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16,185,129,0.12); }
.form-input::placeholder { color: var(--text-muted); }
.form-select {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius); font-size: 15px; color: var(--text);
    background: var(--bg); appearance: none; outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center;
    padding-right: 40px; transition: var(--transition);
}
.form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16,185,129,0.12); }
.form-error { font-size: 12px; color: var(--error); margin-top: 4px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; color: var(--text-muted); font-size: 13px; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ============================================================
   CARDS
   ============================================================ */
.card { background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--border-light); overflow: hidden; transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-body { padding: 20px; }
.card-flat { border: 1px solid var(--border); }
.card-flat:hover { box-shadow: var(--shadow-md); }

/* ============================================================
   PROPERTY CARD
   ============================================================ */
.property-card {
    background: var(--surface); border-radius: var(--radius-lg);
    overflow: hidden; transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light); cursor: pointer; position: relative;
}
.property-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); border-color: var(--primary-200); }
.property-card-image { position: relative; height: 220px; overflow: hidden; background: var(--bg-muted); }
.property-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.property-card:hover .property-card-image img { transform: scale(1.08); }
.property-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: var(--radius-full);
    font-size: 11px; font-weight: 700; letter-spacing: 0.3px;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.badge-primary { background: rgba(16,185,129,0.9); color: white; }
.badge-secondary { background: rgba(245,158,11,0.9); color: white; }
.badge-accent { background: rgba(99,102,241,0.9); color: white; }
.badge-dark { background: rgba(15,23,42,0.8); color: white; }
.badge-glass { background: rgba(255,255,255,0.85); color: var(--text); backdrop-filter: blur(8px); }
.property-card-favorite {
    position: absolute; top: 12px; right: 12px;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.85); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition); border: none; cursor: pointer; font-size: 16px;
}
.property-card-favorite:hover { background: white; transform: scale(1.1); }
.property-card-favorite.active { background: var(--error); color: white; }
.property-card-body { padding: 16px 20px 20px; }
.property-card-price { font-size: 22px; font-weight: 800; color: var(--primary-dark); margin-bottom: 4px; }
.property-card-price span { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.property-card-title {
    font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.property-card-location { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.property-card-location svg { flex-shrink: 0; }
.property-card-features { display: flex; gap: 16px; padding-top: 12px; border-top: 1px solid var(--border-light); }
.property-card-feature { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.property-card-feature svg { color: var(--text-muted); }
.property-card-agent { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light); }
.property-card-agent-avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--primary-100); display: flex; align-items: center;
    justify-content: center; font-size: 12px; font-weight: 700; color: var(--primary-dark);
}
.property-card-agent-name { font-size: 12px; color: var(--text-muted); }
.property-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-100), var(--primary-50));
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 48px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative; min-height: 92vh; display: flex; align-items: center;
    padding-top: var(--nav-height); overflow: hidden;
    background: linear-gradient(160deg, #F0FDF4 0%, #ECFDF5 25%, #D1FAE5 50%, #A7F3D0 75%, #6EE7B7 100%);
}
.hero::before {
    content: ''; position: absolute; top: -30%; right: -15%;
    width: 700px; height: 700px; border-radius: 50%;
    background: radial-gradient(circle, rgba(16,185,129,0.12) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}
.hero::after {
    content: ''; position: absolute; bottom: -25%; left: -10%;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
}
.hero-content { max-width: var(--max-width); margin: 0 auto; padding: 60px 24px; position: relative; z-index: 1; width: 100%; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; border-radius: var(--radius-full);
    background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.2);
    font-size: 13px; font-weight: 600; color: var(--primary-dark);
    margin-bottom: 24px; animation: fadeInUp 0.6s ease-out;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: pulse 2s ease-in-out infinite; }
.hero-title {
    font-size: clamp(40px, 6vw, 72px); font-weight: 900;
    line-height: 1.06; letter-spacing: -2.5px; margin-bottom: 20px;
    color: var(--text); animation: fadeInUp 0.6s ease-out 0.1s both;
}
.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #059669 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px); color: var(--text-secondary);
    max-width: 580px; line-height: 1.7; margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* --- Hero Search Bar --- */
.hero-search {
    background: var(--surface); border-radius: var(--radius-xl);
    padding: 8px; box-shadow: var(--shadow-2xl);
    max-width: 720px; animation: fadeInUp 0.6s ease-out 0.3s both;
    border: 1px solid var(--border-light);
}
.hero-search-inner { display: flex; gap: 0; align-items: stretch; }
.hero-search-field { flex: 1; padding: 12px 20px; display: flex; flex-direction: column; border-right: 1px solid var(--border-light); }
.hero-search-field:last-of-type { border-right: none; }
.hero-search-field label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.hero-search-field select, .hero-search-field input { border: none; outline: none; font-size: 15px; font-weight: 500; color: var(--text); background: transparent; width: 100%; padding: 0; }
.hero-search-field select { cursor: pointer; appearance: none; background-image: none; padding-right: 0; }
.hero-search-btn {
    padding: 14px 32px; border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; font-size: 15px; font-weight: 700;
    display: flex; align-items: center; gap: 8px;
    transition: var(--transition); white-space: nowrap; border: none; cursor: pointer;
}
.hero-search-btn:hover { transform: scale(1.03); box-shadow: 0 6px 24px rgba(16,185,129,0.4); }

/* --- Hero Stats --- */
.hero-stats { display: flex; gap: 48px; margin-top: 48px; animation: fadeInUp 0.6s ease-out 0.4s both; }
.hero-stat { text-align: left; }
.hero-stat-number { font-size: 32px; font-weight: 800; color: var(--text); letter-spacing: -1px; }
.hero-stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* --- Hero Countries --- */
.hero-countries { display: flex; align-items: center; gap: 16px; margin-top: 32px; animation: fadeInUp 0.6s ease-out 0.5s both; }
.hero-countries-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.hero-country-flags { display: flex; gap: 8px; }
.hero-country-flag {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; background: white; box-shadow: var(--shadow);
    transition: var(--transition); cursor: pointer; border: 2px solid transparent;
}
.hero-country-flag:hover { transform: scale(1.18); border-color: var(--primary); box-shadow: var(--shadow-lg); }

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section { padding: 80px 24px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .overline { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -1px; color: var(--text); margin-bottom: 12px; }
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

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

/* ============================================================
   EXPLORE / SEARCH PAGE
   ============================================================ */
.explore-page { padding-top: calc(var(--nav-height) + 24px); min-height: 100vh; }
.explore-header { background: linear-gradient(180deg, var(--primary-50) 0%, var(--bg) 100%); padding: 32px 24px 0; }
.explore-header-inner { max-width: var(--max-width); margin: 0 auto; }
.explore-title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 4px; }
.explore-count { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.explore-filters { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 20px; }
.filter-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--radius-full);
    border: 1.5px solid var(--border); font-size: 13px; font-weight: 500;
    color: var(--text-secondary); background: var(--surface);
    transition: var(--transition); cursor: pointer;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { background: var(--primary); color: white; border-color: var(--primary); }
.explore-body { max-width: var(--max-width); margin: 0 auto; padding: 24px; }
.explore-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; }
.filter-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); height: fit-content; max-height: calc(100vh - var(--nav-height) - 48px); overflow-y: auto; }
.filter-section { margin-bottom: 24px; }
.filter-section-title { font-size: 13px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.filter-options { display: flex; flex-direction: column; gap: 4px; }
.filter-option {
    display: flex; align-items: center; gap: 10px; padding: 8px 12px;
    border-radius: var(--radius-sm); transition: var(--transition); cursor: pointer;
}
.filter-option:hover { background: var(--bg-muted); }
.filter-checkbox {
    width: 18px; height: 18px; border: 2px solid var(--border);
    border-radius: 4px; display: flex; align-items: center; justify-content: center;
    transition: var(--transition); flex-shrink: 0;
}
.filter-option.selected .filter-checkbox { background: var(--primary); border-color: var(--primary); }
.filter-option.selected .filter-checkbox::after {
    content: ''; width: 8px; height: 5px; border-left: 2px solid white;
    border-bottom: 2px solid white; transform: rotate(-45deg) translateY(-1px);
}
.filter-label { font-size: 14px; color: var(--text-secondary); }
.filter-count { margin-left: auto; font-size: 12px; color: var(--text-muted); background: var(--bg-muted); padding: 2px 8px; border-radius: var(--radius-full); }
.price-range-inputs { display: flex; gap: 8px; align-items: center; }
.price-range-inputs input { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; outline: none; }
.price-range-inputs input:focus { border-color: var(--primary); }
.price-range-inputs span { color: var(--text-muted); font-size: 14px; }

/* ============================================================
   PROPERTY DETAIL PAGE
   ============================================================ */
.property-page { padding-top: var(--nav-height); }
.property-gallery { position: relative; height: 500px; overflow: hidden; background: var(--bg-muted); }
.property-gallery-main { width: 100%; height: 100%; object-fit: cover; }
.property-gallery-grid {
    position: absolute; bottom: 16px; right: 16px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
    border-radius: var(--radius); overflow: hidden; max-width: 300px;
}
.property-gallery-grid img { width: 80px; height: 60px; object-fit: cover; opacity: 0.7; transition: var(--transition); cursor: pointer; }
.property-gallery-grid img:hover { opacity: 1; }
.gallery-count {
    position: absolute; bottom: 16px; left: 16px;
    padding: 8px 16px; border-radius: var(--radius);
    background: rgba(0,0,0,0.6); color: white; font-size: 13px;
    font-weight: 600; backdrop-filter: blur(8px);
}
.property-detail { max-width: var(--max-width); margin: 0 auto; padding: 32px 24px; display: grid; grid-template-columns: 1fr 400px; gap: 40px; }
.property-sidebar { position: sticky; top: calc(var(--nav-height) + 24px); height: fit-content; }
.property-meta { display: flex; gap: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.property-meta-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-secondary); }
.property-meta-item svg { color: var(--primary); }
.property-title { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; line-height: 1.2; }
.property-location { display: flex; align-items: center; gap: 6px; font-size: 15px; color: var(--text-muted); margin-bottom: 24px; }
.property-section { margin-bottom: 32px; }
.property-section-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.property-description { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
.amenities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.amenity-item { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: var(--bg-muted); border-radius: var(--radius-sm); font-size: 14px; color: var(--text-secondary); }
.amenity-item svg { color: var(--primary); flex-shrink: 0; }
.rules-list { display: flex; flex-direction: column; gap: 8px; }
.rule-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.rule-item::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); margin-top: 7px; flex-shrink: 0; }

/* --- Booking Sidebar Card --- */
.booking-card { background: var(--surface); border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 28px; box-shadow: var(--shadow-lg); }
.booking-price { font-size: 32px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.booking-price span { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.booking-details { margin: 20px 0; }
.booking-detail-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.booking-detail-label { font-size: 14px; color: var(--text-muted); }
.booking-detail-value { font-size: 14px; font-weight: 600; color: var(--text); }
.booking-total { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 0; font-size: 16px; }
.booking-total-label { font-weight: 600; }
.booking-total-value { font-weight: 800; font-size: 20px; color: var(--primary-dark); }
.booking-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.booking-actions .btn { width: 100%; }
.agent-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--bg-muted); border-radius: var(--radius); margin-top: 16px; }
.agent-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-100); display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; color: var(--primary-dark); flex-shrink: 0; }
.agent-info { flex: 1; }
.agent-name { font-size: 14px; font-weight: 600; }
.agent-role { font-size: 12px; color: var(--text-muted); }
.agent-contact-btn { padding: 8px 16px; border-radius: var(--radius-full); background: var(--primary); color: white; font-size: 13px; font-weight: 600; border: none; cursor: pointer; transition: var(--transition); }
.agent-contact-btn:hover { background: var(--primary-dark); }

/* ============================================================
   AUTH PAGE
   ============================================================ */
.auth-page { min-height: 100vh; display: flex; padding-top: var(--nav-height); }
.auth-left { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-right {
    flex: 1; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary-50), var(--primary-100), #D1FAE5);
    position: relative; overflow: hidden;
}
.auth-right::before {
    content: ''; position: absolute; width: 400px; height: 400px;
    border-radius: 50%; background: rgba(16,185,129,0.1);
    top: -100px; right: -100px;
}
.auth-right::after {
    content: ''; position: absolute; width: 300px; height: 300px;
    border-radius: 50%; background: rgba(245,158,11,0.08);
    bottom: -50px; left: -50px;
}
.auth-right-content { position: relative; z-index: 1; text-align: center; padding: 40px; }
.auth-right-content h2 { font-size: 32px; font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; color: var(--text); }
.auth-right-content p { font-size: 16px; color: var(--text-secondary); line-height: 1.6; max-width: 400px; }
.auth-form-container { width: 100%; max-width: 460px; }
.auth-form-header { margin-bottom: 32px; }
.auth-form-header h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.auth-form-header p { font-size: 15px; color: var(--text-muted); }
.auth-tabs { display: flex; gap: 4px; margin-bottom: 28px; background: var(--bg-muted); border-radius: var(--radius); padding: 4px; }
.auth-tab { flex: 1; padding: 10px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--text-muted); text-align: center; transition: var(--transition); cursor: pointer; border: none; background: transparent; }
.auth-tab.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.auth-link { color: var(--primary); font-weight: 600; cursor: pointer; }
.auth-link:hover { text-decoration: underline; }
.auth-footer { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }

/* --- OTP Input --- */
.otp-inputs { display: flex; gap: 10px; justify-content: center; margin: 24px 0; }
.otp-input {
    width: 52px; height: 60px; text-align: center; font-size: 24px;
    font-weight: 700; border: 2px solid var(--border); border-radius: var(--radius);
    outline: none; transition: var(--transition); background: var(--bg);
}
.otp-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16,185,129,0.12); }
.otp-input.filled { border-color: var(--primary); background: var(--primary-50); }

/* --- Role Selector --- */
.role-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.role-option {
    padding: 16px 12px; border: 2px solid var(--border); border-radius: var(--radius);
    text-align: center; cursor: pointer; transition: var(--transition);
}
.role-option:hover { border-color: var(--primary); }
.role-option.selected { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px rgba(16,185,129,0.12); }
.role-option .role-icon { font-size: 28px; margin-bottom: 8px; }
.role-option .role-name { font-size: 13px; font-weight: 600; color: var(--text); }

/* --- Registration Steps --- */
.reg-steps { display: flex; gap: 8px; margin-bottom: 32px; }
.reg-step { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: var(--transition); }
.reg-step.active { background: var(--primary); }
.reg-step.done { background: var(--primary); }
.reg-step-title { text-align: center; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 24px; }
.reg-step-title span { color: var(--primary); }
.step-labels { display: flex; justify-content: space-between; margin-bottom: 8px; }
.step-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.step-label.active { color: var(--primary); }

/* --- Bank Verification Card --- */
.bank-verify-card {
    background: var(--bg-muted); border-radius: var(--radius-lg);
    padding: 20px; margin: 16px 0; border: 1px solid var(--border);
}
.bank-verify-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.bank-verify-icon { width: 40px; height: 40px; border-radius: var(--radius); background: var(--primary-100); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.bank-verify-title { font-size: 15px; font-weight: 700; }
.bank-verify-subtitle { font-size: 12px; color: var(--text-muted); }
.bank-status { display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: var(--radius-sm); margin-top: 12px; font-size: 13px; font-weight: 600; }
.bank-status.verifying { background: #EFF6FF; color: var(--info); }
.bank-status.verified { background: var(--primary-50); color: var(--primary-dark); }
.bank-status.failed { background: #FEF2F2; color: var(--error); }
.bank-status.unavailable { background: #FFFBEB; color: var(--secondary-dark); }

/* --- Avatar Picker --- */
.avatar-picker { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; margin: 12px 0; }
.avatar-option {
    width: 100%; aspect-ratio: 1; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; cursor: pointer; transition: var(--transition);
    border: 2px solid var(--border); background: var(--bg);
}
.avatar-option:hover { border-color: var(--primary); }
.avatar-option.selected { border-color: var(--primary); background: var(--primary-50); box-shadow: 0 0 0 3px rgba(16,185,129,0.12); }

/* --- Password Strength --- */
.password-strength { margin-top: 8px; }
.strength-bars { display: flex; gap: 4px; margin-bottom: 4px; }
.strength-bar { height: 4px; flex: 1; border-radius: 2px; background: var(--border); transition: var(--transition); }
.strength-bar.active.weak { background: var(--error); }
.strength-bar.active.fair { background: var(--secondary); }
.strength-bar.active.good { background: #22C55E; }
.strength-bar.active.strong { background: var(--primary); }
.strength-text { font-size: 12px; color: var(--text-muted); }

/* --- Math Captcha --- */
.math-captcha {
    padding: 24px; border-radius: var(--radius-lg);
    background: var(--bg-muted); border: 2px solid var(--border);
    margin: 20px 0; text-align: center;
}
.math-captcha-label { font-size: 13px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.math-captcha-question { font-size: 28px; font-weight: 800; color: var(--text-primary); margin-bottom: 16px; letter-spacing: 1px; }

/* --- Verification Banner --- */
.verification-banner {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px 20px; border-radius: var(--radius);
    margin-bottom: 20px; font-size: 14px; line-height: 1.5;
}
.verification-banner.warning { background: #fef3c7; border: 1px solid #f59e0b; color: #92400e; }
.verification-banner.info { background: #dbeafe; border: 1px solid #3b82f6; color: #1e40af; }
.verification-banner.success { background: #d1fae5; border: 1px solid #10b981; color: #065f46; }
.verification-banner svg { flex-shrink: 0; margin-top: 2px; }

/* --- Premium Card --- */
.card-premium { position: relative; }

/* ============================================================
   COUNTRIES PAGE
   ============================================================ */
.countries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.country-card {
    padding: 28px; border-radius: var(--radius-xl); border: 1px solid var(--border);
    background: var(--surface); transition: var(--transition); cursor: pointer;
    position: relative; overflow: hidden;
}
.country-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0; transition: var(--transition);
}
.country-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.country-card:hover::before { opacity: 1; }
.country-flag { font-size: 48px; margin-bottom: 16px; }
.country-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.country-currency { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.country-stats { display: flex; gap: 16px; }
.country-stat { font-size: 13px; color: var(--text-secondary); }
.country-stat strong { color: var(--text); }
.country-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 12px; font-weight: 600; }
.country-status.active { color: var(--success); }
.country-status.inactive { color: var(--text-muted); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status-dot.active { background: var(--success); animation: pulse 2s infinite; }
.status-dot.inactive { background: var(--text-muted); }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-page { padding-top: var(--nav-height); min-height: 100vh; }
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - var(--nav-height)); }
.dashboard-sidebar { background: var(--bg-soft); border-right: 1px solid var(--border); padding: 24px 16px; display: flex; flex-direction: column; }
.dashboard-sidebar-header { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 24px; }
.dashboard-user-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary-100); display: flex; align-items: center;
    justify-content: center; font-size: 16px; font-weight: 700;
    color: var(--primary-dark); flex-shrink: 0;
}
.dashboard-user-name { font-size: 14px; font-weight: 600; }
.dashboard-user-role { font-size: 12px; color: var(--text-muted); }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.sidebar-nav-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    border-radius: var(--radius-sm); font-size: 14px; font-weight: 500;
    color: var(--text-secondary); transition: var(--transition); cursor: pointer;
}
.sidebar-nav-item:hover { background: var(--bg-muted); color: var(--text); }
.sidebar-nav-item.active { background: var(--primary-50); color: var(--primary-dark); font-weight: 600; }
.sidebar-nav-item svg { width: 18px; height: 18px; }
.dashboard-content { padding: 32px; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.dashboard-title { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.dashboard-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-light); }
.stat-card-icon {
    width: 44px; height: 44px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.stat-card-icon.green { background: var(--primary-100); color: var(--primary); }
.stat-card-icon.amber { background: #FEF3C7; color: var(--secondary); }
.stat-card-icon.blue { background: #DBEAFE; color: var(--info); }
.stat-card-icon.purple { background: #EDE9FE; color: var(--accent); }
.stat-card-value { font-size: 28px; font-weight: 800; letter-spacing: -1px; }
.stat-card-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.stat-card-change { font-size: 12px; font-weight: 600; margin-top: 8px; }
.stat-card-change.up { color: var(--success); }
.stat-card-change.down { color: var(--error); }

/* ============================================================
   WALLET PAGE
   ============================================================ */
.wallet-balance-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
    border-radius: var(--radius-xl); padding: 32px; color: white;
    margin-bottom: 32px; position: relative; overflow: hidden;
}
.wallet-balance-card::before {
    content: ''; position: absolute; top: -40px; right: -40px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
}
.wallet-balance-card::after {
    content: ''; position: absolute; bottom: -60px; left: -20px;
    width: 160px; height: 160px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.wallet-balance-label { font-size: 14px; opacity: 0.85; font-weight: 500; }
.wallet-balance-amount { font-size: 42px; font-weight: 900; letter-spacing: -2px; margin: 8px 0 4px; }
.wallet-balance-sub { font-size: 13px; opacity: 0.7; }
.wallet-actions { display: flex; gap: 12px; margin-top: 24px; position: relative; z-index: 1; }
.wallet-action-btn {
    padding: 10px 24px; border-radius: var(--radius-lg);
    font-size: 14px; font-weight: 600; transition: var(--transition); cursor: pointer;
    border: 2px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.15);
    color: white; backdrop-filter: blur(8px);
}
.wallet-action-btn:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.5); }
.wallet-action-btn.solid { background: white; color: var(--primary-dark); border-color: white; }
.wallet-action-btn.solid:hover { background: rgba(255,255,255,0.9); }

/* --- Transaction List --- */
.tx-list { display: flex; flex-direction: column; }
.tx-item {
    display: flex; align-items: center; gap: 16px; padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}
.tx-item:last-child { border-bottom: none; }
.tx-icon {
    width: 44px; height: 44px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.tx-icon.credit { background: var(--primary-50); color: var(--primary); }
.tx-icon.debit { background: #FEF2F2; color: var(--error); }
.tx-icon.pending { background: #FFFBEB; color: var(--secondary); }
.tx-details { flex: 1; }
.tx-title { font-size: 14px; font-weight: 600; }
.tx-subtitle { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.tx-amount { text-align: right; }
.tx-amount-value { font-size: 15px; font-weight: 700; }
.tx-amount-value.credit { color: var(--primary-dark); }
.tx-amount-value.debit { color: var(--error); }
.tx-amount-date { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ============================================================
   MESSAGES / CHAT
   ============================================================ */
.messages-layout { display: grid; grid-template-columns: 320px 1fr; min-height: calc(100vh - var(--nav-height)); }
.messages-list { border-right: 1px solid var(--border); overflow-y: auto; }
.messages-list-header { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.messages-list-title { font-size: 20px; font-weight: 800; }
.conversation-item {
    display: flex; align-items: center; gap: 12px; padding: 16px 24px;
    border-bottom: 1px solid var(--border-light); cursor: pointer;
    transition: var(--transition);
}
.conversation-item:hover { background: var(--bg-soft); }
.conversation-item.active { background: var(--primary-50); }
.conversation-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--primary-100); display: flex; align-items: center;
    justify-content: center; font-size: 20px; font-weight: 700;
    color: var(--primary-dark); flex-shrink: 0; position: relative;
}
.conversation-avatar .online-dot {
    position: absolute; bottom: 0; right: 0; width: 12px; height: 12px;
    border-radius: 50%; background: var(--success); border: 2px solid white;
}
.conversation-info { flex: 1; min-width: 0; }
.conversation-name { font-size: 14px; font-weight: 600; }
.conversation-preview { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversation-meta { text-align: right; flex-shrink: 0; }
.conversation-time { font-size: 11px; color: var(--text-muted); }
.conversation-badge {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--primary); color: white; font-size: 11px; font-weight: 700;
    margin-top: 4px;
}

/* --- Chat Area --- */
.chat-area { display: flex; flex-direction: column; }
.chat-header {
    padding: 16px 24px; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px;
}
.chat-messages {
    flex: 1; overflow-y: auto; padding: 24px; display: flex;
    flex-direction: column; gap: 12px;
}
.chat-bubble {
    max-width: 70%; padding: 12px 16px; border-radius: 16px;
    font-size: 14px; line-height: 1.5; position: relative;
}
.chat-bubble.sent {
    align-self: flex-end; background: var(--primary); color: white;
    border-bottom-right-radius: 4px;
}
.chat-bubble.received {
    align-self: flex-start; background: var(--bg-muted); color: var(--text);
    border-bottom-left-radius: 4px;
}
.chat-bubble-time { font-size: 11px; opacity: 0.7; margin-top: 4px; }
.chat-input-area {
    padding: 16px 24px; border-top: 1px solid var(--border);
    display: flex; gap: 12px; align-items: center;
}
.chat-input {
    flex: 1; padding: 12px 16px; border: 1.5px solid var(--border);
    border-radius: var(--radius-full); font-size: 14px; outline: none;
    transition: var(--transition);
}
.chat-input:focus { border-color: var(--primary); }
.chat-send-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: white; display: flex;
    align-items: center; justify-content: center; border: none;
    cursor: pointer; transition: var(--transition);
}
.chat-send-btn:hover { background: var(--primary-dark); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero { padding: calc(var(--nav-height) + 80px) 24px 80px; text-align: center; background: linear-gradient(180deg, var(--primary-50), var(--bg)); }
.about-title { font-size: clamp(36px, 5vw, 56px); font-weight: 900; letter-spacing: -2px; margin-bottom: 16px; }
.about-subtitle { font-size: 18px; color: var(--text-secondary); max-width: 640px; margin: 0 auto; line-height: 1.7; }
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.about-value-card { padding: 32px; border-radius: var(--radius-xl); border: 1px solid var(--border); text-align: center; transition: var(--transition); }
.about-value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.about-value-icon { font-size: 40px; margin-bottom: 16px; }
.about-value-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.about-value-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--text); color: rgba(255,255,255,0.7); padding: 64px 24px 32px; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .logo-text { color: white; font-size: 22px; font-weight: 800; }
.footer-brand .logo-accent { color: var(--primary-light); }
.footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.7; max-width: 320px; }
.footer-title { font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: white; }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card { padding: 32px; border-radius: var(--radius-xl); border: 1px solid var(--border); transition: var(--transition); }
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.feature-icon { width: 56px; height: 56px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.feature-icon.green { background: var(--primary-100); }
.feature-icon.amber { background: #FEF3C7; }
.feature-icon.blue { background: #DBEAFE; }
.feature-icon.purple { background: #EDE9FE; }
.feature-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: 80px 24px; text-align: center; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(255,255,255,0.05); top: -200px; right: -100px; }
.cta-title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -1.5px; margin-bottom: 16px; position: relative; }
.cta-text { font-size: 17px; opacity: 0.85; max-width: 560px; margin: 0 auto 32px; line-height: 1.6; position: relative; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; position: relative; }
.btn-white { background: white; color: var(--primary-dark); padding: 14px 28px; border-radius: var(--radius-lg); font-size: 15px; font-weight: 700; border: none; cursor: pointer; transition: var(--transition); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-white-outline { background: transparent; color: white; padding: 14px 28px; border-radius: var(--radius-lg); font-size: 15px; font-weight: 700; border: 2px solid rgba(255,255,255,0.3); cursor: pointer; transition: var(--transition); }
.btn-white-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container { position: fixed; top: 90px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
    padding: 14px 20px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border);
    box-shadow: var(--shadow-xl); font-size: 14px; font-weight: 500;
    display: flex; align-items: center; gap: 10px; min-width: 300px;
    animation: slideInRight 0.3s ease-out;
}
.toast.success { border-left: 4px solid var(--success); }
.toast.error { border-left: 4px solid var(--error); }
.toast.warning { border-left: 4px solid var(--warning); }
.toast.info { border-left: 4px solid var(--info); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 9998; display: none;
    backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; align-items: center; justify-content: center; }
.modal {
    background: var(--surface); border-radius: var(--radius-xl);
    max-width: 500px; width: 90%; max-height: 90vh; overflow-y: auto;
    box-shadow: var(--shadow-2xl); animation: scaleIn 0.2s ease-out;
}
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 24px 24px 0; }
.modal-title { font-size: 20px; font-weight: 700; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 20px; }
.modal-close:hover { background: var(--bg-muted); }
.modal-body { padding: 24px; }

/* ============================================================
   LOADING / SKELETON
   ============================================================ */
.skeleton {
    background: linear-gradient(90deg, var(--bg-muted) 25%, #E2E8F0 50%, var(--bg-muted) 75%);
    background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}
.skeleton-card { height: 360px; border-radius: var(--radius-lg); }
.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-text.w-60 { width: 60%; }
.skeleton-text.w-80 { width: 80%; }
.skeleton-text.w-full { width: 100%; }
.loading-spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin 0.8s linear infinite; }
.loading-center { display: flex; align-items: center; justify-content: center; min-height: 400px; flex-direction: column; gap: 16px; }
.loading-text { font-size: 14px; color: var(--text-muted); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 40px; }
.page-btn {
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 500; color: var(--text-secondary);
    transition: var(--transition); border: 1px solid transparent; background: none;
}
.page-btn:hover { background: var(--bg-muted); }
.page-btn.active { background: var(--primary); color: white; font-weight: 600; }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state { text-align: center; padding: 80px 24px; }
.empty-state-icon { font-size: 64px; margin-bottom: 16px; }
.empty-state-title { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.empty-state-text { font-size: 15px; color: var(--text-muted); max-width: 400px; margin: 0 auto; }

/* ============================================================
   TOGGLE / SWITCH
   ============================================================ */
.toggle { position: relative; width: 44px; height: 24px; background: var(--border); border-radius: 12px; cursor: pointer; transition: var(--transition); }
.toggle.active { background: var(--primary); }
.toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: white; box-shadow: var(--shadow-sm); transition: var(--transition); }
.toggle.active::after { left: 22px; }

/* ============================================================
   TABS
   ============================================================ */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tab { padding: 12px 20px; font-size: 14px; font-weight: 600; color: var(--text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: var(--transition); cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 33% { transform: translateY(-30px) rotate(2deg); } 66% { transform: translateY(15px) rotate(-1deg); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-in { animation: fadeInUp 0.5s ease-out both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .explore-layout { grid-template-columns: 1fr; }
    .filter-sidebar { display: none; }
    .property-detail { grid-template-columns: 1fr; }
    .property-sidebar { position: static; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .messages-layout { grid-template-columns: 1fr; }
    .messages-list { display: none; }
    .messages-list.mobile-show { display: block; position: fixed; inset: 0; top: var(--nav-height); z-index: 50; background: white; }
}
@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero { min-height: 80vh; }
    .hero-title { letter-spacing: -1px; }
    .hero-search-inner { flex-direction: column; }
    .hero-search-field { border-right: none; border-bottom: 1px solid var(--border-light); padding: 12px 16px; }
    .hero-search-btn { margin: 8px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-stat-number { font-size: 24px; }
    .auth-page { flex-direction: column; }
    .auth-right { display: none; }
    .form-row { grid-template-columns: 1fr; }
    .properties-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .section { padding: 48px 16px; }
    .hero-content { padding: 40px 16px; }
    .property-gallery { height: 300px; }
    .avatar-picker { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 480px) {
    .otp-input { width: 44px; height: 52px; font-size: 20px; }
    .role-selector { grid-template-columns: 1fr; }
    .countries-grid { grid-template-columns: 1fr; }
    .avatar-picker { grid-template-columns: repeat(4, 1fr); }
}
