:root { font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
body { margin: 18px; background:#f6f7fb; color:#111; }
.card { background:#fff; border-radius:14px; padding:16px; box-shadow:0 8px 24px rgba(0,0,0,.08); }
h1 { margin:0 0 10px; font-size:18px; }
h2 { margin:18px 0 10px; font-size:15px; }
.grid { display:grid; grid-template-columns: repeat(12, 1fr); gap:10px; align-items:end; }
label { font-size:12px; color:#444; display:block; margin-bottom:4px; }
input, select, button, textarea {
  width:100%; padding:9px 10px; border-radius:10px; border:1px solid #d7dbe7; background:#fff;
  box-sizing:border-box;
}
textarea { min-height: 38px; resize: vertical; }
button { cursor:pointer; border:0; background:#111; color:#fff; font-weight:600; }
button.secondary { background:#e9ecf5; color:#111; }
button.danger { background:#b00020; }
.muted { color:#666; font-size:12px; }
.pill { display:inline-block; padding:3px 8px; border-radius:999px; background:#eef0f6; font-size:12px; }
table { width:100%; border-collapse:collapse; margin-top:10px; border-radius:12px; overflow:hidden; }
th, td { padding:8px; border-bottom:1px solid #eef0f6; font-size:12px; vertical-align:top; }
th { background:#f2f4fb; text-align:left; }
tfoot td { background:#fafbff; font-weight:700; }
.weekend { background:#f6f6f6; }
.holiday { background:#eef7ee; }
.freetag { background:#eef3ff; }
.warn { color:#b00020; font-weight:700; }
.right { text-align:right; }
.small { font-size:11px; }
.sticky { position: sticky; top: 0; z-index: 5; }
.nowrap { white-space:nowrap; }

.saldoBadge{
  display:inline-block; padding:4px 8px; border-radius:999px; font-size:12px; font-weight:700;
  border:1px solid #d7dbe7; background:#fff;
}
.saldoGreen{ background:#e7f7ec; border-color:#bfe7c9; }
.saldoYellow{ background:#fff4cc; border-color:#f0d88a; }
.saldoRed{ background:#ffe0e0; border-color:#f0aaaa; }

.daypick { border:1px solid #d7dbe7; border-radius:12px; padding:10px; background:#fafbff; }
.daypick .row { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.chk { display:flex; gap:6px; align-items:center; font-size:12px; }
.chk input { width:auto; }
.inlineWarn { font-size:12px; color:#b00020; font-weight:700; margin-top:6px; display:none; }

.todayRow { background: #fff7d6 !important; outline: 2px solid #f0c44c; outline-offset: -2px; }
.todayRow td:first-child { font-weight: 800; }

.miniBtn{
  display:inline-block; width:auto !important; padding:4px 8px !important;
  border-radius:999px !important; border:1px solid #d7dbe7 !important;
  background:#fff !important; color:#111 !important; font-size:11px !important; font-weight:700 !important;
  cursor:pointer !important; margin-top:6px;
}
.miniBtn:hover{ background:#f2f4fb !important; }

.topbar { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; }
.topbar .rightside { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.authCard { max-width: 540px; margin: 0 auto; }
.rowFlex { display:flex; gap:10px; flex-wrap:wrap; align-items:stretch; }
.rowFlex > * { flex: 1; }
.smallLink { font-size:12px; color:#111; text-decoration:underline; background:transparent; border:0; padding:0; cursor:pointer; width:auto; }
.badgeOnline { display:inline-block; padding:3px 8px; border-radius:999px; background:#e7f7ec; border:1px solid #bfe7c9; font-size:12px; font-weight:700; }
.badgeOffline { display:inline-block; padding:3px 8px; border-radius:999px; background:#ffe0e0; border:1px solid #f0aaaa; font-size:12px; font-weight:700; }


/* LiveTimeHub animations */
.lth-logo{
  /* subtle techy glow + micro-float */
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.18));
  animation: lthFloat 5.5s ease-in-out infinite;
  transform-origin: 50% 50%;
  will-change: transform, filter;
}
@keyframes lthFloat{
  0%   { transform: translateY(0px) scale(1); filter: drop-shadow(0 10px 22px rgba(0,0,0,.18)); }
  50%  { transform: translateY(-3px) scale(1.01); filter: drop-shadow(0 14px 30px rgba(0,0,0,.22)); }
  100% { transform: translateY(0px) scale(1); filter: drop-shadow(0 10px 22px rgba(0,0,0,.18)); }
}

/* soft neon ring pulse behind logo (pure CSS, no extra markup) */
h1 { position: relative; }
.lth-logo{
  position: relative;
  z-index: 1;
}
.lth-logo::after{
  content: "";
  position: absolute;
  inset: -8px -10px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 30%, rgba(0,255,200,.25), rgba(0,120,255,.15), transparent 70%);
  opacity: .55;
  z-index: -1;
  animation: lthPulse 2.6s ease-in-out infinite;
  filter: blur(10px);
}
@keyframes lthPulse{
  0%   { transform: scale(.92); opacity: .35; }
  50%  { transform: scale(1.02); opacity: .70; }
  100% { transform: scale(.92); opacity: .35; }
}

/* animated pill accent: scanning line */
.pill{
  position: relative;
  overflow: hidden;
}
.pill::after{
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: rotate(18deg);
  animation: lthScan 3.8s ease-in-out infinite;
  pointer-events: none;
  opacity: .55;
}
@keyframes lthScan{
  0%   { transform: translateX(-140%) rotate(18deg); }
  55%  { transform: translateX(220%) rotate(18deg); }
  100% { transform: translateX(220%) rotate(18deg); }
}

/* respectful motion settings */
@media (prefers-reduced-motion: reduce){
  .lth-logo, .lth-logo::after, .pill::after{ animation: none !important; }
}
