/* Bayi başvuru sayfası: tanıtım sayfasının (motta-design-home.css) değişkenleri ve parçalarıyla, nizam R04. */
body.mdh-page { margin: 0; background: var(--n-canvas, #F3F4F0); }
.motta-bp .mdh { background: var(--n-canvas, #F3F4F0); min-height: 100vh; display: flex; flex-direction: column; }
.motta-bp .motta-skip-link { position: absolute; left: -9999px; }
.motta-bp .motta-skip-link:focus { left: 16px; top: 8px; z-index: 50; padding: 10px 14px; border-radius: 6px; background: var(--n-surface, #fff); color: var(--mdh-ink); }
.motta-bp .mdh-nav__links--always { display: flex; }
.motta-bp-page { flex: 1; width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 40px 0 72px; }
.motta-bp-hero { margin-bottom: 24px; }
.motta-bp-hero__title { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: var(--mdh-ink); }
.motta-bp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }

.motta-bp-form-wrap { background: var(--n-surface, #fff); border: 1px solid var(--mdh-line); border-radius: 8px; overflow: hidden; }
.motta-bp-form { display: grid; gap: 0; }
.motta-bp-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.motta-bp-form-head { padding: 24px 24px 0; }
.motta-bp-form-head strong { font-size: 20px; color: var(--mdh-ink); }
.motta-bp-block { display: grid; gap: 16px; padding: 20px 24px 24px; }

.motta-bp-plan-switcher { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.motta-bp-plan-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; min-height: 44px; padding: 14px; border: 1px solid var(--mdh-line); border-radius: 8px; background: var(--n-surface, #fff); cursor: pointer; transition: border-color .15s, background .15s; }
.motta-bp-plan-card:hover { border-color: var(--n-border-strong, #C6CEC7); }
.motta-bp-plan-card input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--mdh-primary); }
.motta-bp-plan-card span { display: grid; gap: 2px; }
.motta-bp-plan-card strong { font-size: 15px; color: var(--mdh-ink); }
.motta-bp-plan-card small { font-size: 13px; line-height: 1.4; color: var(--mdh-muted); }
.motta-bp-plan-card b { grid-column: 2; font-size: 13px; color: var(--mdh-primary); }
.motta-bp-plan-card:has(input:checked) { border-color: var(--mdh-primary); background: var(--mdh-soft); box-shadow: inset 0 0 0 1px var(--mdh-primary); }

.motta-bp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.motta-bp-field { display: grid; gap: 6px; min-width: 0; }
.motta-bp-field > label, .motta-bp-facility legend { font-size: 14px; font-weight: 600; color: var(--mdh-ink); }
.motta-bp-field label span[aria-hidden], .motta-bp-checkbox span[aria-hidden] { color: var(--n-danger, #A53832); }
.motta-bp-field input, .motta-bp-field select, .motta-bp-field textarea { box-sizing: border-box; width: 100%; height: 48px; min-height: 48px; padding: 0 14px; border: 1px solid var(--mdh-line); border-radius: 6px; background: var(--n-surface, #fff); color: var(--mdh-ink); font: inherit; font-size: 15px; }
.motta-bp-field textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.motta-bp-field input::placeholder, .motta-bp-field textarea::placeholder { color: var(--n-subtle, #8A948F); }
.motta-bp-field input:focus, .motta-bp-field select:focus, .motta-bp-field textarea:focus { outline: none; border-color: var(--mdh-primary); box-shadow: var(--n-focus, 0 0 0 3px rgba(37,112,79,.22)); }

.motta-bp-facility { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin: 0; padding: 0; border: 0; }
.motta-bp-facility legend { float: left; width: 100%; margin-bottom: 6px; padding: 0; }
.motta-bp-facility label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: var(--mdh-ink); cursor: pointer; }
.motta-bp-facility input, .motta-bp-checkbox input, .motta-bp-check-label input { width: 18px; height: 18px; accent-color: var(--mdh-primary); }
.motta-bp-checkbox { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; font-size: 14px; line-height: 1.5; color: var(--mdh-ink); cursor: pointer; }
.motta-bp-checkbox input { flex: 0 0 auto; margin-top: 2px; }
.motta-bp-helper { margin-top: -10px; font-size: 13px; color: var(--mdh-muted); }
.motta-bp-helper a { color: var(--mdh-primary); }

.motta-bp-details { border-top: 1px solid var(--mdh-line); }
.motta-bp-details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 24px; cursor: pointer; list-style: none; font-weight: 600; color: var(--mdh-ink); }
.motta-bp-details summary::-webkit-details-marker { display: none; }
.motta-bp-details summary small { display: none; }
.motta-bp-details summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--mdh-muted); transition: transform .2s; }
.motta-bp-details[open] summary::after { transform: rotate(45deg); }
.motta-bp-details-body { display: grid; gap: 16px; padding: 0 24px 24px; }
.motta-bp-checkgrid { display: flex; flex-wrap: wrap; gap: 8px; }
.motta-bp-check-label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--mdh-line); border-radius: 6px; font-size: 14px; cursor: pointer; }
.motta-bp-check-label:has(input:checked) { border-color: var(--mdh-primary); background: var(--mdh-soft); }
.is-align-center { align-items: end; }

.motta-bp-submit-wrap { display: grid; gap: 12px; padding: 20px 24px 24px; border-top: 1px solid var(--mdh-line); background: var(--n-surface, #fff); }
.motta-bp-submit { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border: 0; border-radius: 6px; background: var(--mdh-primary); color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.motta-bp-submit:hover { background: var(--n-primary-hover, #1E5C41); }
.motta-bp-submit:disabled { opacity: .6; cursor: wait; }
.motta-bp-error { padding: 12px 14px; border-radius: 6px; background: var(--n-danger-soft, #F8ECEA); color: var(--n-danger, #A53832); font-size: 14px; }

.motta-bp-success { display: grid; justify-items: center; gap: 10px; padding: 48px 24px; text-align: center; }
.motta-bp-success[hidden] { display: none; }
.motta-bp-success__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mdh-soft); color: var(--mdh-primary); font-size: 26px; font-weight: 800; }
.motta-bp-success strong { font-size: 22px; color: var(--mdh-ink); }
.motta-bp-success p { margin: 0; color: var(--mdh-muted); }
.motta-bp-success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.motta-bp-success__actions .motta-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--mdh-line); border-radius: 6px; background: var(--n-surface, #fff); color: var(--mdh-ink); text-decoration: none; font-weight: 600; }
.motta-bp-success__actions .motta-button--primary { background: var(--mdh-primary); border-color: var(--mdh-primary); color: #fff; }

.motta-bp-aside { position: sticky; top: 92px; padding: 20px; border: 1px solid var(--mdh-line); border-radius: 8px; background: var(--n-surface, #fff); }
.motta-bp-aside__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.motta-bp-aside__list li { position: relative; padding-inline-start: 30px; font-size: 15px; line-height: 1.45; color: var(--mdh-ink); }
.motta-bp-aside__list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; background: var(--mdh-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325704F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / 14px no-repeat; }

@media (max-width: 900px) {
  .motta-bp-layout { grid-template-columns: 1fr; }
  .motta-bp-aside { position: static; }
}
@media (max-width: 640px) {
  .motta-bp-page { padding: 24px 0 48px; }
  .motta-bp-plan-switcher, .motta-bp-field-row { grid-template-columns: 1fr; }
  .motta-bp-block, .motta-bp-submit-wrap { padding-inline: 16px; }
  .motta-bp-form-head { padding: 20px 16px 0; }
  .motta-bp-details summary, .motta-bp-details-body { padding-inline: 16px; }
  .motta-bp .mdh-foot .mdh-wrap { gap: 4px 16px; }
}
/* Ortak tasarım sisteminin 38 px'lik genel kutu kuralını bu formda nizam ölçüsüne (48 px) çeker. */
body .motta-bp-field :is(input, select, textarea) { height: 48px !important; min-height: 48px !important; padding: 0 14px !important; border: 1px solid var(--mdh-line) !important; border-radius: 6px !important; font-size: 15px !important; font-weight: 400 !important; color: var(--mdh-ink) !important; }
body .motta-bp-field textarea { height: auto !important; min-height: 96px !important; padding: 12px 14px !important; }
body .motta-bp-field :is(input, select, textarea):focus { border-color: var(--mdh-primary) !important; box-shadow: var(--n-focus, 0 0 0 3px rgba(37,112,79,.22)) !important; }
