/*
 * PopChicken / Restaurante BO
 * Modern administration skin
 *
 * This stylesheet intentionally sits on top of Bootstrap 3 and AdminLTE.
 * It changes presentation only: existing IDs, classes, form names and
 * JavaScript hooks remain untouched.
 */

:root {
    --pc-bg: #f8f6f3;
    --pc-surface: #ffffff;
    --pc-surface-soft: #fbfaf8;
    --pc-surface-muted: #f3f0ec;
    --pc-ink: #20242c;
    --pc-ink-soft: #3b4048;
    --pc-muted: #6d7480;
    --pc-line: #ebe7e2;
    --pc-line-strong: #ded9d3;
    --pc-primary: #ee3f2b;
    --pc-primary-dark: #c92518;
    --pc-primary-soft: #fff0ed;
    --pc-success: #22a06b;
    --pc-success-dark: #177a52;
    --pc-success-soft: #e1f6ed;
    --pc-danger: #d92d20;
    --pc-danger-dark: #a82319;
    --pc-danger-soft: #fff0ee;
    --pc-warning: #f2a51a;
    --pc-warning-dark: #bd7200;
    --pc-warning-soft: #fff5df;
    --pc-info: #2f80ed;
    --pc-info-dark: #1f65c5;
    --pc-info-soft: #e8f2ff;
    --pc-sidebar: #f4503c;
    --pc-sidebar-deep: #c92518;
    --pc-sidebar-text: rgba(255, 255, 255, .88);
    --pc-shadow: 0 18px 50px rgba(77, 45, 33, .11);
    --pc-shadow-soft: 0 8px 24px rgba(77, 45, 33, .075);
    --pc-radius: 18px;
    --pc-radius-sm: 12px;
    --pc-sidebar-width: 270px;
    --pc-topbar-height: 72px;
}

html {
    min-height: 100%;
    background: var(--pc-bg);
}

body.skin-red {
    min-height: 100vh;
    color: var(--pc-ink);
    background:
        radial-gradient(circle at 5% 5%, rgba(255, 183, 43, .11), transparent 28rem),
        radial-gradient(circle at 100% 0, rgba(238, 63, 43, .08), transparent 32rem),
        var(--pc-bg);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

body.skin-red a {
    color: var(--pc-primary);
}

body.skin-red a:hover,
body.skin-red a:focus {
    color: var(--pc-primary-dark);
}

body.skin-red .wrapper {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--pc-bg) !important;
}

/* Top application bar */

.main-header {
    position: sticky;
    top: 0;
    z-index: 1035;
    min-height: var(--pc-topbar-height);
    border-bottom: 1px solid rgba(222, 217, 211, .92);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 5px 24px rgba(77, 45, 33, .055);
    backdrop-filter: blur(18px);
}

.skin-red .main-header .navbar,
.skin-red .main-header .navbar-static-top {
    min-height: var(--pc-topbar-height);
    margin-left: var(--pc-sidebar-width);
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
}

.skin-red .main-header .navbar .sidebar-toggle {
    width: 46px;
    height: 46px;
    margin-left: 18px;
    padding: 0;
    border: 1px solid var(--pc-line);
    border-radius: 14px;
    color: var(--pc-ink);
    background: var(--pc-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 14px rgba(77, 45, 33, .055);
}

.skin-red .main-header .navbar .sidebar-toggle::before {
    font-size: 16px;
}

.skin-red .main-header .navbar .sidebar-toggle:hover,
.skin-red .main-header .navbar .sidebar-toggle:focus {
    color: var(--pc-primary);
    background: var(--pc-primary-soft);
}

.pc-refresh-btn {
    min-height: 42px;
    margin-left: 10px;
    padding: 0 14px;
    border: 1px solid var(--pc-line) !important;
    border-radius: 13px !important;
    color: var(--pc-muted) !important;
    background: var(--pc-surface) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: none !important;
}

.pc-refresh-btn:hover,
.pc-refresh-btn:focus {
    border-color: #f4b4ad !important;
    color: var(--pc-primary) !important;
    background: var(--pc-primary-soft) !important;
}

.pc-topbar-context {
    min-width: 0;
    margin-left: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pc-topbar-context__icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 13px;
    color: var(--pc-primary);
    background: var(--pc-primary-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.pc-topbar-context small,
.pc-topbar-context strong {
    display: block;
    line-height: 1.15;
}

.pc-topbar-context small {
    margin-bottom: 3px;
    color: var(--pc-primary);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pc-topbar-context strong {
    max-width: 230px;
    overflow: hidden;
    color: var(--pc-ink);
    font-size: 14px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-header .navbar-custom-menu {
    margin-left: auto;
    height: var(--pc-topbar-height);
    display: flex;
    align-items: center;
}

.main-header .navbar-custom-menu > .navbar-nav {
    margin-right: 18px;
}

.main-header .navbar-custom-menu > .navbar-nav > li > a {
    min-height: 46px;
    margin-top: 13px;
    padding: 8px 13px 8px 9px;
    border: 1px solid var(--pc-line);
    border-radius: 15px;
    color: var(--pc-ink) !important;
    background: var(--pc-surface) !important;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
}

.main-header .navbar-custom-menu > .navbar-nav > li > a:hover,
.main-header .navbar-custom-menu > .navbar-nav > li > a:focus {
    border-color: #f4b4ad;
    color: var(--pc-primary-dark) !important;
    background: var(--pc-primary-soft) !important;
}

.main-header .navbar-nav > .user-menu .user-image {
    width: 30px;
    height: 30px;
    margin: 0;
    border: 2px solid #f4c7c3;
    background: var(--pc-primary-soft);
}

.navbar-nav > .user-menu > .dropdown-menu {
    width: 280px;
    margin-top: 8px;
    border: 1px solid var(--pc-line);
    border-radius: 17px;
    background: var(--pc-surface);
    overflow: hidden;
    box-shadow: var(--pc-shadow);
}

.skin-red .main-header li.user-header {
    min-height: 160px;
    padding: 22px;
    color: var(--pc-ink);
    background:
        radial-gradient(circle at 85% 15%, rgba(238, 63, 43, .14), transparent 8rem),
        var(--pc-surface-soft);
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header > img {
    width: 74px;
    height: 74px;
    border: 4px solid #f7d8d4;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header > p {
    color: var(--pc-ink);
    font-size: 15px;
    font-weight: 850;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header > p > small {
    margin-top: 4px;
    color: var(--pc-muted);
    font-size: 12px;
}

.navbar-nav > .user-menu > .dropdown-menu > .user-footer {
    padding: 12px;
    border-top: 1px solid var(--pc-line);
    background: var(--pc-surface);
}

.navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn {
    border: 1px solid var(--pc-danger-soft);
    border-radius: 11px;
    color: var(--pc-danger-dark);
    background: #fff5f6;
    font-weight: 800;
}

/* Sidebar */

.main-sidebar,
.left-side {
    width: var(--pc-sidebar-width);
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-height: 100vh;
    max-height: 100dvh;
    padding-top: var(--pc-topbar-height);
    position: fixed !important;
    top: 0;
    bottom: 0;
    background-color: var(--pc-sidebar-deep) !important;
    background:
        radial-gradient(circle at 100% 0, rgba(255, 255, 255, .16), transparent 17rem),
        radial-gradient(circle at 0 100%, rgba(255, 183, 43, .14), transparent 18rem),
        linear-gradient(180deg, var(--pc-sidebar) 0, var(--pc-sidebar-deep) 100%) !important;
    overflow: hidden;
    box-shadow: 10px 0 38px rgba(97, 30, 20, .12);
}

.main-sidebar .sidebar {
    height: calc(100vh - var(--pc-topbar-height)) !important;
    height: calc(100dvh - var(--pc-topbar-height)) !important;
    min-height: 0 !important;
    padding: 16px 13px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(255, 255, 255, .34) transparent;
    scrollbar-width: thin;
}

.main-sidebar .sidebar::-webkit-scrollbar {
    width: 5px;
}

.main-sidebar .sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.main-sidebar .sidebar::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, .32);
}

.pc-sidebar-brand {
    min-height: 66px;
    margin: 0 2px 14px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 17px;
    background: rgba(255, 255, 255, .11);
    display: flex;
    align-items: center;
    gap: 11px;
}

.pc-sidebar-brand__mark {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 14px;
    color: var(--pc-primary);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 10px 22px rgba(124, 27, 17, .22);
}

.pc-sidebar-brand__copy {
    min-width: 0;
}

.pc-sidebar-brand__eyebrow,
.pc-sidebar-brand__title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pc-sidebar-brand__eyebrow {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .70);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pc-sidebar-brand__title {
    color: #fff;
    font-size: 15px;
    font-weight: 850;
}

.skin-red .main-sidebar .user-panel {
    min-height: 64px;
    margin: 0 2px 14px;
    padding: 10px 11px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 16px;
    background: rgba(255, 255, 255, .10);
}

.main-sidebar .user-panel > .image > img {
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .1);
}

.main-sidebar .user-panel > .info {
    left: 61px;
    padding: 3px 5px 3px 10px;
}

.main-sidebar .user-panel > .info > p {
    max-width: 160px;
    margin: 0 0 4px;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.skin-red .main-sidebar .user-panel > .info > a {
    color: rgba(255, 255, 255, .76);
    font-size: 10px;
    font-weight: 700;
}

.main-sidebar .user-panel .fa-circle {
    color: #33d690 !important;
    filter: drop-shadow(0 0 4px rgba(51, 214, 144, .45));
}

.skin-red .sidebar-menu {
    white-space: normal;
}

.skin-red .sidebar-menu > li.header {
    margin: 16px 9px 7px;
    padding: 0;
    color: rgba(255, 255, 255, .58) !important;
    background: transparent;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.skin-red .sidebar-menu > li {
    margin: 3px 0;
}

.skin-red .sidebar-menu > li > a {
    min-height: 45px;
    padding: 12px 12px;
    border: 0;
    border-radius: 13px;
    color: var(--pc-sidebar-text);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 750;
    transition: color .16s ease, background .16s ease, transform .16s ease;
}

.skin-red .sidebar-menu > li > a > .fa,
.skin-red .sidebar-menu > li > a > .glyphicon,
.skin-red .sidebar-menu > li > a > .ion {
    width: 22px;
    flex: 0 0 22px;
    color: rgba(255, 255, 255, .72);
    font-size: 15px;
    text-align: center;
}

.skin-red .sidebar-menu > li > a > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.skin-red .sidebar-menu > li > a > .pull-right {
    position: static;
    margin: 0 0 0 auto;
}

.skin-red .sidebar-menu > li:hover > a,
.skin-red .sidebar-menu > li.menu-open > a,
.skin-red .sidebar-menu > li.active > a {
    border-left: 0;
    color: #fff;
    background: rgba(255, 255, 255, .14);
}

.skin-red .sidebar-menu > li.active > a {
    color: var(--pc-primary-dark);
    background: #fff;
    box-shadow: 0 10px 24px rgba(104, 23, 14, .22);
}

.skin-red .sidebar-menu > li:hover > a > .fa,
.skin-red .sidebar-menu > li.menu-open > a > .fa {
    color: #fff;
}

.skin-red .sidebar-menu > li.active > a > .fa {
    color: var(--pc-primary);
}

.skin-red .sidebar-menu > li > .treeview-menu {
    margin: 5px 0 8px 17px;
    padding: 5px 0 5px 12px;
    border-left: 1px solid rgba(255, 255, 255, .12);
    background: transparent;
}

.skin-red .treeview-menu > li {
    margin: 2px 0;
}

.skin-red .treeview-menu > li.pc-sidebar-subheading {
    margin: 10px 9px 4px;
    color: rgba(255, 255, 255, .55);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.skin-red .treeview-menu > li > a {
    min-height: 37px;
    padding: 9px 9px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .78);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    line-height: 1.35;
}

.skin-red .treeview-menu > li > a > .fa {
    width: 18px;
    flex: 0 0 18px;
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    text-align: center;
}

.skin-red .treeview-menu > li.active > a,
.skin-red .treeview-menu > li > a:hover,
.skin-red .treeview-menu > li > a:focus {
    color: #fff;
    background: rgba(111, 22, 13, .22);
}

.skin-red .treeview-menu > li.active > a > .fa,
.skin-red .treeview-menu > li > a:hover > .fa {
    color: #fff;
}

/* Main workspace */

.content-wrapper {
    min-height: calc(100vh - var(--pc-topbar-height)) !important;
    margin-left: var(--pc-sidebar-width);
    background:
        radial-gradient(circle at 100% 0, rgba(238, 63, 43, .07), transparent 30rem),
        radial-gradient(circle at 0 0, rgba(255, 183, 43, .08), transparent 24rem),
        var(--pc-bg) !important;
}

.content-header {
    max-width: 1680px;
    margin: 0 auto;
    padding: 28px 28px 9px;
}

.content-header > h1,
.content-header h1,
.content-header h2 {
    margin: 0;
    color: var(--pc-ink);
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -.035em;
}

.content-header > h1 > small,
.content-header h1 small,
.content-header h2 small {
    margin-top: 6px;
    color: var(--pc-muted);
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
}

.content-header h1 > .fa,
.content-header h2 > .fa {
    margin-right: 8px;
    color: var(--pc-primary);
}

.content-header > .breadcrumb {
    top: 34px;
    right: 30px;
    padding: 8px 12px;
    border: 1px solid var(--pc-line);
    border-radius: 11px;
    color: var(--pc-muted);
    background: rgba(255, 255, 255, .78);
}

.content {
    max-width: 1680px;
    margin: 0 auto;
    padding: 16px 28px 34px;
}

.main-footer {
    margin-left: var(--pc-sidebar-width);
    padding: 17px 28px;
    border-top: 1px solid var(--pc-line);
    color: var(--pc-muted);
    background: rgba(255, 255, 255, .90);
    font-size: 12px;
}

.main-footer strong {
    color: var(--pc-ink-soft);
    font-weight: 750;
}

.main-footer a {
    color: var(--pc-primary);
    font-weight: 850;
}

.pc-footer-version {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pc-footer-version::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pc-success);
    box-shadow: 0 0 0 4px rgba(22, 166, 106, .11);
    content: "";
}

/* Panels and cards */

.box,
.dash-filter,
.dash-card,
.info-box,
.small-box {
    border: 1px solid var(--pc-line) !important;
    border-radius: var(--pc-radius) !important;
    background: var(--pc-surface);
    box-shadow: var(--pc-shadow-soft);
}

.box {
    margin-bottom: 22px;
    overflow: visible;
}

.box.box-default,
.box.box-primary,
.box.box-success,
.box.box-info,
.box.box-warning,
.box.box-danger {
    border-top-color: var(--pc-line) !important;
}

.box-header {
    min-height: 58px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--pc-line);
    border-radius: var(--pc-radius) var(--pc-radius) 0 0;
    color: var(--pc-ink);
    background: var(--pc-surface);
    display: flex;
    align-items: center;
    gap: 10px;
}

.box-header.with-border {
    border-bottom-color: var(--pc-line);
}

.box-header > .fa,
.box-header .box-title > .fa {
    color: var(--pc-primary);
}

.box-header .box-title,
.box-header > b {
    margin: 0;
    color: var(--pc-ink);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 850;
    letter-spacing: -.01em;
}

.box-header > .box-tools,
.box-header > .pull-right {
    position: static;
    top: auto;
    right: auto;
    margin-left: auto;
}

.box-body {
    padding: 18px;
    border-radius: 0 0 var(--pc-radius) var(--pc-radius);
}

.box-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--pc-line);
    border-radius: 0 0 var(--pc-radius) var(--pc-radius);
    background: var(--pc-surface-soft);
}

.dash-filter {
    padding: 18px !important;
}

.dash-card {
    min-height: 128px !important;
    padding: 20px !important;
    border-top-width: 1px !important;
    overflow: hidden;
    position: relative;
}

.dash-card::after {
    width: 82px;
    height: 82px;
    position: absolute;
    right: -28px;
    bottom: -35px;
    border-radius: 50%;
    background: var(--pc-primary-soft);
    content: "";
}

.dash-card--green::after { background: var(--pc-success-soft); }
.dash-card--blue::after { background: var(--pc-info-soft); }
.dash-card--orange::after { background: var(--pc-warning-soft); }
.dash-card--red::after { background: var(--pc-danger-soft); }

.dash-card__label {
    color: var(--pc-muted) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .1em !important;
}

.dash-card__value {
    color: var(--pc-ink) !important;
    font-size: 29px !important;
    font-weight: 900 !important;
    letter-spacing: -.04em;
}

.dash-card__meta {
    color: var(--pc-muted) !important;
}

.info-box {
    min-height: 104px;
    overflow: hidden;
}

.info-box-icon {
    width: 88px;
    color: var(--pc-primary);
    background: var(--pc-primary-soft) !important;
}

.info-box-content {
    margin-left: 88px;
    padding: 18px;
}

.small-box {
    color: var(--pc-ink) !important;
    overflow: hidden;
}

.small-box > .inner {
    padding: 20px;
}

.small-box .icon {
    color: rgba(238, 63, 43, .12);
}

/* Forms */

label,
.control-label {
    margin-bottom: 7px;
    color: var(--pc-ink-soft);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .015em;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
select,
textarea {
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--pc-line-strong);
    border-radius: 11px;
    color: var(--pc-ink);
    background: var(--pc-surface);
    font-family: inherit;
    font-size: 13px;
    box-shadow: none;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus {
    border-color: rgba(238, 63, 43, .72);
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(238, 63, 43, .10);
}

.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    color: var(--pc-muted);
    background: var(--pc-surface-muted);
}

textarea.form-control,
textarea {
    min-height: 92px;
    resize: vertical;
}

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

.input-group .form-control {
    z-index: 1;
}

.input-group .form-control:first-child,
.input-group-btn:first-child > .btn,
.input-group-btn:first-child > .btn-group > .btn,
.input-group-btn:last-child > .btn,
.input-group-btn:last-child > .btn-group > .btn {
    border-radius: 11px;
}

.input-group-btn {
    padding-left: 8px;
}

.input-group-addon {
    border: 1px solid var(--pc-line-strong);
    border-radius: 11px;
    color: var(--pc-muted);
    background: var(--pc-surface-soft);
}

.checkbox label,
.radio label {
    font-size: 13px;
    font-weight: 600;
}

/* Buttons */

.btn {
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 850;
    box-shadow: none;
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease;
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
}

.btn:active,
.btn.active {
    transform: translateY(0);
}

.btn-sm {
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 11px;
}

.btn-xs {
    min-width: 30px;
    min-height: 30px;
    padding: 6px 8px;
    border-radius: 9px;
    font-size: 11px;
}

.btn-success {
    border-color: var(--pc-success) !important;
    color: #fff !important;
    background: var(--pc-success) !important;
}

.btn-success:hover,
.btn-success:focus {
    border-color: var(--pc-success-dark) !important;
    background: var(--pc-success-dark) !important;
    box-shadow: 0 8px 18px rgba(22, 166, 106, .20);
}

.btn-primary {
    border-color: var(--pc-primary) !important;
    color: #fff !important;
    background: var(--pc-primary) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    border-color: var(--pc-primary-dark) !important;
    background: var(--pc-primary-dark) !important;
    box-shadow: 0 8px 18px rgba(201, 37, 24, .22);
}

.btn-info {
    border-color: var(--pc-info) !important;
    color: #fff !important;
    background: var(--pc-info) !important;
}

.btn-info:hover,
.btn-info:focus {
    border-color: var(--pc-info-dark) !important;
    background: var(--pc-info-dark) !important;
}

.btn-warning {
    border-color: #f3a719 !important;
    color: #fff !important;
    background: #f3a719 !important;
}

.btn-warning:hover,
.btn-warning:focus {
    border-color: var(--pc-warning-dark) !important;
    background: var(--pc-warning-dark) !important;
}

.btn-danger {
    border-color: var(--pc-danger) !important;
    color: #fff !important;
    background: var(--pc-danger) !important;
}

.btn-danger:hover,
.btn-danger:focus {
    border-color: var(--pc-danger-dark) !important;
    background: var(--pc-danger-dark) !important;
}

.btn-default,
.btn-secondary {
    border-color: var(--pc-line-strong) !important;
    color: var(--pc-ink-soft) !important;
    background: var(--pc-surface) !important;
}

.btn-default:hover,
.btn-default:focus,
.btn-secondary:hover,
.btn-secondary:focus {
    border-color: #f4b4ad !important;
    color: var(--pc-primary-dark) !important;
    background: var(--pc-primary-soft) !important;
}

/* Brand the main workflow actions while preserving semantic status buttons. */
.dash-filter .btn-success,
.box-header .box-tools > .btn-info,
.box-header .box-tools > .btn-success,
.box-footer .btn-success,
.input-group-btn > .btn-success,
input[type="submit"].btn-success,
.page-sales #new_order {
    border-color: var(--pc-primary) !important;
    color: #fff !important;
    background: linear-gradient(135deg, var(--pc-primary), var(--pc-primary-dark)) !important;
    box-shadow: 0 8px 18px rgba(201, 37, 24, .18);
}

.dash-filter .btn-success:hover,
.box-header .box-tools > .btn-info:hover,
.box-header .box-tools > .btn-success:hover,
.box-footer .btn-success:hover,
.input-group-btn > .btn-success:hover,
input[type="submit"].btn-success:hover,
.page-sales #new_order:hover {
    border-color: var(--pc-primary-dark) !important;
    background: var(--pc-primary-dark) !important;
    box-shadow: 0 10px 22px rgba(201, 37, 24, .24);
}

/* Data tables */

.table-responsive {
    border: 0;
    border-radius: 0 0 var(--pc-radius) var(--pc-radius);
}

.table {
    width: 100%;
    margin-bottom: 0;
    color: var(--pc-ink-soft);
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12px;
}

.table > thead > tr > th,
.table > tbody > tr:first-child > th,
.table > tr:first-child > th {
    padding: 12px 11px;
    border: 0;
    border-bottom: 1px solid var(--pc-line-strong);
    color: var(--pc-muted);
    background: var(--pc-surface-soft);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .055em;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.table > tbody > tr > td,
.table > tr > td {
    padding: 11px;
    border-top: 0;
    border-bottom: 1px solid #edf0f5;
    vertical-align: middle;
}

.table-bordered {
    border: 1px solid var(--pc-line);
    border-radius: 13px;
    overflow: hidden;
}

.table-bordered > thead > tr > th,
.table-bordered > tbody > tr > th,
.table-bordered > tfoot > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > td {
    border-top: 0;
    border-right: 0;
    border-bottom-color: #edf0f5;
    border-left-color: #edf0f5;
}

.table-hover > tbody > tr {
    transition: background .14s ease, box-shadow .14s ease;
}

.table-hover > tbody > tr:hover {
    background: #fff7f5;
}

.table > tbody > tr:last-child > td {
    border-bottom: 0;
}

.table .bg-red,
.table tr.bg-red,
.bg-red {
    color: var(--pc-muted) !important;
    background: var(--pc-surface-soft) !important;
}

.table .bg-red th,
.table tr.bg-red th {
    color: var(--pc-muted) !important;
}

.table select,
.table input[type="text"],
.table input[type="number"],
.table input[type="datetime-local"] {
    min-height: 34px;
    padding: 6px 9px;
    border-radius: 9px;
    font-size: 11px;
}

.table td[align="center"] .btn {
    margin: 2px 1px;
}

.label {
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 9px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .025em;
}

.label-success {
    color: var(--pc-success-dark) !important;
    background: var(--pc-success-soft) !important;
}

.label-danger {
    color: var(--pc-danger-dark) !important;
    background: var(--pc-danger-soft) !important;
}

.label-warning {
    color: var(--pc-warning-dark) !important;
    background: var(--pc-warning-soft) !important;
}

.label-info,
.label-primary {
    color: var(--pc-primary-dark) !important;
    background: var(--pc-primary-soft) !important;
}

.pagination > li > a,
.pagination > li > span {
    min-width: 38px;
    min-height: 38px;
    margin: 0 3px;
    padding: 9px 12px;
    border: 1px solid var(--pc-line);
    border-radius: 10px !important;
    color: var(--pc-muted);
    background: var(--pc-surface);
    text-align: center;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > span {
    border-color: var(--pc-primary);
    color: #fff;
    background: var(--pc-primary);
}

/* Dialogs, alerts and loaders */

.modal-content {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 26px 75px rgba(15, 23, 42, .24);
}

.modal-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--pc-line);
    background: var(--pc-surface);
}

.modal-title {
    color: var(--pc-ink);
    font-size: 17px;
    font-weight: 850;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 14px 20px;
    border-top: 1px solid var(--pc-line);
    background: var(--pc-surface-soft);
}

.ui-dialog {
    padding: 0;
    border: 0 !important;
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 26px 75px rgba(15, 23, 42, .24);
}

.ui-dialog .ui-dialog-titlebar {
    padding: 16px 18px;
    border: 0;
    border-bottom: 1px solid var(--pc-line);
    color: var(--pc-ink);
    background: var(--pc-surface);
    font-family: inherit;
    font-size: 16px;
    font-weight: 850;
}

.ui-dialog .ui-dialog-content {
    padding: 18px;
    background: var(--pc-surface);
}

.ui-dialog .ui-dialog-buttonpane {
    margin: 0;
    padding: 12px 16px;
    border-top: 1px solid var(--pc-line);
    background: var(--pc-surface-soft);
}

.ui-widget {
    font-family: inherit;
}

.alert {
    border: 1px solid transparent;
    border-radius: 13px;
    font-size: 12px;
}

.alert-success {
    border-color: #bcebd6;
    color: var(--pc-success-dark);
    background: var(--pc-success-soft);
}

.alert-danger {
    border-color: #ffcbd0;
    color: var(--pc-danger-dark);
    background: var(--pc-danger-soft);
}

.alert-warning {
    border-color: #ffe0a3;
    color: var(--pc-warning-dark);
    background: var(--pc-warning-soft);
}

.alert-info {
    border-color: #c9e0ff;
    color: var(--pc-info-dark);
    background: var(--pc-info-soft);
}

.main_loader {
    background: rgba(16, 24, 39, .64) !important;
    backdrop-filter: blur(5px);
}

.main_loader .loader {
    width: 64px !important;
    height: 64px !important;
    margin: -32px 0 0 -32px !important;
    border-width: 6px !important;
    border-color: rgba(255, 255, 255, .28) !important;
    border-top-color: var(--pc-primary) !important;
}

/* Cashier workspace */

.page-sales .content {
    max-width: 1800px;
}

.page-sales .content-header {
    max-width: 1800px;
    padding-bottom: 4px;
}

.page-sales .content-header > .row {
    display: flex;
    align-items: center;
}

.page-sales .content-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-sales .content-header h2::before {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: var(--pc-primary);
    background: var(--pc-primary-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: normal normal normal 17px/1 FontAwesome;
    content: "\f0ae";
}

.page-sales .material-switch {
    min-height: 54px;
    padding: 7px 9px 7px 16px;
    border: 1px solid var(--pc-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .88);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-shadow: var(--pc-shadow-soft);
}

.page-sales .material-switch > span {
    margin-right: 12px !important;
    color: var(--pc-ink) !important;
    font-size: 14px !important;
    font-weight: 850;
}

.page-sales .material-switch > input[type="checkbox"] + label {
    margin: 0;
}

.page-sales .content > .row {
    display: flex;
    align-items: flex-start;
}

.page-sales .content > .row > .col-lg-8 {
    width: 64%;
}

.page-sales .content > .row > .col-lg-4 {
    width: 36%;
}

.page-sales .content .col-lg-8 > .box {
    min-height: 590px;
}

.page-sales .box-header {
    min-height: 68px;
}

.page-sales #clean_paid_orders {
    color: var(--pc-warning-dark) !important;
    border-color: #ffe0a3 !important;
    background: var(--pc-warning-soft) !important;
}

.page-sales #new_order {
    min-height: 40px;
    padding-right: 16px;
    padding-left: 16px;
    border-radius: 12px;
}

.page-sales #list_data_table_invoices {
    border: 0;
}

.page-sales #list_data_table_invoices > tbody > .row_orders_table {
    cursor: pointer;
}

.page-sales #list_data_table_invoices > tbody > .row_orders_table > td:first-child {
    color: var(--pc-primary-dark);
    font-weight: 900;
}

.page-sales #list_data_table_invoices > tbody > .row_orders_table:hover {
    background: #fff5f3;
    box-shadow: inset 4px 0 0 var(--pc-primary);
}

.page-sales #list_data_table_invoices > tbody > tr[style*="cadetblue"] {
    background: var(--pc-warning-soft) !important;
    box-shadow: inset 4px 0 0 var(--pc-warning);
}

.page-sales #list_data_table_invoices .css-highlighted {
    color: var(--pc-info-dark);
    background: var(--pc-info-soft);
}

.page-sales #panel_client_order {
    min-height: 330px;
    position: sticky;
    top: calc(var(--pc-topbar-height) + 18px);
    overflow: hidden;
}

.page-sales #panel_client_order:not(:has(.box-body))::after {
    min-height: 250px;
    padding: 36px;
    color: var(--pc-muted);
    background:
        radial-gradient(circle at center, rgba(238, 63, 43, .08), transparent 9rem),
        var(--pc-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    content: "Selecciona un pedido de la lista para ver su detalle";
}

.page-sales #panel_client_order > .box-header {
    flex-wrap: wrap;
    background:
        linear-gradient(135deg, rgba(238, 63, 43, .065), transparent 60%),
        var(--pc-surface);
}

.page-sales #panel_client_order > .box-header > b {
    margin-right: auto;
    font-size: 16px;
}

.page-sales #panel_client_order .tg-pill {
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--pc-success-dark);
    background: var(--pc-success-soft);
    font-size: 9px;
    font-weight: 900;
}

.page-sales #panel_client_order .order_place {
    min-height: 34px;
    margin-left: auto;
}

.page-sales #panel_client_order .box-header > br {
    display: none;
}

.page-sales #panel_client_order .box-header > b:has(input) {
    width: 100%;
    color: var(--pc-muted);
    display: grid;
    grid-template-columns: 75px 1fr;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    text-transform: uppercase;
}

.page-sales #panel_client_order .box-header input {
    width: 100%;
    min-height: 36px;
    color: var(--pc-ink);
    font-size: 12px;
    text-transform: none;
}

.page-sales #panel_client_order .box-body > p {
    margin-bottom: 8px;
    color: var(--pc-muted);
    font-size: 12px;
}

.page-sales #panel_client_order .box-body > .row h4 {
    margin: 14px 0 8px;
    color: var(--pc-ink);
    font-size: 13px;
    font-weight: 850;
}

.page-sales #panel_client_order .input-group.margin {
    margin: 0 0 16px;
}

.page-sales #panel_client_order .input-group-btn .col-lg-2 {
    width: auto;
    padding: 0;
}

.page-sales #panel_client_order .open_menu_products {
    white-space: nowrap;
}

.page-sales #panel_client_order .table {
    margin-bottom: 15px;
}

.page-sales #panel_client_order .pc-order-product-actions {
    width: 92px !important;
    min-width: 92px;
    padding: 7px 6px !important;
    text-align: center;
    white-space: nowrap;
}

.page-sales #panel_client_order .pc-order-product-actions > .btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    margin: 2px 3px !important;
    padding: 0;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.page-sales #panel_client_order .row_order_prepare_toggle:not([disabled]) {
    border-color: var(--pc-success);
    background: var(--pc-success);
    box-shadow: 0 7px 14px rgba(34, 160, 107, .20);
}

.page-sales #panel_client_order .row_order_prepare_toggle[disabled] {
    opacity: .38;
}

.page-sales #panel_client_order .row_order_product_name {
    color: var(--pc-ink);
    font-weight: 750;
}

.page-sales #panel_client_order .row_order_product_quantity {
    width: 55px;
    text-align: center;
}

.page-sales #panel_client_order .row_order_product_total {
    color: var(--pc-ink);
    font-weight: 850;
}

.page-sales #panel_client_order .css-sub_total_amount {
    color: var(--pc-ink);
    font-size: 18px;
    font-weight: 900;
}

.page-sales #panel_client_order .css-total_amount {
    color: var(--pc-success);
    font-size: 26px;
    font-weight: 950;
    letter-spacing: -.03em;
}

.page-sales #panel_client_order .box-body > .row {
    margin-top: 9px;
    margin-bottom: 9px;
}

.page-sales #panel_client_order .pc-order-subtotal,
.page-sales #panel_client_order .pc-order-discount {
    margin-right: 0;
    margin-left: 0;
}

.page-sales #panel_client_order .pc-order-total {
    margin: 14px 0 0;
    padding: 14px 0 3px;
    border-top: 1px solid var(--pc-line);
}

.page-sales #panel_client_order .pc-order-actions,
.page-sales #panel_client_order .pc-payment-actions {
    margin: 14px 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--pc-line);
}

.page-sales #panel_client_order .pc-order-actions > .col-lg-12,
.page-sales #panel_client_order .pc-payment-actions > .col-lg-12 {
    padding-right: 0;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.page-sales #panel_client_order .pc-order-actions .print_note {
    margin-left: auto !important;
}

.page-sales #panel_client_order .pc-payment-actions > .col-lg-12 {
    justify-content: center;
}

.page-sales #panel_client_order .pc-order-actions .btn,
.page-sales #panel_client_order .pc-payment-actions .btn {
    margin: 0 !important;
}

.page-sales #panel_client_order .box-body > hr {
    border-top-color: var(--pc-line);
}

.page-sales #panel_client_order .css-panel_change {
    margin: 14px 0 !important;
    padding: 13px;
    border: 1px solid #c9e0ff;
    border-radius: 13px;
    color: var(--pc-info-dark);
    background: var(--pc-info-soft);
    line-height: 2;
}

.page-sales #panel_client_order .css-panel_change input {
    width: 90px;
    min-height: 34px;
    background: #fff;
}

.page-sales #panel_client_order .campo_prepare {
    width: min(1000px, calc(100vw - 72px));
    max-height: none;
    padding: 0;
    position: fixed !important;
    z-index: 1200;
    top: 50%;
    right: auto;
    left: 50%;
    border: 0;
    border-radius: 24px;
    background: transparent;
    overflow: visible;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 0 100vmax rgba(32, 36, 44, .48),
        0 34px 90px rgba(55, 29, 22, .28);
}

.page-sales #panel_client_order .pc-prepare-modal__dialog {
    max-height: 82vh;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 24px;
    background: var(--pc-surface);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.page-sales #panel_client_order .pc-prepare-modal__header {
    min-height: 96px;
    padding: 20px 22px;
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 86% 5%, rgba(255, 255, 255, .18), transparent 11rem),
        linear-gradient(135deg, var(--pc-sidebar), var(--pc-primary-dark));
    display: flex;
    align-items: center;
    gap: 14px;
}

.page-sales #panel_client_order .pc-prepare-modal__icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 16px;
    background: rgba(255, 255, 255, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.page-sales #panel_client_order .pc-prepare-modal__heading {
    min-width: 0;
    display: block;
}

.page-sales #panel_client_order .pc-prepare-modal__heading small,
.page-sales #panel_client_order .pc-prepare-modal__heading strong,
.page-sales #panel_client_order .pc-prepare-modal__heading > span {
    display: block;
}

.page-sales #panel_client_order .pc-prepare-modal__heading small {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .76);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.page-sales #panel_client_order .pc-prepare-modal__heading strong {
    margin-bottom: 3px;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.page-sales #panel_client_order .pc-prepare-modal__heading > span {
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 650;
}

.page-sales #panel_client_order .pc-prepare-modal__close {
    width: 40px;
    min-width: 40px;
    height: 40px;
    margin-left: auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 13px;
    color: #fff;
    background: rgba(126, 23, 14, .34);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.page-sales #panel_client_order .pc-prepare-modal__close:hover,
.page-sales #panel_client_order .pc-prepare-modal__close:focus {
    color: var(--pc-primary-dark);
    background: #fff;
}

.page-sales #panel_client_order .pc-prepare-modal__body {
    min-height: 260px;
    padding: 18px;
    background: var(--pc-surface-muted);
    overflow-x: hidden;
    overflow-y: auto;
}

.page-sales #panel_client_order .pc-prepare-slot {
    margin-bottom: 14px;
    border: 1px solid var(--pc-line);
    border-radius: 17px;
    background: var(--pc-surface);
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(77, 45, 33, .055);
}

.page-sales #panel_client_order .pc-prepare-slot:last-child {
    margin-bottom: 0;
}

.page-sales #panel_client_order .pc-prepare-slot__header h4 {
    margin: 0;
}

.page-sales #panel_client_order .pc-prepare-slot__toggle {
    width: 100%;
    min-height: 58px;
    padding: 10px 14px;
    border: 0;
    border-radius: 0;
    color: var(--pc-ink) !important;
    background: var(--pc-surface);
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    font-weight: 850;
    text-align: left;
    text-decoration: none !important;
}

.page-sales #panel_client_order .pc-prepare-slot__toggle:hover,
.page-sales #panel_client_order .pc-prepare-slot__toggle:focus {
    color: var(--pc-primary-dark) !important;
    background: var(--pc-primary-soft);
}

.page-sales #panel_client_order .pc-prepare-slot__number {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 11px;
    color: var(--pc-primary-dark);
    background: var(--pc-primary-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
}

.page-sales #panel_client_order .pc-prepare-slot__toggle > .fa {
    margin-left: auto;
    color: var(--pc-muted);
    transition: transform .18s ease;
}

.page-sales #panel_client_order .pc-prepare-slot__toggle[aria-expanded="true"] > .fa {
    transform: rotate(180deg);
}

.page-sales #panel_client_order .pc-prepare-slot__body {
    padding: 0 14px 14px;
}

.page-sales #panel_client_order .pc-prepare-group {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid var(--pc-line);
    border-radius: 15px;
    background: var(--pc-surface-soft);
}

.page-sales #panel_client_order .pc-prepare-group__header {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-sales #panel_client_order .pc-prepare-group__header > span:last-child {
    min-width: 0;
}

.page-sales #panel_client_order .pc-prepare-group__header small,
.page-sales #panel_client_order .pc-prepare-group__header strong {
    display: block;
}

.page-sales #panel_client_order .pc-prepare-group__header small {
    margin-bottom: 2px;
    color: var(--pc-muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.page-sales #panel_client_order .pc-prepare-group__header strong {
    color: var(--pc-ink);
    font-size: 14px;
    font-weight: 900;
}

.page-sales #panel_client_order .pc-prepare-requirement {
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.page-sales #panel_client_order .pc-prepare-requirement.is-required {
    color: var(--pc-primary-dark);
    background: var(--pc-primary-soft);
}

.page-sales #panel_client_order .pc-prepare-requirement.is-optional {
    color: var(--pc-success-dark);
    background: var(--pc-success-soft);
}

.page-sales #panel_client_order .pc-prepare-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.page-sales #panel_client_order .pc-prepare-option {
    min-height: 58px;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--pc-line);
    border-radius: 13px;
    color: var(--pc-ink);
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}

.page-sales #panel_client_order .pc-prepare-option:hover {
    border-color: #f2b7b0;
    background: #fff8f6;
    transform: translateY(-1px);
}

.page-sales #panel_client_order .pc-prepare-option:has(input:checked) {
    border-color: var(--pc-primary);
    background: var(--pc-primary-soft);
    box-shadow: inset 0 0 0 1px var(--pc-primary);
}

.page-sales #panel_client_order .pc-prepare-option .change_optradio_product_item {
    width: 20px !important;
    height: 20px !important;
    margin: 0 !important;
    flex: 0 0 20px;
    accent-color: var(--pc-primary);
    cursor: pointer;
    transform: none !important;
}

.page-sales #panel_client_order .pc-prepare-option__copy {
    min-width: 0;
}

.page-sales #panel_client_order .pc-prepare-option__copy strong,
.page-sales #panel_client_order .pc-prepare-option__copy small {
    display: block;
}

.page-sales #panel_client_order .pc-prepare-option__copy strong {
    color: var(--pc-ink);
    font-size: 12px;
    font-weight: 800;
}

.page-sales #panel_client_order .pc-prepare-option__copy small {
    margin-top: 3px;
    color: var(--pc-muted);
    font-size: 10px;
    font-weight: 700;
}

.page-sales #panel_client_order .pc-prepare-option:has(input:checked) .pc-prepare-option__copy small {
    color: var(--pc-primary-dark);
}

.page-sales #panel_client_order .pc-prepare-modal__footer {
    min-height: 66px;
    padding: 12px 18px;
    border-top: 1px solid var(--pc-line);
    color: var(--pc-muted);
    background: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
}

.page-sales #panel_client_order .pc-prepare-modal__footer > span > .fa {
    margin-right: 5px;
    color: var(--pc-success);
}

.page-sales #panel_client_order .pc-prepare-modal__done {
    min-width: 104px;
    min-height: 40px;
    margin-left: auto;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--pc-primary), var(--pc-primary-dark));
    font-weight: 900;
    box-shadow: 0 9px 20px rgba(201, 37, 24, .2);
}

.page-sales #panel_client_order .pc-prepare-modal__done:hover,
.page-sales #panel_client_order .pc-prepare-modal__done:focus {
    color: #fff;
    background: var(--pc-primary-dark);
}

/* Legacy collapsed sidebar, still controlled by AdminLTE */

@media (min-width: 768px) {
    body.skin-red.sidebar-mini.sidebar-collapse .main-sidebar,
    body.skin-red.sidebar-mini.sidebar-collapse .left-side {
        width: 76px !important;
        overflow: visible;
    }

    body.skin-red.sidebar-mini.sidebar-collapse .content-wrapper,
    body.skin-red.sidebar-mini.sidebar-collapse .main-footer {
        margin-left: 76px !important;
    }

    body.skin-red.sidebar-mini.sidebar-collapse .main-header .navbar {
        margin-left: 76px !important;
    }

    body.skin-red.sidebar-mini.sidebar-collapse .main-sidebar .sidebar {
        height: calc(100vh - var(--pc-topbar-height));
        padding-right: 10px;
        padding-left: 10px;
        overflow: visible;
    }

    body.skin-red.sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu {
        overflow: visible !important;
    }

    body.skin-red.sidebar-mini.sidebar-collapse .pc-sidebar-brand {
        padding: 7px;
        justify-content: center;
    }

    body.skin-red.sidebar-mini.sidebar-collapse .pc-sidebar-brand__mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    body.skin-red.sidebar-mini.sidebar-collapse .pc-sidebar-brand__copy,
    body.skin-red.sidebar-mini.sidebar-collapse .main-sidebar .user-panel,
    body.skin-red.sidebar-mini.sidebar-collapse .sidebar-menu > li.header,
    body.skin-red.sidebar-mini.sidebar-collapse .pc-sidebar-subheading,
    body.skin-red.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > span,
    body.skin-red.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .pull-right {
        display: none !important;
    }

    body.skin-red.sidebar-mini.sidebar-collapse .sidebar-menu > li > a {
        padding: 12px 10px;
        justify-content: center;
    }

    body.skin-red.sidebar-mini.sidebar-collapse .sidebar-menu > li > a > .fa {
        margin: 0;
    }

    body.skin-red.sidebar-mini.sidebar-collapse .main-sidebar .treeview-menu {
        border-radius: 0 12px 12px 0;
        background: var(--pc-sidebar) !important;
        box-shadow: 12px 12px 30px rgba(15, 23, 42, .2);
    }

    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li {
        position: relative;
        overflow: visible;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li:hover > a,
    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li:focus-within > a {
        border-radius: 12px 0 0 12px;
        background: var(--pc-primary-dark) !important;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li:hover > a > span:not(.pull-right),
    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li:focus-within > a > span:not(.pull-right) {
        width: 214px;
        min-height: 45px;
        padding: 13px 16px;
        position: absolute;
        z-index: 1210;
        top: 0;
        left: 66px;
        border-radius: 0 12px 12px 0;
        color: #fff !important;
        background: var(--pc-primary-dark) !important;
        display: block !important;
        overflow: hidden;
        box-shadow: 15px 10px 28px rgba(97, 30, 20, .24);
        font-weight: 800;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li.treeview:hover > a > span:not(.pull-right),
    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li.treeview:focus-within > a > span:not(.pull-right) {
        border-radius: 0 12px 0 0;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li:hover > .treeview-menu,
    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li:focus-within > .treeview-menu {
        width: 214px;
        margin: 0 !important;
        padding: 7px !important;
        position: absolute;
        z-index: 1209;
        top: 45px;
        left: 66px;
        border: 0;
        border-radius: 0 0 12px 12px;
        background: linear-gradient(180deg, var(--pc-primary-dark), #aa2116) !important;
        display: block !important;
        box-shadow: 15px 18px 32px rgba(97, 30, 20, .26);
    }

    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li:hover > .treeview-menu > li > a,
    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li:focus-within > .treeview-menu > li > a {
        color: rgba(255, 255, 255, .90) !important;
    }

    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li:hover > .treeview-menu > li > a:hover,
    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li:hover > .treeview-menu > li.active > a,
    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li:focus-within > .treeview-menu > li > a:hover,
    .sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu > li:focus-within > .treeview-menu > li.active > a {
        color: var(--pc-primary-dark) !important;
        background: #fff !important;
    }
}

/* Responsive administration */

@media (max-width: 1199px) {
    .page-sales .content > .row {
        display: block;
    }

    .page-sales .content > .row > .col-lg-8,
    .page-sales .content > .row > .col-lg-4 {
        width: 100%;
    }

    .page-sales #panel_client_order {
        position: static;
    }
}

@media (max-width: 991px) {
    .content-header,
    .content {
        padding-right: 20px;
        padding-left: 20px;
    }

    .content-header > .breadcrumb {
        margin-top: 12px;
        position: static;
        float: none;
    }

    .box-header {
        flex-wrap: wrap;
    }

    .box-header > .box-tools,
    .box-header > .pull-right {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    :root {
        --pc-topbar-height: 64px;
    }

    body.skin-red {
        font-size: 13px;
    }

    .skin-red .main-header .navbar,
    .skin-red .main-header .navbar-static-top {
        min-height: var(--pc-topbar-height);
        margin-left: 0;
    }

    .skin-red .main-header .navbar .sidebar-toggle {
        width: 42px;
        height: 42px;
        margin-left: 12px;
    }

    .pc-refresh-btn {
        width: 42px;
        min-height: 42px;
        padding: 0;
        justify-content: center;
    }

    .pc-refresh-btn span,
    .pc-topbar-context {
        display: none;
    }

    .main-header .navbar-custom-menu {
        height: var(--pc-topbar-height);
    }

    .main-header .navbar-custom-menu > .navbar-nav {
        margin: 0 10px 0 0;
    }

    .main-header .navbar-custom-menu > .navbar-nav > li > a {
        min-height: 42px;
        margin-top: 11px;
        padding: 6px;
    }

    .main-header .navbar-custom-menu > .navbar-nav > li > a .hidden-xs {
        display: none !important;
    }

    .main-sidebar,
    .left-side {
        width: var(--pc-sidebar-width);
        padding-top: var(--pc-topbar-height);
        transform: translate(-270px, 0);
    }

    .sidebar-open .main-sidebar,
    .sidebar-open .left-side {
        transform: translate(0, 0);
    }

    .sidebar-open .content-wrapper,
    .sidebar-open .right-side,
    .sidebar-open .main-footer {
        transform: translate(270px, 0);
    }

    .content-wrapper,
    .right-side,
    .main-footer {
        margin-left: 0 !important;
    }

    .content-header {
        padding: 22px 14px 6px;
    }

    .content {
        padding: 12px 14px 28px;
    }

    .content-header > h1,
    .content-header h1,
    .content-header h2 {
        font-size: 25px;
    }

    .box {
        margin-bottom: 16px;
        border-radius: 16px !important;
    }

    .box-header {
        padding: 13px 14px;
    }

    .box-body {
        padding: 14px;
    }

    .box-header > .box-tools,
    .box-header > .pull-right {
        width: 100%;
        margin-left: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
    }

    .table-responsive,
    .box-body.table-responsive {
        -webkit-overflow-scrolling: touch;
    }

    .table {
        min-width: 660px;
    }

    .page-sales .content-header > .row {
        display: block;
    }

    .page-sales .content-header .col-md-6 + .col-md-6 {
        margin-top: 12px;
    }

    .page-sales .material-switch {
        justify-content: space-between;
    }

    .page-sales #panel_client_order .campo_prepare {
        width: calc(100vw - 24px);
        top: 50%;
        right: auto;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .page-sales #panel_client_order .pc-prepare-modal__dialog {
        max-height: calc(100dvh - 24px);
        border-radius: 18px;
    }

    .page-sales #panel_client_order .pc-prepare-modal__header {
        min-height: 82px;
        padding: 14px;
    }

    .page-sales #panel_client_order .pc-prepare-modal__icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        border-radius: 13px;
    }

    .page-sales #panel_client_order .pc-prepare-modal__heading strong {
        font-size: 17px;
    }

    .page-sales #panel_client_order .pc-prepare-modal__body {
        min-height: 180px;
        padding: 11px;
    }

    .page-sales #panel_client_order .pc-prepare-slot__body {
        padding: 0 10px 10px;
    }

    .page-sales #panel_client_order .pc-prepare-group {
        padding: 11px;
    }

    .page-sales #panel_client_order .pc-prepare-group__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .page-sales #panel_client_order .pc-prepare-options {
        grid-template-columns: 1fr;
    }

    .page-sales #panel_client_order .pc-prepare-modal__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .page-sales #panel_client_order .pc-prepare-modal__done {
        width: 100%;
        margin-left: 0;
    }

    .main-footer {
        padding: 15px;
        text-align: center;
    }

    .main-footer .pull-right {
        margin-bottom: 6px;
        float: none !important;
        display: flex !important;
        justify-content: center;
    }
}

@media print {
    .main-header,
    .main-sidebar,
    .main-footer {
        display: none !important;
    }

    .content-wrapper {
        margin: 0 !important;
        background: #fff !important;
    }

    .box {
        border-color: #d7dce5 !important;
        box-shadow: none !important;
    }
}
