/* Modern flexbox form styles */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f7fa;
  margin: 0;
  padding: 0;
}

.translatable { display: none; }

.form-container {
  max-width: 680px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 16px rgba(0,0,0,0.09);
  padding: 2rem 2.5rem;
}

h1, h2, h3 {
  margin-top: 0;
  font-weight: 600;
  color: #1a1a2e;
}

.section { display:none; margin-bottom:2em; }
.section.active { display:block; }
.form-group { margin-bottom:1em; }
.radio-group, .select-group { margin: 0.5em 0; }
.info-box { background:#f2f2f2; padding:1em; border-radius:6px; margin-bottom:1em; }
.longtext { width:100%; min-height:80px; }
.lang-btn.active { background: #537fe7; color: #fff; }
.lang-btn { margin-left: 0.5em; }
.hidden { display:none; }
.step-buttons { margin-top:1em; }
.step-buttons button { margin-right:1em; }

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #35355c;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.7rem;
  border: 1px solid #d8d8e3;
  border-radius: 6px;
  font-size: 1rem;
  background: #fcfcff;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #537fe7;
  outline: none;
}

.radio-group {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.radio-group label {
  margin-right: 1rem;
  cursor: pointer;
}

.btn {
  background: #537fe7;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}
.btn:hover {
  background: #3756a7;
}

@media (max-width: 700px) {
  .form-container {
    padding: 1rem;
    max-width: 95vw;
  }
  .flex-row {
    flex-direction: column;
    gap: 1rem;
  }
}

/* --- EVENT SELECTION BLOCKS --- */
.event-row {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  background: #f7f7fa;
  border-radius: 6px;
  padding: 1em 1em 0.5em 1em;
  margin-bottom: 1.25em;
}

.event-label {
  font-weight: 600;
  font-size: 1.07em;
  margin-bottom: 0.5em;
  color: #35355c;
}

.event-radio-group {
  display: flex;
  gap: 2em;
  margin-bottom: 0.4em;
  align-items: center;
}

.event-radio-group label {
  margin-right: 1.5em;
}

.event-persons-group {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 0.5em;
  margin-left: 0.2em;
}

.persons-label {
  min-width: 110px;
  font-weight: 500;
}

/* --- SUMMARY --- */
.summary-table { width: 100%; border-collapse: collapse; margin-top: 2em; }
.summary-table td, .summary-table th { border: 1px solid #ccc; padding: 8px; }
.summary-table th { background: #f8f8f8; }
.step-buttons { margin-top: 2em; }
.invalid-feedback { color: red; display: none; }
.field-error { background: #ffecec; }

.event-row { display:flex; justify-content:space-between; align-items:center; }
.event-label { flex:1 1 auto; }
.event-price { color:#d00; font-weight:bold; margin-left:16px; white-space:nowrap; }
