/**
 * FindOut Admin V2 — brand theme (orange + blue)
 */
:root {
    --fo-orange: #F58220;
    --fo-orange-dark: #E06D10;
    --fo-orange-light: #FFF4EB;
    --fo-blue: #4A90E2;
    --fo-blue-dark: #357ABD;
    --fo-blue-light: #E8F3FF;
    --fo-bg: #F8F9FA;
    --fo-text: #333333;
    --fo-text-muted: #777777;
    --fo-border: #E8ECF0;
    --fo-header-height: 75px;
}

body.page-container-bg-solid {
    background-color: var(--fo-bg) !important;
    color: var(--fo-text);
}

/* ── Header ── */
.page-header.navbar {
    background: #ffffff !important;
    border-bottom: 3px solid var(--fo-orange) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}

.page-header.navbar .page-header-inner {
    min-height: var(--fo-header-height);
    width: 100%;
}

.page-header.navbar .page-top {
    height: var(--fo-header-height) !important;
    padding-top: 0 !important;
    display: block !important;
}

html[dir="rtl"] .page-header.navbar .page-top {
    float: left !important;
}

html[dir="ltr"] .page-header.navbar .page-top {
    float: right !important;
}

.page-header.navbar .top-menu {
    display: block;
    height: 100%;
    padding: 14px 0 10px;
    margin-top: 0 !important;
}

.page-header.navbar .top-menu .navbar-nav {
    display: flex;
    align-items: center;
    margin: 0 !important;
    padding: 0 12px 0 0 !important;
    float: none !important;
}

html[dir="rtl"] .page-header.navbar .top-menu .navbar-nav {
    justify-content: flex-start;
    padding: 0 0 0 12px !important;
}

html[dir="ltr"] .page-header.navbar .top-menu .navbar-nav {
    justify-content: flex-end;
    padding: 0 12px 0 0 !important;
}

.fo-header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--fo-orange-light);
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown-user .dropdown-toggle .fo-header-avatar {
    margin-left: 4px;
}

html[dir="rtl"] .page-header.navbar .top-menu .navbar-nav > li.dropdown-user .dropdown-toggle .fo-header-avatar {
    margin-left: 0;
    margin-right: 4px;
}

.page-header.navbar .page-logo {
    display: flex !important;
    align-items: center !important;
    padding-top: 0 !important;
    height: var(--fo-header-height) !important;
    width: auto !important;
    min-width: 265px;
    max-width: 480px;
    overflow: visible !important;
}

html[dir="rtl"] .page-header.navbar .page-logo {
    float: right !important;
}

html[dir="ltr"] .page-header.navbar .page-logo {
    float: left !important;
}

.page-header.navbar .page-logo .fo-brand-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px;
    float: none !important;
    padding: 8px 12px 0;
    text-decoration: none !important;
    max-width: 100%;
    border-radius: 24px;
    transition: background-color 0.2s ease;
}

.page-header.navbar .page-logo .fo-brand-link:hover {
    background: var(--fo-orange-light) !important;
}

.page-header.navbar .page-logo .fo-brand-link:hover .fo-site-name {
    color: var(--fo-orange-dark) !important;
}

.page-header.navbar .page-logo > a {
    display: inline-flex !important;
    align-items: center !important;
    float: none !important;
}

.page-header.navbar .page-logo .fo-site-name {
    display: inline-block !important;
    font-family: 'Cairo', 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--fo-orange) !important;
    line-height: 1.2;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: visible;
    visibility: visible !important;
    opacity: 1 !important;
}

.page-sidebar-closed.page-sidebar-closed-hide-logo .page-header.navbar .page-logo,
.page-sidebar-closed .page-header.navbar .page-logo {
    width: auto !important;
    min-width: 200px;
    max-width: 480px !important;
    overflow: visible !important;
}

.page-sidebar-closed.page-sidebar-closed-hide-logo .page-header.navbar .page-logo .logo-default,
.page-sidebar-closed .page-header.navbar .page-logo .logo-default {
    display: inline-block !important;
}

.page-sidebar-closed.page-sidebar-closed-hide-logo .page-header.navbar .page-logo .fo-site-name,
.page-sidebar-closed .page-header.navbar .page-logo .fo-site-name {
    display: inline-block !important;
}

@media (max-width: 767px) {
    .page-header.navbar .page-logo {
        min-width: auto;
        max-width: 70vw;
    }

    .page-header.navbar .page-logo .fo-site-name {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .page-header.navbar .page-logo .fo-site-name {
        font-size: 14px;
        max-width: 42vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.page-header.navbar .page-logo .logo-default {
    margin: 0 !important;
    max-height: 56px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    flex-shrink: 0;
    display: inline-block !important;
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown {
    margin: 0 4px;
    height: auto;
    display: flex;
    align-items: center;
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown > .dropdown-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 16px !important;
    margin: 0 !important;
    border-radius: 24px !important;
    transition: background-color 0.2s ease, color 0.2s ease;
    background: transparent !important;
    height: auto !important;
    min-height: 40px;
    line-height: 1.2;
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown > .dropdown-toggle > i,
.page-header.navbar .top-menu .navbar-nav > li.dropdown > .dropdown-toggle > .username {
    color: var(--fo-text-muted) !important;
    transition: color 0.2s ease;
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown > .dropdown-toggle > i {
    color: var(--fo-blue) !important;
    font-size: 18px;
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown > .dropdown-toggle:hover,
.page-header.navbar .top-menu .navbar-nav > li.dropdown.open > .dropdown-toggle,
.page-header.navbar .top-menu .navbar-nav > li.dropdown > .dropdown-toggle:focus {
    background: var(--fo-orange-light) !important;
    color: var(--fo-orange-dark) !important;
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown > .dropdown-toggle:hover > i,
.page-header.navbar .top-menu .navbar-nav > li.dropdown.open > .dropdown-toggle > i,
.page-header.navbar .top-menu .navbar-nav > li.dropdown > .dropdown-toggle:hover > .username,
.page-header.navbar .top-menu .navbar-nav > li.dropdown.open > .dropdown-toggle > .username {
    color: var(--fo-orange-dark) !important;
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown-user.dropdown-dark > .dropdown-toggle,
.page-header.navbar .top-menu .navbar-nav > li.dropdown-user.dropdown-dark > .dropdown-toggle:hover {
    background: transparent !important;
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown-user > .dropdown-toggle:hover,
.page-header.navbar .top-menu .navbar-nav > li.dropdown-user.open > .dropdown-toggle {
    background: var(--fo-orange-light) !important;
}

/* ── Header dropdown menus (match sidebar) ── */
.page-header.navbar .top-menu .navbar-nav > li.dropdown .dropdown-menu,
.page-header.navbar .top-menu .navbar-nav > li.dropdown-dark .dropdown-menu,
.page-header.navbar .top-menu .navbar-nav li.dropdown-dark .dropdown-menu {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid var(--fo-border) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
    padding: 6px 0 !important;
    min-width: 180px;
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown .dropdown-menu:before,
.page-header.navbar .top-menu .navbar-nav > li.dropdown .dropdown-menu:after,
.page-header.navbar .top-menu .navbar-nav > li.dropdown-dark .dropdown-menu:before,
.page-header.navbar .top-menu .navbar-nav > li.dropdown-dark .dropdown-menu:after {
    border-bottom-color: #ffffff !important;
}

.page-header.navbar .top-menu .dropdown-menu > li > a,
.page-header.navbar .top-menu .dropdown-menu .fo-dropdown-item,
.page-header.navbar .top-menu .navbar-nav > li.dropdown-dark .dropdown-menu.dropdown-menu-default > li a,
.page-header.navbar .top-menu .navbar-nav li.dropdown-dark .dropdown-menu .dropdown-menu-list > li a {
    padding: 10px 18px !important;
    color: var(--fo-text-muted) !important;
    background: transparent !important;
    border-bottom: none !important;
    font-weight: 500 !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.page-header.navbar .top-menu .dropdown-menu > li > a:hover,
.page-header.navbar .top-menu .dropdown-menu > li > a:focus,
.page-header.navbar .top-menu .dropdown-menu .fo-dropdown-item:hover,
.page-header.navbar .top-menu .dropdown-menu .fo-dropdown-item:focus,
.page-header.navbar .top-menu .navbar-nav > li.dropdown-dark .dropdown-menu.dropdown-menu-default > li a:hover,
.page-header.navbar .top-menu .navbar-nav li.dropdown-dark .dropdown-menu .dropdown-menu-list > li a:hover {
    background: var(--fo-orange-light) !important;
    color: var(--fo-orange-dark) !important;
}

.page-header.navbar .top-menu .dropdown-menu > li > a > i,
.page-header.navbar .top-menu .dropdown-menu .fo-dropdown-item > i,
.page-header.navbar .top-menu .navbar-nav > li.dropdown-dark .dropdown-menu.dropdown-menu-default > li a > i,
.page-header.navbar .top-menu .navbar-nav li.dropdown-dark .dropdown-menu .dropdown-menu-list > li a > i {
    color: var(--fo-blue) !important;
}

.page-header.navbar .top-menu .dropdown-menu > li > a:hover > i,
.page-header.navbar .top-menu .dropdown-menu .fo-dropdown-item:hover > i,
.page-header.navbar .top-menu .navbar-nav > li.dropdown-dark .dropdown-menu.dropdown-menu-default > li a:hover > i {
    color: var(--fo-orange-dark) !important;
}

/* Keep header dropdowns inside viewport */
html[dir="rtl"] .page-header.navbar .top-menu .navbar-nav > li.dropdown > .dropdown-menu {
    left: 20px !important;
    right: auto !important;
}

html[dir="ltr"] .page-header.navbar .top-menu .navbar-nav > li.dropdown > .dropdown-menu {
    right: 20px !important;
    left: auto !important;
}

.page-header.navbar .top-menu .dropdown-menu .fo-logout-form {
    margin: 0;
    padding: 0;
}

.page-header.navbar .top-menu .dropdown-menu .fo-dropdown-item {
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: inherit;
}

html[dir="rtl"] .page-header.navbar .top-menu .dropdown-menu .fo-dropdown-item {
    text-align: right;
}

html[dir="ltr"] .page-header.navbar .top-menu .dropdown-menu .fo-dropdown-item {
    text-align: left;
}

.page-header.navbar .top-menu .dropdown-menu > li.divider {
    height: 1px;
    margin: 4px 0;
    overflow: hidden;
    background-color: var(--fo-border);
}

.page-header.navbar .top-menu .navbar-nav > li.dropdown.open > .dropdown-toggle {
    background: var(--fo-orange-light) !important;
}

.page-header.navbar .menu-toggler {
    background-color: transparent !important;
    border-radius: 24px !important;
    transition: background-color 0.2s ease;
}

.page-header.navbar .menu-toggler:hover {
    background-color: var(--fo-orange-light) !important;
}

.page-header.navbar .menu-toggler > span,
.page-header.navbar .menu-toggler > span::before,
.page-header.navbar .menu-toggler > span::after {
    background-color: var(--fo-orange) !important;
}

/* ── Sidebar ── */
.page-sidebar,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover {
    background-color: #ffffff !important;
}

html[dir="rtl"] .page-sidebar,
html[dir="rtl"] .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover {
    border-left: 1px solid var(--fo-border);
}

html[dir="ltr"] .page-sidebar,
html[dir="ltr"] .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover {
    border-right: 1px solid var(--fo-border);
}

.page-sidebar .page-sidebar-menu > li > a,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li > a {
    color: var(--fo-text-muted) !important;
}

html[dir="rtl"] .page-sidebar .page-sidebar-menu > li > a,
html[dir="rtl"] .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li > a {
    border-radius: 0 24px 24px 0;
    margin: 2px 0 2px 8px;
}

html[dir="ltr"] .page-sidebar .page-sidebar-menu > li > a,
html[dir="ltr"] .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li > a {
    border-radius: 24px 0 0 24px;
    margin: 2px 8px 2px 0;
}

.page-sidebar .page-sidebar-menu > li > a > i,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li > a > i {
    color: var(--fo-blue) !important;
}

.page-sidebar .page-sidebar-menu > li:hover > a,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li:hover > a {
    background: var(--fo-orange-light) !important;
    color: var(--fo-orange-dark) !important;
}

.page-sidebar .page-sidebar-menu > li.active > a,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li.active > a {
    background: var(--fo-orange) !important;
    color: #ffffff !important;
}

.page-sidebar .page-sidebar-menu > li.active > a > i,
.page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu > li.active > a > i {
    color: #ffffff !important;
}

.page-sidebar .page-sidebar-menu > li.active > a > .selected {
    border-right-color: var(--fo-orange-dark) !important;
}

/* ── Sidebar collapse (matches place-form nav) ── */
.fo-sidebar-toggle {
    display: none;
}

@media (min-width: 992px) {
    .fo-sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 36px;
        padding: 0;
        border: none;
        border-bottom: 1px solid var(--fo-border);
        background: #f0f2f5;
        color: var(--fo-text-muted);
        cursor: pointer;
        flex-shrink: 0;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

    .fo-sidebar-toggle:hover {
        background: var(--fo-orange-light);
        color: var(--fo-orange-dark);
    }

    .fo-sidebar-toggle__icon {
        font-size: 16px;
        transition: transform 0.2s ease;
    }

    body.fo-sidebar-collapsed .fo-sidebar-toggle__icon {
        transform: rotate(180deg);
    }

    html[dir="rtl"] .fo-sidebar-toggle__icon {
        transform: rotate(180deg);
    }

    html[dir="rtl"] body.fo-sidebar-collapsed .fo-sidebar-toggle__icon {
        transform: rotate(0deg);
    }

    body.fo-sidebar-collapsed .page-sidebar {
        width: 56px !important;
        transition: width 0.2s ease;
    }

    html[dir="ltr"] body.fo-sidebar-collapsed .page-content-wrapper .page-content {
        margin-left: 56px !important;
        transition: margin-left 0.2s ease;
    }

    html[dir="rtl"] body.fo-sidebar-collapsed .page-content-wrapper .page-content {
        margin-right: 56px !important;
        transition: margin-right 0.2s ease;
    }

    body.fo-sidebar-collapsed .page-sidebar .page-sidebar-menu > li > a > span:not(.selected),
    body.fo-sidebar-collapsed .page-sidebar .page-sidebar-menu > li > a > .title {
        display: none !important;
    }

    body.fo-sidebar-collapsed .page-sidebar .page-sidebar-menu > li > a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 8px !important;
        margin: 2px 4px !important;
        border-radius: 8px !important;
        text-align: center;
    }

    body.fo-sidebar-collapsed .page-sidebar .page-sidebar-menu > li > a > i {
        margin: 0 !important;
        float: none !important;
        width: auto !important;
    }

    body.fo-sidebar-collapsed .page-sidebar .page-sidebar-menu > li.active > a > .selected {
        display: none !important;
    }
}

/* ── Page content ── */
.page-content {
    background-color: var(--fo-bg) !important;
}

.page-head .page-title h1 {
    color: var(--fo-text);
    font-weight: 600;
}

.page-content:has(.fo-place-show) .page-head {
    margin-bottom: 14px;
}

.page-content:has(.fo-place-show) .page-head .page-title {
    padding-bottom: 14px;
}

.page-breadcrumb {
    background: transparent !important;
}

.page-breadcrumb > li > a {
    color: var(--fo-blue) !important;
}

/* ── Portlets / cards ── */
.portlet.light.bordered {
    border-color: var(--fo-border) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.portlet > .portlet-title > .caption > .caption-subject {
    color: var(--fo-text) !important;
}

/* ── Section headings (settings etc.) ── */
.font-red,
h3.font-red {
    color: var(--fo-orange) !important;
}

.fo-section-title {
    color: var(--fo-orange) !important;
    font-weight: 600;
}

/* ── Buttons ── */
.btn.green,
.btn.btn-success {
    background-color: var(--fo-orange) !important;
    border-color: var(--fo-orange-dark) !important;
    border-radius: 8px !important;
}

.btn.green:hover,
.btn.btn-success:hover,
.btn.green:focus,
.btn.btn-success:focus {
    background-color: var(--fo-orange-dark) !important;
    border-color: var(--fo-orange-dark) !important;
}

.btn-primary {
    background-color: var(--fo-blue) !important;
    border-color: var(--fo-blue-dark) !important;
    border-radius: 6px !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--fo-blue-dark) !important;
    border-color: var(--fo-blue-dark) !important;
}

/* ── Dashboard stats ── */
.page-content:has(.fo-dashboard) .page-head {
    display: none;
}

.fo-dashboard {
    padding-bottom: 12px;
}

.fo-dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
    padding: 28px 32px;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--fo-blue) 0%, var(--fo-blue-dark) 55%, #2d6aad 100%);
    box-shadow: 0 10px 28px rgba(74, 144, 226, 0.28);
}

.fo-dashboard-welcome-text h2 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.fo-dashboard-welcome-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.fo-dashboard-welcome-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    white-space: nowrap;
}

.fo-charts-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-top: 28px;
}

.fo-chart-card {
    grid-column: span 4;
    background: #ffffff;
    border: 1px solid var(--fo-border);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.fo-chart-card--wide {
    grid-column: span 8;
}

.fo-chart-card__header {
    padding: 20px 22px 0;
}

.fo-chart-card__header h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--fo-text);
}

.fo-chart-card__header p {
    margin: 0;
    font-size: 12px;
    color: var(--fo-text-muted);
}

.fo-chart-card__body {
    position: relative;
    height: 260px;
    padding: 12px 18px 18px;
}

.fo-chart-card__body--doughnut {
    height: 300px;
    padding-bottom: 8px;
}

.fo-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.fo-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--fo-border);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.fo-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(74, 144, 226, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.fo-stat-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    font-size: 20px;
}

.fo-stat-card--fo-orange .fo-stat-card__icon {
    background: var(--fo-orange-light);
    color: var(--fo-orange);
}

.fo-stat-card--fo-blue .fo-stat-card__icon {
    background: var(--fo-blue-light);
    color: var(--fo-blue);
}

.fo-stat-card__body {
    min-width: 0;
}

.fo-stat-card__value {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--fo-text);
}

.fo-stat-card__label {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--fo-text-muted);
}

@media (max-width: 991px) {
    .fo-chart-card,
    .fo-chart-card--wide {
        grid-column: span 12;
    }
}

@media (max-width: 767px) {
    .fo-dashboard-welcome {
        padding: 22px 20px;
    }

    .fo-dashboard-welcome-text h2 {
        font-size: 20px;
    }

    .fo-charts-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fo-chart-card,
    .fo-chart-card--wide {
        grid-column: span 1;
    }

    .fo-chart-card__body {
        height: 220px;
    }

    .fo-chart-card__body--doughnut {
        height: 260px;
    }

    .fo-stat-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.dashboard-stat.fo-orange,
.dashboard-stat.orange {
    background-color: var(--fo-orange) !important;
}

.dashboard-stat.fo-blue,
.dashboard-stat.blue {
    background-color: var(--fo-blue) !important;
}

/* ── Alerts ── */
.alert-success {
    background-color: var(--fo-blue-light) !important;
    border-color: var(--fo-blue) !important;
    color: var(--fo-blue-dark) !important;
}

/* ── Forms ── */
.form-control:focus {
    border-color: var(--fo-orange) !important;
    box-shadow: 0 0 0 2px rgba(245, 130, 32, 0.15) !important;
}

/* ── Settings logo preview ── */
.fo-logo-preview {
    margin-top: 8px;
    margin-bottom: 4px;
}

.fo-logo-preview img {
    max-height: 90px !important;
    width: auto;
    border-radius: 8px;
    padding: 6px;
    background: var(--fo-bg);
    border: 1px solid var(--fo-border);
}

.fo-favicon-preview img {
    max-height: 48px !important;
}

/* ── Login page ── */
body.login {
    background: linear-gradient(135deg, var(--fo-blue) 0%, var(--fo-blue-dark) 100%) !important;
}

body.login .logo {
    margin-top: 40px !important;
    margin-bottom: 10px !important;
}

body.login .fo-login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

body.login .fo-login-brand-name {
    font-family: 'Cairo', 'Open Sans', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

body.login .logo img {
    max-height: 90px !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

body.login .content {
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
}

body.login .form-title.font-green {
    color: var(--fo-orange) !important;
}

body.login .btn.green {
    background-color: var(--fo-orange) !important;
    border-color: var(--fo-orange-dark) !important;
    border-radius: 8px !important;
}

/* ── Tables ── */
.table-responsive { padding-top: 20px; }
div#dataTableBuilder_wrapper { overflow-x: auto !important; padding-top: 20px; }

.table thead tr th {
    background-color: var(--fo-blue-light) !important;
    color: var(--fo-blue-dark) !important;
    border-color: var(--fo-border) !important;
}

.table-hover > tbody > tr:hover {
    background-color: var(--fo-orange-light) !important;
}

/* ── Status toggle (index tables + forms) ── */
.fo-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
    min-height: 22px;
    max-height: 22px;
    line-height: 1;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
}

.fo-switch input[type="checkbox"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    width: 42px !important;
    height: 22px !important;
    min-width: 42px !important;
    min-height: 22px !important;
    max-width: 42px !important;
    max-height: 22px !important;
    z-index: 2;
    cursor: pointer;
    -webkit-appearance: none !important;
    appearance: none !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.fo-switch .fo-switch-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 22px;
    pointer-events: none;
    background-color: #c5cdd8 !important;
    border-radius: 11px !important;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

.fo-switch .fo-switch-slider::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease;
}

.fo-switch input:checked + .fo-switch-slider {
    background-color: var(--fo-orange) !important;
}

.fo-switch input:checked + .fo-switch-slider::before {
    transform: translateX(20px);
}

html[dir="rtl"] .fo-switch .fo-switch-slider::before {
    left: auto;
    right: 2px;
}

html[dir="rtl"] .fo-switch input:checked + .fo-switch-slider::before {
    transform: translateX(-20px);
}

.fo-switch input:disabled + .fo-switch-slider {
    opacity: 0.55;
    cursor: wait;
}

.fo-switch input:focus-visible + .fo-switch-slider {
    outline: 2px solid var(--fo-blue);
    outline-offset: 1px;
}

.form-horizontal .form-group .fo-switch {
    margin-top: 7px;
}

.form-horizontal .bootstrap-select {
    width: 100% !important;
}

.form-horizontal .bootstrap-select > .dropdown-toggle {
    width: 100%;
    border-radius: 8px !important;
    border-color: var(--fo-border, #E8ECF0) !important;
    min-height: 38px;
}

.form-horizontal .bootstrap-select.open > .dropdown-toggle {
    border-color: var(--fo-orange, #F58220) !important;
}

.fo-switch-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fo-switch-row .fo-switch {
    flex-shrink: 0;
    margin-top: 0;
}

.fo-switch-label {
    font-weight: 500;
    line-height: 22px;
}

.fo-check-list .fo-switch-row {
    margin-bottom: 10px;
}

/* ── Toast notifications ── */
.fo-toast-container {
    position: fixed;
    top: 88px;
    z-index: 10060;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}

html[dir="rtl"] .fo-toast-container {
    left: 24px;
    right: auto;
}

html[dir="ltr"] .fo-toast-container {
    right: 24px;
    left: auto;
}

.fo-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 10px !important;
    background: #ffffff;
    border: 1px solid var(--fo-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    color: var(--fo-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fo-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.fo-toast.hide {
    opacity: 0;
    transform: translateY(-8px);
}

.fo-toast i {
    font-size: 18px;
    flex-shrink: 0;
}

.fo-toast-success {
    border-right: 4px solid var(--fo-orange);
}

html[dir="ltr"] .fo-toast-success {
    border-right: none;
    border-left: 4px solid var(--fo-orange);
}

.fo-toast-success i {
    color: var(--fo-orange);
}

.fo-toast-error {
    border-right: 4px solid #e74c3c;
}

html[dir="ltr"] .fo-toast-error {
    border-right: none;
    border-left: 4px solid #e74c3c;
}

.fo-toast-error i {
    color: #e74c3c;
}

.fo-toast-info i {
    color: var(--fo-blue);
}

/* ── CRUD filters ── */
.fo-crud-filters {
    margin-bottom: 18px;
    padding: 16px;
    background: var(--fo-bg, #F8F9FA);
    border: 1px solid var(--fo-border, #E8ECF0);
    border-radius: 10px;
}

.fo-crud-filters > .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
}

.fo-crud-filters > .row > [class*="col-"] {
    float: none;
}

.fo-crud-filters .form-group {
    margin-bottom: 12px;
}

.fo-crud-filters .fo-filter-search .input-group {
    width: 100%;
}

.fo-crud-filters .fo-filter-search .form-control {
    height: 34px;
}

.fo-crud-filters .form-control {
    height: 34px;
}

.fo-enum-label {
    display: inline-block;
    white-space: normal;
    line-height: 1.35;
    text-align: start;
}

.fo-row-pinned {
    background-color: #fff9f3 !important;
}

.fo-row-pinned > td:first-child {
    box-shadow: inset 3px 0 0 var(--fo-orange, #F58220);
}

.fo-pin-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-inline-end: 6px;
    border-radius: 50%;
    background: rgba(245, 130, 32, 0.14);
    color: var(--fo-orange, #F58220);
    font-size: 11px;
    vertical-align: middle;
}

.fo-pin-order-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.16), rgba(245, 130, 32, 0.08));
    border: 1px solid rgba(245, 130, 32, 0.28);
    color: #c96510;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.fo-pin-order-badge .fa {
    font-size: 11px;
}

.fo-table-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    border: none;
    background: transparent;
    vertical-align: middle;
    transition: opacity 0.15s ease;
}

.fo-table-thumb-btn {
    display: inline-block;
    border: none;
    background: none;
    padding: 0;
    cursor: zoom-in;
    line-height: 0;
    vertical-align: middle;
}

.fo-table-thumb-btn:hover .fo-table-thumb,
.fo-table-thumb-btn:focus .fo-table-thumb {
    opacity: 0.85;
}

.fo-image-preview-modal .modal-content {
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
}

.fo-image-preview-close {
    position: absolute;
    top: -40px;
    inset-inline-end: 0;
    z-index: 2;
    float: none;
    color: #fff;
    opacity: 1;
    font-size: 32px;
    font-weight: 300;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.fo-image-preview-modal .modal-body {
    padding: 0;
    background: transparent;
}

.fo-image-preview-img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.fo-table-thumb-placeholder {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px dashed var(--fo-border, #E8ECF0);
    background: #f3f4f6;
    color: #b0b8c4;
    font-size: 18px;
    vertical-align: middle;
}

.fo-crud-filters .control-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--fo-text-muted);
    margin-bottom: 4px;
}

.fo-crud-filters .input-group-addon {
    background: #fff;
    border-color: #c2cad8;
    color: var(--fo-orange);
}

.fo-crud-filters-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

html[dir="rtl"] .fo-crud-filters .input-group .form-control {
    border-radius: 0 4px 4px 0 !important;
}

html[dir="rtl"] .fo-crud-filters .input-group-addon:first-child {
    border-radius: 0 4px 4px 0 !important;
}

/* ── Pagination ── */
.fo-pagination {
    margin-top: 20px;
    padding: 12px 0 4px;
    text-align: center;
}

.fo-pagination .pagination {
    margin: 0;
    display: inline-block;
}

html[dir="rtl"] .fo-pagination .pagination > li {
    float: right;
}

.pagination > li > a,
.pagination > li > span {
    border-radius: 6px !important;
    margin: 0 2px;
    color: var(--fo-text-muted);
    border-color: var(--fo-border) !important;
}

.pagination > .active > a,
.pagination > .active > span {
    background-color: var(--fo-orange) !important;
    border-color: var(--fo-orange) !important;
}

.pagination > li > a:hover {
    color: var(--fo-orange) !important;
}

/* ── Settings tabs ── */
.fo-settings-tabs {
    margin-bottom: 10px;
}

.fo-settings-tabs > .nav-tabs {
    border-bottom: 2px solid var(--fo-border, #E8ECF0);
    margin-bottom: 0;
}

.fo-settings-tabs > .nav-tabs > li > a {
    border: none;
    border-radius: 8px 8px 0 0;
    color: var(--fo-text-muted, #7A8A9E);
    font-weight: 600;
    padding: 12px 20px;
    margin-bottom: -2px;
}

.fo-settings-tabs > .nav-tabs > li > a:hover {
    background: var(--fo-orange-light, #FFF4EB);
    color: var(--fo-orange, #F58220);
    border-color: transparent;
}

.fo-settings-tabs > .nav-tabs > li.active > a,
.fo-settings-tabs > .nav-tabs > li.active > a:hover,
.fo-settings-tabs > .nav-tabs > li.active > a:focus {
    color: var(--fo-orange, #F58220);
    background: #fff;
    border: none;
    border-bottom: 2px solid var(--fo-orange, #F58220);
}

.fo-settings-tabs > .nav-tabs > li > a i {
    margin-inline-end: 6px;
}

.fo-settings-tab-content {
    padding: 24px 0 8px;
    border: 1px solid var(--fo-border, #E8ECF0);
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: #fff;
}

.fo-settings-tab-content > .tab-pane {
    padding: 0 20px;
}

/* ── User permissions & profile ── */
.fo-user-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fo-user-type-tab {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border: 2px solid var(--fo-border);
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--fo-text-muted);
    background: #fff;
    margin: 0;
}

.fo-user-type-tab input {
    display: none;
}

.fo-user-type-tab.active {
    border-color: var(--fo-orange);
    background: var(--fo-orange-light);
    color: var(--fo-orange-dark);
}

a.fo-user-type-tab {
    text-decoration: none;
}

a.fo-user-type-tab:hover,
a.fo-user-type-tab:focus {
    text-decoration: none;
    color: var(--fo-orange-dark);
}

.fo-user-type-tabs--filter {
    margin-bottom: 0;
}

.fo-user-type-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-inline-start: 8px;
    padding: 0 6px;
    border-radius: 11px;
    background: rgba(0, 0, 0, 0.08);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.fo-user-type-tab.active .fo-user-type-count {
    background: rgba(255, 255, 255, 0.75);
    color: var(--fo-orange-dark);
}

.fo-perm-groups-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.fo-perm-group-card {
    border: 1px solid var(--fo-border);
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
    height: 100%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.fo-perm-group {
    margin-bottom: 20px;
}

.fo-perm-group-title {
    font-weight: 700;
    color: var(--fo-orange);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--fo-border);
    font-size: 14px;
}

.fo-perm-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fo-perm-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--fo-border);
    border-radius: 8px;
    background: var(--fo-bg);
    cursor: pointer;
    font-weight: 500;
    color: var(--fo-text-muted);
    margin: 0;
    transition: all 0.15s ease;
}

.fo-perm-pill input {
    margin: 0;
    accent-color: var(--fo-orange);
}

.fo-perm-pill.active,
.fo-perm-pill:has(input:checked) {
    border-color: var(--fo-orange);
    background: var(--fo-orange-light);
    color: var(--fo-orange-dark);
}

.fo-perm-pill.readonly {
    cursor: default;
}

@media (max-width: 1199px) {
    .fo-perm-groups-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .fo-perm-groups-grid {
        grid-template-columns: 1fr;
    }
}

.fo-user-avatar-preview img,
.fo-user-profile-photo {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--fo-orange-light);
}

.fo-user-profile-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--fo-blue-light);
    color: var(--fo-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto;
}

.fo-user-profile-card {
    padding: 10px 0;
}

.fo-user-place-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--fo-border);
}

.fo-user-place-item:last-child {
    border-bottom: none;
}

/* ── Forbidden / no permission page ── */
.fo-forbidden-page {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

.fo-forbidden-card {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--fo-border);
    border-radius: 16px;
    padding: 40px 32px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.fo-forbidden-visual svg {
    width: 220px;
    max-width: 100%;
    height: auto;
    margin-bottom: 8px;
}

.fo-forbidden-title {
    font-family: 'Cairo', 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--fo-orange);
    margin: 12px 0 10px;
}

.fo-forbidden-message {
    font-size: 15px;
    line-height: 1.7;
    color: var(--fo-text-muted);
    margin-bottom: 28px;
}

.fo-forbidden-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.fo-forbidden-actions .btn {
    min-width: 160px;
    border-radius: 8px !important;
}

/* ── Confirm delete modal ── */
.fo-confirm-modal .modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--fo-border, #E8ECF0);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.fo-confirm-modal .modal-header {
    background: var(--fo-orange-light, #FFF4EB);
    border-bottom: 1px solid var(--fo-border, #E8ECF0);
    padding: 14px 18px;
}

.fo-confirm-modal .modal-title {
    font-weight: 700;
    color: var(--fo-text, #333);
    font-size: 16px;
}

.fo-confirm-modal .modal-title .fa {
    margin-inline-end: 6px;
}

.fo-confirm-modal .modal-body {
    padding: 22px 20px 18px;
}

.fo-confirm-modal .modal-footer {
    border-top: 1px solid var(--fo-border, #E8ECF0);
    padding: 12px 18px;
    text-align: center;
}

.fo-confirm-modal .fo-confirm-icon-wrap {
    margin-bottom: 12px;
}

.fo-confirm-modal .fo-confirm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fdecea;
    color: #e74c3c;
    font-size: 24px;
}

.fo-confirm-modal .fo-confirm-message {
    margin: 0;
    color: var(--fo-text-muted, #666);
    font-size: 15px;
    line-height: 1.6;
}

.fo-confirm-modal .modal-footer .btn {
    min-width: 100px;
    border-radius: 8px !important;
}

.fo-confirm-modal .modal-footer .btn-danger {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.fo-confirm-modal .modal-footer .btn-danger:hover,
.fo-confirm-modal .modal-footer .btn-danger:focus {
    background-color: #cf3f34;
    border-color: #cf3f34;
}

/* ── Place form (create / edit) ── */
.fo-place-form-portlet .portlet-body {
    padding: 0;
}

.fo-place-form-portlet .fo-place-form-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--fo-border);
}

.fo-place-form-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 0;
    align-items: start;
    transition: grid-template-columns 0.2s ease;
}

.fo-place-form-layout.is-nav-collapsed {
    grid-template-columns: 56px minmax(0, 1fr);
}

.fo-place-form-nav-wrap {
    position: sticky;
    top: 88px;
    align-self: start;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 100px);
    border-inline-end: 1px solid var(--fo-border);
    background: #fafbfc;
}

.fo-place-form-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    padding: 0;
    border: none;
    border-bottom: 1px solid var(--fo-border);
    background: #f0f2f5;
    color: var(--fo-text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.fo-place-form-nav-toggle:hover {
    background: var(--fo-orange-light);
    color: var(--fo-orange-dark);
}

.fo-place-form-nav-toggle__icon {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.fo-place-form-layout.is-nav-collapsed .fo-place-form-nav-toggle__icon {
    transform: rotate(180deg);
}

html[dir="rtl"] .fo-place-form-nav-toggle__icon {
    transform: rotate(180deg);
}

html[dir="rtl"] .fo-place-form-layout.is-nav-collapsed .fo-place-form-nav-toggle__icon {
    transform: rotate(0deg);
}

.fo-place-form-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 8px 16px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}

.fo-place-form-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--fo-text-muted);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
}

.fo-place-form-layout.is-nav-collapsed .fo-place-form-nav__link {
    justify-content: center;
    padding: 9px 8px;
}

.fo-place-form-layout.is-nav-collapsed .fo-place-form-nav__link span {
    display: none;
}

.fo-place-form-nav__link i {
    width: 16px;
    text-align: center;
    color: var(--fo-blue);
    flex-shrink: 0;
}

.fo-place-form-nav__link:hover {
    background: var(--fo-orange-light);
    color: var(--fo-orange-dark);
}

.fo-place-form-nav__link.is-active {
    background: var(--fo-orange);
    color: #ffffff;
}

.fo-place-form-nav__link.is-active i {
    color: #ffffff;
}

.fo-place-form-main {
    padding: 20px 24px 88px;
    min-width: 0;
}

.fo-place-form-portlet .fo-form-section {
    margin-bottom: 20px;
    padding: 0;
    border: 1px solid var(--fo-border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    scroll-margin-top: 88px;
    overflow: visible;
}

.fo-place-form-portlet .fo-form-section:last-child {
    margin-bottom: 0;
}

.fo-place-form-portlet .fo-form-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(90deg, var(--fo-orange-light) 0%, #ffffff 100%);
    border-bottom: 1px solid var(--fo-border);
}

.fo-place-form-portlet .fo-form-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--fo-orange);
    font-size: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.fo-place-form-portlet .fo-form-section-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--fo-text);
}

.fo-place-form-portlet .fo-form-section-body {
    padding: 18px;
}

.fo-place-form-portlet .form-group {
    margin-bottom: 16px;
}

.fo-place-form-portlet .form-group:last-child {
    margin-bottom: 0;
}

.fo-place-form-portlet .control-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--fo-text-muted);
    margin-bottom: 6px;
}

.fo-place-form-portlet .form-control {
    border-radius: 8px !important;
    border-color: var(--fo-border) !important;
    min-height: 38px;
    box-shadow: none !important;
}

.fo-place-form-portlet #fo-section-hours > .fo-form-section-body > .form-group {
    padding: 10px 14px;
    border: 1px solid var(--fo-border);
    border-radius: 10px;
    background: var(--fo-bg);
    margin-bottom: 16px;
}

.fo-upload-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 32px 20px;
    border: 2px dashed var(--fo-orange);
    border-radius: 12px;
    background: var(--fo-orange-light);
    cursor: pointer;
    text-align: center;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    margin: 0;
}

.fo-upload-zone:hover,
.fo-upload-zone:focus-within {
    background: #ffe8d4;
    border-color: var(--fo-orange-dark);
}

.fo-upload-zone__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.fo-upload-zone__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--fo-orange);
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(245, 130, 32, 0.15);
}

.fo-upload-zone__title {
    font-weight: 700;
    color: var(--fo-text);
    font-size: 14px;
}

.fo-upload-zone__hint {
    font-size: 12px;
    color: var(--fo-text-muted);
}

.fo-upload-preview-label {
    margin: 10px 0 0;
    font-size: 13px;
    color: var(--fo-blue-dark);
    font-weight: 600;
}

.fo-photo-preview {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--fo-border);
}

.fo-photo-preview__title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fo-blue-dark);
}

.fo-photo-thumb--pending .fo-photo-preview-remove {
    position: absolute;
    top: 6px;
    inset-inline-end: 6px;
    padding: 3px 7px;
    line-height: 1.2;
    border-radius: 6px !important;
    opacity: 0.92;
}

.fo-photo-preview-name {
    margin: 6px 0 10px;
    font-size: 11px;
    color: var(--fo-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fo-place-map {
    width: 100%;
    height: 360px;
    border-radius: 12px;
    border: 1px solid var(--fo-border);
    margin-bottom: 10px;
}

.fo-map-hint {
    margin-bottom: 12px;
    font-size: 13px;
}

.fo-coords-label {
    font-weight: 600;
    color: var(--fo-blue);
    margin: 8px 0 0;
    font-size: 13px;
}

.fo-existing-photos {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--fo-border);
}

.fo-photo-thumb {
    position: relative;
    margin-bottom: 10px;
}

.fo-photo-thumb img,
.fo-photo-thumb video {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--fo-border);
}

.fo-photo-delete-btn {
    position: absolute;
    top: 6px;
    inset-inline-end: 6px;
    padding: 3px 7px;
    line-height: 1.2;
    border-radius: 6px !important;
    opacity: 0.92;
}

.fo-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.fo-social-link-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--fo-border);
    border-radius: 10px;
    background: var(--fo-bg);
}

.fo-social-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f4f6f8;
    color: #666;
    font-size: 16px;
    overflow: hidden;
}

.fo-social-type-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.fo-social-select-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    margin-inline-end: 8px;
    vertical-align: middle;
}

.fo-social-link-type {
    flex: 0 0 180px;
    max-width: 180px;
}

.fo-place-form .fo-social-link-row .bootstrap-select {
    flex: 1 1 180px;
    min-width: 160px;
    max-width: 220px;
}

.fo-place-form .fo-social-link-row .bootstrap-select > .dropdown-toggle {
    height: 38px;
}

.fo-social-type-icon--website {
    background: rgba(74, 144, 226, 0.12);
    color: #4A90E2;
}

.fo-social-type-icon--facebook {
    background: rgba(24, 119, 242, 0.12);
    color: #1877F2;
}

.fo-social-type-icon--instagram {
    background: rgba(228, 64, 95, 0.12);
    color: #E4405F;
}

.fo-social-type-icon--x {
    background: rgba(0, 0, 0, 0.08);
    color: #000;
}

.fo-social-x-mark {
    display: inline-block;
    font-weight: 800;
    font-size: 15px;
    line-height: 1;
    letter-spacing: -0.03em;
}

.fo-social-type-icon--youtube {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

.fo-social-type-icon--snapchat {
    background: rgba(255, 252, 0, 0.28);
    color: #9a8f00;
}

.fo-social-type-icon--tiktok {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.fo-social-tiktok-icon {
    width: 16px;
    height: 16px;
    display: block;
}

.fo-social-type-icon--other {
    background: rgba(120, 120, 120, 0.12);
    color: #777;
}

.fo-social-link-url {
    flex: 1 1 auto;
    min-width: 0;
}

.fo-social-link-row .fo-remove-social-link {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 8px !important;
}

.fo-add-social-btn {
    border-radius: 8px !important;
    border-color: var(--fo-border) !important;
    font-weight: 600;
}

.fo-add-social-btn:hover {
    border-color: var(--fo-orange) !important;
    color: var(--fo-orange-dark) !important;
    background: var(--fo-orange-light) !important;
}

.fo-toggle-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.fo-toggle-grid--2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fo-place-status-fields {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .fo-toggle-grid--2col {
        grid-template-columns: 1fr;
    }
}

.fo-toggle-grid .fo-switch-row {
    padding: 10px 14px;
    border: 1px solid var(--fo-border);
    border-radius: 10px;
    background: var(--fo-bg);
    margin-bottom: 0;
}

.fo-form-actions-bar {
    position: sticky;
    bottom: 0;
    z-index: 10;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--fo-border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    backdrop-filter: blur(6px);
}

.fo-form-actions-bar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.fo-place-form-portlet .fo-color-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 280px;
}

.fo-place-form-portlet .fo-color-picker-swatch {
    width: 44px;
    height: 38px;
    padding: 2px;
    border: 1px solid var(--fo-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    flex: 0 0 44px;
}

.fo-place-form-portlet .fo-color-picker-value {
    flex: 1 1 auto;
    font-family: monospace;
    text-transform: uppercase;
}

.fo-place-form .cke_chrome {
    border-radius: 10px !important;
    overflow: hidden;
    border-color: var(--fo-border) !important;
}

.fo-place-form .bootstrap-select {
    width: 100% !important;
}

.fo-place-form .bootstrap-select > .dropdown-toggle {
    width: 100%;
    border: 1px solid var(--fo-border) !important;
    border-radius: 8px !important;
    background: #fff;
    min-height: 38px;
    padding: 6px 12px;
}

.fo-place-form .bootstrap-select.open > .dropdown-toggle {
    border-color: var(--fo-orange) !important;
}

.fo-place-form .bootstrap-select > select.form-control {
    min-height: 0;
    border: none;
    box-shadow: none;
}

.fo-place-form .bootstrap-select .dropdown-menu {
    max-height: 280px;
    overflow-y: auto;
}

.fo-place-form .bootstrap-select .dropdown-menu.open {
    z-index: 1060;
}

html[dir="rtl"] .fo-place-form .fo-phone-input {
    text-align: right;
}

html[dir="ltr"] .fo-place-form .fo-phone-input {
    text-align: left;
}

@media (max-width: 991px) {
    .fo-place-form-layout {
        grid-template-columns: 1fr;
    }

    .fo-place-form-layout.is-nav-collapsed {
        grid-template-columns: 1fr;
    }

    .fo-place-form-nav-wrap {
        position: static;
        max-height: none;
        border-inline-end: none;
        border-bottom: 1px solid var(--fo-border);
    }

    .fo-place-form-nav-toggle {
        display: none;
    }

    .fo-place-form-nav {
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 10px 12px;
        -webkit-overflow-scrolling: touch;
    }

    .fo-place-form-nav__link {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 8px 12px;
    }

    .fo-place-form-nav__link span {
        display: none;
    }

    .fo-place-form-main {
        padding: 16px 16px 80px;
    }

    .fo-social-link-row {
        flex-wrap: wrap;
    }

    .fo-social-link-type {
        flex: 1 1 100%;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .fo-form-actions-bar {
        padding: 12px 16px;
    }

    .fo-form-actions-bar__inner .btn {
        flex: 1;
    }
}

/* ── Place Show Page ── */
.fo-place-show {
    margin: 0 -5px 0;
}

.fo-place-show__header {
    background: #fff;
    border: 1px solid var(--fo-border);
    border-radius: 16px;
    padding: 22px 28px 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--fo-orange);
}

.fo-place-show__header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.fo-place-show__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--fo-bg);
    border: 1px solid var(--fo-border);
    color: var(--fo-text) !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.fo-place-show__back:hover {
    background: var(--fo-orange-light);
    border-color: var(--fo-orange);
    color: var(--fo-orange-dark) !important;
}

.fo-place-show__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.fo-place-show__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--fo-bg);
    color: var(--fo-text);
    border: 1px solid var(--fo-border);
}

.fo-place-show__pill--success {
    background: #e8faf3;
    color: #1e9d6a;
    border-color: #b8ebd6;
}

.fo-place-show__pill--muted {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #e5e7eb;
}

.fo-place-show__pill--pin {
    background: var(--fo-orange-light);
    color: var(--fo-orange-dark);
    border-color: color-mix(in srgb, var(--fo-orange) 35%, #fff);
}

.fo-place-show__pill--hotel {
    background: var(--fo-blue-light);
    color: var(--fo-blue-dark);
    border-color: color-mix(in srgb, var(--fo-blue) 30%, #fff);
}

.fo-place-show__pill--banner {
    background: #f3e8ff;
    color: #7c3aed;
    border-color: #ddd6fe;
}

.fo-place-show__title {
    margin: 0 0 12px;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--fo-text);
    line-height: 1.25;
}

.fo-place-show__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    color: var(--fo-text-muted);
    font-size: 14px;
}

.fo-place-show__meta-row .fa {
    color: var(--fo-orange);
    margin-inline-end: 4px;
}

.fo-place-show__rating .fa-star {
    color: #ffc107;
}

.fo-place-show__rating small {
    opacity: 0.85;
    font-size: 12px;
}

.fo-place-show__stars .fa-star {
    color: #ffc107;
    font-size: 13px;
}

/* Price level display (read-only, matches form selected state) */
.fo-price-level-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 72px;
    min-height: 42px;
    padding: 8px 14px;
    border: 1px solid var(--fo-orange-dark, #E06D10);
    border-radius: 8px;
    background: var(--fo-orange, #F58220);
    color: #fff;
    vertical-align: middle;
}

.fo-price-level-display__symbols {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.fo-price-level-display .fo-sar-symbol {
    width: 16px;
    height: 16px;
    opacity: 1;
    filter: brightness(0) invert(1);
}

.fo-price-level-display--hero {
    min-width: auto;
    min-height: auto;
    padding: 6px 12px;
}

.fo-price-level-display--empty {
    display: inline-block;
    padding: 0;
    min-width: 0;
    min-height: 0;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: var(--fo-text-muted);
}

.fo-place-show__offer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 0;
    padding: 14px 20px;
    border-radius: 10px;
    background: var(--offer-bg, var(--fo-orange));
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 16px rgba(245, 130, 32, 0.25);
}

.fo-place-show__offer .fa {
    font-size: 20px;
    opacity: 0.9;
}

.fo-place-show__body {
    margin-top: 0;
}

.fo-place-show__gallery-card {
    margin-top: 24px;
    margin-bottom: 0;
}

.fo-place-show__gallery-body {
    padding: 16px 20px 20px;
}

.fo-place-show__slider-counter {
    font-size: 13px;
    font-weight: 600;
    color: var(--fo-text-muted);
}

.fo-place-show__slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fo-place-show__slider-viewport {
    flex: 1;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #111827;
    border: 1px solid var(--fo-border);
}

.fo-place-show__slider-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 280px;
    max-height: 520px;
    background: #0f172a;
}

.fo-place-show__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease;
    background: #0f172a;
}

.fo-place-show__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.fo-place-show__slide-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #0f172a;
}

.fo-place-show__slide-video {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}

.fo-place-show__slider-nav {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--fo-border);
    border-radius: 50%;
    background: #fff;
    color: var(--fo-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.fo-place-show__slider-nav:hover {
    background: var(--fo-orange-light);
    border-color: var(--fo-orange);
    color: var(--fo-orange-dark);
}

.fo-place-show__gallery-strip {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding: 4px 2px 2px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.fo-place-show__thumb {
    position: relative;
    flex: 0 0 96px;
    width: 96px;
    height: 68px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #e5e7eb;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.fo-place-show__thumb:hover {
    transform: translateY(-2px);
}

.fo-place-show__thumb.is-active {
    border-color: var(--fo-orange);
    box-shadow: 0 0 0 2px var(--fo-orange-light);
}

.fo-place-show__thumb img,
.fo-place-show__thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.fo-place-show__thumb-video {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    z-index: 1;
    pointer-events: none;
}

.fo-place-show__thumb-video .fa {
    font-size: 18px;
}

.fo-place-show__card {
    background: #fff;
    border: 1px solid var(--fo-border);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.fo-place-show__card--compact {
    margin-bottom: 16px;
}

.fo-place-show__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--fo-border);
    background: var(--fo-bg);
}

.fo-place-show__card-head h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--fo-text);
}

.fo-place-show__card-head h3 .fa {
    color: var(--fo-orange);
    margin-inline-end: 8px;
}

.fo-place-show__card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--fo-blue) !important;
    white-space: nowrap;
}

.fo-place-show__card-body {
    padding: 20px;
}

.fo-place-show__lang-tabs {
    margin-bottom: 16px;
    border-bottom-color: var(--fo-border);
}

.fo-place-show__lang-tabs > li > a {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.fo-place-show__tab-content {
    padding-top: 4px;
}

.fo-place-show__rich-text {
    line-height: 1.7;
    color: var(--fo-text);
}

.fo-place-show__rich-text p:last-child {
    margin-bottom: 0;
}

.fo-place-show__info-item {
    margin-bottom: 14px;
}

.fo-place-show__info-item:last-child {
    margin-bottom: 0;
}

.fo-place-show__info-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fo-text-muted);
    margin-bottom: 4px;
}

.fo-place-show__info-value {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--fo-text);
    word-break: break-word;
}

.fo-place-show__map {
    margin-top: 16px;
    height: 260px;
    border-radius: 10px;
    border: 1px solid var(--fo-border);
    overflow: hidden;
}

.fo-place-show__facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fo-place-show__facility {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    background: var(--fo-blue-light);
    color: var(--fo-blue-dark);
    border: 1px solid color-mix(in srgb, var(--fo-blue) 20%, var(--fo-border));
}

.fo-place-show__facility[style*="--facility-color"] {
    background: color-mix(in srgb, var(--facility-color) 12%, #fff);
    color: var(--facility-color);
    border-color: color-mix(in srgb, var(--facility-color) 25%, transparent);
}

.fo-place-show__facility-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.fo-place-show__sidebar-card {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.fo-place-show__sidebar-stat {
    flex: 1;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--fo-border);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.fo-place-show__sidebar-stat--highlight {
    background: linear-gradient(135deg, var(--fo-orange-light) 0%, #fff 100%);
    border-color: color-mix(in srgb, var(--fo-orange) 30%, var(--fo-border));
}

.fo-place-show__sidebar-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fo-text);
    line-height: 1.2;
}

.fo-place-show__sidebar-stat--highlight .fo-place-show__sidebar-stat-value {
    color: var(--fo-orange-dark);
}

.fo-place-show__sidebar-stat-label {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--fo-text-muted);
}

.fo-place-show__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.fo-place-show__tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: var(--fo-blue-light);
    color: var(--fo-blue-dark);
}

.fo-place-show__hours-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--fo-orange-light);
    color: var(--fo-orange-dark);
    font-weight: 700;
    font-size: 14px;
}

.fo-place-show__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--fo-blue-light);
    color: var(--fo-blue-dark) !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    transition: background 0.15s ease;
}

.fo-place-show__phone:hover {
    background: color-mix(in srgb, var(--fo-blue) 18%, #fff);
}

.fo-place-show__social-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fo-place-show__social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--fo-border);
    color: var(--fo-text) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.fo-place-show__social-link:hover {
    border-color: var(--fo-orange);
    background: var(--fo-orange-light);
}

.fo-place-show__social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.fo-place-show__social-link .fa-link {
    width: 24px;
    text-align: center;
    color: var(--fo-text-muted);
}

.fo-place-show__social-external {
    margin-inline-start: auto;
    font-size: 11px;
    color: var(--fo-text-muted);
}

.fo-place-show__age-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fo-place-show__age-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--fo-text);
}

.fo-place-show__age-tag .fa-check {
    color: #26c281;
}

.fo-place-show__metadata .fo-place-show__info-item {
    margin-bottom: 12px;
}

.fo-place-show__divider {
    margin: 14px 0;
    border-color: var(--fo-border);
}

.fo-place-show__mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    color: var(--fo-text-muted);
}

@media (max-width: 991px) {
    .fo-place-show__title {
        font-size: 1.5rem;
    }

    .fo-place-show__slider-track {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .fo-place-show {
        margin: -5px 0 0;
    }

    .fo-place-show__header {
        padding: 16px 18px 18px;
        border-radius: 12px;
    }

    .fo-place-show__title {
        font-size: 1.25rem;
    }

    .fo-place-show__meta-row {
        gap: 10px;
        font-size: 13px;
    }

    .fo-place-show__sidebar-card {
        flex-direction: row;
    }

    .fo-place-show__slider {
        gap: 8px;
    }

    .fo-place-show__slider-nav {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
    }

    .fo-place-show__slider-track {
        min-height: 200px;
        aspect-ratio: 4 / 3;
    }

    .fo-place-show__thumb {
        flex: 0 0 80px;
        width: 80px;
        height: 56px;
    }
}
