/* VkonnectPOS back office */
body { font-family: 'Source Sans Pro', 'Segoe UI', Arial, sans-serif; }
.content-header h1 small { font-size: 14px; }
.box { border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.table > thead > tr > th { background: #f4f6f9; }
.text-money { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ---------- login ---------- */
.lg-body { min-height: 100vh; background: linear-gradient(135deg,#0f2027,#203a43 55%,#2c5364); }
.lg-wrap { display: flex; min-height: 100vh; align-items: center; justify-content: center; gap: 60px; padding: 30px; flex-wrap: wrap; }
.lg-brand { color: #fff; max-width: 420px; }
.lg-brand h1 { font-size: 46px; font-weight: 300; margin: 10px 0; }
.lg-brand p { color: #b8c7d3; font-size: 16px; }
.lg-brand ul { list-style: none; padding: 0; margin-top: 24px; font-size: 16px; }
.lg-brand li { margin: 8px 0; } .lg-brand li i { color: #f39c12; margin-right: 8px; }
.lg-logo { width: 74px; height: 74px; border-radius: 18px; background: #f39c12; display: flex; align-items: center; justify-content: center; font-size: 38px; }
.lg-card { background: #fff; border-radius: 14px; padding: 28px 30px; width: 400px; max-width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.lg-card h3 { margin-top: 0; font-weight: 700; }
.lg-msg { color: #dd4b39; font-weight: 600; min-height: 20px; margin-top: 10px; } .lg-msg.ok { color: #00a65a; }
.lg-foot { display: flex; justify-content: space-between; }

/* ---------- dashboard ---------- */
.kpi { background: #fff; border-radius: 10px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(0,0,0,.08); margin-bottom: 15px; position: relative; overflow: hidden; min-height: 98px; }
.kpi .l { color: #6c7a89; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.kpi .v { font-size: 26px; font-weight: 700; margin-top: 4px; }
.kpi .s { color: #8a97a5; font-size: 12px; }
.kpi i.bg { position: absolute; right: 12px; top: 14px; font-size: 40px; opacity: .15; color: var(--c,#3c8dbc); }
.kpi { border-left: 4px solid var(--c,#3c8dbc); }
.dash-branch { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.live-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #eee; }
.live-row .t { font-weight: 700; } .live-row .late { color: #dd4b39; font-weight: 700; }
.chart-box { position: relative; height: 260px; }

/* ---------- permissions ---------- */
#permTable td, #permTable th { text-align: center; vertical-align: middle; }
#permTable td:first-child, #permTable th:first-child, #permTable td:nth-child(2) { text-align: left; }
#permTable tr.grp td { background: #ecf0f5; font-weight: 700; text-align: left; }
#permTable input[type=checkbox] { width: 18px; height: 18px; }

/* ---------- help ---------- */
.help-body { max-width: 900px; margin: 0 auto; padding: 24px; font-size: 15px; line-height: 1.6; }
.help-body h1 { font-size: 28px; border-bottom: 3px solid #3c8dbc; padding-bottom: 8px; }
.help-body h2 { font-size: 20px; margin-top: 26px; color: #1f4e79; }
.help-body .tip { background: #eaf4fb; border-left: 4px solid #3c8dbc; padding: 10px 14px; margin: 12px 0; }
.help-body .warn { background: #fff4e5; border-left: 4px solid #f39c12; padding: 10px 14px; margin: 12px 0; }
.help-body table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.help-body th, .help-body td { border: 1px solid #ddd; padding: 6px 10px; vertical-align: top; }
.help-body th { background: #f4f6f9; }
.help-body ol li, .help-body ul li { margin: 4px 0; }
.help-nav { background: #1f2d3d; color: #fff; padding: 10px 24px; }
.help-nav a { color: #fff; margin-right: 16px; }
@media print { .help-nav { display: none; } }


/* ================= POS theme: restaurant line-icon pattern on sign-in pages, header, menu and POS bars ================= */
/* one drawing everywhere: /images/pos-pattern.svg (web), PosPattern brush (Windows POS), pos_pattern.svg (mobile) */
.lg-body { background: url('../images/pos-pattern.svg'), radial-gradient(circle at 20% 15%, #17406b 0%, transparent 55%), linear-gradient(135deg, #0F2A4A 0%, #0B1220 100%); background-attachment: fixed; }
.lg-brand li i { color: #4ea3ff; }
.lg-logo { box-shadow: 0 10px 40px rgba(37,133,232,.35); }
/* back office header */
.skin-blue .main-header .navbar { background: url('../images/pos-pattern.svg') 0 -18px, linear-gradient(90deg, #14406e 0%, #0B1A30 100%); }
.skin-blue .main-header .logo { background: url('../images/pos-pattern.svg') 30px -18px, #0A1424; color: #fff; border-right: 1px solid rgba(255,255,255,.06); }
.skin-blue .main-header .logo:hover { background-color: #0F2A4A; }
.skin-blue .main-header .navbar .nav > li > a:hover, .skin-blue .main-header .navbar .sidebar-toggle:hover,
.skin-blue .main-header .navbar .nav .open > a, .skin-blue .main-header .navbar .nav > .active > a { background-color: rgba(255,255,255,.10); }
.skin-blue .main-header li.user-header { background: url('../images/pos-pattern.svg'), linear-gradient(135deg, #14406e, #0B1A30); }
/* back office menu */
.skin-blue .wrapper, .skin-blue .main-sidebar, .skin-blue .left-side { background: url('../images/pos-pattern.svg') 0 0 / 240px 240px, #0E1726; }
.skin-blue .sidebar-menu > li.header { background: transparent; color: #6f86a6; letter-spacing: .5px; }
.skin-blue .sidebar-menu > li > a { border-left: 3px solid transparent; }
.skin-blue .sidebar-menu > li:hover > a, .skin-blue .sidebar-menu > li.active > a, .skin-blue .sidebar-menu > li.menu-open > a { color: #fff; background: rgba(37,133,232,.16); border-left-color: #2585e8; }
.skin-blue .sidebar-menu > li > .treeview-menu { background: rgba(5,10,20,.55); margin: 0 1px; }
.skin-blue .sidebar-menu .treeview-menu > li.active > a, .skin-blue .sidebar-menu .treeview-menu > li > a:hover { color: #fff; }
.skin-blue .sidebar a { color: #c3cfdf; }
.skin-blue .sidebar-form { border-color: #22324a; } .skin-blue .sidebar-form input[type=text], .skin-blue .sidebar-form .btn { background: #15202f; color: #fff; }
.content-wrapper { background: #eef2f7; }
/* full-screen POS bars */
.pos-top, .kd-top, .help-nav { background: url('../images/pos-pattern.svg') 0 -14px, linear-gradient(90deg, #14406e 0%, #0B1A30 100%) !important; }
.pos-top .tb { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.08); }
.pos-top .tb.active { background: #2585e8; border-color: #2585e8; }

/* ================= left menu (2026-11-19): fixed with its own scroll, long page names wrap inside it, the page keeps its design ================= */
.main-sidebar { position: fixed; top: 0; bottom: 0; height: 100vh; overflow-y: auto; overflow-x: hidden; }
.main-sidebar::-webkit-scrollbar { width: 6px; }
.main-sidebar::-webkit-scrollbar-thumb { background: #2a3a52; border-radius: 3px; }
.sidebar-mini.sidebar-collapse .main-sidebar { overflow: visible; }                 /* collapsed: the hover flyouts must show */
.skin-blue .wrapper { background: #eef2f7; }                                         /* no dark band under a short page */
.content-wrapper { min-height: calc(100vh - 101px); }
body:not(.sidebar-collapse) .sidebar-menu > li > a { white-space: normal; overflow-wrap: anywhere; line-height: 1.3; padding-right: 30px; position: relative; }
body:not(.sidebar-collapse) .sidebar-menu > li > a > .pull-right-container { position: absolute; right: 10px; top: 50%; margin-top: -8px; }
body:not(.sidebar-collapse) .sidebar-menu .treeview-menu > li > a { white-space: normal; overflow-wrap: anywhere; line-height: 1.3; display: flex; gap: 6px; align-items: flex-start; padding: 6px 8px 6px 18px; }
body:not(.sidebar-collapse) .sidebar-menu .treeview-menu > li > a > .fa { flex: 0 0 18px; margin-top: 2px; }
.sidebar-menu .treeview-menu { overflow: hidden; }
