/* =========================================================
   Randevu Al — sabit buton, talep paneli, durum rozetleri
   (renk/font değişkenleri css/style.css'ten gelir)
   ========================================================= */

/* ---------- Sabit "Randevu Al" butonu (sağ alt) ---------- */
.book-fab {
  position: fixed; right: 1.6rem; bottom: 1.6rem; z-index: 95;
  display: inline-flex; align-items: center; gap: .65rem;
  height: 54px; padding: 0 1.5rem 0 1.25rem; border-radius: 999px;
  background: var(--gold); color: var(--white);
  font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: 0 16px 34px -12px rgba(167, 122, 10, .75);
  transition: background .3s, transform .4s var(--ease), box-shadow .4s;
  animation: book-pulse 2.4s var(--ease) 1.5s 2;
}
.book-fab i { font-size: 1.15rem; }
.book-fab:hover { background: var(--gold-dark); transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(167, 122, 10, .85); }
.book-fab.has-pending::after { /* bekleyen talep göstergesi */
  content: ''; position: absolute; top: 6px; right: 10px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--white); box-shadow: 0 0 0 2px var(--gold);
}
@keyframes book-pulse {
  0% { box-shadow: 0 0 0 0 rgba(184, 134, 11, .55), 0 16px 34px -12px rgba(167, 122, 10, .75); }
  70% { box-shadow: 0 0 0 16px rgba(184, 134, 11, 0), 0 16px 34px -12px rgba(167, 122, 10, .75); }
  100% { box-shadow: 0 0 0 0 rgba(184, 134, 11, 0), 0 16px 34px -12px rgba(167, 122, 10, .75); }
}
/* yukarı çık butonu randevu butonunun üstüne */
.has-book-fab .to-top { bottom: calc(1.6rem + 54px + .8rem); width: 46px; height: 46px; right: 1.6rem; }
.book-open .book-fab { opacity: 0; pointer-events: none; }

/* ---------- Tam ekran randevu ekranı ---------- */
.book-sheet {
  position: fixed; inset: 0; z-index: 250;
  display: flex; flex-direction: column;
  background: var(--parchment); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.6;
  opacity: 0; visibility: hidden; transform: translateY(24px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
}
.book-open .book-sheet { opacity: 1; visibility: visible; transform: none; }
.book-open { overflow: hidden; }

.book-head { background: var(--white); border-bottom: 1px solid var(--line); flex-shrink: 0; }
.book-head-inner {
  width: min(1180px, 100% - 3rem); margin-inline: auto;
  display: flex; align-items: center; gap: 2rem; min-height: 84px;
}
.book-head-title { flex-shrink: 0; }
.book-head .eyebrow { margin-bottom: .1rem; font-size: .62rem; }
.book-head h2 { margin: 0; font-size: 1.8rem; font-style: italic; }
.book-close { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--text-soft); background: var(--white); flex-shrink: 0; margin-left: auto; }
.book-close:hover { color: var(--gold-dark); border-color: var(--gold); }

.book-tabs { display: flex; gap: .4rem; }
.book-tabs[hidden] { display: none; }
.book-tabs button {
  padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid transparent;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-soft); transition: color .3s, border-color .3s, background .3s;
}
.book-tabs button:hover { color: var(--gold-dark); }
.book-tabs button.active { color: var(--gold-dark); border-color: var(--gold); background: var(--parchment); }
.book-count { font-weight: 500; letter-spacing: 0; }

.book-scroll { flex: 1; overflow-y: auto; }
.book-body { width: min(560px, 100% - 3rem); margin: 0 auto; padding: 3rem 0 4rem; }
.book-body:has(.book-layout) { width: min(1180px, 100% - 3rem); }

/* iki sütun: solda hizmet + takvim, sağda saat + bilgiler */
.book-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: start; }
.book-col { background: var(--white); border: 1px solid var(--line); padding: 2rem 2.2rem; }
.book-step-title {
  display: flex; align-items: center; gap: .7rem; margin: 1.8rem 0 1rem;
  font-size: 1.25rem; font-style: italic;
}
.book-col > .book-step-title:first-child { margin-top: 0; }
.book-step-title span {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-dark); font-size: .95rem;
}
.book-date-title { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold-dark); margin: -.3rem 0 .8rem; }

/* saat aralıkları */
.book-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: .4rem; }
.book-slots .book-hint { grid-column: 1 / -1; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot > span {
  display: flex; flex-direction: column; gap: .1rem; padding: .5rem .7rem;
  border: 1px solid var(--line); background: var(--white); transition: background .25s, color .25s, border-color .25s;
}
.slot strong { font-weight: 600; font-size: .82rem; white-space: nowrap; }
.slot small { font-size: .7rem; letter-spacing: .06em; color: #4f7a44; }
.slot:hover > span { border-color: var(--gold); }
.slot input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--white); }
.slot input:checked + span small { color: var(--white); }
.slot input:focus-visible + span { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.slot-dolu, .slot-kapali, .slot-gecmis { cursor: not-allowed; }
.slot-dolu input, .slot-kapali input, .slot-gecmis input { cursor: not-allowed; }
.slot-dolu > span, .slot-kapali > span, .slot-gecmis > span { background: var(--parchment); color: var(--text-soft); }
.slot-dolu:hover > span, .slot-kapali:hover > span, .slot-gecmis:hover > span { border-color: var(--line); }
.slot-dolu strong, .slot-kapali strong, .slot-gecmis strong { text-decoration: line-through; opacity: .6; }
.slot-dolu small { color: #a13d2d; }
.slot-kapali small, .slot-gecmis small { color: var(--text-soft); }

/* ---------- Takvim (müşteri + panel ortak) ---------- */
.cal { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .8rem; }
.cal-title { font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; text-transform: capitalize; }
.cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); color: var(--gold-dark); }
.cal-nav:hover:not(:disabled) { border-color: var(--gold); background: var(--parchment); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; }
.cal-wd { text-align: center; font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); padding-bottom: .3rem; }
.cal-cell {
  position: relative; height: clamp(40px, 5.2vw, 54px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  border: 1px solid var(--line); background: var(--white); font-size: .92rem; color: var(--text);
  transition: background .2s, border-color .2s, color .2s;
}
.cal-pad { border: 0; background: none; }
.cal-cell:not(:disabled):hover { border-color: var(--gold); }
.cal-cell:disabled { cursor: not-allowed; }
.cal-cell.is-today .cal-no { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
/* durum noktası */
.cal-cell::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.cal-pad::after { display: none; }
.cal-cell.d-musait::after { background: #6a9a5c; }
.cal-cell.d-az::after { background: var(--gold); }
.cal-cell.d-dolu { background: #f8ecea; color: #a13d2d; border-color: #efd3ce; }
.cal-cell.d-dolu::after { background: #a13d2d; }
.cal-cell.d-kapali {
  color: var(--text-soft);
  background: repeating-linear-gradient(-45deg, var(--parchment) 0 6px, #ece6dc 6px 7px);
}
.cal-cell.d-kapali .cal-no, .cal-cell.d-dolu .cal-no { text-decoration: line-through; }
.cal-cell.is-off, .cal-cell.d-gecmis { color: rgba(107, 86, 69, .35); background: transparent; border-color: transparent; }
.cal-cell.is-off::after { background: transparent; }
.cal-cell.is-selected, .cal-cell.is-selected:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.cal-cell.is-selected::after { background: var(--white); }

.cal-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1rem; font-size: .76rem; color: var(--text-soft); }
.cal-legend li { display: flex; align-items: center; gap: .45rem; }
.cal-legend i { width: 10px; height: 10px; border-radius: 50%; }
.lg-musait i { background: #6a9a5c; }
.lg-az i { background: var(--gold); }
.lg-dolu i { background: #a13d2d; }
.lg-kapali i { border-radius: 2px; background: repeating-linear-gradient(-45deg, var(--parchment) 0 2px, #cfc5b6 2px 3px); border: 1px solid #cfc5b6; }
.lg-blok i { border-radius: 2px; background: #3b2a1e; }

.book-lead { font-size: 1rem; margin-bottom: 1.4rem; }
.book-small { font-size: .78rem; color: var(--text-soft); margin-top: 1rem; line-height: 1.6; }
.book-small i { color: var(--gold); }
.book-small strong { color: var(--gold-dark); }
.book-wide { width: 100%; gap: .6rem; }
.book-sheet .btn-solid { background: var(--gold); color: var(--white); border-color: var(--gold); }
.book-sheet .btn-solid::before { background: var(--gold-dark); }
.book-sheet .btn-solid:disabled { opacity: .6; cursor: wait; }
.book-error {
  margin-bottom: 1.2rem; padding: .8rem 1rem; font-size: .84rem;
  background: #f8ecea; border-left: 2px solid #a13d2d; color: #7a2e22;
}

/* adımlar */
.book-steps { list-style: none; margin: 0 0 1.8rem; padding: 0; counter-reset: none; }
.book-steps li { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.book-steps li:last-child { border-bottom: 1px solid var(--line); }
.book-step-no {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--gold);
  font-family: var(--font-head); font-style: italic; color: var(--gold-dark);
}
.book-steps strong { display: block; font-weight: 600; font-size: .92rem; }
.book-steps p { font-size: .84rem; color: var(--text-soft); margin: .15rem 0 0; }

/* form */
.book-form .field { display: block; margin-bottom: 1.15rem; }
.book-form .field > span { display: block; margin-bottom: .45rem; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); }
.book-form input[type=text], .book-form input[type=tel], .book-form input[type=date], .book-form select, .book-form textarea {
  width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); background: var(--parchment);
  font: inherit; color: var(--text); outline: none; border-radius: 0; transition: border-color .3s, background .3s;
}
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { border-color: var(--gold); background: var(--white); }
.book-form select:disabled { opacity: .55; }
.book-form textarea { resize: vertical; }
.book-hint { margin-top: .4rem; font-size: .78rem; color: var(--gold-dark); min-height: 1.2em; }

/* KVKK onay kutusu */
.book-consent {
  display: flex; align-items: flex-start; gap: .7rem;
  margin: -.35rem 0 1.15rem; padding: .75rem .9rem;
  border: 1px solid var(--line); background: var(--white);
  font-size: .82rem; line-height: 1.55; color: var(--text);
  transition: border-color .3s, background .3s;
}
.book-consent input[type=checkbox] {
  flex-shrink: 0; width: 18px; height: 18px; margin: .1rem 0 0;
  accent-color: var(--gold); cursor: pointer;
}
.book-consent label { cursor: pointer; }
.book-consent.is-error { border-color: #a13d2d; background: #f8ecea; }
.kvkk-link {
  display: inline; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--gold-dark);
  text-decoration: underline; text-decoration-color: var(--gold-metal); text-underline-offset: 3px;
}
.kvkk-link:hover, .kvkk-link:focus-visible { color: var(--gold); outline: none; text-decoration-color: currentColor; }

/* KVKK aydınlatma metni penceresi (aynı sekmede, randevu ekranının üstünde) */
.kvkk-modal {
  position: fixed; inset: 0; z-index: 330;
  display: grid; place-items: center; padding: 1.5rem;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  font-family: var(--font-body); color: var(--text);
}
.kvkk-modal.open { opacity: 1; visibility: visible; }
.kvkk-backdrop { position: absolute; inset: 0; background: rgba(59, 42, 30, .55); }
.kvkk-box {
  position: relative; z-index: 1; width: min(760px, 100%); max-height: calc(100vh - 3rem);
  display: flex; flex-direction: column;
  background: var(--parchment); border-top: 3px solid var(--gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  transform: translateY(16px); transition: transform .35s var(--ease);
}
.kvkk-modal.open .kvkk-box { transform: none; }
.kvkk-head {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.4rem 1.6rem 1.1rem; background: var(--white); border-bottom: 1px solid var(--line);
}
.kvkk-head .eyebrow { margin: 0 0 .3rem; }
.kvkk-head h2 { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; line-height: 1.3; color: var(--text); }
.kvkk-date { margin: .35rem 0 0; font-size: .74rem; color: var(--text-soft); }
.kvkk-close {
  flex-shrink: 0; margin-left: auto; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white); color: var(--text-soft); cursor: pointer; font-size: 1rem;
}
.kvkk-close:hover, .kvkk-close:focus-visible { color: var(--gold-dark); border-color: var(--gold); outline: none; }
.kvkk-text { overflow-y: auto; padding: 1.3rem 1.6rem 1.8rem; font-size: .88rem; line-height: 1.75; }
.kvkk-text h3 { margin: 1.5rem 0 .5rem; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; color: var(--gold-dark); }
.kvkk-text p { margin: 0 0 .8rem; }
.kvkk-text ul { margin: 0 0 .8rem; padding-left: 1.2rem; list-style: disc; }
.kvkk-text li { margin-bottom: .35rem; }
.kvkk-text li::marker { color: var(--gold); }
.kvkk-text strong { font-weight: 600; }

@media (max-width: 600px) {
  .kvkk-modal { padding: 0; }
  .kvkk-box { max-height: 100vh; height: 100%; border-top: 0; }
  .kvkk-head { padding: 1rem 1.1rem .9rem; }
  .kvkk-head h2 { font-size: 1.12rem; }
  .kvkk-text { padding: 1rem 1.1rem 1.6rem; }
}
.book-hint.warn { color: #a13d2d; }

.book-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: .84rem; background: var(--white); transition: background .25s, color .25s, border-color .25s;
}
.chip:hover span { border-color: var(--gold); }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-dark); outline-offset: 2px; }
.chip.disabled { cursor: not-allowed; }
.chip.disabled span { opacity: .4; text-decoration: line-through; }

/* başarı */
.book-success { text-align: center; padding-top: 1.5rem; }
.book-success-icon {
  display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 1.2rem;
  border-radius: 50%; background: var(--gold); color: var(--white); font-size: 1.6rem;
  box-shadow: 0 16px 30px -14px rgba(167, 122, 10, .8);
}
.book-success h3 { font-size: 1.9rem; margin-bottom: .6rem; }
.book-when { font-family: var(--font-head); font-size: 1.15rem; color: var(--gold-dark); margin: .3rem 0 .6rem; }
.book-success .btn { margin-top: 1.6rem; }

/* taleplerim */
.book-empty { text-align: center; color: var(--text-soft); padding: 2.5rem 0; }
.book-empty i { font-size: 2rem; color: var(--gold); margin-bottom: .8rem; }
.book-empty .btn { margin-top: 1.2rem; }
.book-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.book-item { padding: 1rem 1.1rem; border: 1px solid var(--line); border-left: 3px solid var(--wheat); background: var(--white); }
.book-item.status-onaylandi { border-left-color: #5b8a4f; }
.book-item.status-reddedildi { border-left-color: #a13d2d; }
.book-item.status-bekliyor { border-left-color: var(--gold); }
.book-item.is-past { opacity: .6; }
.book-item-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.book-item strong { font-weight: 600; font-size: .92rem; }
.book-item p { font-size: .84rem; color: var(--text-soft); margin: .15rem 0 0; }

/* ---------- Profil menüsü (navbar sağ üst) ---------- */
.profile-slot { position: relative; display: flex; align-items: center; }
.profile-btn {
  position: relative; display: flex; align-items: center; gap: .35rem; height: 40px; padding: 3px 10px 3px 3px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  transition: border-color .3s, box-shadow .3s;
}
.profile-btn:hover, .profile-btn[aria-expanded="true"] { border-color: var(--gold); box-shadow: 0 8px 20px -12px rgba(167, 122, 10, .6); }
.profile-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.avatar-initials {
  display: inline-grid; place-items: center; background: var(--gold); color: var(--white);
  font-family: var(--font-head); font-size: .85rem; letter-spacing: .02em;
}
.profile-caret { font-size: .6rem; color: var(--text-soft); transition: transform .3s var(--ease); }
.profile-btn[aria-expanded="true"] .profile-caret { transform: rotate(180deg); }
.profile-dot { position: absolute; top: 1px; left: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 2px var(--white); }

.profile-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 120;
  width: 280px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 24px 50px -20px rgba(59, 42, 30, .35);
  opacity: 0; transform: translateY(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease);
  font-family: var(--font-body); text-transform: none; letter-spacing: 0;
}
.profile-menu.open { opacity: 1; transform: none; }
.profile-menu::before { /* gold köşe detayı */
  content: ''; position: absolute; top: -1px; right: -1px; width: 36px; height: 36px;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); pointer-events: none;
}
.pm-head { display: flex; align-items: center; gap: .8rem; padding: 1.1rem 1.1rem 1rem; background: var(--parchment); border-bottom: 1px solid var(--line); }
.pm-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; font-size: 1.05rem; }
.pm-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.pm-who strong { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-who span { font-size: .74rem; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-badge { align-self: flex-start; margin-top: .3rem; padding: .1rem .55rem; border-radius: 999px; background: var(--gold); color: var(--white); font-style: normal; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.pm-group { padding: .35rem 0; }
.pm-group + .pm-group { border-top: 1px solid var(--line); }
.pm-item {
  display: flex; align-items: center; gap: .8rem; width: 100%; padding: .65rem 1.1rem;
  font-size: .86rem; color: var(--text); text-align: left; transition: background .2s, color .2s;
}
.pm-item i { width: 18px; text-align: center; color: var(--gold); }
.pm-item span:first-of-type { flex: 1; }
.pm-item:hover, .pm-item:focus-visible { background: var(--parchment); color: var(--gold-dark); outline: none; }
.pm-count { font-size: .68rem; font-weight: 600; padding: .1rem .5rem; border-radius: 999px; background: var(--parchment); border: 1px solid var(--line); color: var(--text-soft); }
.pm-count.has-pending { background: #fbf3dc; border-color: rgba(184, 134, 11, .35); color: #8a6508; }
.pm-danger, .pm-danger i { color: #a13d2d; }
.pm-danger:hover, .pm-danger:focus-visible { background: #f8ecea; color: #a13d2d; }

.profile-dot.is-new {
  top: -4px; left: 22px; width: auto; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; background: #a13d2d; color: var(--white);
  font-size: .62rem; font-weight: 600; line-height: 1;
}
.pm-count.is-new { background: #a13d2d; border-color: #a13d2d; color: var(--white); }

/* ---------- Site içi bildirim kartları (sağ üst) ---------- */
.notice-stack {
  position: fixed; top: calc(var(--nav-h) + 12px); right: 1.6rem; z-index: 130;
  display: flex; flex-direction: column; gap: .7rem; width: min(370px, calc(100% - 2rem)); pointer-events: none;
}
.notice {
  position: relative; display: flex; gap: .9rem; padding: 1rem 2.6rem 1rem 1rem; pointer-events: auto;
  background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold);
  box-shadow: 0 24px 50px -22px rgba(59, 42, 30, .45);
  font-family: var(--font-body); font-size: .86rem; line-height: 1.5; color: var(--text);
  opacity: 0; transform: translateX(24px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.notice.in { opacity: 1; transform: none; }
.notice.tone-ok { border-left-color: #5b8a4f; }
.notice.tone-no { border-left-color: #a13d2d; }
.notice-icon { font-size: 1.4rem; line-height: 1; padding-top: .1rem; color: var(--gold); }
.tone-ok .notice-icon { color: #5b8a4f; }
.tone-no .notice-icon { color: #a13d2d; }
.notice-body { min-width: 0; }
.notice-body strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.08rem; margin-bottom: .15rem; }
.notice-body p { color: var(--text-soft); margin: 0; }
.notice-when { color: var(--gold-dark) !important; font-weight: 500; }
.notice-dates { list-style: none; margin: .2rem 0 0; padding: 0; color: var(--gold-dark); font-size: .8rem; }
.notice-hint { font-size: .78rem; margin-top: .3rem !important; }
.notice-actions { display: flex; gap: 1rem; margin-top: .6rem; }
.notice-link { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); padding-bottom: 2px; border-bottom: 1px solid var(--gold); }
.notice-link:hover { color: var(--text); }
.notice-x { position: absolute; top: .6rem; right: .6rem; width: 28px; height: 28px; border-radius: 50%; color: var(--text-soft); }
.notice-x:hover { background: var(--parchment); color: var(--text); }
.book-open .notice-stack { display: none; }

/* Taleplerim: yeni gelen değişiklik */
.book-item.is-new { background: #fffbef; box-shadow: 0 0 0 1px var(--gold) inset; }
.new-pill {
  display: inline-block; margin-left: .5rem; padding: .1rem .5rem; border-radius: 999px;
  background: #a13d2d; color: var(--white); font-size: .6rem; letter-spacing: .08em;
}

/* ---------- Ortak rozetler (panel de kullanır) ---------- */
.type-tag { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.type-tag i { color: var(--gold); }
.status-badge {
  display: inline-block; padding: .2rem .7rem; border-radius: 999px;
  font-size: .68rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap;
}
.s-bekliyor { background: #fbf3dc; color: #8a6508; }
.s-onaylandi { background: #e8f1e4; color: #3f6b34; }
.s-reddedildi { background: #f8ecea; color: #a13d2d; }

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
  .book-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .profile-btn { padding-right: 3px; }
  .profile-caret { display: none; }
  .notice-stack { top: calc(var(--nav-h) - 4px); right: 1rem; left: 1rem; width: auto; }
  .profile-menu { position: fixed; top: calc(var(--nav-h) - 8px); left: 1rem; right: 1rem; width: auto; }
  .book-head-inner { width: calc(100% - 2rem); flex-wrap: wrap; gap: .4rem 1rem; padding: .8rem 0; min-height: 0; }
  .book-head h2 { font-size: 1.45rem; }
  .book-tabs { order: 3; width: 100%; }
  .book-tabs button { flex: 1; padding: .5rem .4rem; font-size: .64rem; }
  .book-body, .book-body:has(.book-layout) { width: calc(100% - 2rem); padding: 1.4rem 0 3rem; }
  .book-col { padding: 1.4rem 1.1rem; }
  .cal-grid { gap: .2rem; }
  .cal-cell { font-size: .84rem; }
  .book-slots { grid-template-columns: repeat(3, 1fr); }
  .slot > span { padding: .45rem .4rem; align-items: center; text-align: center; }
  .slot strong { font-size: .72rem; letter-spacing: -.01em; }
  .book-fab { right: 1rem; bottom: 1rem; height: 50px; padding: 0 1.2rem 0 1rem; font-size: .72rem; }
  .has-book-fab .to-top { right: 1rem; bottom: calc(1rem + 50px + .7rem); }
}
