/* Askıda Ekmek — Gelibolu Belediyesi — Mobil öncelikli arayüz */

:root {
  --color-primary: #a34d2d;
  --color-primary-dark: #8a3f24;
  --color-primary-pressed: #7a381f;
  --color-tan: #c99a66;
  --color-tan-light: #d4b896;
  --color-accent-led: #7a3d2e;
  --color-success: #2e8b57;
  --color-success-bg: #b2ebd2;
  --color-error: #c0392b;
  --color-error-bg: #fdeaea;
  --color-warning: #f39c12;
  --color-bg: #f5f5f5;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #6b6b6b;
  --color-border: #e0e0e0;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-btn: 0 4px 12px rgba(163, 77, 45, 0.35);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width-app: 430px;
  --tab-bar-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.45;
  color: var(--color-text);
  background: var(--color-bg);
}

a {
  color: var(--color-tan);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Uygulama kabuğu — masaüstünde telefon genişliğinde ortalanır */
.app-shell {
  min-height: 100vh;
  max-width: var(--max-width-app);
  margin: 0 auto;
  position: relative;
  background: var(--color-white);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
}

.app-shell--grey {
  background: var(--color-bg);
}

.app-shell--with-tab {
  padding-bottom: calc(var(--tab-bar-h) + env(safe-area-inset-bottom, 0));
}

/* Üst bar */
.top-bar {
  padding: 12px 20px 8px;
  text-align: center;
}

.top-bar__eyebrow {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.top-bar__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text);
}

.top-bar__subtitle {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.recipient-home__sync-note {
  margin: 8px 0 0;
  padding: 0 8px;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.45;
  font-weight: 500;
}

/* Landing hero (genel) */
.hero-landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Splash: görsel <img> ile tam ekran, kesilmeden (contain), arka plan görseli yok */
.page-splash-root,
.page-splash {
  margin: 0;
  padding: 0;
  height: 100%;
}

.page-splash {
  min-height: 100vh;
  min-height: 100dvh;
  background: #1a120e;
}

.app-shell--splash {
  max-width: none;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.hero-landing--splash {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-landing__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-landing__splash-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: none;
  object-fit: contain;
  object-position: center;
}

.hero-landing--splash .hero-landing__actions {
  position: relative;
  z-index: 1;
  margin-top: auto;
  margin-bottom: 0;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0));
}

.hero-landing__header {
  position: relative;
  z-index: 1;
  padding: 48px 24px 24px;
  text-align: left;
}

.hero-landing__eyebrow {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-landing__title {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.hero-landing__actions {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Kartlar */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 16px;
}

.card--tan {
  background: linear-gradient(145deg, #e8d4bc 0%, #d9c4a8 100%);
}

.card--beige {
  background: #faf6f0;
}

.card--muted {
  background: #f0ebe4;
}

/* İstatistik kartları (3 sütun) */
.stats-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.stat-pill {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-md);
  padding: 12px 8px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.stat-pill--tan {
  background: linear-gradient(160deg, #ddb892 0%, #c99a66 100%);
  color: var(--color-white);
}

.stat-pill--beige {
  background: #faf6f0;
  color: var(--color-text);
}

.stat-pill__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 6px;
  line-height: 1.2;
}

.stat-pill__value {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.stat-pill__icon {
  font-size: 1.1rem;
  margin-top: 4px;
}

/* Form */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-wrap input:focus {
  outline: none;
  border-color: var(--color-tan);
  box-shadow: 0 0 0 3px rgba(201, 154, 102, 0.25);
}

.input-wrap--password input {
  padding-right: 48px;
}

.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  font-size: 1.1rem;
  line-height: 1;
  opacity: 0.7;
}

.toggle-password:hover {
  opacity: 1;
}

.hint {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin: 8px 0 0;
  line-height: 1.4;
}

.warning-banner {
  font-size: 0.75rem;
  color: var(--color-error);
  text-align: center;
  margin-top: 12px;
  padding: 0 8px;
  line-height: 1.4;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s;
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--tan {
  background: linear-gradient(180deg, #d4a574 0%, var(--color-tan) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

.btn--tan:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(163, 77, 45, 0.4);
}

.btn--tan:active:not(:disabled) {
  transform: translateY(0);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn--white:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(180deg, #b85a38 0%, var(--color-primary) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(163, 77, 45, 0.45);
}

.btn--primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn--led {
  background: linear-gradient(180deg, #5c2d22 0%, var(--color-accent-led) 100%);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(90, 45, 35, 0.45);
}

.btn--led:hover:not(:disabled) {
  transform: translateY(-2px);
}

.btn--mint {
  background: var(--color-success-bg);
  color: #1e5c3d;
  font-weight: 700;
}

.btn--mint:hover:not(:disabled) {
  filter: brightness(0.97);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(163, 77, 45, 0.08);
}

.stack-gap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mt-auto {
  margin-top: auto;
}

.page-padding {
  padding: 20px 20px 24px;
}

/* LED bağlantı rozeti */
.led-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.led-status--disconnected {
  background: #fdeaea;
  color: var(--color-error);
}

.led-status--connected {
  background: var(--color-success-bg);
  color: #1e5c3d;
}

.led-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.led-status--connected .led-dot {
  animation: none;
  background: #27ae60;
}

/* Tab bar */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max-width-app);
  height: calc(var(--tab-bar-h) + env(safe-area-inset-bottom, 0));
  padding-bottom: env(safe-area-inset-bottom, 0);
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding-top: 10px;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.tab-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-muted);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.tab-bar__item--active {
  color: var(--color-primary);
}

.tab-bar__icon {
  font-size: 1.35rem;
  line-height: 1;
}

/* Arama */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.search-bar input {
  flex: 1;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  background: transparent;
  min-width: 0;
}

.search-bar input:focus {
  outline: none;
}

.legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-bottom: 12px;
}

.legend-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.legend-dot--green {
  background: #27ae60;
}

.legend-dot--yellow {
  background: #f1c40f;
}

/* Alıcı — fırın listesi: legend + günlük bakiye (yan yana) */
.recipient-home__status {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
  align-items: stretch;
}

.recipient-home__legend-box,
.recipient-home__daily-box {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  box-shadow: var(--shadow-card);
  font-size: 0.72rem;
  color: var(--color-muted);
  line-height: 1.45;
}

.recipient-home__legend-line {
  display: block;
}

.recipient-home__legend-line + .recipient-home__legend-line {
  margin-top: 6px;
}

.recipient-home__daily-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.recipient-home__daily-bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background: #eee;
  overflow: hidden;
}

.recipient-home__daily-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-tan), var(--color-primary));
  transition: width 0.4s ease;
}

@media (max-width: 360px) {
  .recipient-home__status {
    grid-template-columns: 1fr;
  }
}

/* Günlük bakiye çubuğu */
.daily-balance {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.daily-balance__label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.daily-balance__bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background: #eee;
  overflow: hidden;
}

.daily-balance__fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-tan), var(--color-primary));
  transition: width 0.4s ease;
}

/* Fırın kartları */
.bakery-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bakery-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bakery-card__icon {
  font-size: 2rem;
  line-height: 1;
}

.bakery-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.bakery-card__stock {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.bakery-card__askida-num {
  color: var(--color-primary);
  font-weight: 700;
}

.bakery-card__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bakery-card__actions .btn--primary {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.bakery-card__detail {
  font-size: 0.85rem;
  text-align: center;
  color: var(--color-muted);
  text-decoration: none;
}

.bakery-card__detail:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Profil */
.profile-header {
  text-align: center;
  padding: 8px 0 20px;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, #e8d4bc, #c99a66);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 12px;
  box-shadow: var(--shadow-card);
}

.profile-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.profile-stat {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.profile-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease;
}

.profile-row:hover {
  transform: scale(1.01);
}

.profile-row__left {
  font-weight: 600;
  font-size: 0.95rem;
}

.profile-row__chev {
  color: var(--color-muted);
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
}

.badge--green {
  background: var(--color-success-bg);
  color: #1e5c3d;
}

.badge--tan {
  background: #f0e6d8;
  color: var(--color-primary);
}

/* Segmented control */
.segmented {
  display: flex;
  background: #f0ebe4;
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 16px;
}

.segmented button {
  flex: 1;
  padding: 10px 12px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--color-muted);
  transition: background 0.2s, color 0.2s;
}

.segmented button.is-active {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Geçmiş liste */
.tx-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.tx-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.tx-item__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.tx-item__meta {
  flex: 1;
  min-width: 0;
}

.tx-item__time {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.tx-item__title {
  font-size: 0.9rem;
  font-weight: 700;
}

.tx-item__title--red {
  color: var(--color-error);
}

.tx-item__title--green {
  color: #1e7a4a;
}

.tx-item__qty {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.summary-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.summary-card {
  flex: 1;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

/* NFC ekranı */
.nfc-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: calc(100vh - 80px);
  padding: 24px 20px;
}

.nfc-icon-wrap {
  margin: 32px 0 24px;
  animation: pulse-scale 2s ease-in-out infinite;
}

.nfc-icon {
  width: 140px;
  height: 140px;
}

.nfc-title {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 700;
}

.nfc-hint {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
  max-width: 280px;
}

.nfc-listening {
  margin-top: auto;
  padding: 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
}

.nfc-listening span {
  animation: pulse-opacity 1.2s ease-in-out infinite;
}

/* Loading */
.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 24px;
}

.spinner {
  width: 56px;
  height: 56px;
  border: 4px solid #eee;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-text {
  margin-top: 20px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-muted);
}

/* Sonuç ekranları (onay / hata) */
.result-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 20px 32px;
  text-align: center;
}

.result-screen__title {
  margin: 0 0 24px;
  font-size: 1.35rem;
  font-weight: 700;
}

.status-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  animation: fade-in-up 0.5s ease;
}

.status-icon--ok {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.status-icon--err {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.user-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.user-inline .avatar {
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  margin: 0;
}

.info-stack {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  text-align: left;
  font-size: 0.9rem;
}

.info-row__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-row strong {
  color: var(--color-text);
}

.success-illustration {
  margin: 16px 0 24px;
  padding: 24px;
  background: linear-gradient(180deg, #faf6f0 0%, var(--color-white) 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  max-width: 320px;
  animation: scale-in 0.45s ease;
}

.success-illustration__emoji {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 8px;
}

.success-illustration__badge {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-success);
  letter-spacing: 0.05em;
}

.footer-msg {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 16px 0 0;
}

/* Inline form row (manuel bağış) */
.inline-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 400px) {
  .inline-form {
    flex-direction: row;
    align-items: flex-end;
  }

  .inline-form .form-group {
    flex: 1;
    margin-bottom: 0;
  }

  .inline-form .btn {
    width: auto;
    min-width: 140px;
  }
}

/* Animasyonlar */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

@keyframes pulse-scale {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes pulse-opacity {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in {
  animation: fade-in-up 0.4s ease;
}

/* İhtiyaç sahibi — Fırına gel / askıda alım */
.recipient-visit__bakery-name {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

.recipient-stock-alert {
  background: #fff8e6;
  border: 1px solid #f0e0b8;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #5c4a2a;
}

.recipient-stock-alert strong {
  display: block;
  margin-bottom: 6px;
  color: var(--color-text);
}

.recipient-stock-ok {
  background: var(--color-success-bg);
  border: 1px solid #9fd9b8;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #1a5c38;
}

.recipient-askida-page {
  text-align: center;
}

.recipient-askida-page .top-bar__title {
  font-size: 1.15rem;
  line-height: 1.3;
}

.recipient-askida-sub {
  margin: 8px 0 20px;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.recipient-askida-count {
  margin: 0 0 20px;
  padding: 16px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: 1rem;
}

.recipient-askida-count strong {
  font-size: 1.35rem;
  color: var(--color-primary);
}

.btn--take-bread {
  margin-bottom: 12px;
}

.btn--take-bread:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.recipient-askida-toast {
  min-height: 20px;
  font-size: 0.88rem;
  color: var(--color-success);
  font-weight: 600;
  margin-bottom: 8px;
}

.bakery-askida-manage {
  margin-top: 8px;
  border-top: 1px solid #ebe3d5;
  padding-top: 18px;
}

.bakery-askida-manage__title {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
  color: #1d2d50;
}

.bakery-give-log {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
}

.bakery-give-log li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  font-size: 0.8rem;
  background: #faf8f5;
  border-radius: 10px;
  margin-bottom: 8px;
  color: #4a4a4a;
}

.bakery-give-log__meta {
  color: var(--color-muted);
  font-size: 0.72rem;
  white-space: nowrap;
}

/* Erişilebilirlik: hareketi azalt */
@media (min-width: 768px) {
  body:not(.page-splash) {
    padding: 24px 16px;
  }

  .app-shell:not(.app-shell--splash) {
    border-radius: 24px;
    overflow: hidden;
    min-height: auto;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
  }

  .hero-landing:not(.hero-landing--splash) {
    min-height: min(100vh, 880px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Landing page styles are in landing.css */

