/* Jemné nastavení základních prvků */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333333;
  margin: 0;
  padding: 20px;
  line-height: 1.5;
}

/* Kontejner formuláře */
.form-container {
  max-width: 550px;
  margin: 40px auto;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Podlouhlý banner v záhlaví */
.form-banner {
  width: 100%;
  height: auto;
  display: block;
}

/* Obsah formuláře */
.form-content {
  padding: 25px 30px 30px 30px;
}

.form-content h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #1a202c;
  font-weight: 600;
}

/* Formulářové prvky */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a5568;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: #ffffff;
  transition: border-color 0.2s ease-in-out;
}

.form-control:focus {
  outline: none;
  border-color: #3182ce;
}

/* Tlačítko pro odeslání */
.submit-btn {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #2b6cb0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #2c5282;
}

.submit-btn:disabled {
  background-color: #a0aec0;
  cursor: not-allowed;
}

/* Stavová zpráva po odeslání */
#statusMessage {
  margin-top: 15px;
  font-size: 0.9rem;
  text-align: center;
}
/* Poznámka k povinným polím */
.required-note {
  font-size: 0.82rem;
  color: #718096;
  margin-top: -10px;
  margin-bottom: 20px;
}

/* Styl pro modal (pop-up okno) */
.modal-overlay {
  display: none; /* Skryté ve výchozím stavu */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-box {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.modal-box h3 {
  margin-top: 0;
  color: #2e7d32;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.modal-box p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

.modal-btn {
  background-color: #2b6cb0;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 5px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.modal-btn:hover {
  background-color: #2c5282;
}
/* Styling pro zaškrtávací políčka (checkboxy) */
.checkbox-group {
  margin-top: 20px;
  margin-bottom: 16px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-label a {
  color: #2b6cb0;
  text-decoration: underline;
}

.checkbox-label a:hover {
  color: #2c5282;
}
