:root{
  --bg: #f5fbff; /* very light blue */
  --card: #ffffff;
  --muted: #6b7b8c;
  --accent: #4a90e2; /* doctor-like blue */
  --accent-soft: #e6f2ff;
  --radius: 12px;
  --shadow: 0 6px 18px rgba(74,144,226,0.08);
  --input-border: #d9e9fb;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}
/* html,body{height:100%;} */
/* body{
  margin:0; 
  padding:28px; display:flex; align-items:center; justify-content:center;
} */
.required{
  color: rgb(176, 11, 11);
}
.body{
  background:linear-gradient(180deg,var(--bg),#f8fcff); color:#10303f; -webkit-font-smoothing:antialiased;
}
.wrap{ max-width:920px; width:100%; margin: 0 auto; }

header.card{
  background:linear-gradient(90deg,var(--accent-soft),#f1f8ff);
  border-radius:var(--radius); padding:18px 22px; box-shadow:var(--shadow); margin-bottom:18px; border:1px solid var(--input-border);
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  gap: 10px;

}

header.card div{
  display: flex;
  flex-direction: column;
}
header h1{ margin:0; font-size:20px; color:var(--accent); text-align: center; }
header p{ margin:6px 0 0; color:var(--muted); font-size:13px; text-align: center; }

iframe{
  margin: 0 auto;
  box-shadow: 2px 2px 5px rgba(74,144,226,0.08);
  border-radius: 8px;
}

form.card{
  background:var(--card); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); border:1px solid var(--input-border);
}


fieldset{ border:0; margin:0 0 18px; padding:0; }
legend{ font-weight:600; margin-bottom:10px; color:#0063A6; }

.grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:12px; align-items:start;
}
.full{ grid-column:1/-1; }

label{ display:block; font-size:13px; color:#10303f; margin-bottom:6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea{
  width:100%; padding:10px 12px; border-radius:10px; border:1px solid var(--input-border); background:#fbfdff; font-size:14px; color:#06202a;
  box-sizing:border-box;
}
textarea{ min-height:100px; resize:vertical; }
.hint{ font-size:12px; color:var(--muted); margin-top:6px; }

/* .row{ display:flex; gap:12px; } */
.small{ width:140px; }

.radio-group{ display:flex; gap:18px; align-items:center; }
.checkbox-inline{ display:flex; gap:10px; flex-wrap:wrap; }

.consent{ background:var(--accent-soft); padding:12px; border-radius:10px; border:1px solid var(--input-border); color:var(--muted); font-size:13px; }

button[type="submit"]{
  background:var(--accent); color:white; border:0; padding:12px 18px; border-radius:10px; font-weight:600; cursor:pointer; box-shadow:0 8px 20px rgba(74,144,226,0.12);
}
button[type="submit"]:hover{ filter:brightness(0.98); }

.muted-note{ font-size:12px; color:var(--muted); }

@media (max-width:720px){ .grid{ grid-template-columns:1fr; } .small{ width:100%; } }

.message{
  display: flex;
  flex-direction: column;
  padding: 20px;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
  text-align: center;
}

.hide {
  display: none;
}

.show {
  display: flex; 
}