:root {
    --ink: #172033;
    --muted: #667085;
    --line: #e4e7ec;
    --paper: #ffffff;
    --soft: #f6f8fb;
    --navy: #193a6a;
    --teal: #0f766e;
    --orange: #e66b1a;
    --gold: #d7a83f;
    --shadow: 0 18px 45px rgba(23, 32, 51, 0.14);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.header-container {
    max-width: 1180px;
    min-height: 76px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-right: auto;
}

.logo-icon {
    width: 46px;
    height: 46px;
    display: block;
    background: white;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 5px 14px rgba(23, 32, 51, 0.12);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.logo-text {
    display: grid;
    line-height: 1.1;
}

.logo-text strong {
    font-size: 1.12rem;
}

.logo-text small {
    color: var(--orange);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nav a {
    position: relative;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.nav a:hover,
.nav a.active {
    color: var(--orange);
}

.nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -26px;
    height: 3px;
    background: var(--orange);
}

.header-actions {
    display: flex;
    gap: 8px;
}

.lang-globe,
.menu-btn {
    border: 1px solid var(--line);
    background: var(--soft);
    color: var(--ink);
    cursor: pointer;
    font-weight: 700;
}

.lang-globe {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.lang-globe i {
    font-size: 1.05rem;
    color: var(--orange);
    transition: color 0.18s ease;
}

.lang-globe:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
}

.lang-globe:hover i {
    color: white;
}

.lang-globe #langLabel {
    letter-spacing: 0.04em;
}

.menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 6px;
}

.hero {
    min-height: calc(100vh - 76px);
    padding: 74px max(20px, calc((100vw - 1180px) / 2)) 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    align-items: end;
    gap: 42px;
    color: white;
    background:
        linear-gradient(90deg, rgba(12, 18, 30, 0.88), rgba(12, 18, 30, 0.5), rgba(12, 18, 30, 0.78)),
        url("Logo/Cover/cover.jpg") center / cover;
}

.hero-content {
    max-width: 760px;
    padding-bottom: 40px;
}

.eyebrow {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.55rem, 7vw, 5.8rem);
    line-height: 0.98;
    max-width: 840px;
}

.hero-copy {
    max-width: 650px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 45px;
    padding: 11px 16px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--orange);
    color: white;
    box-shadow: 0 14px 28px rgba(230, 107, 26, 0.3);
}

.btn-secondary {
    width: 100%;
    background: var(--teal);
    color: white;
}

.btn-light {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: white;
}

.booking-panel {
    background: white;
    color: var(--ink);
    border-radius: 8px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.booking-header {
    margin-bottom: 18px;
}

.booking-header h2 {
    font-size: 1.35rem;
}

.booking-header p,
.form-note {
    color: var(--muted);
    font-size: 0.9rem;
}

.booking-panel label {
    display: grid;
    gap: 7px;
    margin-bottom: 13px;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
}

.booking-panel input,
.booking-panel select,
.admin-form input,
.admin-form textarea,
.admin-form select,
.search-bar input,
.search-bar select {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: white;
    color: var(--ink);
    padding: 10px 12px;
}

.booking-panel input:focus,
.booking-panel select:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.search-bar input:focus,
.search-bar select:focus {
    outline: 3px solid rgba(15, 118, 110, 0.16);
    border-color: var(--teal);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-note {
    margin-top: 12px;
    text-align: center;
}

.quick-links {
    max-width: 1180px;
    margin: -28px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.quick-links a {
    min-height: 96px;
    display: grid;
    place-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(23, 32, 51, 0.08);
    color: var(--ink);
    font-size: 0.84rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.quick-links i {
    color: var(--orange);
    font-size: 1.45rem;
}

.social-banner {
    background: var(--navy);
    color: white;
    padding: 24px 0;
}

.social-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.social-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.3rem;
    transition: transform 0.2s ease, background 0.2s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.social-icon.facebook:hover { background: #1877F2; }
.social-icon.tiktok:hover { background: #000000; color: #fff; }
.social-icon.whatsapp:hover { background: #25D366; }

.section {
    padding: 74px 0;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading.compact {
    margin-bottom: 22px;
}

.section-heading h2,
.contact h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.12;
}

.fleet {
    background: white;
}

.fleet-grid,
.cities-grid,
.rules-grid,
.contact-grid {
    display: grid;
    gap: 20px;
}

.fleet-grid {
    grid-template-columns: repeat(3, 1fr);
}

.fleet-card,
.city-card,
.rule-item,
.contact-card,
.location-card,
.rental-card,
.attraction-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(23, 32, 51, 0.06);
}

.fleet-image {
    height: 178px;
    background-position: center;
    background-size: cover;
}

.fleet-content,
.location-content,
.rule-item,
.contact-card,
.city-card {
    padding: 20px;
}

.fleet-card h3,
.location-card h3,
.rule-item h3,
.contact-card h3,
.city-card h3 {
    font-size: 1.18rem;
    line-height: 1.25;
}

.fleet-card p,
.city-card p,
.rule-item p,
.contact-card p,
.location-card p {
    color: var(--muted);
}

.fleet-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 9px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
}

.cities-section,
.rules {
    background: var(--soft);
}

.cities-grid {
    grid-template-columns: repeat(4, 1fr);
}

.city-showcase {
    margin: 0 0 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(23, 32, 51, 0.08);
}

.showcase-photo {
    height: clamp(230px, 42vw, 430px);
    overflow: hidden;
    background: var(--ink);
}

.showcase-photo img {
    width: 108%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 65%;
    animation: cityPhotoPan 5s linear infinite;
}

.showcase-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 20px;
}

.showcase-copy h3 {
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.15;
}

.showcase-copy p {
    color: var(--muted);
    margin-top: 6px;
}

.showcase-count {
    color: var(--orange);
    font-weight: 900;
}

@keyframes cityPhotoPan {
    from {
        transform: translateX(-5%);
    }
    to {
        transform: translateX(0);
    }
}

.city-card {
    display: block;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.city-card:hover,
.location-card:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
}

.city-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    margin-top: 16px;
    border-radius: 6px;
}

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

.city-card-badge {
    background: var(--soft);
    color: var(--orange);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    transition: all 0.2s ease;
}

.city-card:hover .city-card-badge {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
}

.search-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 14px;
    margin-bottom: 26px;
}

.search-field {
    position: relative;
}

.search-field i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--muted);
    transform: translateY(-50%);
}

.search-field input {
    padding-left: 40px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.location-city {
    color: var(--orange);
    font-weight: 800;
    margin: 5px 0 13px;
}

.location-info {
    display: grid;
    gap: 12px;
    margin: 18px 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    font-size: 0.92rem;
}

.info-item i {
    width: 18px;
    color: var(--teal);
    margin-top: 4px;
}

.info-item strong {
    display: block;
    color: var(--ink);
}

.location-hours {
    background: var(--soft);
    border-radius: 6px;
    padding: 12px;
    font-size: 0.88rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.btn-map {
    background: var(--navy);
    color: white;
}

.btn-directions {
    background: var(--orange);
    color: white;
}

.rules-grid {
    grid-template-columns: repeat(2, 1fr);
}

.rule-item {
    position: relative;
}

.rule-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fef3e2;
    color: var(--orange);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 12px;
    border: 2px solid #fde7b8;
}

.rule-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.rule-list li {
    color: var(--muted);
    font-size: 0.92rem;
    padding: 3px 0 3px 16px;
    position: relative;
    line-height: 1.5;
}

.rule-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--muted);
}

.contact-card i {
    color: var(--orange);
    font-size: 1.65rem;
    margin-bottom: 12px;
}

.contact {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.82)),
        url("https://images.unsplash.com/photo-1535804320799-cfe5f7bb4e57?auto=format&fit=crop&w=1400&q=80") center / cover;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 36px;
    align-items: start;
}

.contact-layout > div:first-child p:last-child {
    max-width: 470px;
    color: var(--muted);
    margin-top: 16px;
}

.contact-grid {
    grid-template-columns: repeat(2, 1fr);
}

.contact-card a {
    color: var(--navy);
    font-weight: 800;
    text-decoration: none;
}

.city-detail {
    position: fixed;
    inset: 0;
    z-index: 1000;
    overflow-y: auto;
    background: white;
}

.detail-shell {
    min-height: 100vh;
}

.back-btn {
    position: sticky;
    top: 14px;
    left: 20px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 0 20px;
    padding: 10px 14px;
    border: 0;
    border-radius: 6px;
    background: var(--ink);
    color: white;
    cursor: pointer;
    font-weight: 800;
}

.detail-hero {
    min-height: 340px;
    margin-top: -56px;
    padding: 96px 20px 58px;
    display: grid;
    place-items: end start;
    color: white;
    background: linear-gradient(90deg, rgba(12, 18, 30, 0.86), rgba(12, 18, 30, 0.38)), var(--detail-image) center / cover;
}

.detail-hero > div,
.detail-content {
    width: min(1180px, calc(100vw - 40px));
    margin: 0 auto;
}

.detail-hero h2 {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    line-height: 1;
}

.detail-hero p:last-child {
    max-width: 680px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.detail-content {
    padding: 40px 0 70px;
}

.detail-content h3 {
    font-size: 1.55rem;
    margin: 20px 0 16px;
}

.attractions-grid,
.rental-locations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.attraction-image {
    height: 150px;
    background-position: center;
    background-size: cover;
}

.attraction-card h4,
.rental-card h4 {
    padding: 16px 16px 6px;
}

.attraction-card p,
.rental-card p {
    padding: 0 16px 16px;
    color: var(--muted);
}

.rental-card {
    padding-top: 4px;
}

.footer {
    background: var(--ink);
    color: white;
    padding: 26px 0;
    text-align: center;
}

/* ── Admin Modal (login screen only) ── */
.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(12, 18, 30, 0.78);
    backdrop-filter: blur(6px);
}

.admin-modal.panel-active {
    padding: 0;
    background: #f0f2f5;
    backdrop-filter: none;
    align-items: stretch;
    justify-content: stretch;
}

.admin-shell {
    position: relative;
    width: min(520px, 100%);
    overflow: auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 32px 80px rgba(12, 18, 30, 0.28);
}

.admin-modal.panel-active .admin-shell {
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    overflow: hidden;
    background: #f0f2f5;
    box-shadow: none;
    display: flex;
    flex-direction: row;
}

.admin-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(12,18,30,0.07);
    color: var(--muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
}

.admin-close:hover {
    background: #fee2e2;
    color: #b42318;
}

.admin-login {
    padding: 40px 36px;
    max-width: 520px;
}

.admin-help,
.admin-error {
    color: var(--muted);
    margin: 8px 0 18px;
}

.admin-error {
    color: #b42318;
    font-weight: 700;
}

/* ── Admin Sidebar ── */
.admin-panel {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding: 0;
}

.admin-sidebar {
    width: 240px;
    min-width: 240px;
    background: #141c2e;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
}

.admin-sidebar-brand {
    padding: 28px 24px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.brand-title {
    display: block;
    color: white;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

.brand-sub {
    display: block;
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 12px;
    flex: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background 0.18s, color 0.18s;
}

.admin-nav-item i {
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
}

.admin-nav-item:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}

.admin-nav-item.active {
    background: #e6910a;
    color: white;
    font-weight: 700;
}

.admin-sidebar-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 12px 20px;
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

.admin-sidebar-logout:hover {
    background: #fee2e2;
    color: #b42318;
}

/* ── Admin Main Area ── */
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.admin-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 8px 14px;
    flex: 1;
    max-width: 360px;
    color: #9ca3af;
}

.admin-search-wrap input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.88rem;
    color: var(--ink);
    width: 100%;
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.admin-notif-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
}

.admin-notif-btn:hover { background: #e5e7eb; }

.admin-user-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.admin-user-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.admin-user-role {
    font-size: 0.7rem;
    font-weight: 700;
    color: #9ca3af;
    letter-spacing: 0.04em;
}

.admin-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.admin-public-btn {
    padding: 9px 18px;
    border: none;
    border-radius: 8px;
    background: #141c2e;
    color: white;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.18s;
}

.admin-public-btn:hover { background: #1e2d4a; }

/* ── Admin Content ── */
.admin-content {
    flex: 1;
    overflow-y: auto;
    padding: 28px;
}

/* ── Dashboard Stats ── */
.admin-dashboard {}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.dash-stat-card {
    background: white;
    border-radius: 14px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.dash-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.dash-stat-label {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 600;
    margin-bottom: 4px;
}

.dash-stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--ink);
    line-height: 1;
}

.dash-persistence {
    background: white;
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.dash-persistence h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 4px;
}

.dash-persistence p {
    font-size: 0.83rem;
    color: #9ca3af;
    max-width: 500px;
}

.admin-backup-btn {
    padding: 11px 22px;
    background: #141c2e;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.18s;
}

.admin-backup-btn:hover { background: #1e2d4a; }

.dash-backup-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.admin-backup-btn-alt {
    background: var(--orange);
}

.admin-backup-btn-alt:hover { background: #c2410c; }

.dash-overview {
    background: white;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.dash-overview h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 16px;
}

.dash-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.dash-overview-item {
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fafbfc;
}

.dash-overview-city {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 3px;
}

.dash-overview-count {
    font-size: 0.78rem;
    color: #9ca3af;
}

.admin-data-view {
    height: 100%;
}

.admin-list button {
    border: 1px solid var(--line);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

.admin-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.admin-list {
    display: grid;
    align-content: start;
    gap: 6px;
}

.admin-list button {
    min-height: 42px;
    padding: 10px 14px;
    text-align: left;
    font-size: 0.88rem;
    color: var(--ink);
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.admin-list button:hover {
    background: var(--soft);
    border-color: var(--teal);
    color: var(--teal);
}

.admin-list button.active {
    background: #f0fdf9;
    border-color: var(--teal);
    color: var(--teal);
    font-weight: 800;
}

.admin-list .admin-add {
    background: var(--orange);
    border-color: var(--orange);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(230,107,26,0.25);
    transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
}

.admin-list .admin-add:hover {
    background: #d45f14;
    box-shadow: 0 6px 18px rgba(230,107,26,0.35);
    transform: translateY(-1px);
    color: white;
    border-color: #d45f14;
}

.admin-form {
    display: grid;
    gap: 14px;
}

.admin-form label {
    display: grid;
    gap: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-form textarea {
    min-height: 76px;
    resize: vertical;
}

.admin-editor {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--soft);
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-actions .btn {
    width: auto;
}

.btn-danger {
    background: #b42318;
    color: white;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 56px 30px;
    border: 1.5px dashed #d0d5dd;
    border-radius: 12px;
    color: var(--muted);
    text-align: center;
    background: #fafbfc;
}

.empty-state i {
    font-size: 2.8rem;
    color: #d0d5dd;
    margin-bottom: 14px;
    display: block;
}

.empty-state p {
    font-size: 0.9rem;
    color: #98a2b3;
    max-width: 260px;
    margin: 0 auto;
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

/* Clean home flow: brand intro, then cities only. */
.hero {
    min-height: 420px;
    padding-bottom: 62px;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    padding-bottom: 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.6rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.hero-subtitle {
    margin-top: 14px;
    font-size: clamp(0.95rem, 2.2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 400;
}

/* Home Social Icons Section */
.home-social-section {
    padding: 52px 0 36px;
    background: #f6f8fb;
}

.home-social-icons {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.home-social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.home-social-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-social-item:hover .home-social-circle {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.home-social-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--ink);
    max-width: 90px;
    line-height: 1.3;
}

/* Home Review Card Section */
.home-review-section {
    padding: 0 0 56px;
    background: #f6f8fb;
}

.home-review-card {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 28px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 28px 36px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 34px rgba(0,0,0,0.14);
}

.review-mascot-wrap {
    position: relative;
    flex-shrink: 0;
}

.review-mascot {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--line);
    display: block;
}

.review-badge {
    position: absolute;
    bottom: -4px;
    left: -4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--orange);
    color: white;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    border: 2px solid white;
}

.review-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.review-content p {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 14px;
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-stars-icons {
    display: flex;
    gap: 3px;
    color: var(--orange);
    font-size: 1.15rem;
}

.review-link {
    color: var(--orange);
    font-weight: 900;
    font-size: 0.82rem;
    text-decoration: none;
    letter-spacing: 0.06em;
}

.review-link:hover {
    text-decoration: underline;
}

@media (max-width: 580px) {
    .home-social-icons { gap: 16px; }
    .home-social-circle { width: 46px; height: 46px; font-size: 1.05rem; }
    .home-review-card { flex-direction: column; text-align: center; padding: 24px 20px; gap: 16px; }
    .review-stars { justify-content: center; }
}

.quick-links,
.fleet {
    display: none;
}

@media (max-width: 980px) {
    .header-container {
        flex-wrap: nowrap;
        gap: 14px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    /* Hamburger removed — single-line inline nav on mobile */
    .menu-btn {
        display: none;
    }

    .logo {
        gap: 8px;
        flex-shrink: 0;
    }

    .logo-text small {
        display: none;
    }

    .logo-group {
        display: none;
    }

    .logo-text strong {
        font-size: 0.95rem;
    }

    .logo-icon {
        width: 38px;
        height: 38px;
    }

    .nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: auto;
        gap: 16px;
    }

    .nav a {
        font-size: 0.8rem;
        padding: 0;
        border-top: none;
        white-space: nowrap;
    }

    .nav a.active::after {
        display: none;
    }

    .header-actions {
        flex-shrink: 0;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 52px;
    }

    .hero-content {
        padding-bottom: 0;
    }

    .quick-links,
    .fleet-grid,
    .showcase-copy,
    .cities-grid,
    .locations-grid,
    .rules-grid,
    .contact-layout,
    .attractions-grid,
    .rental-locations {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    body {
        overflow-x: hidden;
    }

    .header-actions {
        width: auto;
        flex-shrink: 0;
    }

    .lang-globe {
        flex: 0 0 auto;
        min-height: 36px;
        padding: 7px 9px;
        gap: 5px;
        font-size: 0.78rem;
    }

    .lang-globe i {
        font-size: 0.92rem;
    }

    .nav {
        gap: 11px;
    }

    .nav a {
        font-size: 0.72rem;
        letter-spacing: 0;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding: 30px 16px 28px;
        background-position: center;
        min-height: 330px;
    }

    .hero h1 {
        font-size: 2.35rem;
        overflow-wrap: anywhere;
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .header-container {
        gap: 9px;
    }

    .logo-text strong {
        font-size: 0.82rem;
    }

    .form-row,
    .search-bar,
    .quick-links,
    .fleet-grid,
    .showcase-copy,
    .cities-grid,
    .locations-grid,
    .rules-grid,
    .contact-layout,
    .contact-grid,
    .attractions-grid,
    .rental-locations {
        grid-template-columns: 1fr;
    }

    .quick-links {
        margin-top: 0;
        padding-top: 16px;
    }

    .quick-links a {
        min-height: 74px;
    }

    .section {
        padding: 54px 0;
    }

    .btn-group {
        grid-template-columns: 1fr;
    }

    .hours-item {
        display: grid;
    }

    .detail-hero {
        min-height: 240px;
        padding: 78px 16px 38px;
    }

    .detail-content {
        width: calc(100vw - 32px);
    }

    .city-showcase {
        margin-left: -4px;
        margin-right: -4px;
    }

    .showcase-photo {
        height: 245px;
    }

    .location-content,
    .rule-item,
    .contact-card,
    .city-card {
        padding: 16px;
    }

    .admin-modal {
        padding: 0;
        place-items: stretch;
    }

    .admin-shell {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .admin-login {
        padding: 22px 16px;
    }

    .admin-sidebar {
        width: 200px;
        min-width: 200px;
    }

    .dash-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-topbar {
        padding: 12px 16px;
        gap: 8px;
    }

    .admin-user-meta { display: none; }
    .admin-search-wrap { max-width: 200px; }

    .admin-heading {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        padding-right: 44px;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-list {
        max-height: 200px;
        overflow: auto;
        border: 1px solid var(--line);
        border-radius: 10px;
        padding: 6px;
        background: white;
    }

    .admin-tabs {
        gap: 3px;
        padding: 4px;
    }

    .admin-tabs button {
        padding: 7px 12px;
        font-size: 0.82rem;
    }
}

/* Enhanced mobile phone optimization */
@media (max-width: 480px) {
    .header-container {
        gap: 7px;
        min-height: 64px;
    }

    .logo {
        gap: 6px;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
    }

    .logo-text strong {
        font-size: 0.78rem;
    }

    .nav {
        gap: 9px;
    }

    .nav a {
        font-size: 0.68rem;
    }

    .lang-globe {
        padding: 6px 8px;
        font-size: 0.72rem;
        gap: 4px;
    }

    .lang-globe i {
        font-size: 0.85rem;
    }

    .hero {
        padding: 20px 14px 24px;
        min-height: 280px;
    }

    .hero h1 {
        font-size: 1.95rem;
    }

    .hero-copy {
        font-size: 0.95rem;
        margin-top: 14px;
    }

    .hero-actions {
        gap: 8px;
        margin-top: 16px;
    }

    .hero-actions .btn {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 0.9rem;
    }

    .btn {
        min-height: 48px;
        padding: 12px 14px;
        border-radius: 4px;
        font-size: 0.9rem;
    }

    .btn i {
        font-size: 1rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .section-heading h2 {
        font-size: 1.5rem;
    }

    .eyebrow {
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .booking-panel {
        padding: 16px;
        border-radius: 6px;
        margin: 0 14px;
    }

    .booking-header h2 {
        font-size: 1.15rem;
    }

    .booking-header p,
    .form-note {
        font-size: 0.85rem;
    }

    .booking-panel label {
        font-size: 0.85rem;
        gap: 5px;
        margin-bottom: 10px;
    }

    .booking-panel input,
    .booking-panel select {
        min-height: 48px;
        font-size: 1rem;
        padding: 12px 10px;
    }

    .form-row {
        gap: 10px;
    }

    .quick-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin: -18px 14px 0;
        padding: 0;
    }

    .quick-links a {
        min-height: 64px;
        padding: 12px 8px;
        font-size: 0.75rem;
        border-radius: 6px;
    }

    .quick-links i {
        font-size: 1.2rem;
    }

    .fleet-grid,
    .cities-grid,
    .rules-grid {
        gap: 16px;
    }

    .city-card,
    .fleet-card,
    .rule-item,
    .contact-card,
    .location-card {
        border-radius: 6px;
    }

    .city-card,
    .fleet-card {
        padding: 0;
    }

    .fleet-image {
        height: 140px;
    }

    .city-showcase {
        margin: 0;
        border-radius: 6px;
    }

    .showcase-photo {
        height: 200px;
    }

    .showcase-copy {
        padding: 14px;
        gap: 12px;
    }

    .showcase-copy h3 {
        font-size: 1.2rem;
    }

    .showcase-copy p {
        font-size: 0.9rem;
    }

    .showcase-copy button {
        padding: 9px 12px;
        font-size: 0.85rem;
    }

    .search-bar {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 0 14px 20px;
        padding: 0;
    }

    .search-field input {
        font-size: 1rem;
        min-height: 48px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .location-content,
    .rule-item,
    .contact-card {
        padding: 14px;
    }

    .location-city {
        font-size: 0.9rem;
        margin: 4px 0 10px;
    }

    .location-info {
        gap: 10px;
        margin: 14px 0;
    }

    .info-item {
        font-size: 0.85rem;
        gap: 8px;
    }

    .info-item i {
        width: 16px;
        font-size: 1rem;
    }

    .location-hours {
        font-size: 0.8rem;
        padding: 10px;
    }

    .hours-item {
        font-size: 0.8rem;
    }

    .btn-group {
        gap: 8px;
        margin-top: 12px;
    }

    .btn-group button {
        min-height: 44px;
        font-size: 0.85rem;
    }

    .contact-layout {
        gap: 24px;
    }

    .contact-layout > div:first-child h2 {
        font-size: 1.3rem;
    }

    .detail-hero {
        padding: 60px 14px 28px;
        min-height: 220px;
    }

    .detail-hero h2 {
        font-size: 1.6rem;
    }

    .detail-hero p {
        font-size: 0.9rem;
    }

    .detail-content {
        padding: 28px 0 50px;
    }

    .detail-content h3 {
        font-size: 1.2rem;
        margin: 16px 0 12px;
    }

    .detail-content h4 {
        font-size: 1rem;
    }

    .attractions-grid,
    .rental-locations {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .attraction-image,
    .rental-card {
        height: 180px;
    }

    .attraction-card h4,
    .rental-card h4 {
        font-size: 1rem;
        padding: 14px 14px 6px;
    }

    .attraction-card p,
    .rental-card p {
        font-size: 0.85rem;
        padding: 0 14px 14px;
    }

    .back-btn {
        margin: 10px 0 0 14px;
        padding: 9px 12px;
        font-size: 0.85rem;
        min-height: 44px;
    }

    .back-btn i {
        font-size: 1rem;
    }

    .admin-modal {
        padding: 0;
    }

    .admin-shell {
        border-radius: 0;
        max-height: 100vh;
    }

    .admin-login,
    .admin-panel {
        padding: 16px;
    }

    .admin-close {
        width: 34px;
        height: 34px;
        top: 12px;
        right: 12px;
    }

    .admin-grid {
        gap: 10px;
    }

    .admin-list button {
        min-height: 44px;
        font-size: 0.85rem;
        padding: 9px 12px;
    }

    .admin-form input,
    .admin-form select,
    .admin-form textarea {
        font-size: 1rem;
        min-height: 44px;
    }

    .admin-form textarea {
        min-height: 100px;
    }

    .admin-tabs {
        border-radius: 8px;
    }

    .admin-tabs button {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .admin-heading h2 {
        font-size: 1.15rem;
    }

    .empty-state {
        padding: 36px 20px;
    }

    .footer {
        padding: 20px 14px;
        font-size: 0.85rem;
    }
}

/* Location Slideshow Styles */
.location-slideshow {
    height: 220px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 16px;
    background: var(--ink);
}

.location-slideshow .slide {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: panRight 15s linear alternate infinite;
}

.location-slideshow .slide.active {
    opacity: 1;
    z-index: 1;
}

@keyframes panRight {
    0% { transform: scale(1.1) translateX(-2%); }
    100% { transform: scale(1.1) translateX(2%); }
}

/* Photo gallery styles for locations */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.gallery-photo {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 2px solid var(--line);
}

.gallery-photo:hover {
    transform: scale(1.05);
    border-color: var(--orange);
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 980px) {
    .photo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 680px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gallery-photo {
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        margin: 16px 0;
    }
}

/* Modal Form Styles */
.modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    width: 100%;
}

.modal-form {
    display: grid;
    gap: 20px;
    padding: 32px;
}

.modal-form h2 {
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.modal-form label {
    display: grid;
    gap: 8px;
}

.modal-form label span {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 0.95rem;
    background: white;
    color: var(--ink);
}

.modal-form input::placeholder,
.modal-form textarea::placeholder,
.modal-form select {
    color: var(--muted);
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(25, 58, 106, 0.1);
}

.modal-form textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

#photoUploadArea,
#cityPhotoUploadArea {
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

#photoUploadArea:hover,
#cityPhotoUploadArea:hover {
    background-color: rgba(25, 58, 106, 0.05);
    border-color: var(--navy);
    cursor: pointer;
}

#photoGalleryPreview img,
#cityPhotoGalleryPreview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#photoGalleryPreview img:hover,
#cityPhotoGalleryPreview img:hover {
    transform: scale(1.05);
}

.photo-preview-item {
    position: relative;
}

.photo-preview-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--orange);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: background-color 0.2s ease;
}

.photo-preview-remove:hover {
    background-color: #d94a11;
}

.btn-ai-generate {
    font-weight: 600;
    font-size: 0.85rem;
    color: #FFB800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    background: none;
    transition: color 0.2s ease;
}

.btn-ai-generate:hover {
    color: #E6A600;
}

.admin-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.btn-secondary {
    background-color: var(--soft);
    color: var(--ink);
    border: 1px solid var(--line);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: var(--line);
}

@media (max-width: 680px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-form {
        padding: 24px;
    }
    
    .admin-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-height: 100vh;
    }
    
    .modal-form {
        padding: 16px;
        gap: 16px;
    }
    
    .modal-form h2 {
        font-size: 1.25rem;
    }
    
    #photoUploadArea,
    #cityPhotoUploadArea {
        min-height: 100px;
        padding: 16px;
    }
}

/* HD Lightbox Styles */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.lightbox.hidden {
    display: none !important;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    animation: fadeInHD 0.3s ease;
}

@keyframes fadeInHD {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2001;
    transition: background 0.2s ease;
    display: grid;
    place-items: center;
}

.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 1.2rem; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 1.5rem; }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* ── Lock Screen ─────────────────────────────── */
.lock-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lock-screen.hidden {
    display: none !important;
}

.lock-box {
    text-align: center;
    max-width: 340px;
    width: 100%;
}

.lock-logo img {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.lock-title {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
}

.lock-subtitle {
    color: var(--muted);
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.lock-form {
    display: grid;
    gap: 12px;
}

.lock-form input {
    width: 100%;
    min-height: 50px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1.4rem;
    text-align: center;
    letter-spacing: 0.22em;
    background: var(--soft);
    color: var(--ink);
}

.lock-form input:focus {
    outline: 3px solid rgba(230,107,26,0.2);
    border-color: var(--orange);
}

.lock-error {
    color: #b42318;
    font-size: 0.88rem;
    margin-top: 10px;
    font-weight: 700;
}

/* ── Settings Admin Tab ──────────────────────── */
.settings-section {
    margin-bottom: 22px;
}

.settings-label {
    display: block;
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.settings-preview {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--line);
    margin-bottom: 10px;
}

.settings-preview.cover-preview {
    width: 100%;
    height: 120px;
}

.settings-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.settings-upload-area {
    border: 2px dashed var(--line);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    color: var(--muted);
    font-size: 0.88rem;
}

.settings-upload-area:hover {
    border-color: var(--orange);
    background: rgba(230,107,26,0.04);
}

.settings-upload-area i {
    font-size: 1.6rem;
    display: block;
    margin-bottom: 6px;
    color: var(--orange);
}

.settings-upload-area p {
    margin: 0;
}
