/* TNG Transporters Time Clock — black & silver theme matching the
   TNG Traccar for Utica portal (portal.tngdrivers.com): black background,
   chrome-gradient accents, silver text. */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body {
  font-family: -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  margin: 0; background: #0b0b0d; color: #e8ecef;
}
.wrap { max-width: 560px; margin: 0 auto; padding: 20px 16px 48px; }
.brand { text-align: center; margin: 8px 0 20px; }
.brand-logo {
  max-width: 240px; width: 70%; height: auto; display: block; margin: 0 auto 6px;
}
.chrome-text {
  background: linear-gradient(180deg, #fdfdfd 0%, #d9dee3 30%, #a7aeb6 52%, #ccd2d8 74%, #f4f6f8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand h1 { font-size: 24px; margin: 0; letter-spacing: 2px; font-weight: 800; }
.brand p { margin: 4px 0 0; color: #9aa1a8; font-size: 13px; }
.card {
  background: #14161a; border: 1px solid #2b2f34; border-radius: 14px;
  padding: 18px; margin-bottom: 14px;
}
label { display: block; font-size: 13px; color: #9aa1a8; margin: 10px 0 6px; }
select, input {
  width: 100%; padding: 14px; font-size: 17px; border-radius: 10px;
  border: 1px solid #2b2f34; background: #0b0b0d; color: #f2f3f4;
}
input[type="password"] { letter-spacing: 6px; text-align: center; font-size: 22px; }
.btn {
  display: block; width: 100%; padding: 16px; font-size: 18px; font-weight: 700;
  border: 1px solid #3a3f45; border-radius: 12px; margin-top: 14px; cursor: pointer;
  background: #1b1e24; color: #e8ecef;
}
.btn-primary {
  background: linear-gradient(180deg, #fdfdfd 0%, #d9dee3 30%, #a7aeb6 52%, #ccd2d8 74%, #f4f6f8 100%);
  color: #101216; border-color: #6f767e;
}
.btn-silver { background: linear-gradient(180deg, #2e3238, #1b1e24); color: #e8ecef; }
.btn-ghost { background: #1b1e24; color: #c9ced4; }
.btn:disabled { opacity: .45; cursor: default; }
.btn .sub { display: block; font-size: 13px; font-weight: 400; opacity: .75; margin-top: 2px; }
.status { text-align: center; padding: 10px; }
.status .big { font-size: 20px; font-weight: 700; }
.status .sub { color: #9aa1a8; font-size: 14px; margin-top: 4px; }
.sub { color: #9aa1a8; font-size: 14px; margin-bottom: 6px; }
.punch { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid #2b2f34; }
.punch .t { font-size: 15px; }
.punch .h { color: #9aa1a8; font-size: 13px; }
.punch .edit { background: #2b2f34; color: #fff; border: none; border-radius: 8px; padding: 8px 14px; font-size: 14px; cursor: pointer; }
.punch .del { background: #4a1f1f; color: #ffc9c9; border: none; border-radius: 8px; padding: 8px 14px; font-size: 14px; margin-left: 6px; cursor: pointer; }
.punch .off { color: #8b9299; }
.row { display: flex; gap: 10px; }
.row .btn { margin-top: 10px; }
.hidden { display: none !important; }
.err { background: #4a1f1f; border: 1px solid #7a2f2f; color: #ffc9c9; border-radius: 10px; padding: 12px; margin-bottom: 12px; font-size: 14px; }
.okmsg { background: #173d28; border: 1px solid #256b45; color: #b8f0cd; border-radius: 10px; padding: 12px; margin-bottom: 12px; font-size: 14px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.topbar button { background: none; border: none; color: #c9ced4; font-size: 14px; text-decoration: underline; cursor: pointer; }
table.rep { width: 100%; border-collapse: collapse; font-size: 14px; }
table.rep th, table.rep td { text-align: left; padding: 10px 6px; border-bottom: 1px solid #2b2f34; }
table.rep th { color: #9aa1a8; font-weight: 600; font-size: 12px; text-transform: uppercase; }
table.rep tr.inactive td { color: #8b9299; }
.spin { text-align: center; color: #9aa1a8; padding: 30px; }
.tag { display: inline-block; background: #5a4300; color: #ffd97a; border: 1px solid #8a6d1f; border-radius: 8px; padding: 1px 8px; font-size: 11px; font-weight: 700; letter-spacing: .4px; vertical-align: 2px; margin-left: 6px; }
.tag-ok { display: inline-block; background: #173d28; color: #b8f0cd; border: 1px solid #256b45; border-radius: 8px; padding: 1px 8px; font-size: 11px; font-weight: 700; letter-spacing: .4px; vertical-align: 2px; margin-left: 6px; }
.tag-missing { display: inline-block; background: #4a1f1f; color: #ffc9c9; border: 1px solid #7a2f2f; border-radius: 8px; padding: 1px 8px; font-size: 11px; font-weight: 700; letter-spacing: .4px; vertical-align: 2px; margin-left: 6px; }
.profile-state { border-radius: 10px; padding: 12px; margin: 12px 0 4px; font-size: 14px; }
.profile-state.done { background: #173d28; border: 1px solid #256b45; color: #b8f0cd; }
.profile-state.todo { background: #2b2f34; border: 1px solid #3a3f45; color: #e8ecef; }
.footer { text-align: center; margin-top: 26px; }
.footer button { background: none; border: none; color: #6f767e; font-size: 13px; text-decoration: underline; cursor: pointer; }
