/* ALT TAB Operations — Team Portal shared styles */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --bg: #14161a;
  --bg-alt: #191c21;
  --surface: #1f232a;
  --surface-2: #242832;
  --border: #2c313b;
  --text: #edebe4;
  --text-dim: #9aa1ad;
  --text-faint: #5f6672;
  --blue: #7c9eff;
  --amber: #ffb454;
  --teal: #5eead4;
  --danger: #f87171;
  --radius: 14px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Logo mark ---------- */
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.logo-mark .k {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 10px;
  line-height: 1;
}
.logo-mark .k.alt { color: var(--blue); }
.logo-mark .k.chevron { color: var(--amber); padding: 8px 9px; }
.logo-mark .k.tab { color: var(--teal); }
.logo-caption {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--text-faint);
  margin-top: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border-radius: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter .15s ease, transform .05s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: #0e1116; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--danger); color: #1a0e0e; }
.btn-clock-in { background: var(--teal); color: #0e1116; }
.btn-clock-out { background: var(--danger); color: #1a0e0e; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Form fields ---------- */
label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 6px;
}
input, select, textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 16px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
}

/* ---------- Cards / surfaces ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

/* ---------- Utility ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 700;
}
.eyebrow.teal { color: var(--teal); }
.eyebrow.blue { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; margin: 0; }
.text-dim { color: var(--text-dim); }
.text-faint { color: var(--text-faint); }
.mono { font-family: var(--font-mono); }

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-dot.in { background: var(--teal); box-shadow: 0 0 6px var(--teal); }
.status-dot.out { background: var(--text-faint); }

.error-box {
  background: rgba(248,113,113,0.1);
  border: 1px solid var(--danger);
  color: var(--danger);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}
.error-box.show { display: block; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
