:root{
  /* Frontida brand */
  --brand: #397E06;        /* logo green */
  --brand-soft: #77A154;
  --mint: #3ED6B0;
  --accent: #E54615;       /* logo orange */

  /* Light medical UI */
  --bg: #F7FBF9;           /* soft medical white */
  --surface: #FFFFFF;
  --surface2: #F1F7F4;
  --stroke: rgba(20, 40, 30, .12);

  --text: #0F1F17;
  --muted: rgba(15, 31, 23, .70);

  --radius: 18px;
  --shadow: 0 16px 40px rgba(16, 36, 26, .10);

  --grad-brand: linear-gradient(135deg, #397E06, #3ED6B0);
}

/* Global base */
body{
  margin:0;
  background:
    radial-gradient(900px 520px at 10% 10%, rgba(62,214,176,.18), transparent 55%),
    radial-gradient(900px 520px at 95% 15%, rgba(57,126,6,.14), transparent 55%),
    radial-gradient(900px 520px at 50% 110%, rgba(229,70,21,.08), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* Cards */
.card{
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius: 12px;
  border:1px solid var(--stroke);
  background: var(--surface);
  color: var(--text);
  font-weight:900;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 36, 26, .10);
}
.btn-primary{
  border: 1px solid rgba(57,126,6,.25);
  background: var(--grad-brand);
  color: #fff;
}
.btn-primary:hover{
  box-shadow: 0 14px 32px rgba(57,126,6,.18);
}
.btn-danger{
  border: 1px solid rgba(229,70,21,.25);
  background: rgba(229,70,21,.08);
  color: #7a1d07;
}

/* Inputs */
input, select, textarea{
  width:100%;
  border: 1px solid rgba(20,40,30,.18);
  background: var(--surface);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 12px;
  outline:none;
  transition: box-shadow .15s ease, border-color .15s ease;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(62,214,176,.70);
  box-shadow: 0 0 0 4px rgba(62,214,176,.18);
}

/* Pills / tags */
.pill, .tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(20,40,30,.12);
  background: var(--surface2);
  font-weight:900;
  font-size:12.5px;
}

/* Dots */
.dot{width:8px;height:8px;border-radius:99px}
.dot.good{background: var(--brand)}
.dot.info{background: var(--mint)}
.dot.warn{background: #ffcf5a}
.dot.bad{background: var(--accent)}

/* Tables (optional helper) */
table{width:100%; border-collapse:collapse}
th, td{padding:12px 10px; border-bottom:1px solid rgba(20,40,30,.10); text-align:left}
th{font-size:12px; letter-spacing:.2px; text-transform:uppercase; color: rgba(15,31,23,.65)}
