/* ============================================
   FORMA KORISNIKA: oblačići s objašnjenjem,
   podsjetnik uz bolovanje i povratak s bolovanja
   (2026-09-30)
   Učitava se nakon admin.css i koristi njegove
   varijable (--blue, --border, --warning-soft...).
   ============================================ */
.form-field.has-info-tip{
  position:relative;
}

.label-row{
  display:flex;
  align-items:center;
  gap:6px;
}

.info-tip{
  width:18px;
  height:18px;
  flex:0 0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--blue);
  border-radius:50%;
  background:#fff;
  color:var(--blue);
  font-size:11px;
  font-weight:700;
  font-style:italic;
  font-family:Georgia,"Times New Roman",serif;
  line-height:1;
  cursor:help;
  padding:0;
}

.info-tip:hover,
.info-tip[aria-expanded="true"]{
  background:var(--blue);
  color:#fff;
}

.info-tip:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px rgba(11,61,145,.18);
}

.info-tip-bubble{
  display:none;
  position:absolute;
  left:0;
  right:0;
  bottom:calc(100% - 2px);
  z-index:5;
  padding:10px 12px;
  border:1px solid #B8CAE3;
  border-radius:12px;
  background:#F8FBFF;
  box-shadow:var(--shadow-sm);
  color:var(--text);
  font-size:12px;
  font-weight:400;
  line-height:1.5;
}

.info-tip-wrap:hover .info-tip-bubble,
.info-tip:focus-visible + .info-tip-bubble,
.info-tip[aria-expanded="true"] + .info-tip-bubble{
  display:block;
}

.form-hint{
  padding:8px 10px;
  border-radius:10px;
  background:var(--blue-soft);
  color:var(--blue-dark);
  font-size:12px;
  line-height:1.45;
}

.form-hint.is-warning{
  background:var(--warning-soft);
  color:#8A4B0F;
}

.form-field.is-invalid > select,
.form-field.is-invalid > input[type="date"]{
  border-color:var(--danger);
  box-shadow:0 0 0 4px rgba(201,58,71,.12);
}

.povratak-box{
  padding:12px 14px;
  border:1px solid #F3C99A;
  border-radius:14px;
  background:var(--warning-soft);
}

.povratak-box.is-invalid{
  border-color:var(--danger);
  box-shadow:0 0 0 4px rgba(201,58,71,.12);
}

.povratak-title{
  font-size:13px;
  font-weight:700;
  color:var(--text);
}

.povratak-options{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  align-items:center;
}

.form-field .povratak-option{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  font-size:13px;
  font-weight:600;
  color:var(--text);
  cursor:pointer;
}

.povratak-option small{
  font-size:12px;
  font-weight:400;
  color:var(--muted);
}

.form-field .povratak-option input[type="radio"]{
  width:16px;
  height:16px;
  flex:0 0 16px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  accent-color:var(--blue);
}

.form-field .povratak-option input[type="radio"]:focus{
  border:0;
  box-shadow:none;
}

.form-field .povratak-option input[type="radio"]:focus-visible{
  outline:2px solid var(--blue);
  outline-offset:2px;
}

.form-field .povratak-option input[type="date"]{
  width:160px;
  height:36px;
  padding:6px 10px;
}

.povratak-box .form-hint{
  background:#fff;
  color:var(--text);
}
