/*
   NIBRSAdminApr2026 — Blue Cover Six Project Template
   Copyright (c) 2026 Blue Cover Six LLC / John Molt
*/

:root {
  --black:       #0a0a0a;
  --dark:        #111111;
  --card:        #1a1a1a;
  --border:      #2a2a2a;
  --cyan:        #4db8e8;
  --cyan-dim:    #2a7fa8;
  --orange:      #e87d2a;
  --white:       #e8e8e8;
  --gray:        #888888;
  --gray-dim:    #555555;
  --green:       #4ae88a;
  --red:         #e84a4a;
  --font-head:   'Rajdhani', sans-serif;
  --font-mono:   'Share Tech Mono', monospace;
  --font-body:   'Open Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── HEADER ── */
header {
  background: var(--dark);
  border-bottom: 2px solid var(--cyan-dim);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 60px;
}

.header-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-title {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 3px;
  line-height: 1;
}

.header-title span { color: var(--cyan); }

.header-subtitle {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--gray);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ── MAIN ── */
main {
  flex: 1;
  padding: 12px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* ── CARDS ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 12px;
}

/* ── BUTTONS ── */
.btn {
  background: var(--cyan-dim);
  border: none;
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 20px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.btn:hover { background: var(--cyan); color: var(--black); }
.btn:disabled { background: var(--border); color: var(--gray-dim); cursor: not-allowed; }

.btn-danger { background: var(--red); }
.btn-danger:hover { background: #ff6b6b; color: var(--black); }

/* ── INPUTS ── */
input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 8px 12px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--cyan-dim);
}

input::placeholder, textarea::placeholder {
  color: var(--gray-dim);
}

/* ── LABELS ── */
.field-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
  display: block;
}

/* ── STATUS ── */
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}
.status-dot.ok { background: var(--green); }
.status-dot.error { background: var(--red); }
.status-dot.working {
  background: var(--orange);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-dim);
  line-height: 1.8;
}

footer span { color: var(--cyan); }

/* ── DESKTOP ── */
@media (min-width: 600px) {
  .header-title { font-size: 28px; }
}
