:root{
  --iatros-blue:#1b3f8f;
  --bg:#f4f6ff;
  --card:#ffffff;
  --text:#1a1a1a;
  --muted:#5b6b86;
  --border:#e2e5f2;
  --danger:#b42318;
  --dangerBg:#fff5f5;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:16px;
}

.header{
  background:#fff;
  border-bottom:1px solid var(--border);
}

.headerInner{
  display:flex;
  align-items:center;
  gap:14px;
}

.brand{
  display:flex;
  gap:12px;
  align-items:center;
}

.brandLogo{
  width:160px;
  height:auto;
  display:block;
}

.brandText h1{
  margin:0 0 4px 0;
  font-size:18px;
  color: var(--iatros-blue);
}

.brandText p{
  margin:0;
}

h2{
  margin:0 0 12px 0;
  font-size:16px;
  color: var(--iatros-blue);
}

h3{
  margin:0 0 10px 0;
  font-size:14px;
  color: var(--iatros-blue);
}

.muted{ color: var(--muted); }
.small{ font-size:12px; }

.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius:12px;
  padding:14px;
}

.hidden{ display:none; }

.choices{
  display:grid;
  gap:10px;
  grid-template-columns:1fr;
}
@media(min-width:800px){
  .choices{ grid-template-columns:1fr 1fr; }
}

.choice{
  text-align:left;
  border:1px solid var(--border);
  background:#fff;
  border-radius:12px;
  padding:14px;
  cursor:pointer;
}
.choice:hover{
  border-color: var(--iatros-blue);
}

.choiceTitle{
  font-weight:bold;
  margin-bottom:4px;
}
.choiceDesc{
  color: var(--muted);
  font-size:13px;
}

.topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.topbarActions{ display:flex; gap:8px; }

.grid{
  display:grid;
  gap:14px;
  grid-template-columns: 1fr;
}
@media(min-width:980px){
  .grid{ grid-template-columns: 1.2fr .8fr; }
}

.panel{
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px;
  background:#fff;
}

.formGrid{
  display:grid;
  gap:10px;
  grid-template-columns: 1fr;
}
@media(min-width:700px){
  .formGrid{ grid-template-columns: 1fr 1fr; }
}

.field label{
  display:block;
  font-size:12px;
  margin-bottom:6px;
  color: var(--muted);
}

input, select, button{
  font: inherit;
}

input, select{
  width:100%;
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px;
  outline:none;
}

input:focus, select:focus{
  border-color: var(--iatros-blue);
}

hr{
  border:none;
  border-top:1px solid var(--border);
  margin:14px 0;
}

.row{
  display:flex;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
}

button{
  border:1px solid var(--border);
  background:#fff;
  color: var(--text);
  border-radius:10px;
  padding:10px 12px;
  cursor:pointer;
}
button:hover{ border-color: var(--iatros-blue); }

button.primary{
  background: var(--iatros-blue);
  border-color: var(--iatros-blue);
  color:#fff;
  font-weight:bold;
}

button.ghost{
  background: transparent;
}

.note{
  border-left:4px solid var(--iatros-blue);
  background: #f2f6ff;
  padding:10px 12px;
  border-radius:10px;
  color: var(--text);
}

/* Errors */
.field.error input,
.field.error select{
  border-color: var(--danger);
  background: var(--dangerBg);
}

.errorMsg{
  margin-top:6px;
  font-size:12px;
  color: var(--danger);
  min-height:14px;
}

/* Checkboxes list */
.checks{
  display:grid;
  gap:10px;
  margin-top:10px;
}
.checkItem{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
}
.checkItem:hover{
  border-color: var(--iatros-blue);
}
.checkItem input{
  margin-top:3px;
}
.checkLabel{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.checkLabel strong{
  font-size:13px;
}
.checkLabel span{
  font-size:12px;
  color: var(--muted);
}

