/* Alıcı uygulaması — fırın paneli (bakery-panel.css) ile görsel uyum */

body.bakery-panel.recipient-panel .app-shell--bakery {
  background: #ffffff;
}

.recipient-panel__subtitle {
  margin: 8px 12px 0;
  font-size: 0.85rem;
  color: #6b5344;
  font-weight: 500;
  line-height: 1.45;
}

.recipient-panel__subtitle--sync {
  margin: 8px 8px 0;
  padding: 0 4px;
  font-size: 0.82rem;
}

.recipient-panel .bp-main--flush {
  padding-top: 6px;
}

/* İkincil — fırın panelindeki hayalet buton hissi */
.bp-btn--ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 16px;
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  background: transparent;
  color: #a64b2a;
  border: 1px solid #e0dcd6;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bp-btn--ghost:hover {
  background: #faf8f5;
  border-color: #d4ccc0;
  text-decoration: none;
}

/* Arama */
body.recipient-panel .search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #ddd8d0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin-bottom: 14px;
}

body.recipient-panel .search-bar input {
  border: none;
  background: transparent;
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1a1a1a;
}

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

body.recipient-panel .search-bar:focus-within {
  border-color: #c69c6d;
  box-shadow: 0 0 0 3px rgba(198, 156, 109, 0.2);
}

/* Gösterge + günlük bakiye */
body.recipient-panel .recipient-home__legend-box,
body.recipient-panel .recipient-home__daily-box {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #ebe3d5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

body.recipient-panel .recipient-home__daily-label {
  color: #1d2d50;
}

body.recipient-panel .recipient-home__daily-fill {
  background: linear-gradient(90deg, #c69c6d, #a64b2a);
}

/* Fırın kartları */
body.recipient-panel .bakery-card {
  border-radius: 14px;
  border: 1px solid #f0ebe4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
  background: #ffffff;
}

body.recipient-panel .bakery-card__name {
  color: #1d2d50;
  font-size: 1rem;
  font-weight: 700;
}

body.recipient-panel .bakery-card__stock {
  color: #6b5344;
  font-size: 0.88rem;
}

body.recipient-panel .bakery-card__askida-num {
  color: #a64b2a;
}

body.recipient-panel .bakery-card__actions .bp-btn--primary {
  width: 100%;
  text-align: center;
  text-decoration: none;
}

body.recipient-panel .bakery-card__detail {
  color: #6b5344;
  font-weight: 600;
  font-size: 0.82rem;
}

body.recipient-panel .bakery-card__detail:hover {
  color: #a64b2a;
}

/* Profil */
body.recipient-panel .profile-header {
  padding-bottom: 16px;
}

body.recipient-panel .avatar {
  background: linear-gradient(145deg, #e8e0f5 0%, #d4c4f0 100%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 3px solid #ffffff;
  outline: 1px solid #ebe3d5;
}

body.recipient-panel .profile-name {
  color: #1d2d50;
}

body.recipient-panel .profile-stat {
  color: #6b5344;
}

body.recipient-panel .profile-row {
  border-radius: 14px;
  border: 1px solid #f0ebe4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

body.recipient-panel .profile-row:hover {
  transform: none;
  background: #faf8f5;
}

body.recipient-panel .profile-row__left {
  color: #1d2d50;
}

body.recipient-panel .badge--tan {
  background: #efe3d5;
  color: #a64b2a;
}

/* Geçmiş */
body.recipient-panel .tx-item {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #f0ebe4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  align-items: center;
}

body.recipient-panel .tx-item__time {
  color: #6b5344;
}

body.recipient-panel .tx-item__title {
  color: #1d2d50;
  font-weight: 700;
}

body.recipient-panel .tx-item__qty {
  color: #1a1a1a;
}

/* Fırın ziyaret */
body.recipient-panel .recipient-visit__bakery-name {
  color: #1d2d50;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

body.recipient-panel .recipient-stock-ok {
  background: linear-gradient(165deg, #faf8f5 0%, #f4eee6 100%);
  border: 1px solid #e4d8ca;
  border-radius: 14px;
  padding: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #6b5344;
  box-shadow: 0 2px 12px rgba(29, 45, 80, 0.05);
}

/* Genel kart */
body.recipient-panel .card {
  border-radius: 14px;
  border: 1px solid #ebe3d5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  background: #ffffff;
}

/* Formlar */
body.recipient-panel .form-group label {
  color: #1d2d50;
  font-weight: 600;
}

body.recipient-panel .input-wrap input {
  border-radius: 12px;
  border-color: #ddd8d0;
}

body.recipient-panel .input-wrap input:focus {
  outline: none;
  border-color: #c69c6d;
  box-shadow: 0 0 0 3px rgba(198, 156, 109, 0.2);
}

body.recipient-panel .hint {
  color: #6b5344;
}

body.recipient-panel .hint a {
  color: #a64b2a;
  font-weight: 600;
}

/* Askıda bilgi sayfası */
body.recipient-panel .recipient-askida-sub {
  color: #6b5344;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 16px;
}

.recipient-panel__back {
  display: inline;
  color: #8a8580;
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
}

.recipient-panel__back:hover {
  color: #a64b2a;
  text-decoration: underline;
}

body.recipient-panel .bp-back-link {
  color: #8a8580;
}

body.recipient-panel .bp-back-link:hover {
  color: #a64b2a;
}
