/* Evde Bakım başvuru penceresi — ikinci tasarım (başkan fotoğrafı + form kartı) */

.eb2 {
  --eb2-navy: #1d3567;
  --eb2-navy-2: #142a55;
  --eb2-blue: #3f8bd6;
  --eb2-ink: #1b2a4a;
  --eb2-text: #4a5468;
  --eb2-muted: #7a8396;
  --eb2-line: #d9e0ec;
  --eb2-orange: #e8962e;
  --eb2-font: "Nunito", "Segoe UI", system-ui, sans-serif;
  --eb2-script: "Dancing Script", "Segoe Script", cursive;
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-family: var(--eb2-font);
  color: var(--eb2-ink);
}
.eb2[hidden] { display: none; }
.eb2 *,
.eb2 *::before,
.eb2 *::after { box-sizing: border-box; }

.eb2__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 22, 44, 0.62);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.eb2.is-open .eb2__backdrop { opacity: 1; }

.eb2__dialog {
  position: relative;
  display: grid;
  grid-template-columns: 580px minmax(0, 1fr);
  width: min(1240px, 100%);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 80px -20px rgba(8, 18, 40, 0.55);
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.eb2.is-open .eb2__dialog { opacity: 1; transform: none; }

.eb2__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--eb2-navy);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 14px -6px rgba(20, 40, 80, 0.6);
  transition: transform 0.15s ease, background 0.15s ease;
}
.eb2__close:hover { background: var(--eb2-navy-2); transform: rotate(90deg); }
.eb2__close:focus-visible { outline: 3px solid #9cc3f0; outline-offset: 2px; }

/* ---------- Sol: kimlik, başlık, başkan ---------- */

.eb2__side {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #fff;
}

.eb2__brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 28px 0;
}
.eb2__logo { width: 56px; height: 56px; object-fit: contain; }
.eb2__org {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--eb2-navy);
}
.eb2__rule { width: 1px; height: 38px; margin: 0 4px; background: #c8cfdb; }
.eb2__motto {
  font-family: var(--eb2-script);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--eb2-navy);
}

.eb2__intro {
  position: relative;
  z-index: 2;
  width: 196px;
  margin: 26px 0 0 28px;
}
.eb2__icon { display: block; width: 150px; height: 100px; margin-left: -6px; }
.eb2__title {
  margin: 12px 0 0;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--eb2-navy);
}
.eb2__tagline {
  position: relative;
  margin: 14px 0 0;
  padding-bottom: 14px;
  font-family: var(--eb2-script);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--eb2-ink);
}
.eb2__tagline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 120px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8'%3E%3Cpath d='M1 5.5 C30 2.5 70 1.5 119 3.2 C80 4.2 40 5.6 3 7.4 Z' fill='%23e8962e'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.eb2__photo {
  position: absolute;
  top: 82px;
  right: -8px;
  z-index: 1;
  width: 282px;
  margin: 0;
}
.eb2__photo img { display: block; width: 100%; height: auto; }

.eb2__message {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}
.eb2__wave { display: block; width: 100%; height: 64px; margin-bottom: -1px; }
.eb2__letter {
  position: relative;
  padding: 0 30px 22px 66px;
  background: linear-gradient(180deg, var(--eb2-navy) 0%, var(--eb2-navy-2) 100%);
  color: #fff;
}
.eb2__letter::before {
  content: "\201C";
  position: absolute;
  top: -22px;
  left: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
  color: var(--eb2-orange);
}
.eb2__greet { margin: 0 0 6px; font-size: 16px; font-weight: 800; letter-spacing: 0.01em; }
.eb2__text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.95);
}
.eb2__sign {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 12px 0 0;
  text-align: right;
}
.eb2__sign strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
}
.eb2__sign strong::before {
  content: "";
  width: 30px;
  height: 2px;
  border-radius: 2px;
  background: var(--eb2-orange);
}
.eb2__sign span {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a9c8ee;
}
.eb2__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Sol: broşür düzeni ---------- */

.eb2s { background: #f3eee8; container-type: inline-size; }
.eb2s__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.eb2s__photo {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
}

.eb2s__brand {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 24px 0;
}
.eb2s__brand-icon { flex: 0 0 auto; }
.eb2s__org {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--eb2-navy);
}
.eb2s__rule { width: 1.5px; height: 38px; margin: 0 4px; background: var(--eb2-navy); opacity: 0.55; }
.eb2s__motto {
  position: relative;
  padding-bottom: 7px;
  font-family: var(--eb2-script);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--eb2-navy);
}
.eb2s__motto::after,
.eb2s__tagline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 6'%3E%3Cpath d='M1 4.6 C30 1.6 72 0.8 119 2.4 C80 3.4 40 4.4 3 5.8 Z' fill='%233f8bd6'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.eb2s__intro {
  position: relative;
  z-index: 3;
  margin: 18px 0 0 24px;
}
.eb2s__title {
  margin: 0;
  font-size: 32px;
  white-space: nowrap;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--eb2-navy);
}
.eb2s__heart { display: inline-block; margin: -6px 0 0 4px; vertical-align: top; }
.eb2s__tagline::after { content: none; }
.eb2s__line { display: block; width: 300px; height: 30px; margin: -6px 0 0 -2px; }
.eb2s__tagline {
  position: relative;
  display: block;
  margin: 6px 0 0;
  padding-bottom: 0;
  font-family: var(--eb2-script);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--eb2-navy);
}

.eb2s__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(81cqw - 56px);
  bottom: 0;
  z-index: 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 0 14px;
}
.eb2s__wave { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 60px; }
.eb2s__panel::before {
  content: "";
  position: absolute;
  top: 58px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1d3a78;
}
.eb2s__bina {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 230px;
  height: auto;
  opacity: 0.45;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0, #000 45%);
}
.eb2s__bigheart { position: absolute; top: 70px; right: 14px; z-index: 1; opacity: 0.5; }
.eb2s__mayor {
  position: absolute;
  top: 24px;
  left: -4px;
  z-index: 2;
  width: 44cqw;
  height: auto;
}
.eb2s__letter {
  position: relative;
  z-index: 3;
  margin-left: 42cqw;
  padding: 0 4cqw 0 4px;
  color: #fff;
}
.eb2s__quote {
  position: absolute;
  top: -16px;
  left: -30px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: #f2b233;
}
.eb2s__greet { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.eb2s__text { margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.65; color: rgba(255, 255, 255, 0.94); }
.eb2s__sign { display: flex; flex-direction: column; align-items: flex-end; margin: 10px 0 0; text-align: right; }
.eb2s__sign strong {
  position: relative;
  padding-bottom: 6px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
}
.eb2s__sign strong::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 6'%3E%3Cpath d='M1 4.6 C30 1.6 72 0.8 119 2.4 C80 3.4 40 4.4 3 5.8 Z' fill='%23f2b233'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.eb2s__sign span {
  margin-top: 4px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

@media (max-width: 960px) {
  .eb2s__title { font-size: 28px; }
  .eb2s__tagline { font-size: 17px; }
  .eb2s__line { width: 270px; height: 27px; }
  .eb2s__motto { font-size: 14px; }
  .eb2s__mayor { width: 176px; }
  .eb2s__letter { margin-left: 168px; }
}

@media (max-width: 860px) {
  .eb2s { min-height: 0; }
  .eb2s__photo { position: relative; top: auto; right: auto; bottom: auto; display: block; width: 100%; height: auto; margin: 0; }
  .eb2s__panel { position: relative; top: auto; height: auto; margin-top: -40px; padding-bottom: 18px; }
  .eb2s__mayor { width: 140px; top: 30px; bottom: auto; }
  .eb2s__letter { margin-left: 132px; padding-top: 60px; }
  .eb2s__bigheart { display: none; }
}

/* ---------- Sağ: form kartı ---------- */

.eb2__main {
  display: flex;
  flex-direction: column;
  padding: 26px 30px 20px;
  background: linear-gradient(180deg, #f3f6fc 0%, #eef2fa 100%);
  border-left: 1px solid #e3e8f1;
}

.eb2__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 0 52px 16px 0;
  border-bottom: 1px solid #d9e0ec;
}
.eb2__heading-logo {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}
.eb2__heading-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid #c9d2e2;
}
.eb2__heading-text small {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #4a5a78;
}
.eb2__heading-text strong {
  margin-top: 2px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--eb2-navy);
}

.eb2__head { display: flex; align-items: center; gap: 14px; padding-right: 50px; }
.eb2__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #24427c 0%, var(--eb2-navy-2) 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 18px -10px rgba(20, 42, 85, 0.8);
}
.eb2__badge i { font-size: 18px; }
.eb2__head-line { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--eb2-navy) 0%, rgba(29, 53, 103, 0) 100%); opacity: 0.35; }

#ebmFormPane { display: flex; flex: 1 1 auto; flex-direction: column; }
#ebmFormPane[hidden] { display: none; }

.eb2__notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 16px;
  padding: 11px 16px;
  border: 1px solid #d5e0f3;
  border-radius: 12px;
  background: #e7eefa;
  font-size: 12.5px;
  line-height: 1.45;
  color: #3a4a6a;
}
.eb2__notice i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: var(--eb2-navy);
  font-size: 15px;
}

.eb2__form { display: flex; flex: 1 1 auto; flex-direction: column; margin: 0; }
.eb2__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 12px; }
.eb2__field { min-width: 0; }
.eb2__field--full { grid-column: 1 / -1; }

.eb2__input {
  position: relative;
  display: block;
  margin: 0;
}
.eb2__input > i {
  position: absolute;
  top: 0;
  left: 15px;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 44px;
  font-size: 15px;
  color: var(--eb2-navy);
  pointer-events: none;
}
.eb2__input input,
.eb2__input select,
.eb2__input textarea {
  display: block;
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 14px 0 42px;
  border: 1px solid var(--eb2-line);
  border-radius: 12px;
  background: #fff;
  font: 600 14px/1.3 var(--eb2-font);
  color: var(--eb2-ink);
  box-shadow: 0 1px 2px rgba(20, 40, 80, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.eb2__input input:hover,
.eb2__input select:hover,
.eb2__input textarea:hover { border-color: #c3ccdc; }
.eb2__input input:focus,
.eb2__input select:focus,
.eb2__input textarea:focus {
  outline: 0;
  border-color: var(--eb2-blue);
  box-shadow: 0 0 0 3px rgba(63, 139, 214, 0.18);
}
.eb2__input .error { border-color: #d0453a; box-shadow: 0 0 0 3px rgba(208, 69, 58, 0.12); }

.eb2__ph {
  position: absolute;
  top: 0;
  left: 42px;
  display: flex;
  align-items: center;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
  color: var(--eb2-text);
  pointer-events: none;
}
.eb2__ph b { margin-left: 3px; color: #d0453a; font-weight: 800; }
.eb2__ph em { margin-left: 8px; font-size: 12.5px; font-style: normal; font-weight: 500; color: #9aa3b4; }
.eb2__input input:not(:placeholder-shown) + .eb2__ph,
.eb2__input select:valid + .eb2__ph { display: none; }

.eb2__input--select select { padding-right: 40px; cursor: pointer; }
.eb2__input--select::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--eb2-navy);
  border-bottom: 2px solid var(--eb2-navy);
  transform: rotate(45deg);
  pointer-events: none;
}

.eb2__input--area textarea {
  height: 72px;
  min-height: 72px;
  padding: 28px 14px 10px 42px;
  resize: none;
  font-weight: 500;
  line-height: 1.5;
}
.eb2__ph--top { height: 30px; padding-top: 4px; }
.eb2__ph--top em { margin-left: 4px; font-style: normal; font-weight: 500; color: var(--eb2-muted); }
.eb2__input--area > i { height: 34px; padding-top: 4px; }
.eb2__input--area textarea:not(:placeholder-shown) + .eb2__ph,
.eb2__input--area textarea:focus + .eb2__ph { display: none; }

.eb2__error { display: none; margin: 5px 4px 0; font-size: 12px; font-weight: 700; color: #c23b30; }
.eb2__error.show { display: block; }
.eb2__error--form { margin: 12px 2px 0; padding: 8px 12px; border-radius: 8px; background: #fff1f0; border: 1px solid #f0c2bd; }
.eb2__error--form.show { display: block; }

.eb2__behalf { min-width: 0; margin: 14px 0 0; padding: 0; border: 0; }
.eb2__behalf legend {
  margin: 0 0 7px 2px;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--eb2-navy);
}
.eb2__who { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.eb2__seg {
  display: inline-flex;
  gap: 3px;
  height: 44px;
  padding: 3px;
  border: 1px solid var(--eb2-line);
  border-radius: 12px;
  background: #fff;
}
.eb2__seg label {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 18px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--eb2-text);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.eb2__seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.eb2__seg label:hover { background: #f1f4f9; }
.eb2__seg label:has(input:checked) { background: var(--eb2-navy); color: #fff; }
.eb2__seg label:has(input:focus-visible) { box-shadow: 0 0 0 3px rgba(63, 139, 214, 0.35); }
.eb2__input input:disabled { background: #f1f4f9; border-color: #e1e6ef; box-shadow: none; cursor: not-allowed; }
.eb2__input input:disabled ~ .eb2__ph,
.eb2__input:has(input:disabled) > i { color: #a3adbf; }
.eb2__input input:disabled ~ .eb2__ph b { color: #c9a5a1; }

.eb2__consent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin: 14px 2px 0;
  font-size: 13px;
  color: var(--eb2-text);
}
.eb2__check { position: relative; display: inline-flex; align-items: center; gap: 9px; margin: 0; cursor: pointer; }
.eb2__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.eb2__check-box {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  border: 1.5px solid #b9c3d4;
  border-radius: 5px;
  background: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.eb2__check input:checked + .eb2__check-box {
  border-color: var(--eb2-navy);
  background: var(--eb2-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 13px;
}
.eb2__check input:focus-visible + .eb2__check-box { box-shadow: 0 0 0 3px rgba(63, 139, 214, 0.3); }
.eb2__link {
  padding: 0;
  border: 0;
  background: none;
  font: 700 12.5px var(--eb2-font);
  color: var(--eb2-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.eb2__link i { font-size: 11px; }
.eb2__kvkk {
  margin: 10px 0 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--eb2-line);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--eb2-text);
}
.eb2__kvkk p { margin: 0; }
.eb2__kvkk strong { color: var(--eb2-navy); }

.eb2__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}
.eb2__req { margin: 0 auto 0 2px; font-size: 12.5px; font-weight: 500; color: var(--eb2-muted); }
.eb2__req b { color: #d0453a; font-weight: 800; }
.eb2__done .eb2__btn { margin-top: 10px; }
.eb2__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 108px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.eb2__btn--primary { background: #1e3a8a; color: #fff; min-width: 178px; }
.eb2__btn--primary:hover { background: #1e40af; }
.eb2__btn--primary:disabled { background: #1e3a8a; opacity: 0.92; cursor: progress; }
.eb2__btn--secondary { background: #e5e9f1; color: #374151; }
.eb2__btn--secondary:hover { background: #d9dfea; }
.eb2__btn:focus-visible { outline: 3px solid #9cc3f0; outline-offset: 2px; }
.eb2__btn [hidden] { display: none !important; }
.eb2__btn .submit-text,
.eb2__btn .submit-loading { display: inline-flex; align-items: center; gap: 8px; }
.eb2__busy {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: eb2-spin 0.7s linear infinite;
}
.eb2__busy i {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 0 #fff;
}
.eb2__busy i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) scale(0.85);
  opacity: 0.95;
}

.eb2__submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  margin: auto 0 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2a4c8c 0%, var(--eb2-navy) 55%, var(--eb2-navy-2) 100%);
  color: #fff;
  font: 800 17px var(--eb2-font);
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 14px 26px -14px rgba(20, 42, 85, 0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.eb2__form .eb2__submit { margin-top: 18px; }
.eb2__submit:hover { transform: translateY(-1px); box-shadow: 0 18px 30px -14px rgba(20, 42, 85, 0.95); }
.eb2__submit:focus-visible { outline: 3px solid #9cc3f0; outline-offset: 3px; }
.eb2__submit:disabled { opacity: 0.75; cursor: progress; transform: none; }
.eb2__submit .submit-text,
.eb2__submit .submit-loading { display: inline-flex; align-items: center; gap: 10px; }
.eb2__submit [hidden] { display: none !important; }
.eb2__submit-arrow {
  position: absolute;
  top: 7px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--eb2-blue);
  font-size: 18px;
}
.eb2__submit--sm { width: auto; height: 46px; padding: 0 36px; margin: 6px auto 0; }
.eb2__spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: eb2-spin 0.8s linear infinite;
}
@keyframes eb2-spin { to { transform: rotate(360deg); } }

.eb2__trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 0;
  padding: 0;
  border: 1px solid #dde3ee;
  border-radius: 12px;
  background: #fff;
  list-style: none;
  overflow: hidden;
}
.eb2__trust li { display: flex; min-width: 0; }
.eb2__trust li,
.eb2__trust a {
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
  color: var(--eb2-navy);
  text-decoration: none;
}
.eb2__trust li:has(> a) { padding: 0; }
.eb2__trust a { flex: 1 1 auto; min-width: 0; display: flex; transition: background-color .15s ease; }
.eb2__trust a:hover { background: #f3f6fb; }
.eb2__trust li + li { border-left: 1px solid #dde3ee; }
.eb2__trust-ic {
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e8edf7;
  color: var(--eb2-navy);
  font-size: 15px;
}
.eb2__trust-ic--wa { background: #e3f5ea; color: #1f8a4c; }
.eb2__trust-tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.eb2__trust-tx small { font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: #5b6a86; white-space: nowrap; }
.eb2__trust-tx b { margin-top: 2px; font-size: 12px; font-weight: 800; color: var(--eb2-navy); white-space: nowrap; font-variant-numeric: tabular-nums; }

.eb2__done { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 10px; text-align: center; }
.eb2__done[hidden] { display: none; }
.eb2__done:focus { outline: 0; }
.eb2__done-mark svg { display: block; }
.eb2__done-mark circle {
  stroke: #2f9e63;
  stroke-width: 2.5;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: eb2-check-ring 0.55s ease forwards;
}
.eb2__done-mark path {
  stroke: #2f9e63;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: eb2-check-draw 0.35s ease 0.35s forwards;
}
@keyframes eb2-check-ring { to { stroke-dashoffset: 0; } }
@keyframes eb2-check-draw { to { stroke-dashoffset: 0; } }
.eb2__done-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #e3f4ea;
  color: #1f8a4c;
  font-size: 34px;
}
.eb2__done h3 { margin: 14px 0 6px; font-size: 22px; font-weight: 800; color: var(--eb2-navy); }
.eb2__done p { margin: 0 0 6px; font-size: 14px; color: var(--eb2-text); }
.eb2__ticket strong { color: var(--eb2-navy); }

/* ---------- Tablet / telefon ---------- */

@media (max-width: 1180px) {
  .eb2__dialog { grid-template-columns: 500px minmax(0, 1fr); }
}

@media (max-width: 960px) {
  .eb2__dialog { grid-template-columns: 440px minmax(0, 1fr); }
  .eb2__photo { width: 250px; }
  .eb2__intro { width: 170px; }
  .eb2__title { font-size: 27px; }
}

@media (max-width: 860px) {
  .eb2 { padding: 0; align-items: stretch; }
  .eb2__dialog {
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 100dvh;
    border-radius: 0;
  }
  .eb2__side { min-height: 0; }
  .eb2__brand { padding: 16px 64px 0 18px; }
  .eb2__logo { width: 46px; height: 46px; }
  .eb2__org { font-size: 14px; }
  .eb2__rule, .eb2__motto { display: none; }
  .eb2__intro { width: auto; max-width: calc(100% - 190px); margin: 22px 0 0 18px; min-height: 200px; }
  .eb2__title { font-size: 26px; }
  .eb2__tagline { font-size: 17px; }
  .eb2__photo { top: 60px; right: -6px; width: 180px; }
  .eb2__message { position: relative; margin-top: -20px; }
  .eb2__wave { height: 44px; }
  .eb2__letter { padding: 0 20px 20px 56px; }
  .eb2__letter::before { left: 16px; }
  .eb2__main { padding: 20px 16px 22px; border-left: 0; }
  .eb2__head { padding-right: 0; }
}
@media (max-width: 560px) {
  .eb2__grid { grid-template-columns: 1fr; }
  .eb2__trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eb2__trust li:nth-child(3) { border-left: 0; }
  .eb2__trust li:nth-child(n+3) { border-top: 1px solid #dde3ee; }
  .eb2__who { grid-template-columns: 1fr; gap: 10px; }
  .eb2__seg label { flex: 1; justify-content: center; }
  .eb2__actions { flex-wrap: wrap; }
  .eb2__req { flex: 1 1 100%; margin: 0 0 4px 2px; }
  .eb2__btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .eb2__backdrop, .eb2__dialog, .eb2__close, .eb2__submit { transition: none; }
}


.yh-pill--care {
  position: relative;
  z-index: 1;
  background: #c62828 !important;
  border-color: #fff !important;
  box-shadow:
    0 0 0 0 rgba(255, 80, 70, 0.75),
    0 2px 10px rgba(0, 0, 0, 0.28);
  animation: yhCarePulse 1.15s ease-in-out infinite;
}
.yh-pill--care:hover {
  background: #b71c1c !important;
  border-color: #fff !important;
  animation-play-state: paused;
  filter: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.yh-pill--care i {
  animation: yhCareBeat 1.15s ease-in-out infinite;
}

@keyframes yhCarePulse {
  0%, 100% {
    background: #9f1a1a;
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow:
      0 0 0 0 rgba(255, 70, 60, 0.85),
      0 2px 8px rgba(0, 0, 0, 0.25);
    filter: brightness(0.88);
    transform: scale(1);
  }
  50% {
    background: #ff3b30;
    border-color: #fff;
    box-shadow:
      0 0 0 12px rgba(255, 60, 50, 0),
      0 0 22px rgba(255, 80, 70, 0.65),
      0 2px 12px rgba(0, 0, 0, 0.2);
    filter: brightness(1.28);
    transform: scale(1.06);
  }
}

@keyframes yhCareBeat {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.22); opacity: 1; }
}

/* ---------- Hero alt menü EVDE BAKIM ---------- */

.yh-ebelediye-pill.yh-ebelediye-pill--care {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  z-index: 2;
}
.yh-ebelediye-pill.yh-ebelediye-pill--care .yh-ebelediye-pill__ring {
  border: 2px solid #ff5252;
  background: rgba(198, 40, 40, 0.42);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25),
    0 0 14px rgba(255, 70, 60, 0.55);
  animation: yhHeroCareRing 1.05s ease-in-out infinite;
}
.yh-ebelediye-pill.yh-ebelediye-pill--care .yh-ebelediye-pill__bi {
  color: #fff;
  filter: drop-shadow(0 0 4px rgba(255, 120, 100, 0.9));
  animation: yhHeroCareIcon 1.05s ease-in-out infinite;
}
.yh-ebelediye-pill.yh-ebelediye-pill--care .yh-ebelediye-pill__label {
  color: #ffe4e1 !important;
  text-shadow:
    0 1px 4px rgba(0, 0, 0, 0.65),
    0 0 10px rgba(255, 80, 70, 0.45);
  animation: yhHeroCareLabel 1.05s ease-in-out infinite;
}

@keyframes yhHeroCareRing {
  0%, 100% {
    border-color: #ff8a80;
    background: rgba(183, 28, 28, 0.38);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.28),
      0 0 0 0 rgba(255, 70, 60, 0.8),
      0 0 10px rgba(255, 60, 50, 0.35);
    transform: translateY(-0.2rem) scale(1);
  }
  50% {
    border-color: #fff;
    background: rgba(229, 57, 53, 0.72);
    box-shadow:
      0 0 0 1px rgba(0, 0, 0, 0.2),
      0 0 0 10px rgba(255, 70, 60, 0),
      0 0 22px rgba(255, 80, 70, 0.85);
    transform: translateY(-0.2rem) scale(1.08);
  }
}

@keyframes yhHeroCareIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

@keyframes yhHeroCareLabel {
  0%, 100% { opacity: 0.88; }
  50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .yh-pill--care,
  .yh-pill--care i,
  .yh-ebelediye-pill.yh-ebelediye-pill--care .yh-ebelediye-pill__ring,
  .yh-ebelediye-pill.yh-ebelediye-pill--care .yh-ebelediye-pill__bi,
  .yh-ebelediye-pill.yh-ebelediye-pill--care .yh-ebelediye-pill__label {
    animation: none;
  }
}
