/* QRmenuAdminportal - Premium Restaurant SaaS Dashboard */

.qrmap-app,
.qrmap-app * {
    box-sizing: border-box;
}

.qrmap-app {
    --qrm-ink: #17221d;
    --qrm-muted: #6f7d75;
    --qrm-line: #e5ebe6;
    --qrm-bg: #f5f7f2;
    --qrm-card: #ffffff;
    --qrm-green: #147d5a;
    --qrm-green-dark: #0f6247;
    --qrm-green-soft: #e5f4ed;
    --qrm-gold: #d89b38;
    --qrm-coral: #df725d;
    min-height: 100vh;
    background: var(--qrm-bg);
    color: var(--qrm-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    display: flex;
}

.qrmap-sidebar {
    width: 246px;
    min-height: 100vh;
    background: #17382d;
    color: #fff;
    padding: 26px 15px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    align-self: flex-start;
}

.qrmap-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 10px 28px;
}

.qrmap-brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 12px;
    background: #f0c36a;
    color: #17382d;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 21px;
}

.qrmap-brand strong,
.qrmap-brand span {
    display: block;
}

.qrmap-brand strong {
    font-size: 17px;
    letter-spacing: -.3px;
}

.qrmap-brand span {
    color: #b8cdc4;
    font-size: 10px;
    margin-top: 2px;
}

.qrmap-sidebar-label {
    color: #8eaaa0;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 1.4px;
    font-weight: 800;
    padding: 0 11px 9px;
}

.qrmap-nav {
    display: grid;
    gap: 4px;
}

.qrmap-nav-item {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #c4d4ce;
    text-decoration: none !important;
    border-radius: 11px;
    padding: 0 11px;
    font-size: 12px;
    font-weight: 650;
    transition: .2s ease;
}

.qrmap-nav-item:hover,
.qrmap-nav-item.active {
    background: #245541;
    color: #fff;
}

.qrmap-nav-icon {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    flex: 0 0 18px;
}

.qrmap-nav-icon svg,
.qrmap-icon-button svg,
.qrmap-metric-icon svg,
.qrmap-quick-icon svg,
.qrmap-quick-arrow svg,
.qrmap-empty-icon svg,
.qrmap-special-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.qrmap-sidebar-bottom {
    margin-top: auto;
    padding-top: 24px;
}

.qrmap-main {
    flex: 1;
    min-width: 0;
}

.qrmap-topbar {
    height: 72px;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--qrm-line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(10px);
}

.qrmap-topbar-title span {
    font-size: 12px;
    font-weight: 700;
    color: var(--qrm-muted);
}

.qrmap-topbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.qrmap-icon-button {
    border: 0;
    background: #f5f7f2;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: #52645b;
    position: relative;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.qrmap-icon-button i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #df725d;
    position: absolute;
    top: 8px;
    right: 9px;
}

.qrmap-user {
    display: flex;
    align-items: center;
    gap: 9px;
}

.qrmap-avatar {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #dff1e8;
    color: #147d5a;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 850;
}

.qrmap-user-copy strong,
.qrmap-user-copy span {
    display: block;
}

.qrmap-user-copy strong {
    font-size: 11px;
}

.qrmap-user-copy span {
    color: var(--qrm-muted);
    font-size: 9px;
    margin-top: 2px;
}

.qrmap-mobile-menu {
    display: none;
}

.qrmap-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 30px 34px 22px;
}

.qrmap-hero {
    min-height: 154px;
    background: #fff;
    border: 1px solid var(--qrm-line);
    border-radius: 20px;
    padding: 27px 29px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 8px 30px rgba(27,56,44,.035);
}

.qrmap-eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--qrm-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.qrmap-online-dot {
    width: 7px;
    height: 7px;
    background: #35aa77;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #e6f5ed;
}

.qrmap-hero h1 {
    margin: 8px 0 5px;
    font-size: clamp(23px, 3vw, 31px);
    line-height: 1.1;
    letter-spacing: -1px;
    color: var(--qrm-ink);
}

.qrmap-hero p {
    margin: 0;
    color: var(--qrm-muted);
    font-size: 11px;
}

.qrmap-hero-date {
    min-width: 125px;
    padding-left: 22px;
    border-left: 1px solid var(--qrm-line);
}

.qrmap-hero-date span,
.qrmap-hero-date strong {
    display: block;
}

.qrmap-hero-date span {
    color: var(--qrm-muted);
    font-size: 10px;
}

.qrmap-hero-date strong {
    font-size: 14px;
    margin-top: 5px;
}

.qrmap-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 17px;
}

.qrmap-metric-card {
    background: var(--qrm-card);
    border: 1px solid var(--qrm-line);
    border-radius: 17px;
    padding: 18px 19px;
    min-height: 133px;
    box-shadow: 0 7px 22px rgba(27,56,44,.025);
}

.qrmap-metric-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qrmap-metric-label {
    color: var(--qrm-muted);
    font-size: 10px;
    font-weight: 750;
}

.qrmap-metric-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--qrm-green-soft);
    color: var(--qrm-green);
}

.qrmap-metric-value {
    display: block;
    font-size: 25px;
    margin-top: 17px;
    letter-spacing: -.7px;
}

.qrmap-metric-hint {
    display: block;
    color: #98a39e;
    font-size: 9px;
    margin-top: 5px;
}

.qrmap-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 14px;
    margin-top: 17px;
}

.qrmap-grid-main {
    grid-template-columns: 1.2fr 1.2fr .85fr;
}

.qrmap-panel {
    background: #fff;
    border: 1px solid var(--qrm-line);
    border-radius: 17px;
    padding: 19px;
    min-width: 0;
}

.qrmap-span-2 {
    grid-column: span 2;
}

.qrmap-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.qrmap-panel-kicker {
    display: block;
    color: #8b9991;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-weight: 850;
}

.qrmap-panel h2 {
    margin: 4px 0 0;
    font-size: 15px;
    letter-spacing: -.25px;
}

.qrmap-period,
.qrmap-badge {
    background: #f4f7f4;
    color: #77837d;
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 8px;
    font-weight: 750;
    white-space: nowrap;
}

.qrmap-chart-empty {
    height: 205px;
    margin-top: 14px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(to bottom, transparent 0%, transparent 24%, #f2f5f2 25%, transparent 26%, transparent 49%, #f2f5f2 50%, transparent 51%, transparent 74%, #f2f5f2 75%, transparent 76%);
}

.qrmap-chart-grid {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
}

.qrmap-chart-grid span {
    width: 1px;
    height: 100%;
    background: #f0f3f0;
}

.qrmap-chart-message {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.qrmap-empty-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #edf5f0;
    color: var(--qrm-green);
    display: grid;
    place-items: center;
    margin-bottom: 8px;
}

.qrmap-chart-message strong,
.qrmap-empty-list strong {
    font-size: 10px;
}

.qrmap-chart-message p,
.qrmap-empty-list span {
    color: #97a29d;
    font-size: 9px;
    line-height: 1.5;
    max-width: 230px;
    margin: 4px 0 0;
}

.qrmap-mini-chart {
    height: 142px;
    display: flex;
    align-items: flex-end;
    gap: 7px;
    padding: 15px 4px 0;
    margin-top: 8px;
    border-bottom: 1px solid #edf1ee;
}

.qrmap-mini-chart span {
    flex: 1;
    max-height: 100%;
    background: #dceee6;
    border-radius: 5px 5px 0 0;
}

.qrmap-chart-foot {
    margin-top: 11px;
}

.qrmap-chart-foot strong,
.qrmap-chart-foot span {
    display: block;
}

.qrmap-chart-foot strong {
    font-size: 10px;
}

.qrmap-chart-foot span {
    color: #97a29d;
    font-size: 8px;
    margin-top: 3px;
}

.qrmap-collection-placeholder {
    height: 205px;
    margin-top: 14px;
    border-radius: 12px;
    background: #f7faf7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qrmap-collection-value {
    font-size: 29px;
    font-weight: 850;
    letter-spacing: -1px;
}

.qrmap-collection-placeholder span {
    color: #97a29d;
    font-size: 9px;
    margin-top: 4px;
}

.qrmap-empty-list {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.qrmap-empty-list.compact {
    min-height: 145px;
}

.qrmap-section-title {
    margin: 28px 1px 13px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.qrmap-section-title h2 {
    margin: 4px 0 0;
    font-size: 18px;
}

.qrmap-section-title > span {
    color: #89958f;
    font-size: 9px;
}

.qrmap-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}

.qrmap-quick-card {
    background: #fff;
    border: 1px solid var(--qrm-line);
    border-radius: 14px;
    min-height: 76px;
    padding: 12px 13px;
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none !important;
    color: var(--qrm-ink);
    transition: .2s ease;
}

.qrmap-quick-card:hover {
    transform: translateY(-2px);
    border-color: #cbded4;
    box-shadow: 0 10px 25px rgba(27,56,44,.06);
}

.qrmap-quick-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f0f6f2;
    color: var(--qrm-green);
    display: grid;
    place-items: center;
    flex: 0 0 36px;
}

.qrmap-quick-copy {
    min-width: 0;
    flex: 1;
}

.qrmap-quick-copy strong,
.qrmap-quick-copy small {
    display: block;
}

.qrmap-quick-copy strong {
    font-size: 10px;
}

.qrmap-quick-copy small {
    color: #929d97;
    font-size: 8px;
    margin-top: 3px;
}

.qrmap-quick-arrow {
    color: #a4afa9;
}

.qrmap-bottom-grid {
    grid-template-columns: repeat(3, 1fr);
}

.qrmap-table-status {
    margin-top: 15px;
    display: grid;
    gap: 12px;
}

.qrmap-table-status div {
    display: grid;
    grid-template-columns: 9px 1fr auto;
    align-items: center;
    gap: 8px;
}

.qrmap-table-status strong,
.qrmap-table-status b {
    font-size: 9px;
}

.qrmap-table-status b {
    background: #f4f7f4;
    padding: 5px 8px;
    border-radius: 7px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-dot.free { background: #52ad7d; }
.status-dot.occupied { background: #df725d; }
.status-dot.waiting { background: #d8a24c; }

.qrmap-special-empty {
    margin-top: 17px;
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 11px;
    align-items: center;
}

.qrmap-special-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #fff4df;
    color: #d19434;
    display: grid;
    place-items: center;
}

.qrmap-special-empty strong,
.qrmap-special-empty span {
    display: block;
}

.qrmap-special-empty strong {
    font-size: 10px;
}

.qrmap-special-empty span {
    color: #96a19b;
    font-size: 8px;
    line-height: 1.4;
    margin-top: 3px;
}

.qrmap-special-empty a {
    grid-column: 2;
    color: var(--qrm-green);
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
}

.qrmap-plan {
    margin-top: 17px;
    background: #17382d;
    color: #fff;
    border-radius: 17px;
    padding: 17px 19px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.qrmap-plan-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #f0c36a;
    color: #17382d;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.qrmap-plan-copy {
    flex: 1;
}

.qrmap-plan-copy span,
.qrmap-plan-copy strong,
.qrmap-plan-copy small {
    display: block;
}

.qrmap-plan-copy span {
    color: #a9c0b6;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

.qrmap-plan-copy strong {
    font-size: 11px;
    margin-top: 3px;
}

.qrmap-plan-copy small {
    color: #9bb3a9;
    font-size: 8px;
    margin-top: 3px;
}

.qrmap-plan-meta {
    padding: 0 20px;
    border-left: 1px solid #376151;
}

.qrmap-plan-meta span,
.qrmap-plan-meta strong {
    display: block;
}

.qrmap-plan-meta span {
    color: #9bb3a9;
    font-size: 8px;
}

.qrmap-plan-meta strong {
    color: #76d2a8;
    font-size: 10px;
    margin-top: 3px;
}

.qrmap-plan-button {
    color: #17382d;
    background: #f0c36a;
    border-radius: 9px;
    padding: 10px 12px;
    text-decoration: none !important;
    font-size: 9px;
    font-weight: 850;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.qrmap-plan-button svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.qrmap-footer {
    padding: 20px 3px 4px;
    display: flex;
    justify-content: space-between;
    color: #98a29d;
    font-size: 8px;
}

@media (max-width: 1100px) {
    .qrmap-sidebar { width: 215px; }
    .qrmap-content { padding-left: 22px; padding-right: 22px; }
    .qrmap-grid-main { grid-template-columns: 1fr 1fr; }
    .qrmap-grid-main .qrmap-span-2 { grid-column: span 2; }
}

@media (max-width: 800px) {
    .qrmap-sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        z-index: 100;
        transition: left .25s ease;
        width: 246px;
        box-shadow: 15px 0 35px rgba(0,0,0,.12);
    }

    .qrmap-sidebar.open {
        left: 0;
    }

    .qrmap-mobile-menu {
        display: grid;
        place-items: center;
        border: 0;
        background: #f3f6f2;
        width: 37px;
        height: 37px;
        border-radius: 10px;
        color: #27453a;
        cursor: pointer;
    }

    .qrmap-topbar {
        padding: 0 17px;
        gap: 10px;
    }

    .qrmap-topbar-title {
        margin-right: auto;
    }

    .qrmap-user-copy {
        display: none;
    }

    .qrmap-content {
        padding: 18px 14px;
    }

    .qrmap-hero {
        padding: 22px 19px;
        align-items: flex-start;
    }

    .qrmap-hero-date {
        display: none;
    }

    .qrmap-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .qrmap-grid-main,
    .qrmap-bottom-grid {
        grid-template-columns: 1fr;
    }

    .qrmap-grid-main .qrmap-span-2 {
        grid-column: auto;
    }

    .qrmap-quick-grid {
        grid-template-columns: 1fr 1fr;
    }

    .qrmap-plan {
        flex-wrap: wrap;
    }

    .qrmap-plan-copy {
        min-width: calc(100% - 58px);
    }

    .qrmap-plan-meta {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .qrmap-metrics,
    .qrmap-quick-grid {
        grid-template-columns: 1fr;
    }

    .qrmap-hero h1 {
        font-size: 23px;
    }

    .qrmap-plan-button {
        width: 100%;
        justify-content: center;
    }

    .qrmap-footer {
        flex-direction: column;
        gap: 5px;
    }
}
