/* Müşteri yüzü — varsayılan gündüz. Admin teması buraya taşınmaz. */

body.customer-app {
  color-scheme: light;
  color: #202938;
  background:
    radial-gradient(circle at top left, rgba(185, 149, 47, 0.16), transparent 28%),
    #F8F7F3;
}

.customer-app .header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #E5E7EB;
}

.customer-app .brand__name,
.customer-app .wizard-panel__title,
.customer-app .journey-card__title,
.customer-app .result__title,
.customer-app .form__title {
  color: #202938;
}

.customer-app .brand__tagline,
.customer-app .wizard-panel__text,
.customer-app .journey__copy span,
.customer-app .result__text,
.customer-app .form__subtitle,
.customer-app .left__subtitle,
.customer-app .social-follow__title,
.customer-app .label__hint,
.customer-app .order-items__table th,
.customer-app .order-items__empty {
  color: #3E4A5C;
}

.customer-app .label,
.customer-app .label label,
.customer-app .lang-pick__name {
  color: #1A2332;
}

.customer-app .journey-card,
.customer-app .glass,
.customer-app .order-wizard,
.customer-app .result {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  box-shadow: 0 16px 40px rgba(32, 41, 56, 0.06);
  color: #202938;
}

.customer-app .journey-card__eyebrow,
.customer-app .lang-pick__go,
.customer-app .review-list dt,
.customer-app .wizard-now__count {
  color: #6B5014;
}

.customer-app .journey__item,
.customer-app .wizard-steps__item,
.customer-app .review-list > div,
.customer-app .lang-pick__item,
.customer-app .order-track,
.customer-app .order-items {
  background: #FFFFFF;
  border-color: #E5E7EB;
  color: #202938;
}

.customer-app .wizard-steps__item.is-current {
  background: #B9952F;
  border-color: #B9952F;
  color: #FFFFFF;
}

.customer-app .wizard-steps__item.is-done,
.customer-app .journey__item.is-done {
  background: #F7F0D9;
  border-color: #E6D7A4;
  color: #202938;
}

.customer-app .control,
.customer-app .wizard-back,
.customer-app .review-edit {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #202938;
}

.customer-app .control {
  color: #1A2332;
  font-weight: 600;
}

.customer-app .control::placeholder {
  color: #5C6778;
  font-weight: 500;
}

.customer-app .btn-primary,
.customer-app .wizard-back,
.customer-app .review-edit,
.customer-app .lang-pick__item {
  touch-action: manipulation;
}

.customer-app .btn-primary {
  background: #8F7020;
  color: #FFFFFF;
  box-shadow: none;
  transform: none;
}

.customer-app .btn-primary:hover,
.customer-app .btn-primary:active {
  background: #7A6118;
  filter: none;
  transform: none;
}

.customer-app .wizard-back:hover,
.customer-app .wizard-back:active,
.customer-app .review-edit:hover,
.customer-app .lang-pick__item:hover {
  background: #F7F0D9;
}

.customer-app .journey__copy strong,
.customer-app .review-list dd,
.customer-app .order-track__row,
.customer-app .order-items__title,
.customer-app .order-items__table,
.customer-app .lang-pick__name {
  color: #202938;
}

.customer-app .order-track__badge {
  background: #F7F0D9;
  color: #7A6220;
}

.customer-app .order-items__table th,
.customer-app .order-items__table td {
  border-bottom-color: #E5E7EB;
}

.customer-app .lang__pill {
  color: #202938;
  border-color: #E5E7EB;
}

.customer-app .lang__pill.is-active {
  background: #B9952F;
  color: #FFFFFF;
}

.customer-app .error {
  color: #D64545;
}

.customer-app .result__notice,
.customer-app .iban-card {
  background: #F7F0D9;
  border: 1px solid #E6D7A4;
  color: #1A2332;
}

.customer-app .brand__mark,
.customer-app .brand__mark--image,
.customer-app .brand__mark--icon,
.customer-app .brand__mark--mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(160deg, #f3d56a, #b9952f);
  border: 1px solid #8F7020;
  color: #1C1408;
  box-shadow: none;
  overflow: hidden;
}

.customer-app .brand__mark .yb-mark {
  width: 58%;
  height: auto;
}

.customer-app .brand__mark--image {
  background: #FFFFFF;
  padding: 3px;
}

.customer-app .brand__mark--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #FFFFFF;
  border-radius: 8px;
}

.customer-app .result-section__title,
.customer-app .iban-holder-name,
.customer-app .iban,
.customer-app .review-list dd,
.customer-app .wizard-now__name {
  color: #1A2332;
}

.customer-app .result-section__hint,
.customer-app .iban-holder-label,
.customer-app .social-btn__label {
  color: #3E4A5C;
}

.customer-app .review-list dt,
.customer-app .iban-holder-label {
  color: #5C4310;
  font-weight: 700;
}

.customer-app .iban-holder-block {
  border-bottom-color: #E0C98A;
}

.customer-app .copy,
.customer-app .social-btn {
  background: #FFFFFF;
  color: #1A2332;
  border: 1px solid #D5D8E0;
  transform: none;
}

.customer-app .social-follow {
  border-top-color: #E5E7EB;
}

.customer-app .social-btn__icon svg {
  color: #FFFFFF;
}

.lang-select {
  display: none;
}

.wizard-now {
  display: none;
}

@media (max-width: 720px) {
  body.customer-app {
    overflow-x: hidden;
  }

  .customer-app .page {
    padding: 12px 0 calc(20px + env(safe-area-inset-bottom));
  }

  .customer-app .container {
    width: min(100% - 24px, 1080px);
  }

  .customer-app .header__inner {
    gap: 10px;
    min-width: 0;
  }

  .customer-app .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .customer-app .brand__text,
  .customer-app .brand__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .customer-app .lang--scroll {
    display: none;
  }

  .customer-app .lang-select {
    display: grid;
    gap: 2px;
    flex: 0 1 46%;
    min-width: 128px;
    max-width: 168px;
  }

  .customer-app .lang-select__label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #3E4A5C;
  }

  .customer-app .lang-select__control {
    width: 100%;
    height: 40px;
    padding: 0 30px 0 10px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background-color: #FFFFFF;
    background-image: linear-gradient(45deg, transparent 50%, #202938 50%), linear-gradient(135deg, #202938 50%, transparent 50%);
    background-position: calc(100% - 16px) 17px, calc(100% - 11px) 17px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    color: #202938;
    font: 700 0.92rem/1.2 inherit;
    appearance: none;
  }

  .customer-app .order-wizard .glass__body {
    padding: 16px 14px 18px;
  }

  .customer-app .wizard-steps,
  .customer-app .wizard-steps--4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0 0 10px;
  }

  .customer-app .wizard-steps__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
    min-height: 0;
    padding: 0 4px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #3E4A5C;
    text-align: center;
  }

  .customer-app .wizard-steps__item.is-current,
  .customer-app .wizard-steps__item.is-done {
    background: transparent;
    border: 0;
    color: #202938;
  }

  .customer-app .wizard-steps__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 13px;
    inset-inline-start: calc(50% + 16px);
    inset-inline-end: calc(-50% + 16px);
    height: 2px;
    background: #E5E7EB;
    z-index: 0;
  }

  .customer-app .wizard-steps__item.is-done:not(:last-child)::after {
    background: #E6D7A4;
  }

  .customer-app .wizard-steps__index {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 2px solid #E5E7EB;
    background: #FFFFFF;
    color: #3E4A5C;
    font-size: 0.75rem;
  }

  .customer-app .wizard-steps__item.is-current .wizard-steps__index {
    background: #B9952F;
    border-color: #B9952F;
    color: #FFFFFF;
  }

  .customer-app .wizard-steps__item.is-done .wizard-steps__index {
    background: #F7F0D9;
    border-color: #B9952F;
    color: #7A6220;
  }

  .customer-app .wizard-steps__label {
    display: none;
  }

  .customer-app .wizard-now {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #F7F0D9;
    color: #202938;
  }

  .customer-app .wizard-now__count {
    flex: none;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #5C4310;
  }

  .customer-app .wizard-now__name {
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 750;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .customer-app .wizard-panel__title {
    font-size: 1.35rem;
    overflow-wrap: anywhere;
  }

  .customer-app .lang-pick {
    display: grid;
    gap: 8px;
  }

  .customer-app .lang-pick__item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 52px;
    padding: 12px 14px;
    overflow: hidden;
  }

  .customer-app .lang-pick__flag {
    flex: none;
    font-size: 1.35rem;
    line-height: 1;
  }

  .customer-app .lang-pick__name {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1A2332;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .customer-app .lang-pick__go {
    display: none;
  }

  .customer-app .lang-pick__item::after {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    margin-inline-end: 4px;
    border-right: 2px solid #6B5014;
    border-bottom: 2px solid #6B5014;
    transform: rotate(-45deg);
  }

  [dir="rtl"] .customer-app .lang-pick__item::after {
    transform: rotate(135deg);
  }

  .customer-app .control {
    min-height: 48px;
    font-size: 16px;
  }

  .customer-app .wizard-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .customer-app .wizard-actions .btn-primary,
  .customer-app .wizard-back {
    width: 100%;
    min-width: 0;
  }

  .customer-app .review-list > div {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "label" "value" "edit";
    align-items: start;
  }

  .customer-app .review-list dd {
    overflow-wrap: anywhere;
    color: #1A2332;
    font-size: 1.05rem;
  }

  .customer-app .review-list dt {
    color: #5C4310;
  }

  .customer-app .iban-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .customer-app .iban,
  .customer-app .iban-holder-name,
  .customer-app .result__title,
  .customer-app .result__text,
  .customer-app .result__notice,
  .customer-app .result-section__title,
  .customer-app .result-section__hint {
    color: #1A2332;
  }

  .customer-app .result__text,
  .customer-app .result__notice,
  .customer-app .result-section__hint,
  .customer-app .iban-holder-label {
    color: #3E4A5C;
  }

  .customer-app .iban {
    font-size: 1rem;
    letter-spacing: 0;
    color: #1A2332;
  }

  .customer-app .copy {
    width: 100%;
    background: #FFFFFF;
    color: #1A2332;
  }

  .customer-app .review-edit {
    justify-self: start;
    margin-top: 6px;
  }

  [dir="rtl"] .customer-app .lang-select__control {
    padding: 0 10px 0 30px;
    background-position: 16px 17px, 11px 17px;
  }
}

.customer-app .wizard-panel.is-active {
  animation: yb-step 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.customer-app .wizard-steps__index,
.customer-app .btn-primary,
.customer-app .wizard-back,
.customer-app .lang-pick__item {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.customer-app #customer_done .result__body {
  text-align: center;
}

.customer-app #customer_done .result__notice,
.customer-app #customer_done .result-section,
.customer-app #customer_done .iban-card,
.customer-app #customer_done .social-follow {
  text-align: start;
}

.success-mark {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}

.success-mark__ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: rgba(22, 134, 91, 0.12);
  animation: success-pop 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.success-mark__ring::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(22, 134, 91, 0.45);
  animation: success-pulse 1.4s ease-out 0.55s 2;
}

.success-mark__svg {
  position: relative;
  width: 84px;
  height: 84px;
}

.success-mark__circle,
.success-mark__check {
  stroke: #16865B;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-mark__circle {
  stroke-width: 2.4;
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: success-draw 0.55s ease forwards 0.12s;
}

.success-mark__check {
  stroke-width: 3.6;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: success-draw 0.32s ease forwards 0.5s;
}

.customer-app #customer_done .result__title,
.customer-app #customer_done .result__text,
.customer-app #customer_done .result__notice,
.customer-app #customer_done .result-section {
  animation: yb-step 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.customer-app #customer_done .result__title { animation-delay: 0.32s; }
.customer-app #customer_done .result__text { animation-delay: 0.42s; }
.customer-app #customer_done .result__notice { animation-delay: 0.52s; }
.customer-app #customer_done #havale { animation-delay: 0.62s; }
.customer-app #customer_done #social { animation-delay: 0.74s; }

@keyframes yb-step {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes success-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes success-pop {
  from { opacity: 0; transform: scale(0.55); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes success-pulse {
  from { opacity: 0.65; transform: scale(0.86); }
  to { opacity: 0; transform: scale(1.28); }
}

@media (prefers-reduced-motion: reduce) {
  .customer-app .wizard-panel.is-active,
  .customer-app #customer_done .result__title,
  .customer-app #customer_done .result__text,
  .customer-app #customer_done .result__notice,
  .customer-app #customer_done .result-section,
  .success-mark__ring,
  .success-mark__ring::after,
  .success-mark__circle,
  .success-mark__check {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
  }
}
