  #myDialogHeader {
    font-size:30px;
    /* border-bottom: 1px solid black; */
    padding-bottom: 8px;
    margin-bottom:8px;
  }

  #zzfilterdiv {
    display: block;
  }
  .zzform-container {
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-width: 500px;
    /* margin: auto;  */
  }
  .zzform-container h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
  }
  .zzform-group {
    margin-bottom: 8px;
  }
  .zzform-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #555;
  }
  .zzform-group input,
  .zzform-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
  }
  .zzform-group button {
    /* width: 100%; */
    padding: 5px;
    background: #4a90e2;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
  }
  .zzform-group button:hover {
    background: #357ab8;
  }


  /* small responsive tweak */
  @media (max-width:576px) {
    .govuk-summary dt { width: 45%; font-size:0.95rem; }
    .govuk-summary dd { width: 55%; font-size:0.95rem; }
  }


  







.person-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.person-detail button {
    position:relative;
    padding: 10px;
    background: #4a90e2;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;  
    float:right;
}

.person-photo {
  flex: 0 0 200px;
  text-align: center;
}

.person-photo img {
  max-width: 200px;
  height: auto;
  border: 1px solid #b1b4b6;
  margin-bottom: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover effect */
.person-photo img:hover {
  transform: scale(1.5);      /* enlarge 1.5x */
  z-index: 10;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  cursor: pointer;
  position: relative;
}

.open-image {
  font-size: 0.9rem;
  color: var(--govuk-blue);
  text-decoration: none;
}

.open-image:hover {
  text-decoration: underline;
}

.person-info {
  flex: 1;
  min-width: 250px;
}

.person-info dl {
  margin: 0;
}

.person-info dt {
  font-weight: bold;
  margin-top: 5px;
}

.person-info dd {
  margin: 0 0 8px 0;
}

.car-info {
  flex: 1;
  min-width: 250px;
  position:relative;
  max-width:400px;
  /* float:left; */
  max-width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  text-align: left;
  padding: 10px;
  transition: transform 0.2s, box-shadow 0.2s;  
  font-size:18px;
}

.car-info header {
  text-align:center;
  font-size:25px;
  font-weight: bold;
  color:#f0f0f0;
  background:#808080;
  margin: -10px -10px 10px -10px; /* cancel parent padding */
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.car-info dl {
  margin: 0;
}

.car-info dt {
  font-weight: bold;
  margin-top: 5px;
}

.car-info dd {
  margin: 0 0 8px 0;
}


/* základná karta */
.w-radio-card {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 16px;
  margin-bottom: 10px;

  border: 2px solid #ddd;
  border-radius: 10px;

  cursor: pointer;
  transition: all 0.2s ease;

  font-size: 16px;
  background-color: #fff; /* neutral background */
}

/* hover stav */
.w-radio-card:hover {
  border-color: #999;
  background-color: #f5f5f5; /* jemné neutrálné podfarbenie */
}

/* focus stav (pre klávesnicu) */
.w-radio-card input:focus + .w-radio-custom {
  outline: 3px solid #0057b8; /* kontrastný outline */
  outline-offset: 2px;
}

/* skryj default radio */
.w-radio-card input {
  display: none;
}

/* custom kruh */
.w-radio-custom {
  width: 22px;
  height: 22px;
  border: 2px solid #666;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

/* vnútorná bodka */
.w-radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #0057b8; /* neutralný štátny modrý */
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s ease;
}

/* checked stav */
.w-radio-card input:checked + .w-radio-custom::after {
  transform: translate(-50%, -50%) scale(1);
}

.w-radio-card input:checked + .w-radio-custom {
  border-color: #0057b8;
}

/* checked label */
.w-radio-card input:checked ~ .w-radio-label {
  font-weight: 600;
}

/* mobilne-friendly hit area */
.w-radio-card {
  min-height: 48px;
  padding: 14px 16px;
}


/* input form*/
.w-input-form {
  background: #f0f0f0;
  display:block;
  min-height:120px;
  padding:20px;
  position:relative;
  font-size: 25px;
  margin-top:10px;
  border-radius:5px;
}

/* input form*/
.w-output-form {
  background: #f0f0f0;
  display:none;
  min-height:100px;
  padding:20px;
  position:relative;
  font-size: 20px;
  margin-top:10px;
  border-radius:5px;
  min-width: 450px;
  clear:both;
  /* display: grid; */
  grid-template-columns: repeat(auto-fit, 420px);
  justify-content: start;
  gap: 12px;  
}

.wgovuk-hint {
  display: block;
  margin-top: 5px;
  margin-bottom: 10px;
  color: #505a5f;
  font-size: 1rem;
  line-height: 1.4;
}

.wgovuk-error-message {
  display: none;
  margin-top: 5px;
  margin-bottom: 10px;
  color: #d4351c;       /* GOV.UK red */
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}