p, h1, h2, h3, div.section-title, .card {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
  }
@media (max-width: 768px) {
  .sanitka {
    display: none;
  }
}

.centered-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.centered-links a {
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

.btn-glow {
  position: relative;
  overflow: hidden; /* zajistí, že záře nepřesáhne zaoblení */
  z-index: 1;
}

.btn-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 102, 255, 0.25); /* počáteční modrá */
  mix-blend-mode: screen;
  z-index: -1;
  animation: fullGlow 1s infinite alternate;
  border-radius: inherit;
}

@keyframes fullGlow {
  0% {
    background-color: rgba(0, 102, 255, 0.25); /* modrá záře */
  }
  50% {
    background-color: rgba(255, 0, 0, 0.25);   /* červená záře */
  }
  100% {
    background-color: rgba(0, 102, 255, 0.25); /* zpět modrá */
  }
}






/* === RADIO INPUTS (skrytí) === */
input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

ul.aedt-checklist {
  list-style-type: none !important;
  padding-left: 0;
  font-size: 16px;
  color: white;
  line-height: 1.6;
}

ul.aedt-checklist li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

ul.aedt-checklist .check-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  color: #4CAF50; /* zelená fajfka */
  font-weight: bold;
  font-size: 20px;
      margin-top: -12px;
}



/* === OBECNÉ === */
.options-container,
fieldset {
  text-align: center;
  padding-bottom: 8px;
}

/* === VZHLED LABELŮ S EMOJI === */
.options-container label,
fieldset label {
border-radius: 6px;
  display: inline-block;
  width: 19%;
  min-height: 112px;
  padding: 0px 4px 4px 4px;
  text-align: center;
  vertical-align: top;
  cursor: pointer;
    border: 2px solid #e1e1e1a6;
    box-shadow: 1px 1px 1px #e1e1e1a6;
}

.options-container label:has(input[type="radio"]:checked),
fieldset label:has(input[type="radio"]:checked) {
  background-color: #53e9ff;
  border-color: #26cbe3;
  color: #000;
}

fieldset label:active {
  background-color: #88f0ff !important;
  transition: none;
}
fieldset label {
  transition: background-color 0.3s, border-color 0.3s;
}

.form-success-contact {
  margin-top: -0.25rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
}

.form-success-contact a {
  color: #007b9a;
  text-decoration: none;
}
.form-success-contact a:hover {
  text-decoration: underline;
}



.form-success {
  color: #3c763d;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1rem;
  text-align: center;
  font-weight: bold;
}

.form-success img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #26cbe3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  margin: 0 auto 0.5rem auto;
  display: block;
}

.form-success-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 0;
  color: #222;
}

.form-success-message {
  font-size: 1rem;
  color: #3c763d;
}




fieldset label {
  position: relative;
  overflow: hidden;
  z-index: 0;
  border-radius: 6px;
  transition: background-color 0.3s, border-color 0.3s;
  background-color: transparent;
}

fieldset label:hover,
fieldset label:has(input[type="radio"]:checked) {
  background-color: #53e9ff;
  border-color: #26cbe3;
}

/* EKG čára */
fieldset label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 10" xmlns="http://www.w3.org/2000/svg"><polyline fill="none" stroke="white" stroke-width="2" points="0,5 10,5 15,1 20,9 25,5 35,5 40,2 45,8 50,5 100,5"/></svg>') repeat-x;
  background-size: 100px 100%;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: ekgWave 2s linear infinite;
  animation-play-state: paused; /* neaktivní dokud se nehoveruje/vybere */
  border-radius: inherit;
}

/* Aktivace animace plynule */
fieldset label:hover::before,
fieldset label:has(input[type="radio"]:checked)::before {
  opacity: 0.7;
  animation-play-state: running; /* spustí běh */
}

@keyframes ekgWave {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -100px 0;
  }
}











fieldset label .emoji {
  display: block;
  font-size: 32px;
  margin-top: 10px;
}

fieldset label .text {
  display: block;
  font-size: 0.9rem;
  line-height: 1.2em;
  margin-top: 4px;
}

/* === EMAIL SKUPINA === */
.form-group-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: nowrap;
  margin-top: 3rem;
  margin-bottom: 6rem;
  font-family: inherit;
}

.form-group-email label {
  font-weight: bold;
  white-space: nowrap;
  font-size: 1rem;
}

.form-group-email input[type="email"] {
  width: 240px;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 2px solid #ccc;
  background-color: whitesmoke;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
  color: black;
}
.form-group-email input[type="email"]:focus {
  border-color: #26cbe3;
}

.form-group-email button[type="submit"] {
  background-color: #53e9ff;
  color: #000;
  border: 2px solid #26cbe3;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}
.form-group-email button[type="submit"]:hover {
  background-color: #aaf4ff;
}

/* === FORM FOOTER === */
.form-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #888;
}

/* === MODAL OVERLAY === */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* === MODAL OKNO === */
.modal {
  color: #000;
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  max-width: 700px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* === KŘÍŽEK === */
.modal__close {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* === NADPIS === */
.modal__title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-align: center;
    padding-bottom: 18px;
    border-bottom: 1px #bfbfbf dashed;
}

/* === FORM UVNITŘ MODALU === */
.modal__form {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 1rem;
}
.modal__form fieldset {
  border: none;
  margin: 0;
  padding: 0 0 1rem 0;
}
.modal__form legend {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* === SCROLLBAR UVNITŘ FORMULÁŘE === */
.modal__form::-webkit-scrollbar {
  width: 8px;
}
.modal__form::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}
.modal__form::-webkit-scrollbar-thumb {
  background-color: #c0c0c0;
  border-radius: 4px;
  border: 2px solid #f0f0f0;
}

/* === HLÁŠKY === */
.form-success,
.form-error {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  text-align: center;
  font-weight: bold;
}
.form-success.visible {
  opacity: 1;
  transform: translateY(0);
  color: #3c763d;
}
.form-error.visible {
  opacity: 1;
  transform: translateY(0);
  color: #a94442;
}


.form-success-info {
    margin-top: 1rem;
    background-color: #eefafa;
    border: 1px solid #c7e9ec;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #2d637a;
    text-align: center;
}
.form-success-info a {
  color: #1a7f5a;
  font-weight: bold;
  text-decoration: underline;
}
.form-success-info a:hover {
  text-decoration: none;
}
.hidden {
  display: none !important;
}

@media (max-width: 600px) {
  .modal {
    padding: 1rem 0 0.5rem 1rem;
  }
  .options-container label, fieldset label {
    padding: 0px 2px;
    width: 18%;
    min-height: none;
    box-shadow: none;
  }
  .form-group-email {
    display: grid;
    text-align: center;
  }
}
