/* Booking Reservation full-color button */
.btn-booking-reservation {
    background: linear-gradient(90deg, var(--oh-accent), #ff7c4d 80%);
    color: #fff !important;
    border: 1.5px solid var(--oh-accent);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255,90,31,0.10);
    transition: background 0.18s, box-shadow 0.18s;
}

.btn-booking-reservation:hover, .btn-booking-reservation:focus {
    background: linear-gradient(90deg, #e04800, #ff7c4d 80%);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(255,90,31,0.18);
    border-color: #e04800;
}
:root {
    color-scheme: light;
    --oh-bg: #f2f5f8;
    --oh-surface: #ffffff;
    --oh-dark: #101820;
    --oh-dark-2: #182633;
    --oh-accent: #ff5a1f;
    --oh-accent-2: #11b5e4;
    --oh-danger: #dc3545;
    --oh-success: #198754;
    --oh-warning: #ffc107;
}

* {
    border-radius: 0 !important;
}

body {
    font-family: "Jost", "Segoe UI", Roboto, Arial, sans-serif;
    background: linear-gradient(120deg, #e8eef3, #f8fafc 60%, #dce7ef);
    min-height: 100vh;
}

.sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--oh-dark), var(--oh-dark-2));
    color: #fff;
}

.sidebar a {
    color: #cfd8e3;
    text-decoration: none;
    display: block;
    padding: 10px 14px;
    margin-bottom: 4px;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
}

.sidebar a:hover,
.sidebar a.active {
    color: #fff;
    background: rgba(255, 90, 31, 0.12);
    border-left-color: var(--oh-accent);
}

.sidebar-link-content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.sidebar-link-icon {
    width: 16px;
    font-size: 0.92rem;
    text-align: center;
    opacity: 0.92;
}

.sidebar-toggle {
    width: 100%;
    background: transparent;
    border: 0;
    color: #cfd8e3;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    margin-bottom: 4px;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
    text-align: left;
}

.sidebar-toggle:hover,
.sidebar-toggle.active {
    color: #fff;
    background: rgba(255, 90, 31, 0.12);
    border-left-color: var(--oh-accent);
}

.sidebar-toggle-icon {
    font-weight: 700;
    font-size: 1rem;
}

.sidebar-submenu-wrap {
    margin: -2px 0 8px 0;
}

.sidebar-submenu-link {
    color: #a8b4c2;
    text-decoration: none;
    display: block;
    padding: 8px 14px 8px 28px;
    margin-bottom: 2px;
    font-size: 0.92rem;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
}

.sidebar-submenu-link:hover,
.sidebar-submenu-link.active {
    color: #fff;
    background: rgba(17, 181, 228, 0.12);
    border-left-color: var(--oh-accent-2);
}

.sidebar-submenu-content {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sidebar-submenu-icon {
    width: 14px;
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.9;
}

.sidebar-sales-link {
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.01em;
}

.sidebar-sales-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #c6ecf8;
    border: 1px solid rgba(17, 181, 228, 0.45);
    background: rgba(17, 181, 228, 0.12);
}

.sidebar-sales-link.active .sidebar-sales-icon,
.sidebar-sales-link:hover .sidebar-sales-icon {
    color: #fff;
    border-color: rgba(255, 90, 31, 0.75);
    background: rgba(255, 90, 31, 0.22);
}

.content-wrap {
    padding: 24px;
}

.page-title {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.card {
    border: 1px solid #d8e1e8;
    box-shadow: 0 4px 12px rgba(16, 24, 32, 0.05);
}

.stat-card {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-card-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: rgba(255, 255, 255, 0.18);
}

.stat-card.text-dark .stat-card-icon {
    background: rgba(16, 24, 32, 0.12);
    color: var(--oh-dark);
}

.stat-card-body .label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.9;
}

.stat-card-body .value {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.bg-oh-accent {
    background: var(--oh-accent) !important;
    color: #fff;
}

.bg-oh-accent2 {
    background: var(--oh-accent-2) !important;
    color: #fff;
}

.kpi-tile {
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.kpi-tile .kpi-icon {
    position: absolute;
    right: 14px;
    bottom: 6px;
    font-size: 3.2rem;
    opacity: 0.22;
}

.kpi-tile .kpi-value {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.kpi-tile .kpi-label {
    margin-top: 8px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    opacity: 0.9;
}

.chart-bar {
    fill: var(--oh-accent);
    transition: opacity 0.15s ease;
}

.chart-bar-group.is-active .chart-bar {
    opacity: 0.78;
}

.chart-bar-group.is-empty .chart-axis-label {
    opacity: 0.7;
}

.chart-bar-hit {
    fill: transparent;
}

.chart-bar-hit:focus {
    outline: none;
}

.chart-bar-hit:focus-visible {
    outline: 2px solid var(--oh-accent-2);
    outline-offset: -2px;
}

.chart-bar-cap-label {
    fill: var(--oh-dark);
    font-weight: 700;
    font-size: 11px;
    font-family: "Jost", "Segoe UI", Roboto, Arial, sans-serif;
}

.pos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.pos-item-btn {
    min-height: 90px;
    font-weight: 600;
    text-align: left;
}

.pos-cart-row {
    border-bottom: 1px solid #dce5ec;
    padding: 8px 0;
}

.print-80mm {
    width: 300px;
    max-width: 300px;
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
}

.fc .fc-toolbar-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.inventory-kicker {
    color: var(--oh-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.inventory-filter-form {
    width: 100%;
}

.inventory-stat-card {
    border: none;
    color: #fff;
}

.inventory-stat-card-dark {
    background: linear-gradient(180deg, var(--oh-dark), var(--oh-dark-2));
}

.inventory-stat-card-accent {
    background: linear-gradient(180deg, var(--oh-accent), #ff7c4d);
}

.inventory-stat-label {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.75rem;
    opacity: 0.85;
}

.inventory-stat-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 8px 0 4px;
}

.inventory-alert-list {
    display: grid;
    gap: 10px;
}

.inventory-alert-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.inventory-item-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inventory-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 24, 32, 0.08);
}

.inventory-item-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--oh-dark);
}

.inventory-item-meta {
    color: #64748b;
    font-size: 0.85rem;
}

.inventory-badge-stock {
    font-size: 0.8rem;
    padding: 8px 10px;
}

.inventory-metric-box {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    padding: 10px 12px;
    height: 100%;
}

.inventory-metric-box span {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 4px;
}

.inventory-metric-box strong {
    font-size: 1rem;
    color: var(--oh-dark);
}

.inventory-card-actions .btn {
    min-width: 110px;
}

.inventory-item-table thead th {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.72rem;
    color: #64748b;
    border-bottom-width: 1px;
    white-space: nowrap;
}

.inventory-item-table tbody tr:not(.inventory-variation-tr) {
    border-top: 1px solid #e2e8f0;
}

.inventory-variation-tr td {
    border-top: none;
    padding-top: 0;
    background: #f8fafc;
}

.inventory-variation-tr .inventory-variation-list {
    padding: 10px 12px;
    border-left: 3px solid #e2e8f0;
}

.inventory-variation-tr .inventory-variation-row:last-child {
    margin-bottom: 0 !important;
}

.inventory-category-list {
    display: grid;
    gap: 10px;
}

.inventory-inline-toggle-form {
    margin: 0;
}

.inventory-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.sales-chart-summary {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.sales-chart-summary-item .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.sales-chart-summary-item .value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--oh-dark);
}

.sales-chart-wrap {
    position: relative;
}

.sales-chart-wrap svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

.chart-grid {
    stroke: #e2e8f0;
    stroke-width: 1;
}

.chart-axis-label,
.chart-axis-label-y {
    fill: #64748b;
    font-size: 11px;
    font-family: "Jost", "Segoe UI", Roboto, Arial, sans-serif;
}

.chart-line {
    fill: none;
    stroke: var(--oh-accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-area {
    fill: var(--oh-accent);
    opacity: 0.1;
}

.chart-dot {
    fill: var(--oh-accent);
    opacity: 0;
    transition: opacity 0.15s ease, r 0.15s ease;
}

.chart-dot-ring {
    fill: #fff;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.chart-point.is-active .chart-dot,
.chart-point.is-active .chart-dot-ring {
    opacity: 1;
}

.chart-hit {
    fill: transparent;
}

.chart-hit:focus {
    outline: none;
}

.chart-hit:focus-visible {
    outline: 2px solid var(--oh-accent-2);
    outline-offset: 2px;
}

.chart-crosshair {
    stroke: #cbd5e1;
    stroke-width: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.12s ease;
}

.chart-crosshair.is-visible {
    opacity: 1;
}

.chart-end-label-value {
    fill: var(--oh-dark);
    font-weight: 700;
    font-size: 12px;
    font-family: "Jost", "Segoe UI", Roboto, Arial, sans-serif;
}

.sales-chart-tooltip {
    position: absolute;
    pointer-events: none;
    background: var(--oh-dark);
    color: #fff;
    padding: 8px 12px;
    font-size: 12px;
    min-width: 120px;
    box-shadow: 0 8px 20px rgba(16, 24, 32, 0.18);
    opacity: 0;
    transform: translate(-50%, -100%);
    transition: opacity 0.12s ease;
    z-index: 5;
    white-space: nowrap;
}

.sales-chart-tooltip.is-visible {
    opacity: 1;
}

.sales-chart-tooltip .tt-date {
    color: #a8b4c2;
    font-size: 11px;
    margin-bottom: 2px;
}

.sales-chart-tooltip .tt-value {
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sales-chart-tooltip .tt-key {
    width: 10px;
    height: 2px;
    background: var(--oh-accent);
    display: inline-block;
}

.mobile-topbar {
    display: none;
}

@media (max-width: 991px) {
    .mobile-topbar {
        display: flex;
        align-items: center;
        gap: 12px;
        background: linear-gradient(180deg, var(--oh-dark), var(--oh-dark-2));
        color: #fff;
        padding: 10px 16px;
        position: sticky;
        top: 0;
        z-index: 1040;
        box-shadow: 0 2px 10px rgba(16, 24, 32, 0.25);
    }

    .mobile-nav-toggle {
        flex: 0 0 auto;
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        font-size: 1.25rem;
        line-height: 1;
        cursor: pointer;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .mobile-nav-toggle:hover,
    .mobile-nav-toggle:focus {
        background: rgba(255, 90, 31, 0.2);
        border-color: var(--oh-accent);
        color: #fff;
    }

    .mobile-topbar-brand {
        font-weight: 700;
        letter-spacing: 0.06em;
        font-size: 1.05rem;
        text-transform: uppercase;
    }

    .sidebar {
        min-height: auto;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 1039;
        box-shadow: 0 12px 24px rgba(16, 24, 32, 0.3);
    }

    .content-wrap {
        padding: 14px;
    }

    .inventory-filter-form {
        flex-direction: column;
    }

    .inventory-card-actions .btn {
        flex: 1 1 100%;
    }
}

@media (min-width: 992px) {
    .sidebar.collapse {
        display: block !important;
        height: auto !important;
        visibility: visible !important;
    }
}
