/* TriadPC Support — Custom Styles */

:root {
  --navy:   #1b3358;
  --blue:   #2563eb;
  --blue-light: #3b82f6;
  --teal:   #0ea5e9;
  --gray:   #64748b;
  --light:  #f1f5f9;
  --white:  #ffffff;
  --danger: #dc2626;
  --warn:   #d97706;
  --ok:     #16a34a;
}

/* ── Layout ── */
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

/* ── Nav ── */
.nav-link {
  color: #cbd5e1;
  transition: color .2s;
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
}
.nav-mobile-link {
  display: block;
  padding: .6rem 1rem;
  color: #cbd5e1;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.nav-mobile-link:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  padding: .65rem 1.5rem;
  border-radius: 8px;
  transition: background .2s, transform .15s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--blue);
  font-weight: 600;
  padding: .65rem 1.5rem;
  border-radius: 8px;
  border: 2px solid var(--blue);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn-outline:hover { background: var(--blue); color: #fff; }

/* ── Cards ── */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.12); transform: translateY(-2px); }

/* ── Forms ── */
.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: .35rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .6rem .85rem;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: .95rem;
  color: #111827;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.form-textarea { resize: vertical; min-height: 110px; }

/* ── Status Dots ── */
.status-ok    { width:12px; height:12px; border-radius:50%; background:var(--ok); display:inline-block; }
.status-warn  { width:12px; height:12px; border-radius:50%; background:var(--warn); display:inline-block; }
.status-down  { width:12px; height:12px; border-radius:50%; background:var(--danger); display:inline-block; }
.status-ok.pulse { animation: pulse-ok 2s infinite; }
.status-warn.pulse { animation: pulse-warn 2s infinite; }

@keyframes pulse-ok {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,.4); }
  50%       { box-shadow: 0 0 0 6px rgba(22,163,74,0); }
}
@keyframes pulse-warn {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217,119,6,.4); }
  50%       { box-shadow: 0 0 0 6px rgba(217,119,6,0); }
}

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4080 100%);
  color: #fff;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}

/* ── Utility ── */
.section { padding: 4rem 1.5rem; }
.container { max-width: 1100px; margin: 0 auto; }
.divider { border: none; border-top: 1px solid #e5e7eb; margin: 2rem 0; }
