
:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --panel: #12151d;
  --border: #262b36;
  --text: #f2f4f8;
  --muted: #929aaa;
  --accent: #a78bfa;
  --green: #4ade80;
  --yellow: #facc15;
  --red: #f87171;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 Inter, ui-sans-serif, system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; }

button {
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #171321;
  padding: 11px 16px;
  font-weight: 700;
  cursor: pointer;
}

button:disabled { opacity: .55; cursor: wait; }

input, textarea, select {
  width: 100%;
  margin: 6px 0 16px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: #0d1017;
  color: var(--text);
}

label { display: block; font-size: 13px; color: var(--muted); }

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.auth-card {
  width: min(100%, 420px);
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #171321;
  font-size: 23px;
  font-weight: 900;
}

.eyebrow {
  margin-top: 26px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
}

h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(27px, 4vw, 38px); line-height: 1.2; }
h2 { font-size: 21px; }
.muted, .auth-footer { color: var(--muted); }
.auth-footer { margin: 24px 0 0; font-size: 12px; }
#login-button { width: 100%; }
#login-message { min-height: 24px; color: var(--yellow); font-size: 13px; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 5%;
  border-bottom: 1px solid var(--border);
}

.brand-name { font-weight: 850; letter-spacing: -.5px; }
.topbar small { color: var(--muted); display: block; }
.topbar nav { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

.container { width: min(1120px, 92%); margin: 36px auto; }
.eyebrow-small { color: var(--accent); font-size: 11px; letter-spacing: 1.6px; font-weight: 800; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.panel, .stat, .task-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 19px;
}

.stat span { display: block; color: var(--muted); font-size: 13px; }
.stat strong { display: block; font-size: 30px; margin-top: 5px; }

.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 20px 0;
}

.toolbar input, .toolbar select { margin: 0; }
.task-list { display: grid; gap: 12px; }
.task-card h3 { margin: 8px 0; }
.task-card p { color: var(--muted); }
.task-meta { color: var(--muted); font-size: 12px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .6px;
}

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-live .dot { background: var(--green); }
.status-pending .dot { background: var(--yellow); }
.status-aborted .dot { background: var(--red); }
.status-planned .dot { background: #a1a1aa; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.full { grid-column: 1 / -1; }
.notice { color: var(--muted); font-size: 13px; }
.activity-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.activity-item:last-child { border-bottom: 0; }
.error { color: var(--red); }
.success { color: var(--green); }

@media (max-width: 650px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar { align-items: flex-start; flex-direction: column; }
  .toolbar, .form-grid { display: grid; grid-template-columns: 1fr; }
  .full { grid-column: auto; }
  .auth-card { padding: 24px; }
}
/* ILOVPETZ flowing liquid-gradient branding */
.liquid-brand {
  display: inline-block;
  background: linear-gradient(
    110deg,
    #ff6b35 0%,
    #ffb627 18%,
    #ff8738 35%,
    #ffd166 50%,
    #f04b24 68%,
    #ff9f43 84%,
    #ff6b35 100%
  );
  background-size: 250% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: ilovpetz-liquid-flow 7s ease-in-out infinite alternate;
}

@keyframes ilovpetz-liquid-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .liquid-brand {
    animation: none;
    background-position: 50% 50%;
  }
}
/* ILOVPETZ login branding */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin-bottom: 28px;
}

.brand-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Respect smaller screens */
@media (max-width: 480px) {
  .brand-logo {
    width: 150px;
  }
}