:root {
  --brand: #2563eb;
  --bg-dark: #0f172a;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* ===== LOGIN SCREEN ===== */
.login-screen {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
      1200px 600px at 10% 10%,
      #1e3a8a,
      transparent
    ),
    linear-gradient(135deg, #020617, #020617);
}

.login-card {
  background: var(--card-bg);
  width: 100%;
  max-width: 420px;
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  text-align: center;
}

.login-card h1 {
  margin: 0 0 8px;
  font-size: 28px;
  color: var(--text);
}

.login-card p {
  margin: 0 0 24px;
  color: var(--muted);
}

.login-card .hint {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  width: 100%;
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.ghost {
  background: transparent;
  color: #334155;
}

.btn.ghost:hover {
  background: #e5e7eb;
}

/* ===== APP ===== */
.app-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
}

.app-header {
  height: 56px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.app-header .brand {
  font-weight: 600;
  color: var(--text);
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #475569;
  font-size: 14px;
}

.app-main {
  flex: 1;
  padding: 12px;
}

#reportContainer {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

/* ===== UTIL ===== */
.hidden {
  display: none;
}
