/* Office Time Log demo - self-contained stylesheet (CoreUI / Bootstrap 4 look-alike) */
:root {
  --primary: #321fdb;
  --success: #2eb85c;
  --warning: #f9b115;
  --danger: #e55353;
  --info: #39f;
  --dark: #4f5d73;
  --secondary: #ced2d8;
  --light: #ebedef;
  --facebook: #3b5998;
  --body-bg: #ebedef;
  --text: #3c4b64;
  --muted: #768192;
  --border: #d8dbe0;
  --sidebar: #3c4b64;
  --radius: 0.25rem;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--body-bg);
  min-height: 100vh;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4,h5,h6 { margin: 0 0 .5rem; font-weight: 500; line-height: 1.2; }
h1{font-size:2rem} h2{font-size:1.75rem} h3{font-size:1.5rem} h4{font-size:1.3rem} h5{font-size:1.1rem} h6{font-size:.95rem}
p { margin: 0 0 1rem; }
small, .small { font-size: 80%; font-weight: 400; }
strong, .font-weight-bold { font-weight: 700; }
code { font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: 87.5%; color: #e83e8c; }
s { text-decoration: line-through; }
hr { border: 0; border-top: 1px solid var(--border); margin: 1rem 0; }
svg.ico { width: 1em; height: 1em; vertical-align: -0.125em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; }
svg.ico.h1 { width: 2.5rem; height: 2.5rem; }
svg.ico.h3 { width: 1.75rem; height: 1.75rem; }
svg.ico.h4 { width: 1.5rem; height: 1.5rem; }

/* ---------- layout ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar {
  width: 256px; flex: 0 0 256px; background: var(--sidebar); color: rgba(255,255,255,.8);
}
.sidebar-inner { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.sidebar-brand { height: 56px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.2); }
.sidebar-brand img { height: 36px; }
.sidebar-title { padding: 1.4rem 1rem .5rem; font-size: 80%; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.6); }
.sidebar a.nav-link { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; color: rgba(255,255,255,.8); }
.sidebar a.nav-link:hover { background: rgba(255,255,255,.05); color: #fff; text-decoration: none; }
.sidebar a.nav-link.active { background: var(--primary); color: #fff; }
.sidebar a.nav-link svg { width: 1.1rem; height: 1.1rem; opacity: .8; }
.sidebar .nav-badge { margin-left: auto; }
.sidebar-footer { margin-top: auto; padding: .75rem 1rem; font-size: 75%; color: rgba(255,255,255,.5); border-top: 1px solid rgba(0,0,0,.2); }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.header {
  height: 56px; background: #fff; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 1rem; gap: 1rem; position: sticky; top: 0; z-index: 20;
}
.header .toggler { display: none; background: none; border: 0; padding: .25rem .5rem; cursor: pointer; color: var(--text); }
.header .crumbs { font-weight: 600; }
.header .crumbs span.sep { color: var(--muted); margin: 0 .35rem; font-weight: 400; }
.header .spacer { flex: 1; }
.user-chip { display: flex; align-items: center; gap: .5rem; font-size: 80%; }
.user-chip .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--facebook); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 75%; }
.content { padding: 1.25rem; flex: 1; }
.kiosk-bar { background: #fff; border-bottom: 1px solid var(--border); padding: .5rem 1rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.kiosk-bar .spacer { flex: 1; }
.demo-clock { display: flex; align-items: center; gap: .4rem; font-size: 80%; background: #fff3cd; border: 1px solid #ffeeba; color: #856404; border-radius: 20px; padding: .2rem .5rem .2rem .75rem; }
.demo-clock.real { background: var(--light); border-color: var(--border); color: var(--text); }
.demo-clock input { border: 1px solid var(--border); border-radius: 3px; font-size: 90%; padding: .05rem .25rem; }
.demo-clock button { border: 0; background: rgba(0,0,0,.08); border-radius: 3px; padding: .1rem .45rem; cursor: pointer; font-size: 90%; }
@media (max-width: 991px) {
  .sidebar { position: fixed; left: -256px; z-index: 40; transition: left .2s; }
  .sidebar.open { left: 0; }
  .header .toggler { display: inline-block; }
  .backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 30; }
  .content { padding: .75rem; }
}
@media (max-width: 575px) {
  .header { gap: .5rem; padding: 0 .5rem; }
  .header .crumbs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .header .crumbs .text-muted, .header .crumbs .sep { display: none; }
  .demo-clock [data-clock-time] { display: none; }
  .demo-clock { padding-left: .5rem; }
}

/* ---------- grid ---------- */
.row { display: flex; flex-wrap: wrap; margin: 0 -.5rem; }
.row > [class*="col"] { padding: 0 .5rem; width: 100%; min-width: 0; }
.row.no-gutters { margin: 0; } .row.no-gutters > [class*="col"] { padding: 0; }
.col { flex: 1 1 0; }
.col-3 { flex: 0 0 25%; max-width: 25%; } .col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; } .col-12 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 576px) {
  .col-sm-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 768px) {
  .col-md-3 { flex: 0 0 25%; max-width: 25%; } .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; } .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.3333%; max-width: 58.3333%; } .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
}
@media (min-width: 992px) {
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; } .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .col-lg-5 { flex: 0 0 41.6667%; max-width: 41.6667%; } .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.3333%; max-width: 58.3333%; } .col-lg-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
}

/* ---------- utilities ---------- */
.d-flex { display: flex !important; } .d-block { display: block !important; } .d-inline-block { display: inline-block !important; } .d-none { display: none !important; }
.flex-grow-1 { flex-grow: 1; } .flex-column { flex-direction: column; } .flex-wrap { flex-wrap: wrap; } .flex-shrink-0 { flex-shrink: 0; }
.align-items-center { align-items: center; } .align-items-end { align-items: flex-end; } .justify-content-between { justify-content: space-between; } .justify-content-center { justify-content: center; }
.text-center { text-align: center !important; } .text-right { text-align: right !important; } .text-left { text-align: left !important; }
.text-uppercase { text-transform: uppercase; } .text-nowrap { white-space: nowrap; } .text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-white { color: #fff !important; } .text-white-50 { color: rgba(255,255,255,.5) !important; } .text-muted { color: var(--muted) !important; }
.text-dark { color: var(--text) !important; } .text-danger { color: var(--danger) !important; } .text-warning { color: #e09b00 !important; }
.text-success { color: var(--success) !important; } .text-info { color: var(--info) !important; } .text-primary { color: var(--primary) !important; }
.bg-dark { background: var(--dark) !important; } .bg-facebook { background: var(--facebook) !important; } .bg-success { background: var(--success) !important; }
.bg-warning { background: var(--warning) !important; } .bg-info { background: var(--info) !important; } .bg-secondary { background: #9da5b1 !important; }
.bg-light { background: var(--light) !important; } .bg-white { background: #fff !important; } .bg-danger { background: var(--danger) !important; }
.custom-background-blue { background: linear-gradient(to bottom, #26303b 50%, #2c3540 50%); }
.m-0{margin:0!important} .mb-0{margin-bottom:0!important} .mb-1{margin-bottom:.25rem!important} .mb-2{margin-bottom:.5rem!important} .mb-3{margin-bottom:1rem!important} .mb-4{margin-bottom:1.5rem!important}
.mt-1{margin-top:.25rem!important} .mt-2{margin-top:.5rem!important} .mt-3{margin-top:1rem!important} .mt-4{margin-top:1.5rem!important} .mr-1{margin-right:.25rem!important} .mr-2{margin-right:.5rem!important} .mr-3{margin-right:1rem!important}
.ml-1{margin-left:.25rem!important} .ml-2{margin-left:.5rem!important} .ml-3{margin-left:1rem!important} .ml-auto{margin-left:auto!important} .mx-auto{margin-left:auto!important;margin-right:auto!important} .mx-2{margin-left:.5rem!important;margin-right:.5rem!important}
.p-0{padding:0!important} .p-1{padding:.25rem!important} .p-2{padding:.5rem!important} .p-3{padding:1rem!important} .p-4{padding:1.5rem!important}
.px-3{padding-left:1rem!important;padding-right:1rem!important} .py-0{padding-top:0!important;padding-bottom:0!important} .py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}
.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important} .py-3{padding-top:1rem!important;padding-bottom:1rem!important} .py-4{padding-top:1.5rem!important;padding-bottom:1.5rem!important} .py-5{padding-top:3rem!important;padding-bottom:3rem!important}
.pl-3{padding-left:1rem!important} .pr-2{padding-right:.5rem!important} .pr-3{padding-right:1rem!important} .pt-2{padding-top:.5rem!important} .pt-4{padding-top:1.5rem!important}
.w-100 { width: 100%; } .h-100 { height: 100%; } .position-relative { position: relative; } .overflow-hidden { overflow: hidden; }
.rounded { border-radius: var(--radius) !important; } .rounded-top { border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.border { border: 1px solid var(--border) !important; } .border-0 { border: 0 !important; } .border-top { border-top: 1px solid var(--border) !important; } .border-bottom { border-bottom: 1px solid var(--border) !important; } .border-right { border-right: 1px solid var(--border) !important; }
.shadow-sm { box-shadow: 0 1px 1px 0 rgba(60,75,100,.14), 0 2px 1px -1px rgba(60,75,100,.12), 0 1px 3px 0 rgba(60,75,100,.2) !important; }
.shadow { box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important; }
.float-right { float: right; }
.cursor-pointer { cursor: pointer; }

/* ---------- card ---------- */
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.5rem; display: flex; flex-direction: column; min-width: 0; word-wrap: break-word; }
.card-header { padding: .75rem 1.25rem; background: rgba(0,0,21,.03); border-bottom: 1px solid var(--border); border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.card-header h5, .card-header h6 { margin: 0; }
.card-body { padding: 1.25rem; flex: 1 1 auto; }
.card-footer { padding: .75rem 1.25rem; background: rgba(0,0,21,.03); border-top: 1px solid var(--border); }
.card.bg-dark, .card-header.bg-dark, .card-header.bg-facebook, .card-header.bg-success, .card-header.bg-info, .card-header.bg-secondary { border-color: transparent; }

/* ---------- badge ---------- */
.badge { display: inline-block; padding: .25em .4em; font-size: 75%; font-weight: 700; line-height: 1; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: var(--radius); }
.badge-primary { background: var(--primary); color: #fff; } .badge-success { background: var(--success); color: #fff; } .badge-warning { background: var(--warning); color: #4f5d73; }
.badge-danger { background: var(--danger); color: #fff; } .badge-info { background: var(--info); color: #fff; } .badge-dark { background: var(--dark); color: #fff; }
.badge-secondary { background: var(--secondary); color: #4f5d73; } .badge-light { background: var(--light); color: #4f5d73; }
.badge-pill { border-radius: 10rem; padding-left: .6em; padding-right: .6em; }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-weight: 400; color: var(--text); text-align: center; vertical-align: middle; user-select: none; background: transparent; border: 1px solid transparent;
  padding: .375rem .75rem; font-size: .875rem; line-height: 1.5; border-radius: var(--radius); cursor: pointer; transition: all .15s; font-family: inherit; }
.btn:hover { text-decoration: none; filter: brightness(.94); }
.btn:disabled, .btn.disabled { opacity: .55; cursor: not-allowed; filter: none; }
.btn-sm { padding: .25rem .5rem; font-size: .765rem; line-height: 1.5; border-radius: .2rem; }
.btn-lg { padding: .5rem 1rem; font-size: 1.09rem; border-radius: .3rem; }
.btn-block { display: block; width: 100%; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-success { background: var(--success); border-color: var(--success); color: #fff; }
.btn-warning { background: var(--warning); border-color: var(--warning); color: #4f5d73; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-info { background: var(--info); border-color: var(--info); color: #fff; }
.btn-dark { background: var(--dark); border-color: var(--dark); color: #fff; }
.btn-secondary { background: var(--secondary); border-color: var(--secondary); color: #4f5d73; }
.btn-light { background: var(--light); border-color: var(--light); color: #4f5d73; }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); } .btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-outline-danger { border-color: var(--danger); color: var(--danger); } .btn-outline-danger:hover { background: var(--danger); color: #fff; }
.btn-outline-dark { border-color: var(--dark); color: var(--dark); } .btn-outline-dark:hover { background: var(--dark); color: #fff; }
.btn-outline-secondary { border-color: #9da5b1; color: var(--text); } .btn-outline-secondary:hover { background: #9da5b1; color: #fff; }
.btn-outline-success { border-color: var(--success); color: var(--success); } .btn-outline-success:hover { background: var(--success); color: #fff; }
.btn-link { color: var(--primary); } .btn-link:hover { text-decoration: underline; }
.btn-group .btn + .btn { margin-left: .25rem; }

/* ---------- forms ---------- */
label { display: inline-block; margin-bottom: .5rem; }
.form-group { margin-bottom: 1rem; }
.form-control { display: block; width: 100%; height: calc(1.5em + .75rem + 2px); padding: .375rem .75rem; font-size: .875rem; line-height: 1.5; color: #5c6873; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); font-family: inherit; }
.form-control:focus { outline: 0; border-color: #958bef; box-shadow: 0 0 0 .2rem rgba(50,31,219,.25); }
.form-control:disabled { background: var(--light); }
.form-control-sm { height: calc(1.5em + .5rem + 2px); padding: .25rem .5rem; font-size: .765rem; border-radius: .2rem; }
.form-control-lg { height: calc(1.5em + 1rem + 2px); padding: .5rem 1rem; font-size: 1.09rem; border-radius: .3rem; }
select.form-control { appearance: auto; }
.form-text { display: block; margin-top: .25rem; color: var(--muted); font-size: 80%; }
.input-group { display: flex; width: 100%; }
.input-group > .form-control { flex: 1 1 auto; width: 1%; border-radius: 0; }
.input-group > .form-control:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.input-group > .form-control:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.input-group-text { display: flex; align-items: center; padding: .375rem .75rem; font-size: .875rem; color: #5c6873; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius) 0 0 var(--radius); }
.input-group-text.append { border-radius: 0 var(--radius) var(--radius) 0; border-left: 0; }
.input-group-sm .input-group-text, .input-group-sm .btn { padding: .25rem .5rem; font-size: .765rem; }
.input-group .btn { border-radius: 0 var(--radius) var(--radius) 0; }
/* switch */
.switch { position: relative; display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track { width: 2.25rem; height: 1.25rem; background: #fff; border: 1px solid #8a93a2; border-radius: .625rem; position: relative; transition: all .15s; flex: 0 0 auto; }
.switch .track::after { content: ""; position: absolute; top: 2px; left: 2px; width: calc(1.25rem - 6px); height: calc(1.25rem - 6px); border-radius: 50%; background: #8a93a2; transition: all .15s; }
.switch input:checked + .track { background: var(--primary); border-color: var(--primary); }
.switch input:checked + .track::after { left: calc(100% - 1.25rem + 4px); background: #fff; }
.switch input:disabled + .track { opacity: .5; cursor: not-allowed; }
.switch.sm .track { width: 1.75rem; height: 1rem; } .switch.sm .track::after { width: calc(1rem - 6px); height: calc(1rem - 6px); }
.switch.sm input:checked + .track::after { left: calc(100% - 1rem + 4px); }
.switch.lg .track { width: 2.75rem; height: 1.5rem; } .switch.lg .track::after { width: calc(1.5rem - 6px); height: calc(1.5rem - 6px); }
.switch.lg input:checked + .track::after { left: calc(100% - 1.5rem + 4px); }
.check { display: flex; align-items: flex-start; gap: .5rem; cursor: pointer; }
.check input { margin-top: .3rem; }

/* ---------- tables ---------- */
.table-responsive { display: block; width: 100%; overflow-x: auto; }
.table { width: 100%; margin-bottom: 1rem; color: var(--text); border-collapse: collapse; }
.table th, .table td { padding: .75rem; vertical-align: top; border-top: 1px solid var(--border); }
.table thead th { vertical-align: bottom; border-bottom: 2px solid var(--border); }
.table-sm th, .table-sm td { padding: .3rem; }
.table-bordered, .table-bordered th, .table-bordered td { border: 1px solid var(--border); }
.table-striped tbody tr:nth-of-type(odd) { background: rgba(0,0,21,.05); }
.table-hover tbody tr:hover { background: rgba(0,0,21,.075); }
.thead-dark th { background: var(--dark); color: #fff; border-color: #636f83 !important; }
.thead-light th { background: var(--light); color: var(--text); border-color: var(--border); }
.table-light, .table-light > th, .table-light > td { background: #f7f7f8; }
.table-warning > td { background: #fdf1d5 !important; }
.table-danger > td { background: #fadddd !important; }
.align-middle td, .align-middle th, .align-middle { vertical-align: middle !important; }
.table td.punch-manual { background: #fff8e6; }
.table .empty { color: var(--muted); text-align: center; padding: 1.5rem; }
.timelog-thumb { width: 42px; height: 42px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); background: #222; display: block; margin: 0 auto .25rem; }

/* ---------- alerts ---------- */
.alert { position: relative; padding: .75rem 1.25rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: var(--radius); }
.alert-info { color: #1c4f7a; background: #d6ebff; border-color: #c5e2ff; }
.alert-success { color: #18603a; background: #d5f1de; border-color: #c4ebd1; }
.alert-warning { color: #815c15; background: #feefd0; border-color: #fde9bd; }
.alert-danger { color: #772b2b; background: #fadddd; border-color: #f8cfcf; }
.alert-secondary { color: #4f5d73; background: #f0f1f3; border-color: var(--border); }
.alert-light { color: var(--muted); background: #f9f9fa; border-color: var(--border); }
.alert.small { padding: .5rem .75rem; }

/* ---------- list-group ---------- */
.list-group { display: flex; flex-direction: column; padding: 0; margin: 0; }
.list-group-item { position: relative; display: block; padding: .75rem 1.25rem; background: #fff; border: 1px solid var(--border); color: var(--text); }
.list-group-item + .list-group-item { border-top: 0; }
.list-group-flush .list-group-item { border-left: 0; border-right: 0; border-radius: 0; }
.list-group-flush .list-group-item:last-child { border-bottom: 0; }
.list-group-item-action { cursor: pointer; text-decoration: none !important; }
.list-group-item-action:hover { background: #f5f6f7; }
.list-group-item.active { background: var(--primary); border-color: var(--primary); color: #fff; z-index: 1; }
.list-group-item.active .text-muted { color: rgba(255,255,255,.6) !important; }

/* ---------- progress / spinner ---------- */
.progress { display: flex; height: 6px; overflow: hidden; background: var(--light); border-radius: var(--radius); }
.progress-bar { transition: width .6s linear; }
.spinner { display: inline-block; width: 2rem; height: 2rem; border: .25em solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .75s linear infinite; vertical-align: text-bottom; }
.spinner.sm { width: 1rem; height: 1rem; border-width: .2em; }
.spinner-grow { display: inline-block; width: .8rem; height: .8rem; border-radius: 50%; background: currentColor; animation: grow .75s linear infinite; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes grow { 0% { transform: scale(0); } 50% { opacity: 1; transform: none; } }
.loader { position: absolute; inset: 0; background: rgba(255,255,255,.8); z-index: 10; display: flex; align-items: center; justify-content: center; text-align: center; border-radius: var(--radius); }

/* ---------- modal ---------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,21,.5); z-index: 1040; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 1.75rem .5rem; animation: fade .15s; }
.modal-backdrop.centered { align-items: center; }
.modal { background: #fff; border-radius: .3rem; width: 100%; max-width: 500px; box-shadow: 0 .5rem 1rem rgba(0,0,0,.3); animation: drop .2s; margin: auto; }
.modal.sm { max-width: 300px; } .modal.lg { max-width: 800px; } .modal.xl { max-width: 1140px; } .modal.xxl { max-width: 1500px; }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; padding: 1rem; border-bottom: 1px solid var(--border); }
.modal-header h5 { margin: 0; font-size: 1.1rem; }
.modal-header .close { background: none; border: 0; font-size: 1.5rem; line-height: 1; color: #000; opacity: .5; cursor: pointer; padding: 0 .25rem; }
.modal-body { padding: 1rem; }
.modal-footer { display: flex; justify-content: flex-end; gap: .5rem; padding: .75rem; border-top: 1px solid var(--border); }
@keyframes fade { from { background: rgba(0,0,21,0); } }
@keyframes drop { from { transform: translateY(-30px); } }
/* swal-like */
.swal { text-align: center; padding: 1.5rem 1.5rem 1.25rem; max-width: 420px; }
.swal .swal-icon { width: 72px; height: 72px; border-radius: 50%; border: 4px solid; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; }
.swal .swal-icon.success { border-color: #a5dc86; color: #a5dc86; } .swal .swal-icon.error { border-color: #f27474; color: #f27474; }
.swal .swal-icon.warning { border-color: #facea8; color: #f8bb86; }
.swal h4 { font-size: 1.4rem; margin-bottom: .5rem; color: #595959; }
.swal p { color: #545454; margin-bottom: 1.25rem; }
.swal .btn { min-width: 100px; margin: 0 .25rem; }
.swal .btn-swal-confirm { background: #3085d6; color: #fff; border-color: #3085d6; }
.swal .btn-swal-cancel { background: #d33; color: #fff; border-color: #d33; }

/* ---------- page specific ---------- */
.kiosk-code-input { font-size: 2.2rem; letter-spacing: .6rem; font-weight: 700; height: auto !important; }
.kiosk-code { font-size: 3.2rem; font-weight: 800; letter-spacing: .35rem; font-variant-numeric: tabular-nums; line-height: 1; }
.device-fingerprint { max-width: 260px; }
.mode-btn { padding: .5rem .25rem; font-weight: 700; }
.vue-clock { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .05rem; }
.camera-box { min-height: 220px; display: flex; align-items: center; justify-content: center; }
.camera-box canvas, .camera-box video { width: 100%; max-height: 360px; border-radius: var(--radius); background: #111; }
.hub-icon { width: 38px; height: 38px; flex: 0 0 38px; color: #fff; }
.flip-x { transform: scaleX(-1); }
.emp-chip { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--border); background: #fff; border-radius: 20px; padding: .15rem .6rem .15rem .2rem; margin: .15rem; cursor: pointer; font-size: 78%; }
.emp-chip:hover { background: #f0f1f3; }
.emp-chip .avatar { width: 22px; height: 22px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 65%; font-weight: 700; }
.step-card { display: flex; gap: 1rem; align-items: flex-start; }
.step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--facebook); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: 0 0 40px; font-size: 1.1rem; }
.flow { display: flex; flex-wrap: wrap; gap: .5rem; align-items: stretch; }
.flow .node { flex: 1 1 150px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: .75rem; text-align: center; position: relative; }
.flow .node .badge { position: absolute; top: -8px; left: 50%; transform: translateX(-50%); }
.flow .node svg { width: 1.6rem; height: 1.6rem; margin: .25rem 0; }
.flow .arrow { display: flex; align-items: center; color: var(--muted); }
.hero { background: linear-gradient(135deg, #3b5998, #26303b); color: #fff; border-radius: var(--radius); padding: 2rem; margin-bottom: 1.5rem; }
.hero h2 { font-weight: 700; }
.hero .badge { font-size: 80%; }
.shift-picker { max-height: 260px; overflow-y: auto; }
.employees-list { max-height: 480px; overflow-y: auto; }
.tip { border-left: 4px solid var(--info); background: #f2f8ff; padding: .5rem .75rem; border-radius: 0 var(--radius) var(--radius) 0; font-size: 85%; }
.kbd { border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 3px; padding: 0 .3rem; font-family: monospace; font-size: 85%; background: #f8f9fa; }
.animated.fadeIn { animation: fadeIn .3s; }
@keyframes fadeIn { from { opacity: 0; } }
