/*
 * /e-musavir/sirket-kurulus/ — Şirket Kuruluş Başvurusu. site.css + site-bright.css'ten SONRA yüklenir
 * ($siteExtraStyles). Yalnız fx-* sınıfları; ortak site bileşenlerini değiştirmez.
 * Telefonda (375 px) yatay taşma olmamalı: her ızgara tek sütuna iner, uzun metin kırılır.
 */

.fx-page .site-section__inner { max-width: 880px; }

.fx-crumbs {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--hx-mut, #6b7891);
}
.fx-crumbs a { color: var(--hx-blue, #2563eb); text-decoration: none; }
.fx-crumbs a:hover { text-decoration: underline; }

.fx-intro { display: grid; gap: 0.75rem; margin: 1.25rem 0 1.5rem; }
.fx-intro .site-callout { margin: 0; }
.fx-intro__privacy {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--hx-mint, #ecfdf5);
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.92rem;
}

.fx-card { padding: 1.25rem; }
.fx-form { max-width: none; gap: 1.25rem; }

.fx-step { display: grid; gap: 1.25rem; min-width: 0; }

.fx-block {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
  margin: 0;
  padding: 1.1rem;
  border: 1px solid var(--hx-line, #e6ebf3);
  border-radius: 14px;
  background: #fff;
}

.fx-block[hidden] { display: none; }

.fx-block__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.35rem;
  font-family: var(--site-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hx-ink, #0b1b3a);
}

.fx-num {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hx-green, #10b981), var(--hx-blue, #2563eb));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.fx-help { margin: 0; font-size: 0.86rem; color: var(--hx-mut, #6b7891); }
.fx-warn { margin: 6px 0 0; padding: 8px 12px; border-radius: 10px; font-size: 0.86rem; color: #92400e; background: #fffbeb; border: 1px solid #fcd34d; }
.fx-warn[hidden] { display: none; }
.fx-sublabel { margin: 0.25rem 0 0; }
.fx-stack { display: grid; gap: 0.75rem; }
.fx-textarea-sm { min-height: 88px; }

/* seçim kartları */
.fx-choices { display: grid; gap: 0.65rem; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .fx-choices--2 { grid-template-columns: 1fr 1fr; }
  .fx-choices--3 { grid-template-columns: repeat(3, 1fr); }
  .fx-choices--4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .fx-choices--4 { grid-template-columns: repeat(4, 1fr); }
}

.fx-choice {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  min-width: 0;
  padding: 0.85rem 0.9rem;
  border: 1.5px solid var(--hx-line, #e6ebf3);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.fx-choice:hover { border-color: #bfd0f5; }
.fx-choice input { margin-top: 0.2rem; flex: 0 0 auto; accent-color: var(--hx-blue, #2563eb); }
.fx-choice:has(input:checked) { border-color: var(--hx-blue, #2563eb); background: var(--hx-soft, #f6f9ff); }
.fx-choice:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--site-accent-soft, rgba(37, 99, 235, 0.12)); }
.fx-choice--compact { padding: 0.7rem 0.85rem; align-items: center; }
.fx-choice--compact input { margin-top: 0; }
.fx-choice__body { display: grid; gap: 0.2rem; min-width: 0; }
.fx-choice__label { font-weight: 700; color: var(--hx-ink, #0b1b3a); overflow-wrap: anywhere; }
.fx-choice__hint { font-size: 0.84rem; color: var(--hx-ink2, #41506b); line-height: 1.4; }

/* çoklu seçim fişleri */
.fx-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.fx-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  max-width: 100%;
  padding: 0.4rem 0.8rem;
  border: 1.5px solid var(--hx-line, #e6ebf3);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9rem;
  color: var(--hx-ink, #0b1b3a);
  cursor: pointer;
}
.fx-chip input { accent-color: var(--hx-green2, #059669); }
.fx-chip:has(input:checked) { border-color: var(--hx-green, #10b981); background: var(--hx-mint, #ecfdf5); }

/* ortaklar */
.fx-partners { display: grid; gap: 0.6rem; }
.fx-partner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 6.5rem;
  grid-template-areas: "no no" "name share" "foreign foreign";
  gap: 0.5rem 0.65rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: var(--hx-soft, #f6f9ff);
  min-width: 0;
}
.fx-partner[hidden] { display: none; }
.fx-partner__no { grid-area: no; font-size: 0.8rem; font-weight: 800; color: var(--hx-blue2, #1d4ed8); text-transform: uppercase; letter-spacing: 0.04em; }
.fx-partner__name { grid-area: name; min-width: 0; }
.fx-partner__share { grid-area: share; min-width: 0; }
.fx-partner__foreign { grid-area: foreign; align-items: center; }
@media (min-width: 700px) {
  .fx-partner {
    grid-template-columns: 5.5rem minmax(0, 1fr) 7rem 9.5rem;
    grid-template-areas: "no name share foreign";
    align-items: end;
  }
  .fx-partner__no { padding-bottom: 0.8rem; }
  .fx-partner__foreign { padding-bottom: 0.7rem; }
}

.fx-sum { align-self: end; font-size: 0.92rem; font-weight: 700; padding-bottom: 0.7rem; }
.fx-sum.is-ok { color: var(--hx-green2, #059669); }
.fx-sum.is-bad { color: #b45309; }

.fx-suffix { position: relative; }
.fx-suffix .site-input { padding-right: 2.6rem; }
.fx-suffix span {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--hx-mut, #6b7891);
  pointer-events: none;
}

.fx-inline { display: flex; flex-wrap: wrap; gap: 0.35rem 1.1rem; border: 0; margin: 0; padding: 0; min-width: 0; }
.fx-inline legend { width: 100%; }

.fx-submit { justify-self: start; }

/* adımlar (yalnız JavaScript açıkken) */
.fx-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem;
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  counter-reset: fx;
}
.fx-progress[hidden] { display: none; }
.fx-progress li {
  counter-increment: fx;
  min-width: 0;
  padding-top: 0.55rem;
  border-top: 4px solid var(--hx-line, #e6ebf3);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--hx-mut, #6b7891);
  overflow-wrap: anywhere;
}
.fx-progress li::before { content: counter(fx) ". "; }
.fx-progress li.is-done { border-top-color: var(--hx-green, #10b981); color: var(--hx-ink2, #41506b); }
.fx-progress li.is-current { border-top-color: var(--hx-blue, #2563eb); color: var(--hx-blue, #2563eb); }
@media (max-width: 559px) {
  .fx-progress li { font-size: 0; }
  .fx-progress li::before { font-size: 0.8rem; }
  .fx-progress li.is-current { font-size: 0.8rem; grid-column: span 1; }
  .fx-progress li.is-current::before { content: counter(fx) ". "; }
}

.fx-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.25rem;
}
.fx-nav[hidden] { display: none; }
.fx-nav__count { white-space: nowrap; font-size: 0.86rem; color: var(--hx-mut, #6b7891); text-align: center; }
.fx-nav .site-btn[hidden] { visibility: hidden; display: inline-flex; }

.fx-form.is-stepped .fx-step { display: none; }
.fx-form.is-stepped .fx-step.is-active { display: grid; }

.fx-success p { margin: 0.4rem 0 0; }
.fx-next { margin: 0.6rem 0 0; padding-left: 1.2rem; }
.fx-next li + li { margin-top: 0.3rem; }

.fx-alt { margin: 1rem 0 0; font-size: 0.92rem; color: var(--hx-ink2, #41506b); }
.fx-alt a { color: var(--hx-blue, #2563eb); font-weight: 700; }

@media (max-width: 480px) {
  .fx-card { padding: 0.85rem; }
  .fx-block { padding: 0.9rem 0.8rem; }
  .fx-block__title { font-size: 1rem; }
  .fx-nav .site-btn { padding-left: 1rem; padding-right: 1rem; }
}
