/**
 * ADiyetisyen — marka rengi zorlaması (Bootstrap / eski teal / mor kalıntıları ezer)
 * Bu dosya her zaman EN SON yüklenmeli.
 */
:root,
.ps-shell-body,
body {
  --brand: #16a34a;
  --brand-dark: #15803d;
  --brand-darker: #166534;
  --brand-soft: #f0fdf4;
  --brand-muted: #dcfce7;

  --teal-50: #f0fdf4;
  --teal-100: #dcfce7;
  --teal-200: #bbf7d0;
  --teal-300: #86efac;
  --teal-400: #4ade80;
  --teal-500: #22c55e;
  --teal-600: #16a34a;
  --teal-700: #15803d;
  --teal-800: #166534;
  --teal-900: #14532d;
  --brand-teal: #18a048;

  --primary: #16a34a;
  --primary-dark: #15803d;
  --primary-light: #f0fdf4;
  --pk-primary: #16a34a;
  --pk-primary-dark: #15803d;
  --pk-primary-light: #dcfce7;
  --pk-primary-soft: #f0fdf4;
  --ps-primary: #16a34a;
  --ps-primary-dark: #15803d;
  --ps-sidebar-bg1: #15803d;
  --ps-sidebar-bg2: #052e16;
  --ps-teal-700: #15803d;
  --ps-teal-600: #22c55e;
  --ps-teal-50: #f0fdf4;
  --adm-primary: #15803d;
  --adm-primary-hover: #16a34a;
  --adm-primary-soft: #f0fdf4;
  --adm-primary-muted: #dcfce7;
  --adm-sidebar-1: #15803d;
  --adm-sidebar-2: #052e16;

  --bs-primary: #16a34a !important;
  --bs-primary-rgb: 22, 163, 74 !important;
  --bs-primary-text-emphasis: #14532d !important;
  --bs-primary-bg-subtle: #f0fdf4 !important;
  --bs-primary-border-subtle: #bbf7d0 !important;
  --bs-link-color: #15803d !important;
  --bs-link-hover-color: #166534 !important;
  --bs-link-color-rgb: 21, 128, 61 !important;
  --bs-link-hover-color-rgb: 22, 101, 52 !important;
  --bs-success: #16a34a !important;
  --bs-success-rgb: 22, 163, 74 !important;
  --bs-focus-ring-color: rgba(22, 163, 74, 0.25) !important;
  --bs-info: #16a34a !important;
  --bs-info-rgb: 22, 163, 74 !important;
}

/* Bootstrap butonları — CDN değerlerini tamamen ez */
.btn-primary,
.btn-adm-primary,
a.btn-primary,
button.btn-primary,
input.btn-primary {
  --bs-btn-color: #fff !important;
  --bs-btn-bg: #16a34a !important;
  --bs-btn-border-color: #15803d !important;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-hover-bg: #15803d !important;
  --bs-btn-hover-border-color: #166534 !important;
  --bs-btn-focus-shadow-rgb: 22, 163, 74 !important;
  --bs-btn-active-color: #fff !important;
  --bs-btn-active-bg: #15803d !important;
  --bs-btn-active-border-color: #166534 !important;
  --bs-btn-disabled-color: #fff !important;
  --bs-btn-disabled-bg: #16a34a !important;
  --bs-btn-disabled-border-color: #16a34a !important;
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
  border-color: #15803d !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-adm-primary:hover,
.btn-adm-primary:focus {
  background: linear-gradient(135deg, #15803d, #166534) !important;
  border-color: #166534 !important;
  color: #fff !important;
}

.btn-outline-primary {
  --bs-btn-color: #15803d !important;
  --bs-btn-border-color: #86efac !important;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-hover-bg: #16a34a !important;
  --bs-btn-hover-border-color: #16a34a !important;
  --bs-btn-active-color: #fff !important;
  --bs-btn-active-bg: #15803d !important;
  --bs-btn-active-border-color: #15803d !important;
  --bs-btn-focus-shadow-rgb: 22, 163, 74 !important;
  color: #15803d !important;
  border-color: #86efac !important;
  background: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #fff !important;
}

.btn-success {
  --bs-btn-bg: #16a34a !important;
  --bs-btn-border-color: #15803d !important;
  --bs-btn-hover-bg: #15803d !important;
  background-color: #16a34a !important;
  border-color: #15803d !important;
}

.text-primary,
.link-primary,
a.link-primary {
  color: #15803d !important;
}
.link-primary:hover,
a.link-primary:hover {
  color: #166534 !important;
}
.bg-primary {
  background-color: #16a34a !important;
}
.border-primary {
  border-color: #16a34a !important;
}
.bg-success {
  background-color: #16a34a !important;
}
.text-success {
  color: #15803d !important;
}

.form-check-input:checked {
  background-color: #16a34a !important;
  border-color: #16a34a !important;
}
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: #4ade80 !important;
  box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.18) !important;
}

.nav-link.active,
.nav-pills .nav-link.active,
.page-link.active,
.active > .page-link {
  background-color: #16a34a !important;
  border-color: #16a34a !important;
}
.page-link {
  color: #15803d;
}
.page-link:hover {
  color: #166534;
}

.progress-bar {
  background-color: #16a34a !important;
}
.spinner-border.text-primary,
.spinner-grow.text-primary {
  color: #16a34a !important;
}

/* Site header / genel CTA */
.header-search__btn,
.btn-primary {
  accent-color: #16a34a;
}
a {
  accent-color: #16a34a;
}

/* SweetAlert2 */
.swal2-confirm.swal2-styled {
  background-color: #16a34a !important;
  border-color: #15803d !important;
}
.swal2-confirm.swal2-styled:focus {
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.35) !important;
}

/* Toastify success-ish */
.toastify {
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
}

/* Randevu Al / uzman kartı CTA — eski teal (mavi-yeşil) hover’ı ezer */
.pk-home-expert__cta:not(.pk-home-expert__cta--outline),
a.pk-home-expert__cta:not(.pk-home-expert__cta--outline) {
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
  color: #fff !important;
  border-color: #15803d !important;
}
.pk-home-expert__cta--bar {
  background: #16a34a !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
.pk-home-expert:hover .pk-home-expert__cta:not(.pk-home-expert__cta--outline) {
  background: linear-gradient(135deg, #15803d, #166534) !important;
  color: #fff !important;
}
.pk-home-expert--bar:hover .pk-home-expert__cta--bar {
  background: #15803d !important;
}
.pk-home-expert__cta--outline {
  background: #fff !important;
  color: #15803d !important;
  border-color: rgba(22, 163, 74, 0.28) !important;
}
.pk-home-expert--more:hover .pk-home-expert__cta--outline {
  background: #16a34a !important;
  color: #fff !important;
  border-color: transparent !important;
}
.xl-card--expert .xl-card__cta {
  background: #f0fdf4 !important;
  color: #166534 !important;
}
.xl-card--expert:hover .xl-card__cta {
  background: #dcfce7 !important;
  color: #14532d !important;
}
.pk-btn--primary,
a.pk-btn--primary,
button.pk-btn--primary {
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
  color: #fff !important;
  border-color: #15803d !important;
}
.pk-btn--primary:hover,
a.pk-btn--primary:hover {
  background: linear-gradient(135deg, #15803d, #166534) !important;
  color: #fff !important;
}
.pr-book .btn-primary,
.pr-aside .btn-primary,
#randevu .btn-primary,
.pr-book-wizard-nav .btn-primary,
.pr-sticky-bar .btn-primary {
  background: linear-gradient(135deg, #16a34a, #15803d) !important;
  border-color: #15803d !important;
  color: #fff !important;
}
