/* ═══════════════════════════════════════════════════════════════
   İzmirim App — Renk Sistemi (Design Tokens)
   ═══════════════════════════════════════════════════════════════ */
:root {
  /* BRAND (Marka Mavisi) */
  --color-primary: #1565C0;
  --color-primary-hover: #0D47A1;
  --color-primary-light: #42A5F5;
  --color-primary-surface: #E8F1FC;

  /* CTA / AKSİYON (Sıcak Amber) */
  --color-cta: #E8760A;
  --color-cta-hover: #C46008;
  --color-cta-light: #FCEAD4;
  --color-cta-glow: rgba(232, 118, 10, 0.18);

  /* METİN */
  --color-text: #1B2438;
  --color-text-secondary: #546178;
  --color-text-muted: #8C95A6;
  --color-text-on-dark: #FFFFFF;

  /* ARKA PLAN */
  --color-bg-page: #F5F7FB;
  --color-bg-card: #FFFFFF;
  --color-bg-section-alt: #EEF2F9;
  --color-bg-hover-card: #F0F4FA;

  /* KENAR (Border) */
  --color-border: #D6DEE8;
  --color-border-active: #1565C0;
  --color-border-subtle: #E4EAF2;

  /* DURUM RENKLERİ (Status) */
  --color-success: #16A34A;
  --color-error: #DC2626;
  --color-new-badge: #0891B2;
  --color-popular: #E8760A;
  --color-favorite: #EAB308;
  --color-warning: #F59E0B;

  /* GÖLGE */
  --shadow-subtle: 0 2px 8px rgba(21, 101, 192, 0.06);
  --shadow-card: 0 4px 12px rgba(21, 101, 192, 0.08);
  --shadow-card-hover: 0 8px 24px rgba(21, 101, 192, 0.14);
  --shadow-cta: 0 4px 16px rgba(232, 118, 10, 0.25);

  /* GRADIENT */
  --gradient-header: linear-gradient(135deg, #1565C0, #1976D2);
  --gradient-cta: linear-gradient(135deg, #E8760A, #F09030);
  --gradient-footer: linear-gradient(135deg, #0D47A1, #1565C0);

  /* EASING — ana-sayfa.css ile aynı; her sayfada erişilebilir olsun diye burada da tanımlı */
  --ease-smooth: cubic-bezier(0.85, 0, 0.15, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Dil seçenekleri henüz aktif değil — "yakında" görünümü */
.dropdown-item.dil-yakinda {
  opacity: 0.62;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dil-yakinda-etiket {
  font-size: 10px;
  font-weight: 700;
  background: #EEF2F9;
  color: #546178;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

@media (min-width: 769px) and (max-width: 1024px) {
  #akilli-asistan {
    top: 150px !important;
    bottom: auto !important;
  }
}
body {
  font-family: "Izmir" !important;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background-color: var(--color-bg-page);
}

.bizizmir-flex-content {
  display: flex;
  flex-wrap: wrap;
}


.hizmet-box-content {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background-color: var(--color-bg-card);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  height: 68px;
  padding: 0 16px;
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.hizmet-box-content:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(21, 101, 192, 0.25);
  transform: translateY(-2px);
}

.hizmet-box-content .hizmet-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.hizmet-box-content .hizmet-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background-color: var(--color-primary-surface);
  border-radius: 10px;
  padding: 5px;
}

.hizmet-box-content .hizmet-link h6,
.hizmet-box-content .hizmet-link h3 {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hizmet-box-content .hizmet-link:hover h6,
.hizmet-box-content .hizmet-link:hover h3 {
  color: var(--color-primary);
}

/* Açıklama artık kullanılmıyor — gizle */
.hizmet-desc {
  display: none;
}

/* ═══════════════════════════════════════════════════
   Favori Yıldızı — aynı şekil, içi dolan animasyon
   ═══════════════════════════════════════════════════ */
.hizmet-box-content .favorite-star {
  position: relative;
  width: 26px;
  height: 26px;
  border: 0;
  padding: 0;
  background-color: transparent;
  flex-shrink: 0;
  margin-left: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Görsel 26px kalır; tıklanabilir alan 44×44'e çıkar (WCAG 2.5.5) */
.hizmet-box-content .favorite-star::before {
  content: "";
  position: absolute;
  inset: -9px;
}

/* İki yıldız (boş + dolu) üst üste yığılı — inline display'i ezer */
.favorite-star img {
  position: absolute;
  inset: 0;
  width: 26px;
  height: 26px;
  display: block !important;
}

/* Boş yıldız: görünür durumda */
.favorite-star .default-star {
  opacity: 1;
  transition: opacity 0.25s ease;
}

/* Dolu yıldız: gizli, favori olunca açılır */
.favorite-star .checked-star {
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
  transition: opacity 0.2s ease,
              transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Favori aktif: boş kaybolur, dolu büyüyerek belirir */
.favorite-star.is-fav .default-star {
  opacity: 0;
}

.favorite-star.is-fav .checked-star {
  opacity: 1;
  transform: scale(1);
}

/* ── Tıklama efekti: yayılan halka (::after) ──────────────────────
   ::before saf dokunma alanı (44px hit-area, #9) olarak kalsın diye halka
   ::after'a taşındı. Aynı ::before'daki 'pointer-events:none' halka kuralı,
   genişletilmiş hit-area'yı tıklama-geçirmez yapıp efektif hedefi 26px'e
   düşürüyordu (WCAG 2.5.5). ::before'ın margin-left:12px içindeki -9px'lik
   sol taşması kart linkine ulaşmadığından tıklama çalınmaz. */
.favorite-star::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid #EAB308;
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

.favorite-star.just-clicked::after {
  animation: starRing 0.6s ease-out;
}

@keyframes starRing {
  0%   { opacity: 0.65; transform: scale(0.4); }
  100% { opacity: 0;    transform: scale(2.6); }
}

/* ── Tıklama anında yıldız "punch" ──────────────── */
.favorite-star.just-clicked .checked-star {
  animation: starPunch 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes starPunch {
  0%   { transform: scale(0); }
  55%  { transform: scale(1.32); }
  78%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}

/* ── Parçacık patlaması ─────────────────────────── */
.star-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.star-burst span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background: #EAB308;
  animation: burstParticle 0.6s ease-out forwards;
}

@keyframes burstParticle {
  0%   { transform: translate(0, 0) scale(1);   opacity: 1; }
  100% { transform: translate(var(--bx), var(--by)) scale(0); opacity: 0; }
}

/* Ribbon absolute positioned — yıldız konumunu etkilemez */

/* "i" butonu ve overlay artık kullanılmıyor — gizle */
.hizmet-info-trigger,
.hizmet-info-overlay {
  display: none !important;
}

/* Customize Modal */
#loginRequiredModal .modal-dialog {
  max-width: 800px;
}

#loginRequiredModal .modal-header {
  justify-content: center;
  background-color: var(--color-primary);
  color: #ffffff;
  padding-block: 30px;
}

#loginRequiredModal .modal-title {
  font-size: 17px;
  font-family: "Izmir-Bold";
}

#loginRequiredModal .modal-body {
  padding: 10px 155px;
}

#loginRequiredModal p {
  font-size: 17px;
}

#loginRequiredModal .modal-action-buttons {
  justify-content: center;
}

#loginRequiredModal .modal-action-buttons button {
  font-size: 14px;
  font-family: "Izmir-Bold";
  line-height: 18.79px;
  padding: 7px 66px;
  width: 230px;
  height: 38px;
}

#loginRequiredModal .modal-action-buttons .btn-primary {
  background-color: var(--color-cta);
  border: 2px solid var(--color-cta);
}

#loginRequiredModal .modal-action-buttons .btn-primary:hover {
  background-color: #ffffff;
  color: var(--color-cta);
}

#loginRequiredModal .modal-action-buttons .btn-outline-primary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

#loginRequiredModal .modal-action-buttons .btn-outline-primary:hover {
  color: #ffffff;
  background-color: var(--color-primary);
}

.hizmet-adi a {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.bizizmir-tutucuwrap {
  width: 100%;
  padding-left: 120px;
  padding-right: 120px;
}

.header-biz {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.bizizmir-header {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
  align-items: center;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 2px rgba(21, 101, 192, 0.05);
}

/* Markalı ince gradient hairline — düz 3px çizginin yerine */
.bizizmir-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-primary) 22%,
    var(--color-primary-light) 50%,
    var(--color-primary) 78%,
    transparent 100%);
}

/* Scroll'da header yükselir (gölge derinleşir) — CSS-only, JS yok, 34 sayfada çalışır */
@keyframes headerElevate {
  to { box-shadow: 0 8px 28px rgba(21, 101, 192, 0.16); }
}

@supports (animation-timeline: scroll()) {
  .bizizmir-header {
    animation-name: headerElevate;
    animation-duration: auto;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: scroll(root);
    animation-range: 0 90px;
  }
}

/* Logo — hafif hover etkileşimi */
.bizizmir-header .header-biz > div:first-child a {
  display: inline-flex;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.bizizmir-header .header-biz > div:first-child a:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

.navbar-profilim-alani {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar-profilim-kullanici {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
}

.navbar-profilim-kullanici>span {
  font-family: "Izmir-Bold";
  font-size: 14px;
  color: #fff;
}

.bizizmir-header-ortak-uyelik {
  display: flex;
  align-items: center;
  gap: 7px;
  background-color: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bizizmir-header-ortak-uyelik:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.bizizmir-header-ortak-uyelik:hover img {
  filter: brightness(0) invert(1);
}

.desktop-ortak-uyelik {
  display: inline;
}

@media (max-width: 768px) {
  .desktop-ortak-uyelik {
    display: none;
  }
  .bizizmir-header-ortak-uyelik {
    padding: 7px 9px;
  }
}

/* ── "Profilim" butonu — dolu, header'ın enerji odağı ───────── */
.btn-kullanici {
  background: var(--gradient-header);
  color: #fff;
  border-radius: 11px;
  padding: 9px 16px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(21, 101, 192, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

/* Profilim içindeki ikon + metin + ok her zaman beyaz */
.btn-kullanici i,
.btn-kullanici .ikon-svg,
.btn-kullanici .navbar-profilim-kullanici > span {
  color: #fff;
}

/* Inline SVG ikonlar (font-awesome yerine): metinle hizalama */
.ikon-svg {
  vertical-align: -0.125em;
}

.btn-kullanici .profilim-arrow {
  filter: brightness(0) invert(1);
  transition: transform 0.2s ease;
}

.btn-kullanici:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(21, 101, 192, 0.42);
  filter: brightness(1.06);
}

.btn-kullanici:active {
  transform: translateY(0) scale(0.98);
}

.custom-dropdown-toggle.show .profilim-arrow {
  transform: rotate(180deg);
}

.btn-kullanici:focus-visible,
.bizizmir-header-dildegisim .dropdown button:focus-visible {
  outline: 3px solid rgba(21, 101, 192, 0.35);
  outline-offset: 2px;
}

.custom-dropdown-toggle {
  justify-content: space-between;
  padding: 9px 15px;
  min-width: 150px;
  max-width: 250px;
}

.dropdown-mobil {
  display: none;
}

.custom-dropdown-toggle::after,
.profilim-dropdown-mobil::after {
  display: none;
}

.logout-icon {
  position: absolute;
  top: 11px;
  right: 10px;
  cursor: pointer;
}

/* ── Profilim açılır menüsü — ayrık, yumuşak kart ───────────── */
/* Profil menüsü karşılama satırı — SADECE profil dropdown'unun doğrudan çocuğu olan span.
   Eski geniş seçici (.navbar-profilim-alani ... span) aynı kapsayıcıdaki DİL menüsünün
   span'lerine sızıp dil adını bozuyordu (UX raporu #25). */
.dropdown-web .dropdown-menu.show > span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Izmir-Medium';
  line-height: 1.4;
  padding: 8px 12px 10px;
  margin-bottom: 4px;
  text-align: left;
  pointer-events: none;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border-subtle);
}

.dropdown-web .dropdown-menu {
  border-radius: 14px;
  background-color: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border-subtle);
  min-width: 220px;
  max-width: 260px;
  width: max-content;
  right: 0;
  left: auto;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(21, 101, 192, 0.18);
}

.dropdown-menu.show {
  transform: translate(0, 48px) !important;
  animation: headerMenuReveal 0.18s ease;
}

@keyframes headerMenuReveal {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.dropdown-web .dropdown-menu a {
  color: var(--color-text);
  padding: 10px 12px;
  text-decoration: none;
  border: none;
  border-radius: 9px;
  font-family: "Izmir-Bold";
  font-size: 13px;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.dropdown-web .dropdown-menu a:hover {
  color: var(--color-primary) !important;
  background-color: var(--color-primary-surface) !important;
}

.bizizmir-header-dildegisim .dropdown {
  margin-left: 0;
}

/* ── "TR" dil butonu — sessiz utility pill ─────────────────── */
.bizizmir-header-dildegisim .dropdown button {
  background-color: var(--color-bg-section-alt) !important;
  border: 1px solid transparent !important;
  color: var(--color-text) !important;
  font-size: 14px;
  font-weight: 700;
  height: 40px;
  border-radius: 11px;
  min-width: 88px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.bizizmir-header-dildegisim .dropdown button:hover,
.bizizmir-header-dildegisim .dropdown button:active,
.bizizmir-header-dildegisim .dropdown.show button {
  background-color: var(--color-primary-surface) !important;
  border-color: rgba(21, 101, 192, 0.25) !important;
  color: var(--color-primary) !important;
}

/* Ok ikonu — açıkken döner */
.bizizmir-header-dildegisim .dropdown button > img:not(.flag-icon) {
  width: 11px;
  opacity: 0.55;
  transition: transform 0.2s ease, opacity 0.18s ease;
}

.bizizmir-header-dildegisim .dropdown.show button > img:not(.flag-icon) {
  transform: rotate(180deg);
  opacity: 1;
}

.bizizmir-header-dildegisim .dropdown button .mobile-dildegisim {
  display: none;
}

/* TR açılır menüsü — Profilim menüsüyle aynı dil */
.bizizmir-header-dildegisim .dropdown .dropdown-menu {
  --bs-dropdown-link-color: var(--color-text);
  --bs-dropdown-link-hover-color: var(--color-primary);
  --bs-link-decoration: none;
  min-width: 110px;
  right: 0;
  left: auto;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 16px 40px rgba(21, 101, 192, 0.18);
}

.bizizmir-header-dildegisim .dropdown .dropdown-menu a {
  text-align: left;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  /* Flex öğeleri arasındaki boşluk karakteri düşer; kod ile dil adı ("TR" "Türkçe") bitişik çıkıyordu. */
  gap: 8px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  transition: background-color 0.16s ease, color 0.16s ease;
  text-decoration: none !important;
}

.bizizmir-header-dildegisim .dropdown .dropdown-menu a:hover,
.bizizmir-header-dildegisim .dropdown .dropdown-menu a:focus,
.bizizmir-header-dildegisim .dropdown .dropdown-menu a:active {
  text-decoration: none !important;
  background-color: var(--color-primary-surface);
  color: var(--color-primary);
}

.bizizmir-header-dildegisim .dropdown .dropdown-menu * {
  text-decoration: none !important;
}

.bizizmir-header-dildegisim .dropdown .dropdown-menu * {
  text-decoration: none !important;
}

.flag-icon {
  width: 20px;
  height: 14px;
  vertical-align: -2px;
  border-radius: 2px;
  object-fit: cover;
  margin-right: 5px;
  flex-shrink: 0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.login-tutucuwrap {
  min-height: calc(100vh - 90px);
  /* 100vh - navbar height */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.login-container {
  max-width: 1256px;
  margin-block: 50px;
  padding-block: 40px;
  padding-inline: 70px;
  background-color: var(--color-primary-surface);
  border-radius: 10px;
  overflow: hidden;
}

.login-image-column {
  padding-inline: 65px;
}

.login-image-container {
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 95px;
  border-radius: 5px;
}

.login-form-column {
  padding-inline: 32px;
}

.login-form-container .button-back {
  margin-bottom: 20px;
}

.login-form-container h2 {
  margin-block: 40px;
  font-family: "Izmir-bold";
}

.login-input-group {
  margin-bottom: 28px;
}

.login-input-group input:focus {
  box-shadow: 0 0 5px 0 var(--color-primary);
}

.login-input-group:has(.password-toggle) {
  margin-bottom: 0;
}

.login-form-control {
  border-radius: 10px !important;
  padding: 15px 20px;
  margin-bottom: 0;
  line-height: 21.47px;
  height: 60px;
}

.password-toggle~img {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1000;
}

.invalid-feedback {
  text-align: end;
}
.radio-group .invalid-feedback{
  text-align: start;
}

.btn-action .btn-primary {
  background-color: var(--color-cta);
  border: 2px solid var(--color-cta);
  height: 60px;
  width: 100%;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 18px;
}

.btn-action .btn-primary:hover {
  background-color: #ffffff;
  color: var(--color-cta);
}

.btn-action .btn-outline-primary {
  width: 100%;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 20px;
  height: 60px;
}

.btn-action .btn-outline-primary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

.toast {
  color: #ffffff;
  backdrop-filter: none !important;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  text-align: center;
  padding-block: 5px;
  font-size: 1rem;
}

.toast.success {
  background-color: var(--color-success);
}

.toast.error {
  background-color: var(--color-error);
}

.card_ilk_adim, .memnuniyet_anketi_checkbox, .memnuniyet_last__message{
  animation: fadeIn 0.5s ease-in;
}
.memnuniyet_anketi_checkbox{
  display: none;
}
.memnuniyet_last__message{
  display: none;
}

.memnuniyet-wrapper {
  max-width: 480px;
  margin: 0 auto;
}

.memnuniyet-wrapper .memnuniyet__anketi__flex-box {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid rgba(21, 101, 192, 0.2);
  background-color: var(--color-primary-surface);
  height: auto;
  margin-bottom: 0;
}

.memnuniyet-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.memnuniyet_anketi_checkbox .memnuniyet__anketi__flex-box {
  display: flex;
  align-items: center;
}

.memnuniyet__anketi__flex-box {
  border: 1px solid rgba(191, 191, 191, 1);
  border-radius: 12px;
  height: auto;
  margin-bottom: 12px;
  padding: 16px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  position: relative;
}

.memnuniyet__anketi__flex-box.memnuniyet_ilk_adim {
  justify-content: center;
}

.memnuniyet__anketi__flex-box h6 {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 16px;
}

.memnuniyet__anketi__flex-box p {
  color: rgba(38, 38, 38, 1);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.memnuniyet__anketi__flex-box .memnuniyet-soru{
  font-size: 14px;

}

.memnuniyet__anketi__flex-box .memnuniyet_success {
  background-color: rgba(16, 195, 77, 1);
  color: #fff;
  width: 65px;
  font-size: 13px;
  font-weight: 700;
  margin-right: 10px;
}

.memnuniyet__anketi__flex-box .memnuniyet_danger {
  background-color: rgba(237, 76, 92, 1);
  color: #fff;
  width: 65px;
  font-size: 13px;
  font-weight: 700;
  margin-left: 10px;
}

.memnuniyet__anketi__flex-box .memnuniyet_blue {
  background-color: rgba(59, 156, 245, 1);
  color: #fff;
  width: 85px;
  font-size: 13px;
  font-weight: 700;
  margin-left: 10px;
}

.memnuniyet__anketi__flex-box .bizizmir-checkbox-ui {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-left: 12px;
  margin-bottom: 0;
}

.memnuniyet__anketi__flex-box .bizizmir-checkbox-ui div {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}
.memnuniyet__anketi__flex-box .bizizmir-checkbox-ui input[type="checkbox"]{
  min-height: 21px;
  min-width: 21px;
  height: 21px;
  width: 21px;
}
.memnuniyet__anketi__flex-box .bizizmir-checkbox-ui label {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  text-align: start;
}

.memnuniyet__anketi__flex-box .memnuniyet_goback {
  position: absolute;
  left: 12px;
  top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.memnuniyet__anketi__flex-box .memnuniyet_goback img{
  width: 20px;
  height: 20px;
}

.memnuniyet_last__message .memnuniyet__anketi__flex-box {
  display: flex;
  justify-content: center;
}


@media (max-width: 1440px) {
  .memnuniyet__anketi__flex-box .bizizmir-checkbox-ui {
    margin-left: 8px;
  }
  .memnuniyet__anketi__flex-box .bizizmir-checkbox-ui label{
    font-size: 13px;
  }
  .memnuniyet__anketi__flex-box .memnuniyet-soru{
    margin-bottom: 8px;
  }

}

@media (max-width: 1199px) {
  .login-container {
    padding-inline: 25px;
  }

  .login-image-column {
    padding-inline: 20px;
  }

  .login-form-column {
    padding-inline: 16px;
  }
}

@media (max-width: 1024px) {
  .login-tutucuwrap .container {
    max-width: none;
  }

  .login-container {
    padding-inline: 10px;
  }
}

@media (max-width: 992px) {
  .login-image-container {
    padding-block: 65px;
  }

  .login-form-container .button-back {
    margin-bottom: 10px;
  }

  .login-form-container h2 {
    margin-block: 20px;
  }

  .login-input-group {
    margin-bottom: 14px;
  }
}

@media (max-width: 768px) {
  .login-image-container {
    padding: 0;
  }

  .login-form-column {
    margin-top: 20px;
  }
  .memnuniyet__anketi__flex-box{
    padding: 10px;
  }
  .memnuniyet__anketi__flex-box .memnuniyet_goback{
    top: 5px;
    left: 5px;
  }
}

@media (max-width: 640px) {}

@media (max-width: 576px) {
  .memnuniyet__anketi__flex-box{
    margin-bottom: 1rem;
  }
}

@media (max-width: 540px) {}

@media (max-width: 480px) {}

@media (max-width: 375px) {}

/* Preloader */
.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.loading-container .spinner-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading-container .white-background {
  position: absolute;
  width: 250px;
  height: 250px;
  background-color: rgb(255, 255, 255);
  border-radius: 50%;
  z-index: 0;
}
.loading-container .loading-spinner {
  width: auto;
  height: 150px;
  z-index: 1;
  position: absolute;
}

@media (max-width: 1400px) {
  .loading-container .white-background {
    width: 225px;
    height: 225px;
  }
  .loading-container .loading-spinner {
    height: 125px;
  }
}
@media (max-width: 768px) {
  .loading-container .white-background {
    width: 200px;
    height: 200px;
  }
  .loading-container .loading-spinner {
    height: 100px;
  }
}
@media (max-width: 576px) {
  .loading-container .white-background {
    width: 150px;
    height: 150px;
  }
  .loading-container .loading-spinner {
    height: 75px;
  }
}

/* ═══════════════════════════════════════════════════
   Akıllı Asistan — Chatbot Butonu
   ═══════════════════════════════════════════════════ */

/* Desktop: Eski resim gizli, yeni toggle butonu her yerde görünür */
#akilli-asistan {
  display: none !important;
}

#akilli-asistan-close {
  display: none;
}

/* Masaüstü: asistan non-modal'dır — arka plan KARARTILMAZ/bloke EDİLMEZ.
   Kullanıcı panel açıkken sohbete bakıp sayfayla etkileşime devam edebilsin
   (hizmetlere tıklama vb.). Kapatma X butonu/Escape ile yapılır. */
#akilli-asistan-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 9996;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#akilli-asistan-backdrop.visible {
  display: block;
  opacity: 1;
}

/* ── Ana chatbot butonu ─────────────────────────────── */
#akilli-asistan-toggle {
  display: flex !important;
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 6px 24px rgba(13, 71, 161, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  animation: asistanBreath 4s ease-in-out infinite;
  overflow: visible;
}

#akilli-asistan-toggle:hover {
  transform: scale(1.08);
  box-shadow:
    0 8px 32px rgba(13, 71, 161, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.15);
}

#akilli-asistan-toggle:active {
  transform: scale(0.95);
}

/* Nefes alma animasyonu */
@keyframes asistanBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* Hover'da nefes durur, büyüme devralır */
#akilli-asistan-toggle:hover {
  animation: none;
}

/* Chat ikonu */
.asistan-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

/* Nefes alan pulse halkası */
.asistan-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 2px solid rgba(21, 101, 192, 0.4);
  animation: asistanPulse 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes asistanPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.12); opacity: 0; }
}

/* Tooltip — "Benimle konuş" */
.asistan-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(-50%) translateX(8px);
}

.asistan-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #fff;
}

#akilli-asistan-toggle:hover .asistan-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Periyodik titreşim + tooltip gösterme (5 saniyede bir) */
@keyframes asistanNudge {
  0%, 86%, 100% { transform: scale(1) rotate(0deg); }
  88% { transform: scale(1.1) rotate(-4deg); }
  90% { transform: scale(1.1) rotate(4deg); }
  92% { transform: scale(1.1) rotate(-3deg); }
  94% { transform: scale(1) rotate(0deg); }
}

/* Tooltip periyodik olarak gözükür */
@keyframes tooltipPeek {
  0%, 80%, 100% { opacity: 0; transform: translateY(-50%) translateX(8px); }
  85%, 95% { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Idle durumda: nefes + periyodik titreşim + tooltip peek */
#akilli-asistan-toggle:not(:hover) {
  animation: asistanBreath 4s ease-in-out infinite, asistanNudge 8s ease-in-out infinite;
}

#akilli-asistan-toggle:not(:hover) .asistan-tooltip {
  animation: tooltipPeek 8s ease-in-out infinite;
}

/* ── Mobil ayarları ─────────────────────────────────── */
@media (max-width: 768px) {
  #akilli-asistan-toggle {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    /* Kart içeriği/favori yıldızıyla çakışmayı azalt + çentikli cihaz güvenli alanı (#43) */
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    right: 12px;
  }

  .asistan-icon {
    width: 26px;
    height: 26px;
  }

  .asistan-pulse {
    inset: -5px;
    border-radius: 20px;
  }

  .asistan-tooltip {
    display: none;
  }

  #akilli-asistan {
    display: none !important;
  }

  #akilli-asistan.mobile-open {
    display: flex !important;
    position: fixed;
    bottom: auto;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    z-index: 9997;
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 4px 20px rgba(21, 101, 192, 0.25);
    opacity: 1;
    pointer-events: auto;
  }

  #akilli-asistan.mobile-open img {
    width: 105px;
    height: 105px;
  }

  #akilli-asistan-close {
    display: none;
  }

  #akilli-asistan.mobile-open #akilli-asistan-close {
    display: flex !important;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    background: #fff;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    padding: 0;
  }

  /* Mobil: asistan tam ekran alt-sayfa olduğundan arka plan yine karartılır/bloke edilir
     (base kuralın pointer-events:none'ı burada geri alınır). */
  #akilli-asistan-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9996;
    opacity: 0;
    pointer-events: auto;
    transition: opacity 0.3s ease;
  }

  #akilli-asistan-backdrop.visible {
    display: block;
    opacity: 1;
  }
}

/* ═══════════════════════════════════════════════════
   Scroll to Top — Asistan ile çakışmaz
   ═══════════════════════════════════════════════════ */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(21, 101, 192, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scrollTopBtn:hover {
  background-color: var(--color-primary-hover);
}

@media (max-width: 768px) {
  #scrollTopBtn {
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

/* ============================================================
   BACKEND'E ÖZGÜ KORUNAN KURALLAR
   (Statik prototipte bulunmayan, backend uygulamasına özel kurallar)
   ============================================================ */

.bizizmir-logo {
    /*  width: 150px
*/
    padding: 10px 0;
}

/* 21.10.2026: yeni logo (bizizmir-logo.svg) eskisinden yatay; 1440px üstünde genişlik verilmediği için görsel kendi
   genişliğinde büyük açılıyordu. Masaüstü varsayılanı burada, dar ekranlar responsive.css'te. */
.bizizmir-header .bizizmir-logo {
    width: 190px;
}

.hizmet-box-content .hizmet-adi {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 25px 15px;
        text-align: center;
    }

.hizmet-box-content.fixed-hizmet-box .hizmet-adi {
        max-height: 200px;
        height: 200px;
    }

.hizmet-box-content.fixed-hizmet-box .hizmet-adi h6 {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            line-height: 1.25;
            max-height: calc(1.25em* 3);
        }

.hizmet-box-content .hizmet-adi h6 {
        color: rgba(28, 117, 199, 1);
        font-size: 18px;
        font-weight: 700;
        margin-top: 23px;
    }

.hizmet-box-content .hizmet-adi .favorite-star {
        position: absolute;
        top: 20px;
        right: 20px;
        border: 0;
        padding: 0;
        background-color: transparent;
    }

.hizmet-box-content .hizmet-description {
        background-color: rgba(46, 130, 208, 1);
        padding: 16px 18px;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
        border: 1px solid rgba(46, 130, 208, 1);
    }

.hizmet-box-content.fixed-hizmet-box .hizmet-description {
        min-height: 95px;
        height: 95px;
    }

.hizmet-box-content.fixed-hizmet-box .hizmet-description p {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            line-height: 1.5;
            max-height: calc(1.5em * 3);
        }

.hizmet-box-content .hizmet-description a {
        text-decoration: none;
    }

.hizmet-box-content .hizmet-description p {
        color: #fff;
        font-size: 14px;
        font-family: 'Izmir-Bold';
        margin-bottom: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        line-height: 1.5em;
        max-height: calc(1.5em * 2);
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        white-space: normal;
        overflow: hidden;
    }

#loginRequiredModal .modal-dialog, #chatLoginRequiredModal .modal-dialog {
    max-width: 800px;
}

#favoriteRemoveModal .modal-dialog, #cancelAppointmentModal .modal-dialog {
    max-width: 690px;
}

#loginRequiredModal .modal-header, #chatLoginRequiredModal .modal-header {
    justify-content: center;
    background-color: #2e82d0;
    color: #ffffff;
    padding-block: 30px;
}

#loginRequiredModal .modal-title, #chatLoginRequiredModal .modal-title {
    font-size: 17px;
    font-family: "Izmir-Bold";
}

#loginRequiredModal .modal-body, #chatLoginRequiredModal .modal-body {
    padding: 10px 155px;
}

#favoriteRemoveModal .modal-body, #cancelAppointmentModal .modal-body {
    padding: 50px 100px;
}

#loginRequiredModal p, #chatLoginRequiredModal p, #favoriteRemoveModal p, #cancelAppointmentModal p {
    font-size: 17px;
    font-family: 'Izmir-Medium';
    margin: 16px 0;
}

#loginRequiredModal .modal-action-buttons, #chatLoginRequiredModal .modal-action-buttons, #favoriteRemoveModal .modal-action-buttons, #cancelAppointmentModal .modal-action-buttons, #cookieModal .modal-action-buttons {
    justify-content: center;
}

#loginRequiredModal .modal-action-buttons button, #chatLoginRequiredModal .modal-action-buttons button, #favoriteRemoveModal .modal-action-buttons button, #cancelAppointmentModal .modal-action-buttons button, #cookieModal .modal-action-buttons button {
        font-size: 14px;
        font-family: "Izmir-Bold";
        line-height: 18.79px;
        padding: 7px 66px;
        width: 230px;
        height: 38px;
    }

#loginRequiredModal .modal-action-buttons .btn-primary, #chatLoginRequiredModal .modal-action-buttons .btn-primary, #favoriteRemoveModal .modal-action-buttons .btn-primary, #cancelAppointmentModal .modal-action-buttons .btn-primary, #cookieModal .modal-action-buttons button {
        background-color: rgba(46, 130, 208, 1);
        border: 2px solid rgba(46, 130, 208, 1);
    }

#loginRequiredModal .modal-action-buttons .btn-primary:hover, #chatLoginRequiredModal .modal-action-buttons .btn-primary:hover, #favoriteRemoveModal .modal-action-buttons .btn-primary:hover, #cancelAppointmentModal .modal-action-buttons .btn-primary:hover, #cookieModal .modal-action-buttons button:hover {
            background-color: #ffffff;
            color: rgba(46, 130, 208, 1);
        }

#loginRequiredModal .modal-action-buttons .btn-outline-primary, #chatLoginRequiredModal .modal-action-buttons .btn-outline-primary, #favoriteRemoveModal .modal-action-buttons .btn-outline-primary, #cancelAppointmentModal .modal-action-buttons .btn-outline-primary {
        border: 2px solid rgba(46, 130, 208, 1);
        color: rgba(46, 130, 208, 1);
    }

#loginRequiredModal .modal-action-buttons .btn-outline-primary:hover, #chatLoginRequiredModal .modal-action-buttons .btn-outline-primary:hover, #favoriteRemoveModal .modal-action-buttons .btn-outline-primary:hover, #cancelAppointmentModal .modal-action-buttons .btn-outline-primary:hover {
            color: #ffffff;
            background-color: rgba(46, 130, 208, 1);
        }

.category-card.removing {
    transition: all 0.5s ease-out;
    transform: scale(0.8);
    opacity: 0;
}

.category-card .hizmet-adi > a > img {
    max-width: 100px;
    height: 70px;
}

.bizizmir-tutucuwrap.blue-bg-hizmetler {
        background-color: rgba(46, 130, 208, 0.1);
        margin-top: 20px;
        padding-top: 20px;
    }

.header-biz .header-logo-mobil {
        display: none;
    }

.navbar-profilim-kullanici-mobil {
    display: none;
}

/* Hover tek otorite: .btn-kullanici:hover için gradient+gölge kuralı (yukarıda) geçerli;
   buradaki düz-mavi !important yalnızca AÇIK dropdown durumu için kalır. */
.custom-dropdown-toggle.show {
    background-color: rgba(46, 130, 208, 1) !important;
    color: #ffffff !important;
}

.custom-dropdown-toggle.show {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    width: 150px;
}

.dropdown-menu a:last-child:hover {
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
}

.bizizmir-header-dildegisim .dropdown button, .bizizmir-header-ortak-uyelik {
        background-color: #fff !important;
        border: 2px solid rgba(46, 130, 208, 1) !important;
        color: rgba(46, 130, 208, 1) !important;
        font-size: 14px;
        font-weight: 700;
        height: 40px;
        border-radius: 10px;
        min-width: 105px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

/* NOT: dil adını (Türkçe/English) gizleyen 'a span:last-child { display:none }'
   kuralı kaldırıldı — menüde yalnızca TR/EN kodu kalıyordu (UX raporu #25). */

.radio-group .invalid-feedback, .check-group .invalid-feedback {
    text-align: start;
}

.input-group .code-input-field::placeholder {
    color: rgba(28, 117, 199, 0.4);
    letter-spacing: 0.25rem;
    font-size: 1rem;
    vertical-align: middle;
}

.code-input-container {
    width: unset;
    margin: auto;
}

.code-input-container > h6 {
        font-family: "Izmir-Semibold";
        color: rgba(28, 117, 199, 0.6);
    }

.code-input-container .code-input {
        width: 40px;
        height: 40px;
        margin: 0 5px;
        border-radius: 8px;
        font-size: 0.85rem;
        text-align: center;
        box-shadow: 0px 0px 5px 0px rgba(28, 117, 199, 1);
        padding: 0;
        border: none;
    }

.code-input-container .code-input::placeholder {
            width: 14px;
            height: 14px;
            background-color: rgba(28, 117, 199, 0.4);
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

.code-input-container .code-input:focus {
            box-shadow: 0px 0px 5px 1px rgba(46, 130, 208, 1);
        }

.code-input-container .timer {
        color: rgba(28, 117, 199, 0.6);
        font-family: "Izmir-Semibold";
        font-size: 0.9rem;
    }

.code-input-container .timer > span {
            color: rgba(28, 117, 199, 0.8);
            font-family: "Izmir-Semibold";
        }

.code-input-container .timer > a {
            color: rgba(28, 117, 199, 0.8);
            font-family: "Izmir-Semibold";
        }

.code-input-container .timer > a.disabled {
                pointer-events: none;
                opacity: 0.5;
                text-decoration: none;
                color: #999;
            }

.memnuniyet_last__message .memnuniyet__anketi__flex-box p {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .memnuniyet__anketi__flex-box.memnuniyet_ilk_adim, .memnuniyet_last__message .memnuniyet__anketi__flex-box {
        min-height: 150px;
        height: 150px;
    }
}

.favorite-star {
    position: relative;
    overflow: visible;
    z-index: 1;
}

.star-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

.star-effect.animate {
        animation: starBurst 0.5s ease-out forwards;
    }

@keyframes starBurst {
    0% {
        box-shadow: 0 0 0 0px rgba(255, 215, 0, 0.2), 0 0 0 0px rgba(255, 215, 0, 0.3), 0 0 0 0px rgba(255, 215, 0, 0.4);
        transform: translate(-50%, -50%) scale(0.2);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(0.5);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0), 0 0 0 20px rgba(255, 215, 0, 0), 0 0 0 30px rgba(255, 215, 0, 0);
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.checked-star {
    transition: transform 0.5s ease-out;
}

.checked-star.animate {
        animation: popStar 1.3s ease-out;
    }

@keyframes popStar {
    0% {
        transform: scale(0.5);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.star-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.star-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: gold;
    border-radius: 50%;
    opacity: 0;
}

.star-particles.animate .star-particle {
    animation: particleFly 0.8s ease-out forwards;
}

@keyframes particleFly {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }

    100% {
        transform: translate(var(--tx), var(--ty));
        opacity: 0;
    }
}

.bizizmir-blue-bg-button {
    background-color: rgba(46, 130, 208, 1);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
    text-decoration: none;
    border: 0;
    justify-content: center;
    display: flex;
    width: 100%;
    align-items: center;
    height: 40px;
}

#introModal .modal-content {
    border-radius: 20px;
}

#introModal .modal-content .outer-box {
        background-color: white;
        border-radius: 20px;
    }

#introModal .modal-content .outer-box .inner-box {
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            background-color: white;
            border-radius: 20px;
        }

#introModal .modal-content .modal-body .popup-step {
        background-color: #f5faff;
        min-height: 100%;
        transition: transform 0.2s;
    }

#introModal .modal-content .modal-body .responsive-width {
        width: 100%;
    }

@media (min-width: 576px) {
    #introModal .modal-content .modal-body .responsive-width {
        width: 50%;
    }

    .code-input-container {
        width: 360px;
    }

    .code-input-container .code-input {
            width: 46px;
            height: 46px;
            margin: 0 8px;
            border-radius: 10px;
            font-size: 1rem;
        }

    .btn-action .btn-primary, .btn-action .btn-outline-primary {
        width: 80%;
    }
}

@media (min-width: 992px) {
    #introModal .modal-content .modal-body .responsive-width {
        width: 25%;
    }

    .btn-action .btn-primary, .btn-action .btn-outline-primary {
        width: 65%;
    }
}

/* ════════════════════════════════════════════════════════════
   Sessiz Giriş Kartı — yenilenmiş İzmirim marka dili
   (gradient şerit + halo, avatar rozet, canlı durum noktası, gradient CTA)
   ════════════════════════════════════════════════════════════ */
.silent-signin-card {
    position: fixed;
    top: 84px;
    right: 24px;
    z-index: 1050;
    width: 340px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 22px 60px -18px rgba(11, 31, 58, 0.45), 0 4px 14px rgba(11, 31, 58, 0.08);
    padding: 20px 20px 18px;
    border: 1px solid rgba(21, 101, 192, 0.12);
    overflow: hidden;
    animation: silentSignInSlide 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Üstte ince marka gradyan şeridi */
.silent-signin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0D47A1, #1565C0 45%, #42A5F5);
}

/* Sağ üstte dekoratif gradient halo */
.silent-signin-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -34px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 165, 245, 0.18), transparent 70%);
    pointer-events: none;
}

/* ── Eyebrow: canlı oturum durumu ── */
.silent-signin-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: "Izmir-Bold", sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #1565C0;
    margin-bottom: 14px;
}

.silent-signin-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
    animation: silentSigninPulse 2.2s ease-in-out infinite;
}

@keyframes silentSigninPulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18); }
    50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.05); }
}

/* ── İçerik: avatar + selamlama ── */
.silent-signin-content {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.silent-signin-avatar {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, #0D47A1, #1565C0 55%, #1e88e5);
    box-shadow: 0 6px 16px -4px rgba(21, 101, 192, 0.5);
}

.silent-signin-icon {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
}

.silent-signin-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    line-height: 1.35;
}

.silent-signin-text span:first-child {
    font-size: 15.5px;
    color: #15344a;
}

.silent-signin-text span:first-child strong {
    font-family: "Izmir-Bold", sans-serif;
    color: #1565C0;
}

.silent-signin-text span:last-child {
    font-size: 13px;
    color: #6b7b88;
}

/* ── CTA butonu ── */
.silent-signin-actions {
    display: flex;
    width: 100%;
}

.silent-signin-button {
    position: relative;
    width: 100%;
    min-height: 46px;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Izmir-Bold", sans-serif;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    box-shadow: 0 8px 18px -6px rgba(13, 71, 161, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.silent-signin-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -6px rgba(13, 71, 161, 0.6);
}

.silent-signin-button:active:not(:disabled) {
    transform: translateY(0);
}

.silent-signin-button-label {
    position: relative;
    z-index: 1;
}

.silent-signin-button-arrow {
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease;
}

.silent-signin-button:hover:not(:disabled) .silent-signin-button-arrow {
    transform: translateX(3px);
}

.silent-signin-button-progress {
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    transform: scaleX(0);
    transform-origin: left;
    background: linear-gradient(90deg, rgba(125, 223, 142, 0.3), #7ddf8e);
    opacity: 0;
}

.silent-signin-button.is-loading {
    cursor: wait;
    opacity: 0.95;
}

.silent-signin-button.is-loading .silent-signin-button-arrow {
    display: none;
}

.silent-signin-button.is-loading .silent-signin-button-progress {
    opacity: 1;
    animation: silentSigninProgress 1.15s ease-in-out infinite;
}

.silent-signin-button.is-loading .silent-signin-button-label::after {
    content: '...';
}

@keyframes silentSigninProgress {
    0% { transform: translateX(-100%) scaleX(0.35); }
    55% { transform: translateX(10%) scaleX(0.65); }
    100% { transform: translateX(100%) scaleX(0.35); }
}

/* ── Küçült (kapat) butonu ── */
.silent-signin-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(21, 101, 192, 0.07);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: #5b6b78;
    line-height: 1;
    padding: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.silent-signin-close:hover {
    background: rgba(21, 101, 192, 0.14);
    color: #15344a;
}

.silent-signin-close-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

/* ── Açık/kapalı (pill) durum geçişleri ── */
.silent-signin-body {
    display: block;
}

.silent-signin-collapsed-trigger {
    display: none;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #0D47A1;
    font-family: "Izmir-Bold", sans-serif;
    font-size: 13px;
    text-align: left;
}

.silent-signin-collapsed-text {
    white-space: nowrap;
}

/* Avatar küçük varyantı (pill içi) */
.silent-signin-avatar--sm {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.silent-signin-avatar--sm .silent-signin-icon {
    width: 19px;
    height: 19px;
}

.silent-signin-card.is-collapsed {
    padding: 7px 16px 7px 7px;
    width: auto;
    max-width: 280px;
    border-radius: 999px;
    box-shadow: 0 10px 28px -10px rgba(11, 31, 58, 0.3);
}

.silent-signin-card.is-collapsed::before,
.silent-signin-card.is-collapsed::after {
    display: none;
}

.silent-signin-card.is-collapsed .silent-signin-body {
    display: none;
}

.silent-signin-card.is-collapsed .silent-signin-collapsed-trigger {
    display: inline-flex;
}

/* Pill durumunda küçült butonu gizlenir — tüm pill zaten "tekrar aç" tetikleyicisidir */
.silent-signin-card.is-collapsed .silent-signin-close {
    display: none;
}

@keyframes silentSignInSlide {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes silentSignInSlideUp {
    from {
        transform: translateY(120%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Tablet ve küçük masaüstü: kart genişliğini ekrana göre sınırla */
@media (max-width: 768px) {
    .silent-signin-card {
        right: 16px;
        max-width: min(360px, calc(100vw - 32px));
    }
}

/* Mobil: kartı alta sabitle (bottom-sheet/toast düzeni), header/hero alanını kapatma */
@media (max-width: 576px) {
    .silent-signin-card {
        top: auto;
        right: 12px;
        left: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        min-width: auto;
        max-width: none;
        padding: 16px 16px 16px;
        animation: silentSignInSlideUp 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .silent-signin-content {
        gap: 12px;
        margin-bottom: 14px;
    }

    .silent-signin-icon {
        width: 40px;
        height: 40px;
    }

    .silent-signin-text {
        font-size: 13.5px;
    }

    .silent-signin-text span:first-child {
        font-size: 14.5px;
    }

    .silent-signin-button {
        min-height: 48px;
    }

    .silent-signin-card.is-collapsed {
        top: auto;
        left: auto;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        max-width: calc(100% - 24px);
    }
}

/* ── Skip-link: yalnızca klavye odağında görünür (WCAG 2.4.1) ── */
.skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 10001;
    padding: 10px 16px;
    background: #fff;
    color: var(--color-primary);
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-250%);
    transition: transform 0.2s ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid rgba(21, 101, 192, 0.35);
    outline-offset: 2px;
}

/* Ekran okuyucuya özel gizli metin (bootstrap sürümünden bağımsız) */
.gorsel-gizli {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Hareket azaltma: asistan FAB'ın sonsuz nefes/dürtme/tooltip animasyonları durur ── */
@media (prefers-reduced-motion: reduce) {
    #akilli-asistan-toggle,
    #akilli-asistan-toggle:not(:hover),
    #akilli-asistan-toggle:not(:hover) .asistan-tooltip,
    .asistan-pulse {
        animation: none !important;
    }
}

/* ── Klavye odak halkaları — proje deseni (bkz. .btn-kullanici:focus-visible) ── */
.hizmet-box-content .favorite-star:focus-visible {
    outline: 3px solid rgba(21, 101, 192, 0.35);
    outline-offset: 2px;
    border-radius: 6px;
}

#hizmet-bulunamadi-temizle:focus-visible {
    outline: 3px solid rgba(21, 101, 192, 0.35);
    outline-offset: 2px;
}

/* ── Sticky footer (yalnızca anasayfa layout'u): az sonuçta footer'a kadar
   dev boşluk yerine footer dibe yapışır, içerik alanı esner (#44) ── */
.anasayfa-govde {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.anasayfa-govde main {
    flex: 1 0 auto;
}

/* Yazdırma (23.10.2026 test geri bildirimi 4): sohbet robotu, erişilebilirlik araçları, çerez bandı ve yukarı çık düğmesi
   hiçbir çıktıya girmez. Tarayıcının kendi yazdır komutu (Ctrl+P) da kapsanır; ödeme belgesinin ayrı baskı düzeni odeme.css'te. */
@media print {
  #akilli-asistan, #akilli-asistan-backdrop, #akilli-asistan-toggle, #scrollTopBtn,
  #erisilebilirlikToggle, #erisilebilirlikPanel, #erisilebilirlikAcButonu, #engelsizCagriModal,
  #cerezBanner, #cookieModal,
  /* Eklentilerin ürettiği düğme ve katmanlar: Engelsiz Çeviri (signfordeaf) ve weaccess (wetool*, .widget-avatar) */
  #engelsizCeviriBtn, .widget-avatar, [id^="wetool" i],
  [id*="weaccess" i], [class*="weaccess" i], [id*="signfordeaf" i], [class*="signfordeaf" i] {
    display: none !important;
  }
}
