/* Oasis brand layer on top of Tailwind (loaded via CDN in each page). */

html { color-scheme: light; }
input, textarea, select { color: #0F172A; background-color: #FFFFFF; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #F8FAFC;
  color: #0F172A;
}

.font-heading { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; }

.card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
}
.card-elevated {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.btn-primary {
  background: #041E42; color: #fff; padding: .6rem 1rem;
  border-radius: 10px; font-weight: 600; font-size: .875rem;
  transition: background .15s;
}
.btn-primary:hover { background: #021029; }

.btn-secondary {
  background: #fff; color: #041E42; border: 1px solid #041E42;
  padding: .55rem 1rem; border-radius: 10px; font-weight: 600; font-size: .875rem;
}
.btn-secondary:hover { background: #F3F4F6; }

.btn-accent {
  background: #497FD9; color: #fff; padding: .6rem 1rem;
  border-radius: 10px; font-weight: 600; font-size: .875rem;
}
.btn-accent:hover { background: #2B5FAF; }

.btn-ghost {
  background: transparent; color: #4B5563; padding: .55rem 1rem;
  border-radius: 10px; font-weight: 500; font-size: .875rem;
}
.btn-ghost:hover { background: #F3F4F6; }

.btn-danger {
  background: #DC2626; color: #fff; padding: .6rem 1rem;
  border-radius: 10px; font-weight: 600; font-size: .875rem;
}
.btn-danger:hover { opacity: .9; }

.input {
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: .9rem;
  background: #fff;
  color: #0F172A;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: #497FD9; box-shadow: 0 0 0 3px rgba(73,127,217,0.15); }

.label {
  display: block;
  font-size: .8125rem;
  font-weight: 600;
  color: #0F172A;
  margin-bottom: .35rem;
}

.app-layout { display: flex; min-height: 100vh; }

/* Simple severity heatmap colours for the dashboard */
.heat-0 { background: #F3F4F6; color: #4B5563; }
.heat-1 { background: #DCFCE7; color: #16A34A; }
.heat-2 { background: #FEF3C7; color: #D97706; }
.heat-3 { background: #FEE2E2; color: #DC2626; }
.heat-4 { background: #DC2626; color: #fff; }

/* Tiny sparkline style */
.spark-bar {
  display: inline-block; width: 4px; margin-right: 2px;
  background: #041E42; border-radius: 1px 1px 0 0;
  vertical-align: bottom;
}

/* Mermaid flowchart container */
.mermaid { background: #fff; padding: 2rem; border-radius: 16px; border: 1px solid #E5E7EB; }

/* Focus ring for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid #497FD9;
  outline-offset: 2px;
  border-radius: 6px;
}
