/* ============================================================
   FLAT & FLATMATES NAGPUR — App Stylesheet
   Orange City Theme · Premium · Mobile-First
   ============================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
    --orange:       #F97316;
    --orange-dark:  #EA580C;
    --orange-light: #FFF7ED;
    --orange-soft:  #FFEDD5;
    --text-dark:    #1F2937;
    --text-mid:     #4B5563;
    --text-light:   #9CA3AF;
    --bg-light:     #F8FAFC;
    --bg-white:     #FFFFFF;
    --border:       #E5E7EB;
    --border-light: #F3F4F6;
    --shadow-sm:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow:       0 4px 16px rgba(0,0,0,.08);
    --shadow-md:    0 8px 32px rgba(0,0,0,.10);
    --shadow-lg:    0 16px 48px rgba(0,0,0,.12);
    --radius-sm:    8px;
    --radius:       12px;
    --radius-lg:    16px;
    --radius-xl:    24px;
    --radius-pill:  999px;
    --font-main:    'Inter', system-ui, sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --transition:   all .2s ease;
}

/* ── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.ffn-body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 70px; /* bottom nav space */
}

@media (min-width: 992px) { body.ffn-body { padding-bottom: 0; } }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; color: var(--text-dark); }
a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-dark); }

/* ── COLOR UTILITIES ───────────────────────────────────────── */
.text-orange  { color: var(--orange) !important; }
.text-purple  { color: #8B5CF6 !important; }
.text-blue    { color: #0EA5E9 !important; }
.text-green   { color: #10B981 !important; }
.text-red     { color: #EF4444 !important; }
.bg-orange    { background: var(--orange) !important; }
.bg-orange-light { background: var(--orange-light) !important; }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn-orange {
    background: var(--orange);
    color: #fff;
    border: none;
    font-weight: 600;
    transition: var(--transition);
}
.btn-orange:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(249,115,22,.35); }
.btn-orange:active { transform: translateY(0); }

.btn-outline-orange {
    border: 2px solid var(--orange);
    color: var(--orange);
    background: transparent;
    font-weight: 600;
    transition: var(--transition);
}
.btn-outline-orange:hover { background: var(--orange); color: #fff; }

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    font-weight: 600;
}
.btn-whatsapp:hover { background: #128C7E; color: #fff; }

.btn-call {
    background: var(--text-dark);
    color: #fff;
    border: none;
    font-weight: 600;
}
.btn-call:hover { background: #374151; color: #fff; }

/* ── NAVBAR ────────────────────────────────────────────────── */
.ffn-navbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
    z-index: 1030;
}

.navbar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }

.brand-icon {
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(249,115,22,.3);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--text-dark); }
.brand-amp  { color: var(--orange); }
.brand-city { font-size: .65rem; font-weight: 600; color: var(--orange); letter-spacing: .05em; text-transform: uppercase; }

.ffn-navbar .nav-link {
    color: var(--text-mid);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    font-size: .9rem;
}
.ffn-navbar .nav-link:hover,
.ffn-navbar .nav-link.active { color: var(--orange); background: var(--orange-light); }

.ffn-dropdown {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 8px;
    min-width: 200px;
}
.ffn-dropdown .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}
.ffn-dropdown .dropdown-item:hover { background: var(--orange-light); color: var(--orange); }
.ffn-dropdown .dropdown-header { font-size: .8rem; color: var(--text-mid); padding: 8px 12px; }

.nav-icon-btn {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-pill);
    background: var(--bg-light);
    color: var(--text-mid);
    border: 1px solid var(--border);
    transition: var(--transition);
    font-size: .9rem;
}
.nav-icon-btn:hover { background: var(--orange-light); color: var(--orange); border-color: var(--orange); }

.notif-badge {
    position: absolute; top: -4px; right: -4px;
    background: #EF4444; color: #fff;
    font-size: .6rem; font-weight: 700;
    min-width: 16px; height: 16px;
    border-radius: var(--radius-pill);
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
}

.user-avatar-btn {
    background: none; border: none; padding: 0; cursor: pointer;
    display: flex; align-items: center;
}
.nav-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); }
.nav-avatar-init {
    width: 34px; height: 34px; border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff; font-weight: 700; font-size: .85rem;
    display: flex; align-items: center; justify-content: center;
}

/* ── HERO SECTION ──────────────────────────────────────────── */
.ffn-hero {
    background: linear-gradient(135deg, var(--text-dark) 0%, #374151 50%, #1a1a2e 100%);
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}
.ffn-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F97316' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: .5;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(249,115,22,.15);
    border: 1px solid rgba(249,115,22,.3);
    color: #FCA86C;
    padding: 5px 14px; border-radius: var(--radius-pill);
    font-size: .8rem; font-weight: 600; letter-spacing: .05em;
    margin-bottom: 20px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-title .highlight { color: var(--orange); }
.hero-subtitle { color: #D1D5DB; font-size: 1.05rem; margin-bottom: 32px; }

.hero-stats {
    display: flex; flex-wrap: wrap; gap: 24px;
    margin-top: 32px;
}
.hero-stat { text-align: left; }
.hero-stat-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--orange); }
.hero-stat-label { font-size: .75rem; color: #9CA3AF; text-transform: uppercase; letter-spacing: .05em; }

/* ── HERO SEARCH BOX ───────────────────────────────────────── */
.search-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}
.search-card h5 { font-size: 1rem; color: var(--text-dark); margin-bottom: 16px; }
.search-tabs .nav-link {
    border-radius: var(--radius-pill);
    padding: 6px 16px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--text-mid);
    border: 1px solid var(--border);
    margin: 2px;
}
.search-tabs .nav-link.active { background: var(--orange); color: #fff; border-color: var(--orange); }
.search-input-group {
    display: flex; gap: 8px; margin-top: 16px;
}
.search-input-group .form-control,
.search-input-group .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: .9rem;
    transition: var(--transition);
}
.search-input-group .form-control:focus,
.search-input-group .form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}
.btn-search {
    background: var(--orange);
    color: #fff; border: none;
    border-radius: var(--radius);
    padding: 10px 20px;
    font-weight: 700; font-size: .9rem;
    white-space: nowrap;
    transition: var(--transition);
}
.btn-search:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* ── SECTION TITLES ────────────────────────────────────────── */
.section-label {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--orange-light); color: var(--orange);
    padding: 4px 14px; border-radius: var(--radius-pill);
    font-size: .78rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; margin-bottom: 10px;
}
.section-title { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.section-subtitle { color: var(--text-mid); font-size: .95rem; }

/* ── CATEGORY CARDS ────────────────────────────────────────── */
.cat-card {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.cat-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--cat-color, var(--orange)), transparent);
    opacity: 0;
    transition: var(--transition);
}
.cat-card:hover { border-color: var(--cat-color, var(--orange)); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-card:hover::before { opacity: .06; }
.cat-icon {
    width: 56px; height: 56px;
    background: var(--orange-light);
    border-radius: var(--radius);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--orange);
    margin-bottom: 12px;
    transition: var(--transition);
}
.cat-card:hover .cat-icon { transform: scale(1.1); }
.cat-title { font-weight: 700; font-size: .95rem; color: var(--text-dark); margin-bottom: 4px; }
.cat-count { font-size: .78rem; color: var(--text-light); }

/* ── LISTING CARDS ─────────────────────────────────────────── */
.listing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.listing-card:hover { border-color: var(--orange); box-shadow: var(--shadow-md); transform: translateY(-3px); }

.listing-img-wrap {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--border-light);
}
.listing-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.listing-card:hover .listing-img-wrap img { transform: scale(1.04); }

.listing-badge {
    position: absolute; top: 10px; left: 10px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: .72rem; font-weight: 700;
    color: #fff;
    backdrop-filter: blur(4px);
}
.badge-featured { background: linear-gradient(90deg, #F59E0B, #D97706); }
.badge-verified { background: linear-gradient(90deg, #10B981, #059669); }
.badge-new      { background: linear-gradient(90deg, var(--orange), var(--orange-dark)); }

.listing-save-btn {
    position: absolute; top: 10px; right: 10px;
    width: 32px; height: 32px;
    background: rgba(255,255,255,.9);
    border-radius: 50%;
    border: none;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mid);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.listing-save-btn:hover, .listing-save-btn.saved { color: #EF4444; transform: scale(1.1); }

.listing-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }

.listing-category {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: .72rem; font-weight: 700;
    padding: 2px 9px;
    border-radius: var(--radius-pill);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.listing-title {
    font-size: .95rem; font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.listing-location {
    font-size: .8rem; color: var(--text-light);
    display: flex; align-items: center; gap: 4px;
    margin-bottom: 12px;
}
.listing-location i { color: var(--orange); font-size: .75rem; }

.listing-price {
    font-family: var(--font-display);
    font-size: 1.2rem; font-weight: 800;
    color: var(--orange);
    margin-bottom: 12px;
}
.listing-price span { font-size: .72rem; color: var(--text-light); font-weight: 400; }

.listing-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 14px; }
.listing-tag {
    background: var(--border-light);
    border-radius: var(--radius-pill);
    padding: 2px 8px;
    font-size: .72rem; color: var(--text-mid); font-weight: 500;
}

.listing-footer {
    display: flex; gap: 6px; margin-top: auto;
}
.listing-footer .btn { flex: 1; font-size: .78rem; padding: 7px 10px; border-radius: var(--radius-sm); }

/* ── MATCH BADGE ───────────────────────────────────────────── */
.match-badge {
    position: absolute; bottom: 10px; left: 10px;
    background: linear-gradient(90deg, #10B981, #059669);
    color: #fff; font-size: .7rem; font-weight: 800;
    padding: 3px 10px; border-radius: var(--radius-pill);
}

/* ── FEED CARD (Facebook-style) ────────────────────────────── */
.feed-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition);
    margin-bottom: 16px;
}
.feed-card:hover { box-shadow: var(--shadow); }

.feed-user { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.feed-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    object-fit: cover; border: 2px solid var(--orange-soft);
    flex-shrink: 0;
}
.feed-avatar-init {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff; font-weight: 700; font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feed-user-info .name { font-weight: 700; font-size: .9rem; color: var(--text-dark); }
.feed-user-info .meta { font-size: .75rem; color: var(--text-light); }

.feed-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.feed-desc { font-size: .875rem; color: var(--text-mid); line-height: 1.5; margin-bottom: 14px; }

.feed-details {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 14px;
}
.feed-detail-chip {
    display: flex; align-items: center; gap: 5px;
    background: var(--border-light);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    font-size: .78rem; color: var(--text-mid); font-weight: 500;
}
.feed-detail-chip i { color: var(--orange); font-size: .72rem; }

.feed-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.feed-actions .btn { font-size: .8rem; padding: 7px 14px; border-radius: var(--radius-pill); }

/* ── LOCATION CHIPS ────────────────────────────────────────── */
.area-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 7px 16px;
    font-size: .85rem; font-weight: 600; color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.area-chip:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
.area-chip .count { font-size: .72rem; color: var(--text-light); font-weight: 400; }

/* ── TRUST BADGES ──────────────────────────────────────────── */
.trust-badge {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: .72rem; font-weight: 700;
}
.trust-badge-mobile   { background: #DBEAFE; color: #1D4ED8; }
.trust-badge-email    { background: #D1FAE5; color: #065F46; }
.trust-badge-google   { background: #FCE7F3; color: #9D174D; }
.trust-badge-trusted  { background: var(--orange-soft); color: var(--orange-dark); }

/* ── SECTIONS ──────────────────────────────────────────────── */
.ffn-section { padding: 64px 0; }
.ffn-section-alt { background: #fff; }
.ffn-section-orange { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }

/* ── HOW IT WORKS ──────────────────────────────────────────── */
.hiw-card {
    text-align: center;
    padding: 32px 20px;
    position: relative;
}
.hiw-step {
    width: 64px; height: 64px;
    background: var(--orange-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--orange);
    margin: 0 auto 16px;
    border: 3px solid var(--orange-soft);
    font-weight: 800;
    transition: var(--transition);
}
.hiw-card:hover .hiw-step { background: var(--orange); color: #fff; border-color: var(--orange); transform: scale(1.1); }
.hiw-card h5 { font-size: 1rem; margin-bottom: 8px; }
.hiw-card p  { font-size: .875rem; color: var(--text-mid); }

.hiw-connector {
    position: absolute; top: 50px; right: -25%;
    width: 50%; border-top: 2px dashed var(--orange-soft);
}

/* ── TESTIMONIALS ──────────────────────────────────────────── */
.testimonial-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: 100%;
}
.testimonial-card .stars { color: #F59E0B; margin-bottom: 12px; font-size: .9rem; }
.testimonial-card .text  { font-size: .875rem; color: var(--text-mid); line-height: 1.6; font-style: italic; margin-bottom: 16px; }
.testimonial-card .author { display: flex; align-items: center; gap: 10px; }
.testimonial-card .author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.testimonial-card .author .name { font-weight: 700; font-size: .875rem; }
.testimonial-card .author .role { font-size: .75rem; color: var(--text-light); }

/* ── FORMS ─────────────────────────────────────────────────── */
.ffn-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow);
}
.form-label { font-weight: 600; font-size: .875rem; color: var(--text-dark); margin-bottom: 6px; }
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: .9rem;
    color: var(--text-dark);
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(249,115,22,.12);
    outline: none;
}
.form-control::placeholder { color: var(--text-light); }
.input-group-text { border: 1.5px solid var(--border); background: var(--border-light); color: var(--text-mid); }

/* ── DASHBOARD STAT BOXES ──────────────────────────────────── */
.stat-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex; align-items: center; gap: 16px;
    transition: var(--transition);
}
.stat-box:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}
.stat-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.stat-label { font-size: .78rem; color: var(--text-light); margin-top: 2px; }

/* ── PROFILE COMPLETION BAR ────────────────────────────────── */
.profile-completion { margin-bottom: 20px; }
.completion-bar { height: 6px; background: var(--border); border-radius: var(--radius-pill); overflow: hidden; }
.completion-fill { height: 100%; background: linear-gradient(90deg, var(--orange), var(--orange-dark)); border-radius: var(--radius-pill); transition: width .6s ease; }
.completion-label { font-size: .78rem; color: var(--text-mid); margin-top: 4px; }

/* ── PAGINATION ────────────────────────────────────────────── */
.ffn-pagination .page-link {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm) !important;
    color: var(--text-dark);
    margin: 0 2px;
    font-weight: 500;
}
.ffn-pagination .page-item.active .page-link { background: var(--orange); border-color: var(--orange); }
.ffn-pagination .page-link:hover { background: var(--orange-light); color: var(--orange); border-color: var(--orange); }

/* ── ALERTS ────────────────────────────────────────────────── */
.alert { border: none; border-radius: var(--radius); font-weight: 500; }
.alert-success { background: #D1FAE5; color: #065F46; }
.alert-danger   { background: #FEE2E2; color: #991B1B; }
.alert-warning  { background: #FEF9C3; color: #92400E; }
.alert-info     { background: #DBEAFE; color: #1E40AF; }

/* ── FILTER SIDEBAR ────────────────────────────────────────── */
.filter-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: sticky; top: 80px;
}
.filter-section { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border-light); }
.filter-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.filter-section h6 { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mid); margin-bottom: 10px; }
.filter-option { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; cursor: pointer; }
.filter-option input[type=checkbox] { accent-color: var(--orange); width: 15px; height: 15px; }
.filter-option label { font-size: .85rem; color: var(--text-dark); cursor: pointer; }

.price-range { display: flex; gap: 8px; }
.price-range .form-control { font-size: .82rem; padding: 7px 10px; }

/* ── ADMIN SIDEBAR ─────────────────────────────────────────── */
.admin-sidebar {
    width: 240px; min-height: 100vh;
    background: var(--text-dark);
    padding: 20px 0;
    position: fixed; left: 0; top: 0; bottom: 0;
    overflow-y: auto;
    z-index: 100;
}
.admin-nav-link {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 20px;
    color: #D1D5DB; font-size: .875rem; font-weight: 500;
    border-radius: 0;
    transition: var(--transition);
    text-decoration: none;
    border-left: 3px solid transparent;
}
.admin-nav-link:hover, .admin-nav-link.active {
    background: rgba(249,115,22,.15);
    color: var(--orange);
    border-left-color: var(--orange);
}
.admin-content { margin-left: 240px; padding: 24px; }

/* ── FOOTER ────────────────────────────────────────────────── */
.ffn-footer { background: var(--text-dark); color: #D1D5DB; margin-top: auto; }
.footer-main { padding: 56px 0 40px; }
.footer-heading { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9CA3AF; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #9CA3AF; font-size: .875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--orange); }
.footer-brand { color: #fff; }
.social-btn {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: #9CA3AF; font-size: .875rem;
    transition: var(--transition);
}
.social-btn:hover { background: var(--orange); color: #fff; }
.footer-cta .btn { font-weight: 700; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 16px 0;
}

/* ── MOBILE BOTTOM NAV ─────────────────────────────────────── */
.ffn-bottom-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--border);
    display: flex;
    z-index: 1020;
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    padding: 4px 0 6px;
}
.bottom-nav-item {
    flex: 1;
    display: flex; flex-direction: column; align-items: center;
    padding: 6px 4px;
    color: var(--text-light);
    font-size: .6rem; font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: var(--transition);
}
.bottom-nav-item i { font-size: 1.1rem; margin-bottom: 2px; }
.bottom-nav-item:hover, .bottom-nav-item.active { color: var(--orange); }
.bottom-nav-item.active i { color: var(--orange); }

.bottom-nav-post { color: var(--text-dark); }
.post-bubble {
    width: 44px; height: 44px; margin-top: -22px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(249,115,22,.4);
    border: 3px solid #fff;
    margin-bottom: 2px;
}

/* ── SKELETON LOADING ──────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%); background-size: 200% 100%; animation: skeleton-load 1.5s infinite; border-radius: 4px; }
@keyframes skeleton-load { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── EMPTY STATES ──────────────────────────────────────────── */
.empty-state { text-align: center; padding: 64px 20px; }
.empty-state i { font-size: 3rem; color: var(--border); margin-bottom: 16px; }
.empty-state h5 { color: var(--text-mid); margin-bottom: 8px; }
.empty-state p  { color: var(--text-light); font-size: .875rem; }

/* ── SPINNER ───────────────────────────────────────────────── */
.ffn-spinner { display: flex; justify-content: center; padding: 32px; }
.spinner-ring {
    width: 32px; height: 32px;
    border: 3px solid var(--border);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── MISCELLANEOUS ─────────────────────────────────────────── */
.divider-orange { border-top: 3px solid var(--orange); width: 48px; margin: 12px 0; }
.rounded-ffn { border-radius: var(--radius); }
.rounded-ffn-lg { border-radius: var(--radius-lg); }
.shadow-ffn { box-shadow: var(--shadow); }
.text-truncate-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── RESPONSIVE TWEAKS ─────────────────────────────────────── */
@media (max-width: 991.98px) {
    .ffn-hero { padding: 48px 0 40px; }
    .hero-title { font-size: 1.6rem; }
    .ffn-section { padding: 40px 0; }
    .admin-sidebar { position: relative; width: 100%; min-height: auto; }
    .admin-content { margin-left: 0; }
    .hiw-connector { display: none; }
}

@media (max-width: 575.98px) {
    .search-card { padding: 18px; }
    .search-input-group { flex-direction: column; }
    .listing-footer { flex-direction: column; }
    .ffn-form-card { padding: 20px; }
    .feed-actions .btn { font-size: .75rem; padding: 6px 10px; }
}
