@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=DM+Sans:wght@300;400;500&display=swap');

/* Scoped wrapper — --ah-primary / --ah-secondary set via wp_add_inline_style on :root */
.alerji-histamin-form-wrapper {
  --charcoal: #252015;
  --sage: var(--ah-primary, #aecc8e);
  --sage-pale: color-mix(in srgb, var(--ah-primary, #aecc8e) 45%, #ffffff);
  --sage-bg: color-mix(in srgb, var(--ah-primary, #aecc8e) 18%, #ffffff);
  --beige: var(--ah-secondary, #efe4d5);
  --beige-mid: color-mix(in srgb, var(--ah-secondary, #efe4d5) 75%, #6d6558);
  --cream: #faf8f4;
  --mid: #6d6558;
  --light: #a09b91;
  --white: #ffffff;
  --warn: #c8703a;
  --warn-bg: #fdf2ea;
  --border: #ddd8d0;
  --shadow: 0 2px 20px rgba(37, 32, 21, 0.07);
  --radius: 10px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  z-index: 1;
}

/* Tema pseudo-element / pointer-events çakışmalarını engelle */
.alerji-histamin-form-wrapper::before,
.alerji-histamin-form-wrapper::after,
.alerji-histamin-form-wrapper .form-wrap::before,
.alerji-histamin-form-wrapper .form-wrap::after,
.alerji-histamin-form-wrapper .intro-card::before,
.alerji-histamin-form-wrapper .intro-card::after,
.alerji-histamin-form-wrapper .section::before,
.alerji-histamin-form-wrapper .section::after,
.alerji-histamin-form-wrapper .progress-wrap::before,
.alerji-histamin-form-wrapper .progress-wrap::after {
  content: none !important;
  display: none !important;
  pointer-events: none !important;
}

.alerji-histamin-form-wrapper .form-wrap,
.alerji-histamin-form-wrapper .intro-card,
.alerji-histamin-form-wrapper .section,
.alerji-histamin-form-wrapper .section-body,
.alerji-histamin-form-wrapper .progress-wrap {
  position: relative;
}

/* Tema header/footer stillerinin form bandlarına sızmasını engelle */
.alerji-histamin-form-wrapper .ah-form-header,
.alerji-histamin-form-wrapper .ah-form-footer {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  transform: none !important;
  float: none !important;
  clear: both;
}


.alerji-histamin-form-wrapper *,
.alerji-histamin-form-wrapper *::before,
.alerji-histamin-form-wrapper *::after {
  box-sizing: border-box;
}

/* ── LANGUAGE SWITCHER ── */
.alerji-histamin-form-wrapper .lang-switcher {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  background-color: #fafafa;
  padding: 10px 20px;
  border-bottom: 1px solid #eee;
}

.alerji-histamin-form-wrapper .lang-btn {
  background: #e0e0e0;
  border: none;
  padding: 6px 16px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  transition: all 0.3s ease;
  margin: 0;
}

.alerji-histamin-form-wrapper .lang-btn:first-child {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.alerji-histamin-form-wrapper .lang-btn:last-child {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.alerji-histamin-form-wrapper .lang-btn.active {
  background-color: var(--sage);
  color: var(--charcoal);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.alerji-histamin-form-wrapper .lang-btn:hover:not(.active) {
  background-color: #d0d0d0;
}

/* ── HEADER ── */
.alerji-histamin-form-wrapper .ah-form-header {
  background: var(--charcoal);
  padding: 28px 40px 24px;
  text-align: center;
}

.alerji-histamin-form-wrapper .header-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--sage);
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 6px;
}

.alerji-histamin-form-wrapper .header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--white);
  line-height: 1.25;
  margin: 0 0 6px;
}

.alerji-histamin-form-wrapper .header-title em {
  font-style: italic;
  color: var(--sage);
}

.alerji-histamin-form-wrapper .header-sub {
  font-size: 13px;
  color: var(--light);
  letter-spacing: 0.04em;
}

.alerji-histamin-form-wrapper .header-tags {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.alerji-histamin-form-wrapper .header-tag {
  background: color-mix(in srgb, var(--sage) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--sage) 30%, transparent);
  color: var(--sage);
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
}

/* ── PROGRESS BAR ── */
.alerji-histamin-form-wrapper .progress-wrap {
  background: var(--charcoal);
  padding: 0 40px 20px;
}

.alerji-histamin-form-wrapper .progress-bar {
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.alerji-histamin-form-wrapper .progress-fill {
  height: 100%;
  background: var(--sage);
  border-radius: 2px;
  width: 0%;
  transition: width 0.5s ease;
}

.alerji-histamin-form-wrapper .progress-label {
  font-size: 11px;
  color: var(--light);
  text-align: right;
  margin-top: 6px;
  letter-spacing: 0.04em;
}

/* ── INTRO CARD ── */
.alerji-histamin-form-wrapper .intro-card {
  max-width: 780px;
  margin: 36px auto 0;
  padding: 0 20px;
}

.alerji-histamin-form-wrapper .intro-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--sage);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow);
}

.alerji-histamin-form-wrapper .intro-inner p {
  color: var(--mid);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 12px;
}

.alerji-histamin-form-wrapper .intro-inner p:last-child {
  margin-bottom: 0;
}

.alerji-histamin-form-wrapper .intro-meta {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.alerji-histamin-form-wrapper .intro-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--mid);
}

.alerji-histamin-form-wrapper .intro-meta-dot {
  width: 6px;
  height: 6px;
  background: var(--sage);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── FORM LAYOUT ── */
.alerji-histamin-form-wrapper .form-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

/* ── SECTION ── */
.alerji-histamin-form-wrapper .section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.alerji-histamin-form-wrapper .section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--charcoal);
  cursor: pointer;
  user-select: none;
}

.alerji-histamin-form-wrapper .section-letter {
  width: 32px;
  height: 32px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  flex-shrink: 0;
}

.alerji-histamin-form-wrapper .section-info {
  flex: 1;
}

.alerji-histamin-form-wrapper .section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
}

.alerji-histamin-form-wrapper .section-desc {
  font-size: 11px;
  color: var(--light);
  margin-top: 2px;
  letter-spacing: 0.03em;
}

.alerji-histamin-form-wrapper .section-chevron {
  color: var(--sage);
  font-size: 18px;
  transition: transform var(--transition);
}

.alerji-histamin-form-wrapper .section.collapsed .section-chevron {
  transform: rotate(-90deg);
}

.alerji-histamin-form-wrapper .section-body {
  padding: 24px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 18px;
}

.alerji-histamin-form-wrapper .section.collapsed .section-body {
  display: none;
}

/* ── FIELD ── */
.alerji-histamin-form-wrapper .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.alerji-histamin-form-wrapper .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.alerji-histamin-form-wrapper .field-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.alerji-histamin-form-wrapper label {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}

.alerji-histamin-form-wrapper label .req {
  color: var(--warn);
  margin-left: 2px;
}

.alerji-histamin-form-wrapper .field-hint {
  font-size: 11px;
  color: var(--light);
  margin-top: -2px;
  line-height: 1.4;
}

.alerji-histamin-form-wrapper input[type="text"],
.alerji-histamin-form-wrapper input[type="email"],
.alerji-histamin-form-wrapper input[type="tel"],
.alerji-histamin-form-wrapper input[type="number"],
.alerji-histamin-form-wrapper input[type="date"],
.alerji-histamin-form-wrapper textarea,
.alerji-histamin-form-wrapper select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.alerji-histamin-form-wrapper input:focus,
.alerji-histamin-form-wrapper textarea:focus,
.alerji-histamin-form-wrapper select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 18%, transparent);
  background: var(--white);
}

.alerji-histamin-form-wrapper input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.alerji-histamin-form-wrapper input[type="number"]::-webkit-inner-spin-button {
  display: none;
}

.alerji-histamin-form-wrapper textarea {
  resize: vertical;
  min-height: 80px;
}

.alerji-histamin-form-wrapper select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a09b91' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* VKI display */
.alerji-histamin-form-wrapper .bmi-display {
  padding: 10px 14px;
  background: var(--sage-bg);
  border: 1.5px solid var(--sage-pale);
  border-radius: 7px;
  font-size: 14px;
  color: var(--charcoal);
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alerji-histamin-form-wrapper .bmi-val {
  font-weight: 500;
  font-size: 16px;
}

.alerji-histamin-form-wrapper .bmi-cat {
  font-size: 12px;
  color: var(--mid);
}

/* ── RADIO / CHECKBOX GROUPS ── */
.alerji-histamin-form-wrapper .check-group,
.alerji-histamin-form-wrapper .radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.alerji-histamin-form-wrapper .check-group.horizontal,
.alerji-histamin-form-wrapper .radio-group.horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.alerji-histamin-form-wrapper .check-item,
.alerji-histamin-form-wrapper .radio-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  background: var(--cream);
  margin: 0;
  font-weight: 400 !important;
  position: relative;
}

.alerji-histamin-form-wrapper .check-item:hover,
.alerji-histamin-form-wrapper .radio-item:hover {
  border-color: var(--sage);
  background: var(--sage-bg);
}

.alerji-histamin-form-wrapper .check-item input,
.alerji-histamin-form-wrapper .radio-item input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.alerji-histamin-form-wrapper .check-item.selected,
.alerji-histamin-form-wrapper .radio-item.selected {
  border-color: var(--sage);
  background: var(--sage-bg);
}

.alerji-histamin-form-wrapper .check-box,
.alerji-histamin-form-wrapper .radio-box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  margin-top: 1px;
}

.alerji-histamin-form-wrapper .radio-box {
  border-radius: 50%;
}

.alerji-histamin-form-wrapper .check-item.selected .check-box,
.alerji-histamin-form-wrapper .radio-item.selected .radio-box {
  background: var(--sage);
  border-color: var(--sage);
}

.alerji-histamin-form-wrapper .check-box::after {
  content: '';
  width: 10px;
  height: 7px;
  border-left: 2px solid var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
  transform: rotate(-45deg) scale(0);
  transition: transform 0.15s;
  margin-top: -2px;
}

.alerji-histamin-form-wrapper .check-item.selected .check-box::after {
  transform: rotate(-45deg) scale(1);
}

.alerji-histamin-form-wrapper .radio-box::after {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--charcoal);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.15s;
}

.alerji-histamin-form-wrapper .radio-item.selected .radio-box::after {
  transform: scale(1);
}

.alerji-histamin-form-wrapper .check-label,
.alerji-histamin-form-wrapper .radio-label {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.4;
  user-select: none;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.alerji-histamin-form-wrapper .check-label small,
.alerji-histamin-form-wrapper .radio-label small {
  display: block;
  font-size: 11px;
  color: var(--light);
  margin-top: 2px;
  font-weight: 400 !important;
}

/* WordPress theme font-weight override */
.alerji-histamin-form-wrapper #alerjiHistaminForm .radio-item,
.alerji-histamin-form-wrapper #alerjiHistaminForm .radio-item *,
.alerji-histamin-form-wrapper #alerjiHistaminForm .check-item,
.alerji-histamin-form-wrapper #alerjiHistaminForm .check-item *,
.alerji-histamin-form-wrapper #alerjiHistaminForm .radio-label,
.alerji-histamin-form-wrapper #alerjiHistaminForm .check-label {
  font-weight: 400 !important;
}

.alerji-histamin-form-wrapper .radio-group.horizontal .radio-item,
.alerji-histamin-form-wrapper .check-group.horizontal .check-item {
  flex: 0 0 auto;
  padding: 8px 14px;
}

/* ── SLIDER ── */
.alerji-histamin-form-wrapper .slider-wrap {
  padding: 4px 0;
}

.alerji-histamin-form-wrapper .slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--light);
  margin-bottom: 6px;
}

.alerji-histamin-form-wrapper input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--sage) 0%, var(--sage) 50%, var(--border) 50%, var(--border) 100%);
  border-radius: 4px;
  outline: none;
}

.alerji-histamin-form-wrapper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 2px solid var(--sage);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.alerji-histamin-form-wrapper .slider-value {
  display: inline-block;
  background: var(--sage);
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 12px;
  margin-top: 6px;
}

/* ── WARNING BOX ── */
.alerji-histamin-form-wrapper .warn-box {
  background: var(--warn-bg);
  border: 1.5px solid rgba(200, 112, 58, 0.25);
  border-left: 4px solid var(--warn);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.alerji-histamin-form-wrapper .warn-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.alerji-histamin-form-wrapper .warn-text {
  font-size: 13px;
  color: #7a3b18;
  line-height: 1.55;
}

.alerji-histamin-form-wrapper .warn-text strong {
  color: #5a2608;
}

/* ── INFO BOX ── */
.alerji-histamin-form-wrapper .info-box {
  background: var(--sage-bg);
  border: 1.5px solid var(--sage-pale);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 12.5px;
  color: var(--mid);
  line-height: 1.6;
}

.alerji-histamin-form-wrapper .info-box strong {
  color: var(--charcoal);
}

/* ── SYMPTOM GRID ── */
.alerji-histamin-form-wrapper .symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

/* ── SCALE (0–10) ── */
.alerji-histamin-form-wrapper .scale-wrap {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.alerji-histamin-form-wrapper .scale-btn {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  background: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.alerji-histamin-form-wrapper .scale-btn:hover {
  border-color: var(--sage);
  background: var(--sage-bg);
}

.alerji-histamin-form-wrapper .scale-btn.selected {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--charcoal);
  font-weight: 600;
}

/* ── DIVIDER ── */
.alerji-histamin-form-wrapper .divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.alerji-histamin-form-wrapper .sub-section-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--mid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--sage-pale);
  margin-bottom: 4px;
}

/* ── CONSENT ── */
.alerji-histamin-form-wrapper .consent-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alerji-histamin-form-wrapper .consent-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  margin: 0;
  font-weight: 400 !important;
  position: relative;
}

.alerji-histamin-form-wrapper .consent-item.selected {
  border-color: var(--sage);
  background: var(--sage-bg);
}

.alerji-histamin-form-wrapper .consent-item input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.alerji-histamin-form-wrapper .consent-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 5px;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.alerji-histamin-form-wrapper .consent-item.selected .consent-box {
  background: var(--sage);
  border-color: var(--sage);
}

.alerji-histamin-form-wrapper .consent-box::after {
  content: '';
  width: 11px;
  height: 8px;
  border-left: 2px solid var(--charcoal);
  border-bottom: 2px solid var(--charcoal);
  transform: rotate(-45deg) scale(0);
  margin-top: -2px;
  transition: transform 0.15s;
}

.alerji-histamin-form-wrapper .consent-item.selected .consent-box::after {
  transform: rotate(-45deg) scale(1);
}

.alerji-histamin-form-wrapper .consent-text {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.5;
  font-weight: 400 !important;
}

.alerji-histamin-form-wrapper .consent-text a {
  color: var(--sage);
  text-decoration: underline;
}

/* ── SUBMIT ── */
.alerji-histamin-form-wrapper .submit-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.alerji-histamin-form-wrapper .submit-note {
  font-size: 12px;
  color: var(--light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.alerji-histamin-form-wrapper .submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--charcoal);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 14px 40px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.alerji-histamin-form-wrapper .submit-btn:hover {
  background: var(--sage);
  color: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--sage) 35%, transparent);
}

.alerji-histamin-form-wrapper .submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.alerji-histamin-form-wrapper .submit-btn .arrow {
  font-size: 16px;
}

/* ── FOOTER ── */
.alerji-histamin-form-wrapper .ah-form-footer {
  background: var(--charcoal);
  padding: 24px 40px;
  text-align: center;
  font-size: 11px;
  color: var(--light);
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.alerji-histamin-form-wrapper .ah-form-footer strong {
  color: var(--sage);
}

/* ── FORM MESSAGE ── */
.alerji-histamin-form-wrapper #alerjiHistaminFormMessage {
  display: none;
  margin: 30px 20px;
  padding: 20px 24px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.alerji-histamin-form-wrapper #alerjiHistaminFormMessage.success {
  background-color: var(--sage-bg);
  color: #3d5a28;
  border: 1.5px solid var(--sage);
}

.alerji-histamin-form-wrapper #alerjiHistaminFormMessage.error {
  background-color: #fdf2ea;
  color: #7a3b18;
  border: 1.5px solid var(--warn);
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .alerji-histamin-form-wrapper .ah-form-header {
    padding: 24px 16px 20px;
  }

  .alerji-histamin-form-wrapper .header-title {
    font-size: 22px;
  }

  .alerji-histamin-form-wrapper .progress-wrap {
    padding: 0 8px 16px;
  }

  .alerji-histamin-form-wrapper .intro-card {
    padding: 0 8px;
  }

  .alerji-histamin-form-wrapper .form-wrap {
    padding: 16px 6px 36px;
  }

  .alerji-histamin-form-wrapper .section-header {
    padding: 16px 14px;
    gap: 10px;
  }

  .alerji-histamin-form-wrapper .section-body {
    padding: 16px 10px;
    gap: 14px;
  }

  .alerji-histamin-form-wrapper .field-row,
  .alerji-histamin-form-wrapper .field-row-3 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .alerji-histamin-form-wrapper .intro-inner {
    padding: 18px 16px;
  }

  .alerji-histamin-form-wrapper .symptom-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .alerji-histamin-form-wrapper .symptom-grid .check-item {
    padding: 8px 8px;
    min-width: 0;
  }

  .alerji-histamin-form-wrapper .symptom-grid .check-label {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .alerji-histamin-form-wrapper .scale-wrap {
    gap: 4px;
  }

  .alerji-histamin-form-wrapper .scale-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .alerji-histamin-form-wrapper .radio-group.horizontal {
    flex-direction: column;
  }

  .alerji-histamin-form-wrapper .check-group.horizontal {
    flex-direction: column;
  }

  .alerji-histamin-form-wrapper .lang-switcher {
    padding: 10px 8px;
  }

  .alerji-histamin-form-wrapper .ah-form-footer {
    padding: 20px 16px;
  }
}
