/* Clopos POS — shared styles. Mockups fill 100% of the browser window.
   Real app imports Bootstrap, which sets the body font to the OS native stack.
   We mirror that exactly — no custom Google Sans. */
@font-face { font-family: 'Clopos-Medium'; src: url('fonts/GoogleSans-Medium.ttf') format('truetype'); }
@font-face { font-family: 'Clopos-Bold';   src: url('fonts/GoogleSans-Bold.ttf')   format('truetype'); }
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #212529;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.wrapper { width: 100%; height: 100%; }
.screen { display: flex; width: 100%; height: 100%; background: #fff; }
.btn-fs { position: fixed; top: 8px; right: 8px; z-index: 100; width: 32px; height: 32px; background: rgba(0,0,0,0.25); border: none; border-radius: 6px; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0.6; }
.btn-fs:hover { opacity: 1; background: rgba(0,0,0,0.5); }
body.fs .btn-fs { background: rgba(0,0,0,0.5); }
svg { flex-shrink: 0; }

/* SIDEBAR (50px) */
.side { width: 50px; background: #312e56; display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.si { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); cursor: pointer; text-decoration: none; }
.si:hover { color: rgba(255,255,255,0.85); }
.si.on { color: #fff; background: rgba(255,255,255,0.08); }
.si svg { width: 1.5rem; height: 1.5rem; fill: currentColor; }
.si-gap { flex: 1; }

/* HEADER (50px) */
.hdr { height: 50px; background: #312e56; display: flex; align-items: center; padding: 0 8px; color: #fff; flex-shrink: 0; gap: 4px; }
.hdr svg { fill: currentColor; }
.hdr-btn { background: none; border: none; color: rgba(255,255,255,0.85); cursor: pointer; padding: 4px; display: flex; align-items: center; }
.hdr .title { font-size: 15px; font-weight: 600; padding: 0 8px; }
.hdr .num { font-size: 16px; font-weight: 700; padding: 0 6px; }
.hdr .time { font-size: 13px; opacity: 0.7; }
.hdr .ref { font-size: 10px; opacity: 0.6; line-height: 1.3; text-align: right; margin-left: 4px; }
.hdr .ref span { display: block; }
.hdr-gap { flex: 1; }
.btn-green { background: #2ecc71; color: #fff; border: none; border-radius: 4px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.btn-red { background: #e74c3c; color: #fff; border: none; border-radius: 4px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn-blue { background: #2F8AE8; color: #fff; border: none; border-radius: 4px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.btn-ghost { background: #fff; color: #7670A7; border: 1px solid #d0d8e0; border-radius: 6px; padding: 8px 14px; font-size: 13px; font-weight: 500; cursor: pointer; }
.badge-g { background: #2ecc71; color: #fff; border-radius: 50%; min-width: 18px; height: 18px; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; padding: 0 5px; }
.hotel { font-size: 13px; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.wifi { display: flex; align-items: center; }

/* MAIN */
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; background: #fff; }
.body { flex: 1; display: flex; min-height: 0; background: #e8ecf0; }

/* COMMON FORM ELEMENTS */
.search { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #d0d8e0; border-radius: 6px; padding: 6px 10px; flex: 1; min-width: 140px; }
.search input { flex: 1; border: none; outline: none; font-size: 13px; background: transparent; }
.sel { background: #fff; border: 1px solid #d0d8e0; border-radius: 6px; padding: 7px 10px; font-size: 13px; color: #333; cursor: pointer; display: flex; align-items: center; gap: 6px; }

/* TABS */
.tabs { display: flex; background: #fff; border-bottom: 1px solid #e0e0e0; padding: 0 8px; flex-shrink: 0; }
.tab { padding: 12px 16px; font-size: 13px; font-weight: 500; color: #666; cursor: pointer; border-bottom: 2px solid transparent; }
.tab.on { color: #2F8AE8; border-bottom-color: #2F8AE8; }

/* BACK NAV */
.back-nav { display: flex; align-items: center; }

/* SIDEBAR ICON PATHS (reused) */
