/* Mobil menü stilleri: public/css/mobile-nav.css */
.pk-flash {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  max-width: 90vw;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--pk-shadow-lg);
}
.pk-flash--ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.pk-flash--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.pk-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--pk-border);
  border-radius: 10px;
  font-size: 0.9375rem;
  background: #fff;
}
.pk-input:focus {
  outline: 2px solid var(--pk-primary-light);
  border-color: var(--pk-primary);
}
.pk-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--pk-primary);
  text-decoration: none;
}
.pk-link:hover { color: var(--pk-primary-dark); }
.pk-stat-card {
  padding: 1rem 1.25rem;
  border-radius: var(--pk-radius);
  background: #fff;
  border: 1px solid var(--pk-border);
}
.pk-stat-card span { display: block; font-size: 0.75rem; color: var(--pk-muted); }
.pk-stat-card strong { font-size: 1.5rem; font-weight: 800; }
.pk-card {
  border-radius: var(--pk-radius);
  background: #fff;
  border: 1px solid var(--pk-border);
  box-shadow: var(--pk-shadow);
}
.uzmanlar-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .uzmanlar-layout {
    grid-template-columns: 260px 1fr;
    align-items: start;
  }
  .uzmanlar-filters {
    position: sticky;
    top: 6rem;
  }
}
.bk-filter-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--pk-border);
  font-size: 0.875rem;
  font-weight: 600;
  background: #fff;
}
.bk-filter-item--active {
  border-color: var(--pk-primary);
  background: var(--pk-primary-soft);
  color: var(--pk-primary-dark);
}

/* İl / ilçe seçici (site) — sade */
.pk-loc-picker {
  width: 100%;
  min-width: 0;
}

.pk-loc-picker__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.pk-loc-picker__col {
  min-width: 0;
}

.pk-loc-picker__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pk-muted);
}

.pk-loc-picker .pk-select {
  min-height: 44px;
  padding: 0.6rem 2rem 0.6rem 0.75rem;
  font-size: 0.9375rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  appearance: none;
  -webkit-appearance: none;
}

.pk-loc-picker .pk-select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background-color: #f8fafc;
}

.pk-hero-search__location {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--pk-border);
  background: #fafcfc;
}

.pk-hero-search__location .pk-loc-picker__row {
  gap: 0.65rem;
}

@media (max-width: 479.98px) {
  .pk-loc-picker__row {
    grid-template-columns: 1fr;
  }
}

.uzmanlar-filters .pk-loc-picker__row {
  grid-template-columns: 1fr;
}

.cookie-consent {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 80;
  max-width: 28rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--pk-border);
  box-shadow: var(--pk-shadow-lg);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
/* Randevu kartı sticky kuralları psikologa.css içinde (expert-booking-card) */

/* Site header */
.pk-header {
  position: relative;
  overflow-x: clip;
}

.pk-header .pk-container {
  max-width: 100%;
}

.pk-header__bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  height: 72px;
  min-height: 72px;
  width: 100%;
  min-width: 0;
}

.pk-header__menu-btn {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--pk-border);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--pk-text);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pk-header__menu-btn:hover {
  background: var(--pk-primary-soft);
  border-color: var(--pk-primary);
  color: var(--pk-primary-dark);
}

.pk-header__logo {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.pk-header__logo .pk-logo__img {
  display: block;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.pk-header__nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

/* Header arama */
.pk-header__search {
  display: none;
  align-items: center;
  gap: 0;
  min-width: 12rem;
  padding: 0.4rem 0.45rem 0.4rem 1rem;
  border: 1px solid rgba(0, 109, 119, 0.12);
  border-radius: 999px;
  background: #f6fafa;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pk-header__search:focus-within {
  border-color: rgba(0, 109, 119, 0.4);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 109, 119, 0.1);
}

.pk-header__search-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--pk-muted);
}

.pk-header__search-input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--pk-text);
  padding: 0.5rem 0.55rem;
}

.pk-header__search-input::placeholder {
  color: #94a3b8;
}

.pk-header__search-submit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: 50%;
  background: var(--pk-primary);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.pk-header__search-submit:hover {
  background: var(--pk-primary-dark);
  transform: scale(1.04);
}

.pk-header__search-toggle {
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.375rem;
  height: 2.375rem;
  border: 1px solid var(--pk-border);
  border-radius: 0.75rem;
  background: #fff;
  color: var(--pk-text);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pk-header__search-toggle:hover,
.pk-header__search-toggle[aria-expanded="true"] {
  background: var(--pk-primary-soft);
  border-color: var(--pk-primary);
  color: var(--pk-primary-dark);
}

.pk-header__search-panel {
  border-top: 1px solid rgba(0, 109, 119, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.pk-header__search-panel[hidden] {
  display: none;
}

.pk-header__search--panel {
  display: flex;
  max-width: none;
  margin: 0.75rem 0;
  padding: 0.45rem 0.45rem 0.45rem 1rem;
  border-radius: 14px;
}

.pk-header__search-panel-btn {
  flex-shrink: 0;
  margin-left: 0.25rem;
  border-radius: 10px !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.8125rem !important;
  min-height: 2.25rem;
}

.pk-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 0;
}

.pk-header__guest-desktop {
  padding-right: 0.5rem;
  margin-right: 0.15rem;
  border-right: 1px solid var(--pk-border);
}

.pk-header__guest-mobile,
.pk-header__auth-mobile {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.pk-header__guest-desktop,
.pk-header__auth-desktop {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.pk-header__text-link {
  padding: 0.4rem 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pk-muted);
  text-decoration: none;
  white-space: nowrap;
}

.pk-header__text-link:hover {
  color: var(--pk-primary-dark);
}

.pk-header__register-btn {
  padding: 0.45rem 0.7rem !important;
  font-size: 0.8125rem !important;
  min-height: 2.375rem;
  white-space: nowrap;
}

.pk-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  min-height: 2.5rem;
  white-space: nowrap;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 109, 119, 0.22);
}

.pk-header__cta:hover {
  box-shadow: 0 6px 18px rgba(0, 109, 119, 0.28);
}

.pk-header__cta-ico {
  font-size: 1.05rem;
  line-height: 1;
}

.pk-header__cta-short {
  display: none;
}

@media (max-width: 1023.98px) {
  .pk-header__cta-ico {
    display: none;
  }
}

@media (max-width: 1023.98px) {
  .pk-header .pk-container {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .pk-header__bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "menu logo actions";
    column-gap: 0.5rem;
    align-items: center;
  }

  .pk-header__menu-btn {
    display: inline-flex;
    grid-area: menu;
  }

  .pk-header__logo {
    grid-area: logo;
    flex: none;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .pk-header__nav {
    display: none;
  }

  .pk-header__actions {
    grid-area: actions;
    margin-left: 0;
    justify-self: end;
    flex-shrink: 0;
    max-width: 100%;
  }

  .pk-header__search-toggle {
    display: inline-flex;
  }

  .pk-header__guest-mobile {
    display: flex;
    flex-shrink: 0;
  }

  .pk-header__auth-mobile {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
    font-size: 0.8125rem !important;
    flex-shrink: 0;
  }

  .pk-header__auth-mobile i {
    font-size: 1rem;
  }

  .pk-header__logo .pk-logo__img {
    height: 32px;
    max-width: min(128px, 100%);
  }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  .pk-header__actions {
    gap: 0.5rem;
  }

  .pk-header__guest-mobile {
    gap: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .pk-header__bar {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas: "logo nav search actions";
    align-items: center;
    column-gap: 0.75rem;
    position: relative;
  }

  .pk-header__logo {
    grid-area: logo;
    flex: none;
    margin-right: 0;
    min-width: 0;
  }

  .pk-header__logo .pk-logo__img {
    height: 38px;
    max-width: 168px;
  }

  .pk-header__nav {
    grid-area: nav;
    display: flex;
    margin-left: 0;
    flex-shrink: 1;
    min-width: 0;
    padding: 0;
  }

  .pk-header__search {
    grid-area: search;
    display: flex;
    position: static;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0.4rem 0.45rem 0.4rem 0.85rem;
    z-index: auto;
    justify-self: stretch;
  }

  .pk-header__search-input {
    font-size: 0.9375rem;
    padding: 0.5rem 0.55rem;
  }

  .pk-header__search-icon {
    font-size: 1.125rem;
  }

  .pk-header__search-submit {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.05rem;
  }

  .pk-header__search-toggle,
  .pk-header__search-panel {
    display: none !important;
  }

  .pk-header__actions {
    grid-area: actions;
    position: static;
    z-index: auto;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 0;
    justify-self: end;
    min-width: 0;
  }

  .pk-header__guest-desktop {
    display: flex;
    flex-shrink: 0;
  }

  .pk-header__auth-desktop {
    display: block;
    flex-shrink: 0;
    padding-right: 0.5rem;
    margin-right: 0.15rem;
    border-right: 1px solid var(--pk-border);
  }

  .pk-header__auth-desktop .pk-header-auth {
    gap: 0.45rem;
    flex-wrap: nowrap;
  }

  .pk-header__auth-desktop .pk-btn {
    border-radius: 999px;
    min-height: 2.5rem;
    font-size: 0.8125rem;
  }

  .pk-header__cta {
    font-size: 0.875rem;
    padding: 0.55rem 1.15rem;
    flex-shrink: 0;
  }

  .pk-header__cta-ico {
    display: inline-flex;
  }
}

@media (min-width: 1024px) and (max-width: 1279.98px) {
  .pk-header__bar {
    column-gap: 0.5rem;
  }

  .pk-header__logo .pk-logo__img {
    height: 34px;
    max-width: 140px;
  }

  .pk-nav-link {
    padding: 0.35rem 0.55rem;
    font-size: 0.8125rem;
  }

  .pk-header__search {
    padding-left: 0.75rem;
  }

  .pk-header__search-input {
    font-size: 0.875rem;
    padding: 0.45rem 0.4rem;
  }

  .pk-header__search-input::placeholder {
    font-size: 0.8125rem;
  }

  .pk-header__guest-desktop {
    gap: 0.35rem;
    padding-right: 0.35rem;
    margin-right: 0.1rem;
  }

  .pk-header__guest-desktop .pk-btn {
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
    font-size: 0.75rem !important;
    min-height: 2.25rem;
  }

  .pk-header__auth-desktop .pk-header-auth {
    gap: 0.35rem;
  }

  .pk-header-auth .pk-btn {
    min-height: 2.25rem;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    font-size: 0.75rem;
  }

  .pk-header__cta {
    font-size: 0.8125rem;
    padding: 0.5rem 0.85rem;
    min-height: 2.25rem;
  }

  .pk-header__cta-label--long {
    display: none;
  }

  .pk-header__cta-short {
    display: inline;
  }

  .pk-header-auth__logout-label {
    display: none;
  }

  .pk-header-auth form button {
    padding-left: 0.55rem !important;
    padding-right: 0.55rem !important;
  }
}

@media (min-width: 1280px) {
  .pk-header__search-input {
    font-size: 1rem;
    padding: 0.55rem 0.6rem;
  }

  .pk-header__search-icon {
    font-size: 1.25rem;
  }

  .pk-header__search-submit {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.15rem;
  }

  .pk-header__actions {
    gap: 0.65rem;
  }

  .pk-header__auth-desktop .pk-header-auth {
    gap: 0.5rem;
  }
}

/* Orta dar telefon: kısa CTA, logo biraz küçük */
@media (max-width: 479.98px) {
  .pk-header__guest-mobile {
    display: none !important;
  }

  .pk-header__bar {
    column-gap: 0.4rem;
  }

  .pk-header__logo .pk-logo__img {
    height: 30px;
    max-width: min(108px, 100%);
  }

  .pk-header__cta-label--long {
    display: none;
  }

  .pk-header__cta-short {
    display: inline;
  }

  .pk-header__auth-mobile {
    position: relative;
    width: 2.375rem;
    height: 2.375rem;
    padding: 0 !important;
    justify-content: center;
    border-radius: 0.75rem;
  }

  .pk-header__auth-mobile-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* Çok dar telefon: yalnızca menü + logo + ikon CTA */
@media (max-width: 379.98px) {
  .pk-header__bar {
    column-gap: 0.35rem;
  }

  .pk-header__logo .pk-logo__img {
    height: 28px;
    max-width: min(92px, 100%);
  }

  .pk-header__cta-short,
  .pk-header__cta-label--long {
    display: none !important;
  }

  .pk-header__cta-ico {
    display: inline-flex !important;
    font-size: 1.2rem;
    line-height: 1;
  }

  .pk-header__cta {
    width: 2.375rem;
    height: 2.375rem;
    min-height: 2.375rem;
    padding: 0 !important;
    justify-content: center;
    border-radius: 0.75rem;
  }

  .pk-header__auth-mobile {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .pk-header__bar {
    height: 56px;
    min-height: 56px;
  }
}

/* Header kayıt menüsü */
.pk-header-auth .pk-btn {
  min-height: 2.5rem;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
}

.pk-header-patient .pk-btn--outline {
  padding: 0.4rem 0.75rem;
  gap: 0.35rem;
}
.pk-header-patient .pk-user-bar {
  flex-shrink: 0;
}

.pk-header-register {
  position: relative;
}

.pk-header-register--compact .pk-header-register__menu {
  right: 0;
  left: auto;
  min-width: min(280px, calc(100vw - 1.5rem));
}

.pk-header-register__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 60;
  min-width: 260px;
  padding: 0.5rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 109, 119, 0.1);
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
.pk-header-register__menu[hidden] {
  display: none;
}
.pk-header-register.is-open .pk-header-register__menu {
  display: block;
}
.pk-header-register__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--pk-text);
  transition: background 0.15s ease;
}
.pk-header-register__item:hover {
  background: var(--pk-primary-soft);
}
.pk-header-register__item i {
  margin-top: 0.15rem;
  font-size: 1.25rem;
  color: var(--pk-primary);
}
.pk-header-register__item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
}
.pk-header-register__item small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--pk-muted);
  font-weight: 400;
}
