:root {
    --gf-green-900: #0f3d2e;
    --gf-green-800: #14503c;
    --gf-green-700: #1e5a45;
    --gf-orange: #e07b39;
    --gf-orange-dark: #b44d17;
    --gf-cream: #f6f3ec;
    --gf-card: #fffdf9;
    --gf-text: #14261f;
    --gf-muted: #5d6b64;
    --gf-line: #e4dfd3;
    --nav-h: 48px;
}

* { -webkit-tap-highlight-color: transparent; }
html { height: 100%; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--gf-cream);
    color: var(--gf-text);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; display: flex; flex-direction: column; }
a { color: var(--gf-orange-dark); }

/* ---------- বাটন ---------- */
.btn { font-weight: 600; border-radius: 10px; }
.btn-gf-orange { background: var(--gf-orange); border-color: var(--gf-orange); color: #fff; }
.btn-gf-orange:hover, .btn-gf-orange:focus { background: var(--gf-orange-dark); border-color: var(--gf-orange-dark); color: #fff; }
.btn-gf-green { background: var(--gf-green-900); border-color: var(--gf-green-900); color: #fff; }
.btn-gf-green:hover, .btn-gf-green:focus { background: var(--gf-green-700); border-color: var(--gf-green-700); color: #fff; }

/* ---------- নেভবার ---------- */
.gf-nav { background: var(--gf-green-900); min-height: var(--nav-h); padding: 0; position: sticky; top: 0; z-index: 1030; }
.gf-nav .container-fluid { min-height: var(--nav-h); }
.gf-brand { color: #fff !important; font-weight: 700; font-size: 1.2rem; text-decoration: none; }
.gf-brand i { color: var(--gf-orange); margin-right: 4px; }
.gf-nav .nav-link { color: rgba(255,255,255,.8); padding: 6px 4px; font-size: .98rem; }
.gf-nav .nav-link:hover { color: #fff; }
.gf-nav .nav-link.active { color: #fff; background: var(--gf-orange); border-radius: 8px; }
@media (min-width: 768px) { .gf-nav .nav-link { padding: 5px 12px; } }
.gf-nav form .nav-link { border: 0; text-decoration: none; }
.gf-offcanvas { background: var(--gf-green-900); color: #fff; width: 270px; }
.gf-offcanvas .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 767.98px) {
    .gf-offcanvas .nav-link { font-size: 1.1rem; padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; }
}
@media (min-width: 768px) { .gf-offcanvas { background: transparent; width: auto; } }

/* ---------- ম্যাপ হিরো (হোম ও জেলা) ---------- */
.map-hero { background: var(--gf-green-900); color: #fff; display: grid; grid-template-columns: minmax(340px, 460px) 1fr; height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h)); overflow: hidden; }
.map-info { padding: 32px 36px; overflow-y: auto; display: flex; flex-direction: column; }
.map-info > :first-child { margin-top: auto; }
.map-info > :last-child { margin-bottom: auto; }
.gf-badge { align-self: flex-start; background: rgba(224,123,57,.18); color: #f3a56d; padding: 4px 14px; border-radius: 99px; font-size: .9rem; font-weight: 600; margin-bottom: 10px; }
.hero-title { font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 700; line-height: 1.15; margin: 0 0 6px; }
.hero-lead { color: rgba(255,255,255,.78); font-size: 1.1rem; margin-bottom: 20px; }
.back-link { color: rgba(255,255,255,.75); text-decoration: none; margin-bottom: 14px; align-self: flex-start; }
.back-link:hover { color: #fff; }

.hero-stats { display: flex; gap: 28px; margin-bottom: 24px; }
.hero-stats strong { display: block; font-size: 1.8rem; color: var(--gf-orange); line-height: 1.1; }
.hero-stats span { color: rgba(255,255,255,.7); font-size: .9rem; }

.info-card { background: var(--gf-cream); color: var(--gf-text); border-radius: 14px; padding: 16px 18px; min-height: 92px; display: flex; align-items: center; }
.info-card > div { width: 100%; }
.info-empty { color: var(--gf-muted); }
.info-division { font-size: .85rem; color: var(--gf-orange-dark); font-weight: 600; }
.info-name { font-size: 1.7rem; font-weight: 700; line-height: 1.2; }
.info-meta { color: var(--gf-muted); }
.only-touch { display: none; }
@media (hover: none) { .only-touch { display: inline; } .d-none-touch { display: none; } }

.map-stage { position: relative; min-height: 0; padding: 12px; }
.map-stage svg { width: 100%; height: 100%; display: block; }
.map-tip { position: absolute; z-index: 5; pointer-events: none; background: #fff; color: var(--gf-text); border-radius: 10px; padding: 6px 12px; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.28); white-space: nowrap; opacity: 0; transform: translate(-50%, -100%); transition: opacity .12s; }
.map-tip.show { opacity: 1; }
.map-tip small { display: block; color: var(--gf-muted); font-weight: 400; }
.map-tip a { pointer-events: auto; display: inline-block; margin-top: 4px; color: var(--gf-orange-dark); text-decoration: none; }

/* বিভাগভিত্তিক রং: color-ই fill ও seal-stroke, .l সাদা সীমারেখা */
#bdMap .dist { color: #bcd6c4; cursor: pointer; outline: none; transition: color .12s; }
#bdMap .dist .f { fill: currentColor; stroke: currentColor; stroke-width: .6; stroke-linejoin: round; }
#bdMap .dist .l { fill: none; stroke: #fff; stroke-width: .9; stroke-linejoin: round; pointer-events: none; }
#bdMap .div-barishal { color: #c4ddc9; } #bdMap .div-chattogram { color: #aacdb7; }
#bdMap .div-dhaka { color: #e3dcc2; } #bdMap .div-khulna { color: #9fc3ad; }
#bdMap .div-mymensingh { color: #d3e3c3; } #bdMap .div-rajshahi { color: #efd8bc; }
#bdMap .div-rangpur { color: #b7d7cf; } #bdMap .div-sylhet { color: #c6dba6; }
#bdMap .dist:hover, #bdMap .dist:focus-visible { color: var(--gf-orange); }
#bdMap .dist.sel { color: var(--gf-orange-dark); }

/* জেলার উপজেলা ম্যাপ */
#distMap .upz path { fill: #bcd6c4; stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; cursor: pointer; transition: fill .12s; }
#distMap .upz:nth-child(3n+1) path { fill: #aacdb7; }
#distMap .upz:nth-child(3n+2) path { fill: #cfe2c6; }
#distMap .upz { outline: none; }
#distMap .upz:hover path, #distMap .upz.hl path { fill: var(--gf-orange); }
#distMap .upz.sel path { fill: var(--gf-orange-dark); }
#distMap .upz-label { font-size: 13px; font-weight: 600; fill: var(--gf-green-900); pointer-events: none; paint-order: stroke; stroke: rgba(255,255,255,.7); stroke-width: 3px; }
#distMap .upz:hover .upz-label, #distMap .upz.hl .upz-label, #distMap .upz.sel .upz-label { fill: #fff; stroke: rgba(0,0,0,.35); }
#distMap.many .upz-label { display: none; }
#distMap.many .upz:hover .upz-label, #distMap.many .upz.sel .upz-label { display: block; }

.upz-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; max-height: 32vh; overflow-y: auto; }
.upz-chip { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; padding: 3px 14px; font-size: .92rem; }
.upz-chip:hover, .upz-chip.sel { background: var(--gf-orange); border-color: var(--gf-orange); }

@media (max-width: 991.98px) {
    .map-hero { display: flex; flex-direction: column; height: auto; overflow: visible; }
    .map-stage { order: -1; height: calc(100vh - var(--nav-h) - 24px); height: calc(100dvh - var(--nav-h) - 24px); min-height: 380px; padding: 6px; }
    .map-info { padding: 24px 18px 32px; }
    .hero-title { font-size: 3rem; }
    .info-card { display: none; }
    .district-hero .info-card { display: flex; }
    .upz-list { max-height: none; }
}

/* ---------- লগইন / রেজিস্টার ---------- */
.page-auth { background: linear-gradient(160deg, var(--gf-green-900) 0%, var(--gf-green-800) 45%, var(--gf-cream) 45%); background-attachment: fixed; }
.auth-wrap { flex: 1; display: flex; align-items: center; justify-content: center; padding: 28px 16px; }
.auth-card { width: 100%; max-width: 440px; background: var(--gf-card); border-radius: 18px; padding: 32px 28px; box-shadow: 0 18px 50px rgba(15,61,46,.25); }
.auth-card h1 { font-size: 1.9rem; font-weight: 700; margin-bottom: 4px; }
.auth-card .form-label { font-weight: 600; }
.auth-card .input-group-text { background: #f2eee4; color: var(--gf-green-700); }
.auth-card .form-control:focus { border-color: var(--gf-orange); box-shadow: 0 0 0 .2rem rgba(224,123,57,.2); }

/* ---------- প্যানেল (ইউজার ও অ্যাডমিন) ---------- */
.panel-body { background: #f1eee6; }
.panel-wrap { display: flex; min-height: 100vh; }
.panel-side { width: 250px; flex: 0 0 250px; background: var(--gf-green-900) !important; color: #fff; display: flex; flex-direction: column; }
.panel-brand { padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.1); }
.panel-role { padding: 14px 20px 6px; font-size: .8rem; letter-spacing: .04em; color: #f3a56d; font-weight: 600; }
.panel-menu { flex: 1; padding: 6px 12px; display: flex; flex-direction: column; gap: 2px; }
.panel-menu a, .panel-foot a, .panel-foot button { color: rgba(255,255,255,.82); text-decoration: none; padding: 10px 12px; border-radius: 10px; display: flex; align-items: center; background: none; border: 0; width: 100%; text-align: left; font-size: 1rem; }
.panel-menu a i { width: 26px; text-align: center; margin-right: 6px; }
.panel-menu a:hover, .panel-foot a:hover, .panel-foot button:hover { background: rgba(255,255,255,.09); color: #fff; }
.panel-menu a.active { background: var(--gf-orange); color: #fff; }
.panel-menu a.disabled { opacity: .5; pointer-events: none; }
.panel-menu a small { margin-left: auto; font-size: .72rem; background: rgba(255,255,255,.15); padding: 1px 8px; border-radius: 99px; }
.panel-foot { padding: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.panel-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.panel-top { background: #fff; border-bottom: 1px solid var(--gf-line); padding: 12px 20px; display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 10; }
.panel-title { font-size: 1.3rem; font-weight: 700; margin: 0; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--gf-orange); color: #fff; display: grid; place-items: center; font-weight: 700; }
.user-menu { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 6px; border-radius: 10px; color: inherit; }
.user-menu:hover { background: rgba(0,0,0,.05); }
.user-drop { min-width: 220px; border-radius: 12px; border-color: var(--gf-line); padding: 6px; }
.user-drop .dropdown-item { border-radius: 8px; padding: 8px 12px; }
.user-drop .dropdown-item.active { background: var(--gf-orange); color: #fff; }
.panel-content { padding: 24px; }
.welcome-box { background: var(--gf-green-900); color: #fff; border-radius: 16px; padding: 26px 28px; position: relative; overflow: hidden; }
.welcome-box::after { content: ''; position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: var(--gf-orange); opacity: .9; }
.welcome-box > * { position: relative; z-index: 1; }
.welcome-box h2 { font-size: 1.6rem; font-weight: 700; }
.stat-card { background: var(--gf-card); border: 1px solid var(--gf-line); border-radius: 14px; padding: 16px 18px; height: 100%; }
.stat-card i { color: var(--gf-orange); font-size: 1.3rem; }
.stat-card strong { display: block; font-size: 1.8rem; line-height: 1.2; color: var(--gf-green-900); }
.stat-card span { color: var(--gf-muted); font-size: .92rem; }
.panel-box { background: var(--gf-card); border: 1px solid var(--gf-line); border-radius: 14px; padding: 20px; }
.panel-box h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.gf-table th { color: var(--gf-muted); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.gf-table { --bs-table-bg: transparent; }

@media (max-width: 767.98px) {
    .panel-side { width: 270px; flex: none; }
    .panel-content { padding: 16px; }
    .welcome-box::after { width: 110px; height: 110px; }
}

/* ---------- সার্চ (ম্যাপের ওপর) ---------- */
.map-stage { padding-top: 64px; }
.gf-search { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: calc(100% - 24px); max-width: 460px; z-index: 6; }
.gf-search > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gf-muted); pointer-events: none; }
.gf-search input { width: 100%; border: 0; border-radius: 99px; padding: 10px 18px 10px 44px; background: rgba(255,255,255,.97); font-size: 1rem; outline: none; box-shadow: 0 4px 16px rgba(0,0,0,.25); }
.gf-search input:focus { box-shadow: 0 0 0 3px rgba(224,123,57,.55); }
.gf-search-list { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; color: var(--gf-text); border-radius: 12px; box-shadow: 0 12px 34px rgba(0,0,0,.28); max-height: 55vh; overflow-y: auto; padding: 6px; }
.gf-search-item { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; color: inherit; text-decoration: none; }
.gf-search-item i { color: var(--gf-orange); width: 18px; text-align: center; }
.gf-search-item:hover, .gf-search-item.on { background: #f5efe3; }
.gf-search-item small { color: var(--gf-muted); margin-left: 4px; }
.gf-search-item em { display: block; font-style: normal; font-size: .8rem; color: var(--gf-muted); }
.gf-search-empty { padding: 12px; color: var(--gf-muted); text-align: center; }

/* ---------- স্ট্যাটিক পেজ (আমাদের সম্পর্কে, যোগাযোগ, গোপনীয়তা) ---------- */
.static-page { max-width: 820px; width: 100%; margin: 0 auto; padding: 36px 16px 56px; }
.static-page h1 { font-size: 2rem; font-weight: 700; color: var(--gf-green-900); margin-bottom: 6px; }
.static-page .lead { color: var(--gf-muted); margin-bottom: 24px; }
.static-page h2 { font-size: 1.25rem; font-weight: 700; margin: 26px 0 8px; color: var(--gf-green-800); }
.static-page .panel-box p:last-child, .static-page ul:last-child { margin-bottom: 0; }
.static-page li { margin-bottom: 4px; }

/* ---------- ইউজার প্যানেল (ফ্রন্ট লেআউটে) ও ফুটার ---------- */
.user-shell { max-width: 1240px; width: 100%; margin: 0 auto; padding: 24px 16px 40px; display: flex; gap: 24px; align-items: flex-start; flex: 1; }
.user-side { width: 260px; flex: 0 0 260px; position: sticky; top: calc(var(--nav-h) + 16px); }
.user-body { flex: 1; min-width: 0; }
.user-title { font-size: 1.5rem; font-weight: 700; color: var(--gf-green-900); margin: 0; }
.user-card { display: flex; align-items: center; gap: 12px; background: var(--gf-card); border: 1px solid var(--gf-line); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.user-menu-list { background: var(--gf-card); border: 1px solid var(--gf-line); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.user-menu-list a { color: var(--gf-text); text-decoration: none; padding: 10px 12px; border-radius: 10px; display: flex; align-items: center; }
.user-menu-list a i { width: 26px; text-align: center; margin-right: 6px; color: var(--gf-green-700); }
.user-menu-list a:hover { background: #f2eee4; }
.user-menu-list a.active { background: var(--gf-orange); color: #fff; }
.user-menu-list a.active i { color: #fff; }
.user-menu-list a.disabled { opacity: .5; pointer-events: none; }
.user-menu-list a small { margin-left: auto; font-size: .72rem; background: #ece7da; padding: 1px 8px; border-radius: 99px; }
@media (max-width: 767.98px) {
    .user-shell { display: block; padding: 16px 12px 32px; }
    .user-side { width: 280px; flex: none; position: fixed; background: var(--gf-cream); }
}
.gf-footer { background: var(--gf-green-900); color: rgba(255,255,255,.75); padding: 20px 0; margin-top: auto; }
.gf-footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.gf-footer-links a { color: rgba(255,255,255,.8); text-decoration: none; }
.gf-footer-links a:hover { color: #fff; }

/* ---------- স্পট ---------- */
.spot-row { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--gf-line); }
.spot-row:last-of-type { border-bottom: 0; }
.spot-desc { color: var(--gf-muted); }
.points-pill { background: var(--gf-card); border: 1px solid var(--gf-line); border-radius: 99px; padding: 6px 16px; }
.spot-tabs .nav-link { color: var(--gf-text); border-radius: 10px; }
.spot-tabs .nav-link.active { background: var(--gf-green-900); color: #fff; }
.panel-menu a small.badge-pending { background: var(--gf-orange); color: #fff; }
@media (max-width: 575.98px) { .spot-row { flex-direction: column; } }

/* ---------- জেলা পেজের স্পট সেকশন ---------- */
.info-link { color: var(--gf-orange-dark); font-weight: 600; text-decoration: none; }
.spots-section { background: var(--gf-green-900); color: #fff; padding: 8px 0 48px; border-top: 1px solid rgba(255,255,255,.12); }
.spots-section #spotsBox { transition: opacity .15s; min-height: 140px; }
.spots-section #spotsBox.loading { opacity: .45; }
.spots-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 22px 0 16px; }
.spots-head h2 { font-size: 1.35rem; font-weight: 700; margin: 0; }
.spots-head .count { background: var(--gf-orange); font-size: .85rem; padding: 2px 12px; border-radius: 99px; margin-left: 8px; vertical-align: middle; }
.spots-empty { background: rgba(255,255,255,.08); border-radius: 14px; padding: 22px; text-align: center; color: rgba(255,255,255,.85); }
.spots-empty a { color: #f3a56d; }
/* ---------- বিজ্ঞাপন সাইডবার ---------- */
.ads-side { position: sticky; top: calc(var(--nav-h) + 16px); display: flex; flex-direction: column; gap: 16px; padding-top: 22px; }
.ad-box { background: rgba(255,255,255,.07); border: 1px dashed rgba(255,255,255,.35); border-radius: 14px; min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: rgba(255,255,255,.7); }
.ad-box.ad-tall { min-height: 420px; }
.ad-box span { font-weight: 600; }
.ad-box small { font-size: .8rem; opacity: .7; }

/* ---------- ফর্মে ছবি বাছাই ---------- */
.img-pick { position: relative; width: 110px; height: 80px; border-radius: 10px; overflow: hidden; border: 2px solid var(--gf-line); cursor: pointer; }
.img-pick img { width: 100%; height: 100%; object-fit: cover; }
.img-pick input { position: absolute; top: 4px; right: 4px; }
.img-pick i { position: absolute; bottom: 4px; right: 6px; color: #fff; text-shadow: 0 0 4px #000; font-size: .8rem; }
.img-pick:has(input:checked) { border-color: #dc3545; opacity: .45; }
.cover-tag { position: absolute; left: 0; top: 0; background: var(--gf-orange); color: #fff; font-size: .68rem; padding: 0 6px; border-radius: 0 0 8px 0; }
.cover-tag.pend { top: auto; bottom: 0; background: #ffc107; color: #000; border-radius: 0 8px 0 0; }

/* ---------- তালিকার স্লিম সারি ---------- */
.spot-list { display: flex; flex-direction: column; gap: 12px; }
.spot-row-card { display: flex; gap: 14px; align-items: center; background: var(--gf-card); color: var(--gf-text); border-radius: 14px; padding: 10px; }
.spot-thumb { flex: 0 0 150px; height: 96px; border-radius: 10px; overflow: hidden; background: #e8e2d3; display: grid; place-items: center; color: var(--gf-green-700); font-size: 2rem; text-decoration: none; }
.spot-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spot-info { flex: 1; min-width: 0; }
.spot-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8rem; }
.spot-cat { color: var(--gf-orange-dark); font-weight: 600; }
.spot-loc { color: var(--gf-muted); }
.spot-info h3 { font-size: 1.1rem; font-weight: 700; margin: 2px 0; }
.spot-info h3 a { color: var(--gf-green-900); text-decoration: none; }
.spot-info h3 a:hover { color: var(--gf-orange-dark); }
.spot-text { font-size: .9rem; color: var(--gf-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: .88rem; }
.spot-counts { display: flex; gap: 12px; color: var(--gf-muted); white-space: nowrap; }
.spot-counts i { color: var(--gf-orange); }
.spot-actions { display: flex; gap: 12px; align-items: center; }
.spot-map { color: var(--gf-orange-dark); text-decoration: none; font-weight: 600; }
@media (max-width: 767.98px) {
    .spot-row-card { flex-wrap: wrap; }
    .spot-thumb { flex: 0 0 110px; height: 80px; }
    .spot-info { flex: 1 1 calc(100% - 130px); }
    .spot-side { flex: 1 1 100%; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- স্পট ডিটেইল পেজ ---------- */
.page-spot { background: var(--gf-cream); }
.spot-wrap { width: 100%; max-width: 1500px; margin: 0 auto; padding: 18px 16px 48px; }
.crumbs { font-size: .9rem; margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--gf-muted); }
.crumbs a { color: var(--gf-green-700); text-decoration: none; }
.crumbs i { font-size: .65rem; }
.spot-head { background: var(--gf-card); border: 1px solid var(--gf-line); border-radius: 14px; padding: 18px 20px; margin-bottom: 16px; }
.spot-head h1 { font-size: 2rem; font-weight: 700; color: var(--gf-green-900); margin: 0 0 10px; }
.spot-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; color: var(--gf-muted); }
.spot-stats i { color: var(--gf-orange); }
.like-btn { background: none; border: 1px solid var(--gf-line); border-radius: 99px; padding: 2px 14px; color: var(--gf-text); }
.like-btn:hover:not(:disabled) { border-color: #dc3545; }
.like-btn.on { background: #fdecee; border-color: #dc3545; color: #b02a37; }
.like-btn.on i { color: #dc3545; }
.rate-link { color: inherit; text-decoration: none; }
.stars i { color: #f5a623; font-size: .9em; }
.spot-gallery { margin-bottom: 16px; }
.gal-main { display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #000; cursor: zoom-in; }
.gal-main img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.gal-strip { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.gal-thumb { flex: 0 0 110px; height: 74px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; opacity: .75; }
.gal-thumb.on { border-color: var(--gf-orange); opacity: 1; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal-empty { height: 220px; border-radius: 14px; background: #e8e2d3; display: grid; place-content: center; text-align: center; color: var(--gf-green-700); gap: 6px; }
.gal-empty i { font-size: 3rem; }
.spot-tabs-nav { position: sticky; top: var(--nav-h); z-index: 20; background: var(--gf-cream); display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; margin-bottom: 8px; border-bottom: 1px solid var(--gf-line); }
.spot-tabs-nav a { white-space: nowrap; padding: 6px 16px; border-radius: 99px; text-decoration: none; color: var(--gf-text); font-weight: 600; }
.spot-tabs-nav a.on { background: var(--gf-green-900); color: #fff; }
.spot-sec { background: var(--gf-card); border: 1px solid var(--gf-line); border-radius: 14px; padding: 20px; margin-bottom: 16px; scroll-margin-top: calc(var(--nav-h) + 60px); }
.spot-sec h2 { font-size: 1.3rem; font-weight: 700; color: var(--gf-green-900); margin-bottom: 12px; }
.spot-sec h3 { font-size: 1.08rem; font-weight: 700; margin: 16px 0 6px; }
.spot-body { white-space: pre-line; line-height: 1.8; margin-bottom: 0; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0; }
.info-grid div { background: #f6f3ec; border-radius: 12px; padding: 12px 14px; }
.info-grid dt { font-size: .85rem; color: var(--gf-muted); font-weight: 600; }
.info-grid dt i { color: var(--gf-orange); margin-right: 4px; }
.info-grid dd { margin: 4px 0 0; font-weight: 600; }
.tip-box { background: #fff4e5; border-left: 4px solid var(--gf-orange); border-radius: 8px; padding: 12px 14px; margin-top: 14px; white-space: pre-line; }
.map-embed { position: relative; padding-top: 52%; border-radius: 12px; overflow: hidden; background: #e8e2d3; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.gal-grid button { padding: 0; border: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gal-grid button:hover img { transform: scale(1.05); }
.rating-sum { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.rating-sum .big { font-size: 2.6rem; font-weight: 700; color: var(--gf-green-900); line-height: 1; }
.review-form { background: #f6f3ec; border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.review-form h3 { margin-top: 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 1.6rem; color: #cfc8b6; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f5a623; }
.review { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--gf-line); }
.review .avatar { flex: 0 0 36px; }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.rel-card { text-decoration: none; color: var(--gf-text); }
.rel-img { display: grid; place-items: center; aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; background: #e8e2d3; color: var(--gf-green-700); font-size: 2rem; margin-bottom: 6px; }
.rel-img img { width: 100%; height: 100%; object-fit: cover; }
.photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.ads-light .ad-box { background: #efeadc; border-color: #c9c1a9; color: var(--gf-muted); }
@media (max-width: 767.98px) { .spot-head h1 { font-size: 1.5rem; } .map-embed { padding-top: 75%; } }

.review-photo { height: 80px; width: auto; max-width: 140px; object-fit: cover; border-radius: 8px; border: 1px solid var(--gf-line); display: block; }

/* ---------- logo / alerts / forms (common) ---------- */
.brand-logo { max-height: 40px; max-width: 170px; }
.auth-logo { max-height: 56px; max-width: 100%; }
.logo-preview { max-height: 60px; max-width: 200px; background: #f2eee4; padding: 6px; border-radius: 8px; }
.perm-group { border: 1px solid var(--gf-line); border-radius: 12px; padding: 14px 16px; height: 100%; }
.perm-group h6 { font-weight: 700; margin-bottom: 10px; }
.settings-tabs .nav-link { color: var(--gf-green-900); }
.settings-tabs .nav-link.active { background: var(--gf-green-900); color: #fff; }

/* ---------- User panel: its own look (blue, top navigation) ---------- */
body.user-ui {
    --u-primary: #3b5bdb;
    --u-primary-dark: #2f49b3;
    --u-soft: #edf1ff;
    --u-line: #e3e8f4;
    background: #f4f6fc;
    color: #1c2340;
}
body.user-ui a { color: var(--u-primary); }
.u-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.u-top { background: #fff; border-bottom: 1px solid var(--u-line); position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 10px rgba(59,91,219,.06); }
.u-top > .u-wrap { height: 64px; }
.u-brand { font-weight: 700; font-size: 1.2rem; color: var(--u-primary) !important; text-decoration: none; display: flex; align-items: center; gap: 6px; }
.u-nav { gap: 6px; margin-left: 18px; }
.u-nav a { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; color: #4a5578; text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.u-nav a:hover { background: var(--u-soft); color: var(--u-primary); }
.u-nav a.active { background: var(--u-primary); color: #fff; }
.u-nav-mobile { display: flex; overflow-x: auto; padding: 8px 14px 10px; border-top: 1px solid var(--u-line); margin: 0; }
.u-user { display: flex; align-items: center; gap: 8px; background: var(--u-soft); border: 0; padding: 5px 12px 5px 6px; border-radius: 999px; color: #1c2340; }
.u-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--u-primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.u-drop { min-width: 230px; border: 1px solid var(--u-line); border-radius: 14px; padding: 6px; }
.u-drop .dropdown-item { border-radius: 8px; padding: 8px 12px; }
.u-main { padding-top: 28px; padding-bottom: 40px; flex: 1 0 auto; }
.u-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 18px; }
.u-foot { text-align: center; color: #7b86a8; font-size: .85rem; padding: 18px; border-top: 1px solid var(--u-line); background: #fff; }

.user-ui .panel-box { background: #fff; border: 0; border-radius: 18px; box-shadow: 0 6px 24px rgba(59,91,219,.08); padding: 24px; }
.user-ui .btn-gf-green { background: var(--u-primary); border-color: var(--u-primary); color: #fff; }
.user-ui .btn-gf-green:hover, .user-ui .btn-gf-green:focus { background: var(--u-primary-dark); border-color: var(--u-primary-dark); }
.user-ui .form-control:focus, .user-ui .form-select:focus { border-color: var(--u-primary); box-shadow: 0 0 0 .2rem rgba(59,91,219,.18); }
.u-hero { background: linear-gradient(120deg, #3b5bdb 0%, #7048e8 100%); color: #fff; border-radius: 20px; padding: 32px 34px; position: relative; overflow: hidden; }
.u-hero::after { content: ''; position: absolute; right: -50px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.14); }
.u-hero h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 4px; }
.u-hero p { margin: 0; opacity: .9; }
.u-info { display: flex; align-items: center; gap: 14px; }
.u-info .ico { width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--u-soft); color: var(--u-primary); display: grid; place-items: center; font-size: 1.1rem; }
.u-info small { display: block; color: #7b86a8; }
.u-info strong { word-break: break-all; }
