/* ==========================================================================
   KAMU İHALE KARARLARI VE ONLİNE DANIŞMANLIK PLATFORMU
   Kurumsal Beyaz & Lacivert Tasarım Sistemi (CSS)
   Modal Pencereler, Toast Bildirimler, PDF Önizleme ve Ödeme Ekranı
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #EFF6FF;

  --navy-dark: #0F172A;
  /* Koyu Lacivert / Slate */
  --navy-deep: #1E3A8A;
  /* Derin Kurumsal Lacivert */
  --navy-hover: #172554;
  --blue-primary: #1E40AF;
  /* Asil Kurumsal Mavi */
  --blue-vibrant: #2563EB;
  /* Canlı Mavi */
  --blue-hover: #1D4ED8;
  /* Hover Mavi */
  --blue-light: #EFF6FF;
  /* Açık Mavi Zemin */
  --blue-border: #BFDBFE;
  /* İnce Mavi Kenarlık */
  --blue-glow: rgba(37, 99, 235, 0.16);

  --turquoise-primary: #0284C7;
  /* Turkuaz / Cyan Vurgu */
  --turquoise-light: #E0F2FE;
  --turquoise-border: #7DD3FC;

  --orange-action: #EA580C;
  /* Önemli Butonlar / Turuncu Vurgu */
  --orange-hover: #C2410C;
  --orange-light: #FFF7ED;
  --orange-border: #FDBA74;

  --amber-action: #D97706;
  /* Sarı / Amber Vurgu */
  --red-action: #DC2626;
  /* Kırmızı Uyarı */

  --text-primary: #0F172A;
  /* Koyu Lacivert / Grafit Metin */
  --text-secondary: #475569;
  /* Açıklama Metni */
  --text-tertiary: #64748B;
  /* İkincil Açıklama */
  --text-inverted: #FFFFFF;

  --border-hairline: #E2E8F0;
  --border-subtle: #DBEAFE;
  --border-focus: #2563EB;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 14px 36px rgba(37, 99, 235, 0.09), 0 2px 8px rgba(15, 23, 42, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

@keyframes pulseGlow {
  0% { opacity: 1; transform: scale(1); box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4); }
  50% { opacity: 0.88; transform: scale(1.006); box-shadow: 0 0 24px rgba(239, 68, 68, 0.7); }
  100% { opacity: 1; transform: scale(1); box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4); }
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--navy-dark);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 1.85rem;
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

a {
  color: var(--navy-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--navy-hover);
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--blue-primary);
  color: #FFFFFF;
  border-color: var(--blue-primary);
}

.btn-primary:hover {
  background-color: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.28);
}

.btn-orange {
  background: linear-gradient(135deg, #FDE68A 0%, #F5BE47 50%, #F59E0B 100%);
  color: #0F172A;
  border: 1px solid rgba(245, 190, 71, 0.5);
  border-radius: 9999px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.28);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-orange:hover {
  background: linear-gradient(135deg, #FEF08A 0%, #FBBF24 50%, #D97706 100%);
  color: #0F172A;
  border-color: rgba(245, 190, 71, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
}

.btn-turquoise {
  background-color: var(--turquoise-primary);
  color: #FFFFFF;
  border-color: var(--turquoise-primary);
}

.btn-turquoise:hover {
  background-color: #0369A1;
  border-color: #0369A1;
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--blue-vibrant);
  color: #FFFFFF;
}

.btn-accent:hover {
  background-color: var(--blue-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--blue-light);
  color: var(--navy-deep);
  border: 1px solid var(--blue-border);
}

.btn-secondary:hover {
  background-color: #DBEAFE;
  border-color: #93C5FD;
}

.btn-outline {
  background-color: transparent;
  color: var(--blue-primary);
  border: 1.5px solid var(--blue-primary);
}

.btn-outline:hover {
  background-color: var(--blue-light);
}

.btn-danger {
  background-color: #DC2626;
  color: #FFFFFF;
}

.btn-danger:hover {
  background-color: #B91C1C;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* Header */
.corporate-header,
.apple-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-shield-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #1E40AF 0%, #0284C7 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 4px 10px rgba(30, 64, 175, 0.25);
}

.logo-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.logo-title-main {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

.logo-title-main span {
  color: #1E40AF;
}

.logo-title-main .domain-ext {
  font-size: 0.78rem;
  color: #2563EB;
  font-weight: 700;
  margin-left: 2px;
}

.logo-sub-desc {
  font-size: 0.7rem;
  color: #64748B;
  font-weight: 500;
  white-space: nowrap;
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-guide-link {
  color: #1E40AF;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-guide-link:hover {
  background: #DBEAFE;
  border-color: #93C5FD;
}

.btn-outline-nav {
  border-radius: 9999px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: 0.84rem;
  border: 1.5px solid #CBD5E1;
  color: #334155;
  background: #FFFFFF;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s;
}

.btn-outline-nav:hover {
  border-color: #94A3B8;
  background: #F8FAFC;
}

.btn-primary-nav {
  background-color: #2563EB;
  border: 1.5px solid #2563EB;
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
  transition: all 0.2s;
}

.btn-primary-nav:hover {
  background-color: #1D4ED8;
  border-color: #1D4ED8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--blue-vibrant);
}

.logo-sub {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  display: block;
  margin-top: -2px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-primary);
  font-weight: 600;
}

/* ==========================================================================
   KURUMSAL MAVİ / TURKUAZ HERO, ARŞİV VE ARAMA STİLLERİ
   ========================================================================== */

.openlicense-hero {
  background: radial-gradient(circle at 50% 10%, rgba(191, 219, 254, 0.5) 0%, rgba(239, 246, 255, 0.7) 45%, #FFFFFF 85%);
  padding: 70px 24px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1E40AF;
  margin-bottom: 20px;
}

.hero-title-openlicense {
  font-size: 3.1rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 920px;
  margin: 0 auto 16px;
}

.hero-title-openlicense .highlight-blue {
  color: var(--blue-primary);
}

.hero-title-openlicense .highlight-green {
  color: var(--blue-primary);
}

.hero-subtitle-openlicense {
  font-size: 1.1rem;
  color: #475569;
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.pill-search-box-wrapper {
  max-width: 680px;
  margin: 0 auto 16px;
  background: #FFFFFF;
  border-radius: 9999px;
  border: 1.5px solid #BFDBFE;
  box-shadow: 0 10px 32px rgba(37, 99, 235, 0.09);
  display: flex;
  align-items: center;
  padding: 6px 8px 6px 24px;
  transition: all 0.2s ease;
}

.pill-search-box-wrapper:focus-within {
  border-color: #2563EB;
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.2);
}

.pill-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: #0F172A;
  background: transparent;
  padding: 10px 0;
}

.pill-search-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-action);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.pill-search-btn:hover {
  background: var(--orange-hover);
  transform: scale(1.05);
}

/* 6-Kart Rankings / Emsal Kararlar Grid */
.rankings-section {
  width: 100%;
  margin: 50px auto 80px;
  padding: 0 24px;
  text-align: center;
}

.rankings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0 36px;
}

.ranking-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(6, 25, 23, 0.03);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.ranking-card:hover {
  transform: translateY(-4px);
  border-color: #BFDBFE;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.1);
}

.ranking-logo-container {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.star-rating-row {
  display: flex;
  gap: 3px;
  color: #F59E0B;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.ranking-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 4px;
  line-height: 1.35;
}

.ranking-card-sub {
  font-size: 0.8rem;
  color: #64748B;
  margin-bottom: 14px;
}

.ranking-tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.ranking-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
  font-weight: 600;
}

/* Doğrulama Çağrısı Kutusu (Verification Callout) */
.verification-callout-section {
  width: 100%;
  margin: 0 auto 80px;
  padding: 0 24px;
  text-align: center;
}

.verification-callout-card {
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  border-radius: 24px;
  padding: 48px 36px;
  box-shadow: 0 10px 40px rgba(30, 64, 175, 0.08);
}

/* Derin Kurumsal Lacivert Footer */
.forest-dark-footer {
  background-color: var(--forest-footer);
  color: #CBD5E1;
  padding: 70px 24px 30px;
  margin-top: auto;
  border-top: 1px solid #1E293B;
}

.forest-footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 50px;
}

.forest-footer-col h5 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.forest-footer-col ul {
  list-style: none;
}

.forest-footer-col ul li {
  margin-bottom: 10px;
}

.forest-footer-col ul li a {
  color: #94A3B8;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.forest-footer-col ul li a:hover {
  color: #34D399;
}

.forest-footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hukuki Belge / Sözleşme Görüntüleme */
.legal-document-view {
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  line-height: 1.65;
  text-align: justify;
}

.contract-article {
  margin-bottom: 18px;
  font-size: 0.88rem;
}

.contract-article h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-ticker-bar {
  background-color: var(--navy-dark);
  color: #E2E8F0;
  padding: 8px 24px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
}

/* Kartlar */
.card {
  background: #FFFFFF;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 24px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-hairline);
  flex-wrap: wrap;
  gap: 12px;
}

/* Tablolar */
.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.data-table th {
  padding: 12px 16px;
  background-color: #F8FAFC;
  color: #64748B;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-hairline);
}

.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--navy-dark);
}

.data-table tr:hover {
  background-color: #F8FAFC;
}

/* Rozetler */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-navy {
  background-color: var(--navy-light);
  color: var(--navy-deep);
}

.badge-success {
  background-color: #DCFCE7;
  color: #166534;
}

.badge-danger {
  background-color: #FEE2E2;
  color: #991B1B;
}

.badge-warning {
  background-color: #FEF3C7;
  color: #92400E;
}

.badge-gray {
  background-color: #F1F5F9;
  color: #475569;
}

/* Form Elemanları */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--navy-dark);
  background-color: #FFFFFF;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--navy-primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

/* Admin Dikey Sol Menü Düzeni */
.admin-layout-container {
  display: flex;
  min-height: calc(100vh - 64px);
  background-color: #F8FAFC;
  max-width: 100vw;
  overflow-x: hidden;
}

.admin-sidebar {
  width: 290px;
  background-color: var(--navy-dark);
  color: #FFFFFF;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #1E293B;
}

.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid #1E293B;
}

.admin-nav {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: #94A3B8;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  background-color: #1E293B;
  color: #FFFFFF;
}

.admin-nav-item.active {
  background-color: var(--navy-deep);
  color: #FFFFFF;
  font-weight: 600;
}

.admin-main-content {
  flex: 1;
  padding: 24px 28px;
  overflow-y: auto;
  overflow-x: hidden;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* ==========================================================================
   PROFESYONEL TOAST VE MODAL DİYALOG SİSTEMİ (BROWSER ALERT YERİNE)
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  max-width: 440px;
  border-left: 5px solid var(--navy-deep);
  animation: slideInRight 0.25s ease;
}

.toast.toast-success {
  border-left-color: #16A34A;
}

.toast.toast-error {
  border-left-color: #DC2626;
}

.toast.toast-info {
  border-left-color: var(--navy-deep);
}

.toast-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-dark);
}

.toast-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Modal Arka Plan & Pencere */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none !important;
  pointer-events: none !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.active {
  display: flex !important;
  pointer-events: auto !important;
}

#batchUploadModal.active {
  display: flex !important;
  pointer-events: auto !important;
  z-index: 999999 !important;
}

.admin-sidebar-backdrop {
  display: none !important;
  pointer-events: none !important;
}

.admin-sidebar-backdrop.active {
  display: block !important;
  pointer-events: auto !important;
}

.modal-window {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 18px 24px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

.modal-footer {
  padding: 16px 24px;
  background: #F8FAFC;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ==========================================================================
   GERÇEKÇİ RESMİ FORMATLI PDF İNCELEME NOTU BELGE ÖNİZLEMESİ
   ========================================================================== */

.pdf-paper-preview {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  padding: 36px 40px;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1E293B;
  line-height: 1.6;
}

.pdf-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-35deg);
  font-size: 2.8rem;
  color: rgba(220, 38, 38, 0.08);
  font-weight: 900;
  letter-spacing: 0.1em;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  z-index: 1;
}

.doc-logo-watermark {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.doc-logo-watermark img {
  width: min(68%, 440px);
  max-height: 68%;
  object-fit: contain;
  opacity: 0.25;
  user-select: none;
  -webkit-user-select: none;
}
.doc-paper-sheet,
.q-reader-card { position: relative; }
.decision-letterhead {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid #0F172A;
  padding: 0 0 14px;
  margin: 0 0 20px;
}
.decision-letterhead-text,
.q-reader-headtext { flex: 1; min-width: 0; }
.decision-letterhead-text { text-align: center; }
.decision-letterhead-title {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #0F172A;
  text-transform: uppercase;
  line-height: 1.35;
}
.decision-letterhead-type {
  font-size: 0.78rem;
  color: #475569;
  margin-top: 4px;
  font-weight: 700;
}
.q-reader-logo:empty { display: none; }
.inst-watermark {
  position: static;
  flex: none;
  width: 88px;
  height: 88px;
  transform: none;
}
.inst-watermark.is-danistay { width: 101px; height: 101px; }
.inst-watermark img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  opacity: 1;
  display: block;
  user-select: none;
}
.inst-watermark.is-danistay img { width: 101px; height: 101px; }
.q-reader-top {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: -28px -28px 12px;
  padding: 16px 18px 10px;
  background: #fff;
}
.q-reader-logo {
  margin-left: auto;
  width: 76px;
  height: 76px;
  flex: none;
}
.q-reader-mark {
  width: 76px;
  height: 76px;
  object-fit: contain;
  display: block;
}
.q-reader-mark.is-danistay { width: 87px; height: 87px; }
.inst-mark {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex: none;
  display: inline-block;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .decision-letterhead { gap: 10px; }
  .inst-watermark, .inst-watermark img { width: 64px; height: 64px; }
  .inst-watermark.is-danistay, .inst-watermark.is-danistay img { width: 74px; height: 74px; }
  .q-reader-logo, .q-reader-mark { width: 64px; height: 64px; }
  .q-reader-mark.is-danistay { width: 74px; height: 74px; }
}
@media print {
  .inst-watermark img {
    opacity: 1 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .decision-letterhead { break-inside: avoid; page-break-inside: avoid; }
}
.kik-chrono { width: 100%; border-collapse: collapse; margin: 0 0 26px; table-layout: fixed; }
.kik-chrono th { text-align: left; font-size: 0.72rem; font-weight: 800; color: #0B1220; background: #F0FDFA; padding: 8px 10px; border-bottom: 1px solid #A5F3FC; }
.kik-chrono td { border-bottom: 1px solid #E2E8F0; padding: 10px; vertical-align: top; font-size: 0.88rem; line-height: 1.55; color: #0F172A; }
.kik-chrono-n, .kik-chrono th:first-child { width: 58px; text-align: center; }
.kik-chrono-n { vertical-align: middle; padding: 8px 4px; }
.kik-chrono-n .karar-mark {
  display: block; width: 32px; height: 32px; margin: 0 auto 4px;
  object-fit: contain; transform: none;
}
.kik-chrono-n .karar-mark.is-danistay { width: 36px; height: 36px; }
.kik-chrono-num { display: block; font-weight: 800; line-height: 1; color: #0F172A; }
.kik-chrono-karar { width: 34%; background: #fff; }
.kik-chrono-open { margin-top: 8px; }
.pdf-paper-preview,
#printablePdfPaper,
.single-sentence-answer-box {
  position: relative;
}
@media print {
  .doc-logo-watermark img {
    opacity: 0.25 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

.pdf-header-seal {
  text-align: center;
  border-bottom: 2px double #0F172A;
  padding-bottom: 16px;
  margin-bottom: 24px;
}

.delicate-seal-container,
.gold-badge-container {
  display: inline-block;
  text-align: center;
  user-select: none;
  transition: transform 0.2s ease;
}

.gold-badge-container:hover {
  transform: scale(1.04);
}

/* Chat */
.chat-message-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  width: 100%;
}

.chat-message-row.align-right {
  align-items: flex-end;
}

.chat-message-row.align-left {
  align-items: flex-start;
}

.chat-bubble {
  max-width: 78%;
  padding: 12px 18px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-bubble.sent {
  background-color: var(--navy-deep);
  color: #FFFFFF;
  border-bottom-right-radius: 2px;
}

.chat-bubble.received {
  background-color: #F1F5F9;
  color: var(--navy-dark);
  border: 1px solid var(--border-hairline);
  border-bottom-left-radius: 2px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.apple-footer {
  margin-top: auto;
  background-color: #F8FAFC;
  border-top: 1px solid var(--border-hairline);
  padding: 28px 24px;
  font-size: 0.8rem;
  color: #64748B;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .admin-layout-container {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   RESMİ A4 BELGE YAZDIRMA (PRINT MEDIA) KURALLARI
   ========================================================================== */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  @page {
    size: A4 portrait;
    margin: 10mm 15mm;
  }

  body * {
    visibility: hidden !important;
  }

  #printablePdfPaper,
  #printablePdfPaper * {
    visibility: visible !important;
  }

  #printablePdfPaper {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12mm 15mm !important;
    box-shadow: none !important;
    border: none !important;
    background: #FFFFFF !important;
    font-size: 11pt !important;
  }

  .modal-backdrop,
  .modal-window {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .modal-header,
  .modal-footer,
  header,
  footer,
  .btn,
  .status-ticker-bar,
  .toast-container {
    display: none !important;
  }
}

/* ==========================================================================
   OPENLICENSE ESİNTİLİ TASARIM SİSTEMİ & ARAMA ANİMASYONU
   ========================================================================== */

/* Hero Alanı ve Luminous Nane Radyal Işıma */
.openlicense-hero {
  position: relative;
  padding: 60px 24px 50px;
  text-align: center;
  background: radial-gradient(circle at 50% 25%, rgba(209, 250, 229, 0.45) 0%, rgba(240, 253, 244, 0.3) 45%, #FFFFFF 85%);
  overflow: hidden;
}

/* Büyük Saydam Arka Plan Filigranı (Görseldeki Faint Background Text) */
.hero-bg-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8.5rem;
  font-weight: 900;
  color: rgba(226, 232, 240, 0.38);
  letter-spacing: 0.12em;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  z-index: 0;
}

/* Yüzen Dekoratif İkonlar (Görseldeki Mini İkonlar) */
.floating-decor-icon {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0.85;
  animation: gentleFloat 4s ease-in-out infinite alternate;
}

@keyframes gentleFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  100% {
    transform: translateY(-10px) rotate(4deg);
  }
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
  border-radius: 9999px;
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1E40AF;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.hero-title-openlicense {
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.03em;
  line-height: 1.18;
  max-width: 820px;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
}

.hero-title-openlicense .highlight-green,
.hero-title-openlicense .highlight-blue {
  color: var(--blue-primary);
  background: linear-gradient(135deg, #1E40AF 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle-openlicense {
  font-size: 1.1rem;
  color: #64748B;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Oval Pill Arama Kutusu (OpenLicense Tarzı) */
.pill-search-box-wrapper {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 9999px;
  box-shadow: 0 6px 28px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  padding: 6px 8px 6px 26px;
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  transition: all 0.25s ease;
}

.pill-search-box-wrapper:focus-within {
  border-color: #2563EB;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.22);
}

.pill-search-input {
  border: none;
  outline: none;
  font-size: 1.02rem;
  color: #0F172A;
  background: transparent;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 14px;
  font-family: inherit;
}

.pill-search-input::placeholder {
  color: #94A3B8;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-hover-tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 20px;
  right: 20px;
  background: #0F172A;
  color: #F8FAFC;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
  pointer-events: none;
  word-break: break-word;
}

.search-hover-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 32px;
  width: 12px;
  height: 12px;
  background: #0F172A;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

.pill-search-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--orange-action);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.18s ease, transform 0.18s ease;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);
}

.pill-search-btn:hover {
  background-color: var(--orange-hover);
  transform: scale(1.05);
}

/* ==========================================================================
   İZOLE ARAMA EKRANI & SİNEMATİK YARI SAYDAM ARAMA ANİMASYONU
   ========================================================================== */

.search-active-container {
  display: none;
  max-width: 960px;
  margin: 20px auto 60px;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.cinematic-search-modal-box {
  background: #FFFFFF;
  border: 1px solid #BFDBFE;
  border-radius: 24px;
  box-shadow: 0 16px 50px rgba(30, 64, 175, 0.12);
  padding: 36px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Havada Uçuşan Yarı Saydam KİK Belgeleri */
.flying-docs-stage {
  position: relative;
  height: 240px;
  width: 100%;
  max-width: 540px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Translucent Dossier / Dosya Çevirme Animasyonu */
.dossier-folder {
  width: 160px;
  height: 190px;
  background: rgba(239, 246, 255, 0.9);
  border: 2px solid #2563EB;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  z-index: 4;
}

.dossier-label {
  background: #1E40AF;
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.flipping-page {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px dashed #BFDBFE;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transform-origin: left center;
  animation: flipDossierPage 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 6px;
}

@keyframes flipDossierPage {
  0% {
    transform: rotateY(0deg);
    opacity: 0.95;
  }

  50% {
    transform: rotateY(-110deg);
    opacity: 0.5;
  }

  100% {
    transform: rotateY(0deg);
    opacity: 0.95;
  }
}

.page-text-line {
  height: 5px;
  background: #E2E8F0;
  border-radius: 3px;
  width: 100%;
}

.page-text-line.short {
  width: 65%;
  background: #93C5FD;
}

/* Havada Uçan Saydam Karar Sayfaları */
.floating-sheet {
  position: absolute;
  width: 90px;
  height: 120px;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  padding: 8px;
  backdrop-filter: blur(4px);
}

.sheet-1 {
  top: 10px;
  left: 30px;
  animation: floatSheet1 3s ease-in-out infinite alternate;
  transform: rotate(-12deg);
}

.sheet-2 {
  bottom: 15px;
  right: 40px;
  animation: floatSheet2 3.5s ease-in-out infinite alternate;
  transform: rotate(14deg);
}

.sheet-3 {
  top: 25px;
  right: 60px;
  animation: floatSheet3 2.8s ease-in-out infinite alternate;
  transform: rotate(-6deg);
}

@keyframes floatSheet1 {
  0% {
    transform: translateY(0) rotate(-12deg);
    opacity: 0.75;
  }

  100% {
    transform: translateY(-18px) rotate(-18deg);
    opacity: 0.95;
  }
}

@keyframes floatSheet2 {
  0% {
    transform: translateY(0) rotate(14deg);
    opacity: 0.75;
  }

  100% {
    transform: translateY(-22px) rotate(8deg);
    opacity: 0.95;
  }
}

@keyframes floatSheet3 {
  0% {
    transform: translateY(0) rotate(-6deg);
    opacity: 0.7;
  }

  100% {
    transform: translateY(-14px) rotate(-2deg);
    opacity: 0.9;
  }
}

/* Yarı Saydam İnceleme Büyüteci ve Lazer Çizgisi */
.inspecting-glass-beam {
  position: absolute;
  width: 56px;
  height: 56px;
  border: 3px solid #2563EB;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.14);
  backdrop-filter: blur(2px);
  z-index: 6;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
  animation: inspectScan 2.4s ease-in-out infinite alternate;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes inspectScan {
  0% {
    transform: translate(-70px, -40px) scale(0.95);
  }

  50% {
    transform: translate(60px, 10px) scale(1.1);
  }

  100% {
    transform: translate(-30px, 40px) scale(1);
  }
}

/* Dinamik Karar Kodu Ticker'ı */
.live-decision-ticker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  border-radius: 9999px;
  padding: 6px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1E40AF;
  margin-bottom: 16px;
}

/* Durum Başlığı */
.search-anim-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.search-anim-step {
  font-size: 0.95rem;
  color: #64748B;
  max-width: 520px;
  margin: 0 auto;
}

/* ==========================================================================
   CEVAP ALANI: 1. CÜMLE & BUZLU (BLUR) YILLIK LİSANS PAYWALL KARTI
   ========================================================================== */

.single-sentence-answer-box {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-top: 5px solid #1E40AF;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.09);
  overflow: hidden;
  text-align: left;
  margin: 24px auto;
  max-width: 1080px;
}

.answer-header-band {
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  border-bottom: 1px solid #DBEAFE;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.first-sentence-highlight {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.65;
  padding: 24px 28px;
  background: #FFFFFF;
  border-left: 5px solid #DC2626;
  border-bottom: 1px solid #F1F5F9;
}

/* Buzlu Kısım ve Üzerindeki Dönüşüm Kartı */
.blurred-deep-analysis-wrapper {
  position: relative;
  padding: 28px;
  background: #F8FAFC;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blurred-text-preview {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
  opacity: 0.55;
  color: #334155;
  line-height: 1.7;
}

.paywall-floating-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 620px;
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid #2563EB;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.22);
  padding: 32px 28px;
  text-align: center;
  z-index: 5;
  backdrop-filter: blur(12px);
}

/* ==========================================================================
   RANKINGS (2x3 GRID) & OPENLICENSE ELEMANLARI
   ========================================================================== */

.rankings-section {
  padding: 80px 24px 70px;
  text-align: center;
  background: #FFFFFF;
  position: relative;
}

.rankings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 36px auto 44px;
}

/* 3 Sütunlu Canlı Bilgi Masası: Kararlar | Mevzuat | Duyurular */
.rankings-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1160px;
  margin: 36px auto 44px;
  text-align: left;
}

.three-col-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.three-col-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.1);
  border-color: #BFDBFE;
}

.three-col-header {
  padding: 18px 22px;
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.three-col-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.three-col-list {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.item-entry-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.18s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.item-entry-card:hover {
  background: #FFFFFF;
  border-color: #2563EB;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
  transform: translateX(2px);
}

.item-entry-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: #64748B;
}

.item-entry-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
}

.item-entry-desc {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.45;
}

.three-col-footer {
  padding: 12px 18px;
  background: #FAFDFB;
  border-top: 1px solid #F1F5F9;
  text-align: center;
}

/* ==========================================================================
   MINIMAL VE DİNGİN KARAR, MEVZUAT & DUYURU SATIRLARI (CLOUD-WHITE STYLE)
   0 Kaos, 0 Gürültü, Tamamen Beyaz, Sakin ve Dingin Atmosfer
   ========================================================================== */
.minimal-clean-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.minimal-clean-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  border-color: #CBD5E1;
}

.minimal-clean-header {
  padding: 18px 20px 14px;
  background: #FFFFFF;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.minimal-clean-header h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #0F172A;
  margin: 0;
  letter-spacing: -0.01em;
}

.minimal-clean-list {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.minimal-clean-row {
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.minimal-clean-row:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateX(2px);
}

.minimal-row-content {
  flex: 1;
  min-width: 0;
}

.minimal-row-meta {
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 600;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.minimal-row-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0F172A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

/* Standart Tek Tip Durum Rozetleri (Aynı Boyut ve Tipte) */
.minimal-status-pill {
  width: 96px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Olumlu: Yeşil */
.status-pill-positive {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

/* Olumsuz: Kırmızı */
.status-pill-negative {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

/* Arasında / İnceleme: Sarı/Kehribar */
.status-pill-neutral {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.minimal-clean-footer {
  padding: 12px 18px;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
  text-align: center;
}

.minimal-clean-footer a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
  text-decoration: none;
  transition: color 0.15s;
}

.minimal-clean-footer a:hover {
  color: #0F172A;
}

.ranking-card {
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(30, 64, 175, 0.1);
  border-color: #BFDBFE;
}

.ranking-logo-container {
  height: 64px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border: 1px solid #F8FAFC;
  border-radius: 10px;
  background: #F8FAFC;
}

.star-rating-row {
  color: #F59E0B;
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 8px;
}

.ranking-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 4px;
}

.ranking-card-sub {
  font-size: 0.82rem;
  color: #64748B;
  margin-bottom: 14px;
}

.ranking-tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.ranking-tag {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 0.74rem;
  color: #475569;
  font-weight: 500;
}

/* Verification Callout */
.verification-callout-section {
  padding: 60px 24px 80px;
  text-align: center;
  background: #FFFFFF;
}

.verification-callout-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* Kurumsal Koyu Lacivert Footer (#0F172A) */
.forest-dark-footer,
.corporate-navy-footer {
  background-color: #0F172A;
  color: #CBD5E1;
  padding: 60px 24px 28px;
  margin-top: auto;
}

.forest-footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1.3fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.forest-footer-col h5 {
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.forest-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.forest-footer-col ul li a {
  color: #94A3B8;
  font-size: 0.85rem;
  transition: color 0.18s ease;
}

.forest-footer-col ul li a:hover {
  color: #38BDF8;
}

.forest-footer-bottom {
  max-width: 1140px;
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .rankings-grid {
    grid-template-columns: 1fr;
  }

  .forest-footer-container {
    grid-template-columns: 1fr;
  }

  .hero-title-openlicense {
    font-size: 2.1rem;
  }
}

/* ==========================================================================
   RESMÎ KARAR & MEVZUAT DETAY MODALLARI İÇİN TASARIM
   ========================================================================== */
.public-content-box {
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.public-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.public-meta-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 14px;
}

.public-meta-label {
  font-size: 0.72rem;
  color: #64748B;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.public-meta-val {
  font-size: 0.95rem;
  color: #0F172A;
  font-weight: 700;
}

.structured-chunk-card {
  background: #FFFFFF;
  border-left: 4px solid #1E40AF;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin-bottom: 14px;
  border-top: 1px solid #E2E8F0;
  border-right: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

.structured-chunk-card.iddia {
  border-left-color: #2563EB;
}

.structured-chunk-card.savunma {
  border-left-color: #F59E0B;
}

.structured-chunk-card.gerekce {
  border-left-color: #0284C7;
}

.structured-chunk-card.hukum {
  border-left-color: #7C3AED;
  background: #FDFBFF;
}

.archive-entry-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.archive-entry-card:hover {
  border-color: #2563EB;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
  transform: translateY(-2px);
}

/* ==========================================================================
   DANIŞMAN MASASI & RANDEVU YÖNETİMİ DÜZENİ (GENİŞ, ORTALI VE DİKEY SÜTUNLU)
   ========================================================================== */
.panel-container {
  width: 100%;
  max-width: 1640px;
  margin: 20px auto;
  padding: 0 24px;
}

.consultant-grid-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1260px) {
  .consultant-grid-layout {
    grid-template-columns: 1fr;
  }
}

.consultant-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.consultant-metric-badge {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.slot-manage-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.slot-manage-card.available {
  border-color: #BFDBFE;
  background: #EFF6FF;
}

.slot-manage-card.blocked {
  border-color: #FECACA;
  background: #FEF2F2;
}

.pending-request-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #F59E0B;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.pending-request-card.approved {
  border-left-color: #2563EB;
}

.pending-request-card.rejected {
  border-left-color: #EF4444;
  opacity: 0.7;
}


/* =========================================================================
   CANLI GÖRÜŞME ODASI – PRO CHAT STİLLERİ
   ========================================================================= */

/* Oturum Üst Aksiyonlar */
.session-action-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.session-end-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1.5px solid #FECACA;
  background: #FEF2F2;
  color: #DC2626;
  cursor: pointer;
  transition: all 0.2s ease;
}

.session-end-btn:hover {
  background: #FEE2E2;
  border-color: #EF4444;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1.5px solid #FDBA74;
  background: #FFF7ED;
  color: #C2410C;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pdf-download-btn:hover {
  background: #FFEDD5;
  border-color: #FB923C;
  color: #9A3412;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.18);
}

/* Chat Mesaj Satırları ve Balonları */
.chat-message-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  animation: fadeInMsg 0.2s ease;
}

.chat-message-row.align-right {
  align-items: flex-end;
}

.chat-message-row.align-left {
  align-items: flex-start;
}

@keyframes fadeInMsg {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-sender-info {
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 600;
  margin-bottom: 4px;
}

.chat-bubble,
.chat-bubble-received,
.chat-bubble-sent {
  max-width: 78%;
  padding: 13px 18px;
  font-size: 0.9rem;
  line-height: 1.6;
  word-break: break-word;
}

.chat-bubble-sent,
.chat-bubble.sent {
  background: #1E3A8A !important;
  color: #FFFFFF !important;
  border-radius: 18px 18px 4px 18px !important;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.18) !important;
}

.chat-bubble-received,
.chat-bubble.received {
  background: #FFFFFF !important;
  border: 1.5px solid #CBD5E1 !important;
  color: #0F172A !important;
  border-radius: 18px 18px 18px 4px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
}

/* @ Etiket Dropdown */
.at-mention-wrapper {
  position: relative;
  flex: 1;
}

.at-mention-dropdown {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: 420px;
  max-height: 320px;
  overflow-y: auto;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18);
  z-index: 500;
  padding: 8px;
}

.at-mention-dropdown.active {
  display: block;
  animation: atDropIn 0.2s ease;
}

@keyframes atDropIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.at-mention-dropdown .at-section-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 12px 4px;
}

.at-mention-dropdown .at-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 0.85rem;
  color: #0F172A;
}

.at-mention-dropdown .at-item:hover {
  background: #EFF6FF;
}

.at-mention-dropdown .at-item .at-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.at-mention-dropdown .at-item .at-label {
  font-weight: 600;
  line-height: 1.3;
}

.at-mention-dropdown .at-item .at-desc {
  font-size: 0.74rem;
  color: #64748B;
  font-weight: 400;
}

/* Tıklanabilir Yasal Etiket Pill (mesaj balonları içinde) */
.legal-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(37, 99, 235, 0.15);
  color: #1E40AF;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.legal-tag:hover {
  background: rgba(37, 99, 235, 0.25);
  border-color: #2563EB;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.18);
}

/* Beyaz arka planlı balonlardaki legal tag */
.chat-bubble-received .legal-tag,
.chat-bubble.received .legal-tag {
  background: rgba(37, 99, 235, 0.12);
}

/* Koyu arka planlı balonlardaki legal tag */
.chat-bubble-sent .legal-tag,
.chat-bubble.sent .legal-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #BFDBFE;
  border-color: rgba(255, 255, 255, 0.3);
}

.chat-bubble-sent .legal-tag:hover,
.chat-bubble.sent .legal-tag:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

/* Yasal Referans Detay Modalı */
.legal-ref-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.legal-ref-modal-backdrop.active {
  display: flex;
}

.legal-ref-modal {
  background: #FFFFFF;
  border-radius: 20px;
  max-width: 720px;
  width: 95%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.3);
  animation: modalPop 0.25s ease;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.legal-ref-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0F172A;
  color: #FFFFFF;
  border-radius: 20px 20px 0 0;
}

.legal-ref-modal-body {
  padding: 24px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #334155;
}

/* Chat Oturum Sonlandırıldı Overlay */
.session-ended-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  gap: 16px;
  border-radius: 20px;
}

.session-ended-overlay .ended-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #EFF6FF;
  border: 2px solid #BFDBFE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

/* =========================================================================
   FİRMA PROFİL & HESAP YÖNETİMİ ÇEKMECESİ (SLIDE-OVER DRAWER)
   ========================================================================= */
.profile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.profile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.profile-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -10px 0 35px rgba(15, 23, 42, 0.15);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.profile-drawer.active {
  right: 0;
}

.profile-drawer-header {
  padding: 20px 24px;
  background: #0F172A;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-drawer-body {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
}

.profile-drawer-footer {
  padding: 16px 24px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.premium-verify-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: 5px;
  border-radius: 50%;
  background: linear-gradient(180deg, #60A5FA 0%, #2563EB 55%, #1D4ED8 100%);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2), 0 2px 8px rgba(37, 99, 235, 0.38);
  vertical-align: middle;
  flex-shrink: 0;
}
.premium-verify-tick svg {
  display: block;
}
.premium-name-wrap {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  gap: 2px;
  overflow: visible;
}
.premium-name-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.premium-name-host {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  overflow: visible !important;
}
.premium-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1;
}
.premium-status-badge.is-on {
  background: linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%);
  color: #1D4ED8;
  border: 1.5px solid #60A5FA;
  box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 4px 14px rgba(37, 99, 235, 0.18);
}
.premium-status-badge.is-off {
  background: #F8FAFC;
  color: #64748B;
  border: 1px solid #E2E8F0;
}
.drawer-premium-card {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.drawer-premium-card.is-on {
  background: linear-gradient(180deg, #F8FBFF 0%, #EFF6FF 100%);
  border: 1.5px solid #93C5FD;
}
.drawer-premium-card.is-off {
  background: #FFF7ED;
  border: 1.5px solid #FED7AA;
}

/* =========================================================================
   YÜZEN CANLI GÖRÜŞME WIDGETI (SAĞ ALTTAN YÜZEN RANDEVU KARTI)
   ========================================================================= */
.floating-appointment-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
  background: #FFFFFF;
  border: 2px solid #2563EB;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.22);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatIn 0.35s ease-out;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 390px;
}

.floating-appointment-widget:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.28);
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floating-widget-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10B981;
  position: relative;
  flex-shrink: 0;
}

.floating-widget-pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.4);
  animation: pulse 1.5s infinite;
}

/* =========================================================================
   DANIŞMAN ÇOKLU GÖRÜŞME ODASI SEKME SATIRI (MULTI-SESSION TABS)
   ========================================================================= */
.consultant-session-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #F1F5F9;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow-x: auto;
  border: 1px solid #E2E8F0;
}

.session-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.session-tab-item:hover {
  border-color: #94A3B8;
  background: #F8FAFC;
}

.session-tab-item.active {
  background: #1E3A8A;
  color: #FFFFFF;
  border-color: #1E3A8A;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.25);
}

.session-tab-item .session-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.session-tab-item.active .session-status-dot {
  background: #34D399;
  box-shadow: 0 0 6px #34D399;
}

.session-tab-item:not(.active) .session-status-dot {
  background: #94A3B8;
}

.session-tab-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: transparent;
  border: 1.5px dashed #94A3B8;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.session-tab-add-btn:hover {
  background: #E2E8F0;
  border-color: #64748B;
  color: #0F172A;
}

.session-tab-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.72rem;
  margin-left: 6px;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  transition: all 0.2s ease;
}

.session-tab-close:hover {
  background: #EF4444;
  color: #FFFFFF;
}

.session-tab-item.active .session-tab-close {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.session-tab-item.active .session-tab-close:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.session-notice-alert {
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  animation: fadeIn 0.3s ease;
}

.session-notice-alert.red {
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
  color: #991B1B;
}

.session-notice-alert.blue {
  background: #EFF6FF;
  border: 1.5px solid #BFDBFE;
  color: #1E40AF;
}

.session-notice-alert.yellow {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  color: #92400E;
}

/* Sol Dikey Sütun Firma Bilgi Kutucukları */
.firm-dossier-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.02);
  transition: all 0.2s ease;
}

.firm-dossier-card:hover {
  border-color: #BFDBFE;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.06);
}

.firm-dossier-card-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1E40AF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #E2E8F0;
}

/* =========================================================================
   NATIVE-APP GRADE MOBILE RESPONSIVE ENGINE (ALL SCREENS & VIEWPORTS)
   Designed for smartphone displays (360px - 480px, including 6.7" phones)
   ========================================================================= */

/* 1. Global Viewport & Anti-Overflow Armor */
html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
  -webkit-text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Stop iOS Safari from zooming in on input focus */
input,
select,
textarea {
  font-size: 16px !important;
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 14px;
}

/* Touch-Friendly Tap Targets */
button,
.btn,
.cockpit-nav-pill,
.admin-nav-item,
.ranking-tag {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Desktop Navbar User Pill & Initial Avatar */
.navbar-user-pill {
  cursor: pointer;
  background: #FFFFFF;
  border: 1.5px solid #BFDBFE;
  border-radius: 9999px;
  padding: 4px 14px 4px 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.06);
}

.navbar-user-pill:hover {
  border-color: #2563EB;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Admin oturumunda profil yanındaki "Admin Panele Git" butonu */
.admin-panel-nav-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px -4px rgba(185, 28, 28, 0.55);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-panel-nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(185, 28, 28, 0.65);
}

/* Profil kutusu solundaki Ana Sayfa butonu (panel / randevu / ödeme / danışman) */
.header-right-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}

.header-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  color: #0F172A;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.08);
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.header-home-btn:hover {
  border-color: #F59E0B;
  background: #FFFBEB;
}

.header-home-icon {
  font-size: 1.05rem;
  line-height: 1;
  font-weight: 700;
}

@media (max-width: 768px) {
  .admin-panel-nav-btn {
    padding: 0;
    width: 36px;
    height: 36px;
    justify-content: center;
  }

  .admin-panel-nav-btn .admin-panel-nav-text {
    display: none;
  }
}

.user-avatar-initial {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1E40AF;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}

/* =========================================================================
   TABLET & MOBILE BREAKPOINT (<= 860px)
   ========================================================================= */
@media screen and (max-width: 860px) {

  /* Container resets */
  .container,
  .header-container,
  .cockpit-container,
  .panel-container,
  .main-layout {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* Header & Navigation */
  .apple-header,
  .corporate-header {
    height: auto !important;
    min-height: 56px !important;
    padding: 10px 12px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }

  .header-container {
    padding: 8px 14px !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* MOBİLDE LOGO: YALNIZCA KÜÇÜK VE ŞIK BİR SİMGE */
  .logo-area {
    gap: 0 !important;
    flex-shrink: 0 !important;
  }

  .logo-area div:last-child,
  .logo-text-box,
  .logo-title-main,
  .logo-title,
  .logo-text,
  .logo-sub,
  .logo-sub-desc,
  .brand-pill div:last-child {
    display: none !important;
  }

  .logo-icon-box,
  .logo-badge,
  .brand-logo-icon,
  .site-logo-img {
    width: 52px !important;
    height: 52px !important;
    font-size: 1.15rem !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .brand-pill .site-logo-img {
    width: 36px !important;
    height: 36px !important;
  }

  /* MOBİLDE TÜM MENÜ LİNKLERİ, TICKER VE ROZETLER GİZLENİR */
  .nav-links,
  nav ul,
  .status-ticker-bar,
  .nav-actions .badge,
  .desktop-only-badge,
  #headerNavHowItWorks {
    display: none !important;
  }

  /* MOBİL SAĞ AKSİYON BUTONLARI: TEK VE ŞIK BUTON */
  .header-right-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
  }

  .header-guide-link {
    display: none !important;
    /* Mobilde sadece Giriş Yap butonu kalır */
  }

  .btn-outline-nav {
    display: none !important;
  }

  .btn-primary-nav {
    padding: 7px 18px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    border-radius: 9999px !important;
  }

  /* MOBİL GERİ DÖNÜŞ İKON BUTONU */
  .back-icon-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #EFF6FF !important;
    border: 1.5px solid #BFDBFE !important;
    color: #1E40AF !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  }

  /* GİRİŞ YAPMIŞ FİRMA MOBİLDE SADECE TEK HARFLİ YUVARLAK AVATAR */
  .navbar-user-pill {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    border: 2px solid #BFDBFE !important;
    background: transparent !important;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.12) !important;
    overflow: hidden !important;
  }

  .navbar-user-pill .user-avatar-initial {
    width: 100% !important;
    height: 100% !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .navbar-user-pill .user-info-text,
  .navbar-user-pill .user-role-badge,
  .navbar-user-pill .user-gear-icon,
  .navbar-user-pill #navUserCompanyName,
  .navbar-user-pill span:not(.user-avatar-initial),
  .desktop-only-dash-btn,
  #navbarUserActions a.btn-primary:not(.btn-primary-nav) {
    display: none !important;
    /* Mobilde avatara basılınca panele gidilir */
  }

  .header-right-cluster {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .header-home-btn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    justify-content: center !important;
  }

  .header-home-text,
  .header-logout-text {
    display: none !important;
  }

  .header-logout-btn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  .header-mid-badges {
    display: none !important;
  }

  .user-pill-btn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }

  .user-pill-btn > div:not(.avatar-initial),
  .user-pill-btn > span {
    display: none !important;
  }

  .user-pill-btn .avatar-initial {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    font-size: 1rem !important;
  }

  .back-circle-btn {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex-shrink: 0 !important;
  }

  .panel-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .cockpit-header .header-inner,
  .corporate-header .header-container,
  .corporate-header .header-inner {
    gap: 8px !important;
    min-width: 0 !important;
  }

  /* ABONELİK VE GENEL MOBİL BUTON TAŞMA ENGELLEME */
  .main-layout,
  main {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
  }

  .card,
  .pricing-hero-card {
    padding: 22px 14px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .btn,
  .btn-lg,
  .btn-primary,
  .btn-orange {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .btn-lg {
    padding: 13px 14px !important;
    font-size: 0.95rem !important;
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.35 !important;
  }

  /* Auth Header (giris.html & kayit.html) */
  .auth-header {
    padding: 10px 14px !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .auth-header .brand-logo-icon {
    width: 34px !important;
    height: 34px !important;
    font-size: 1.1rem !important;
  }

  .auth-header .brand-pill div>div {
    font-size: 1.05rem !important;
  }

  .auth-header span {
    display: none !important;
  }

  .auth-header a {
    white-space: nowrap !important;
    font-size: 0.78rem !important;
    padding: 6px 12px !important;
  }

  /* Index / Anasayfa */
  .openlicense-hero {
    padding: 32px 14px 24px 14px !important;
    overflow: hidden !important;
  }

  .hero-bg-watermark {
    font-size: 3.2rem !important;
    opacity: 0.02 !important;
  }

  .hero-title-openlicense {
    font-size: 1.55rem !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }

  .hero-subtitle-openlicense {
    font-size: 0.86rem !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
  }

  .pill-search-box-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 4px 6px 4px 14px !important;
  }

  .pill-search-input {
    font-size: 14px !important;
    padding: 10px 4px !important;
  }

  .pill-search-btn {
    width: 42px !important;
    height: 42px !important;
    flex-shrink: 0 !important;
  }

  .rankings-3col-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .rankings-section {
    padding: 30px 12px !important;
  }

  .floating-sheet {
    display: none !important;
    /* Hide background decorative sheets on mobile */
  }

  /* SONUÇ BELGESİ VE ARAMA SONUCU MOBİL UYUMU */
  .single-sentence-answer-box {
    border-radius: 14px !important;
    margin: 14px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-top-width: 4px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
  }

  .answer-header-band {
    padding: 14px 14px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .answer-header-band>div {
    width: 100% !important;
    min-width: 0 !important;
  }

  #displayQueryTitle {
    font-size: 1.05rem !important;
    line-height: 1.4 !important;
    margin-top: 4px !important;
    white-space: normal !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }

  #resultRiskBadge {
    font-size: 0.74rem !important;
    padding: 5px 12px !important;
    white-space: normal !important;
    display: inline-block !important;
    max-width: 100% !important;
  }

  .first-sentence-highlight {
    padding: 16px 14px !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    border-left-width: 4px !important;
  }

  .blurred-deep-analysis-wrapper {
    padding: 14px 12px !important;
    min-height: auto !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
  }

  body.page-index .blurred-deep-analysis-wrapper {
    overflow: visible !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .blurred-text-preview.is-locked {
    filter: blur(6px) !important;
    max-height: 160px !important;
    overflow: hidden !important;
    margin-bottom: 12px !important;
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
  }

  body.page-index .blurred-text-preview:not(.is-locked) {
    filter: none !important;
    max-height: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    user-select: text !important;
    margin-bottom: 0 !important;
    font-size: 0.92rem !important;
    line-height: 1.65 !important;
  }

  .paywall-floating-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px 14px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15) !important;
  }

  .paywall-floating-card h3 {
    font-size: 1.12rem !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }

  .paywall-floating-card p {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
  }

  .paywall-floating-card a.btn,
  .paywall-floating-card .btn-orange {
    width: 100% !important;
    font-size: 0.92rem !important;
    padding: 12px 14px !important;
    white-space: normal !important;
    line-height: 1.35 !important;
    border-radius: 12px !important;
    text-align: center !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* PDF ÖNİZLEME BELGE MODALI MOBİL UYUMU */
  #pdfDocumentModal .modal-window {
    width: 96vw !important;
    max-width: 96vw !important;
    padding: 0 !important;
    border-radius: 14px !important;
    max-height: 94vh !important;
  }

  #pdfDocumentModal .modal-body {
    padding: 10px !important;
  }

  .pdf-paper-preview {
    padding: 16px 12px !important;
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    border-radius: 8px !important;
  }

  .pdf-watermark {
    font-size: 1.4rem !important;
  }

  #pdfModalGoldSealContainer svg {
    width: 40px !important;
    height: 40px !important;
  }

  #legalDecisionDetailModal {
    padding: 0 !important;
    align-items: stretch !important;
  }
  #legalDecisionDetailModal .decision-modal {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  #legalDecisionDetailModal .decision-print { display: none !important; }
  #legalDecisionDetailModal .decision-modal-body {
    padding: 0 !important;
    background: #fff !important;
  }
  #legalDecisionDetailModal .doc-paper-sheet {
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 8px 16px 28px !important;
  }
  #legalDecisionDetailModal .inst-watermark,
  #legalDecisionDetailModal .inst-watermark img {
    width: 64px !important;
    height: 64px !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }
  #legalDecisionDetailModal .inst-watermark.is-danistay,
  #legalDecisionDetailModal .inst-watermark.is-danistay img {
    width: 74px !important;
    height: 74px !important;
  }
  #legalDecisionDetailModal .decision-meta-grid,
  #legalDecisionDetailModal .decision-kunye {
    grid-template-columns: 1fr !important;
  }
  #legalDecisionDetailModal .decision-kunye-label,
  #legalDecisionDetailModal .doc-paper-sheet,
  #legalDecisionDetailModal .doc-paper-sheet * {
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: manual !important;
  }
  #legalDecisionDetailModal .legal-text-p,
  #legalDecisionDetailModal .legal-mevzuat,
  #legalDecisionDetailModal .legal-section-header,
  #legalDecisionDetailModal .legal-bent-header,
  #legalDecisionDetailModal .legal-verdict-intro {
    text-align: left !important;
    word-break: normal !important;
  }
  #legalDecisionDetailModal .decision-meta-grid > div {
    border-right: 0 !important;
  }

  /* Modals */
  .modal-window {
    width: 95vw !important;
    max-width: 95vw !important;
    margin: 12px auto !important;
    padding: 20px 16px !important;
    max-height: 90vh !important;
    border-radius: 18px !important;
  }

  /* Grid Resets */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Firma Paneli (panel.html) */
  #firmCompactBar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px !important;
  }

  #firmCompactBar>div {
    width: 100% !important;
    justify-content: space-between !important;
  }

  /* Cockpit Modül Sekmeleri: Native Uygulama Tarzı Yatay Kaydırılabilir Bar */
  .cockpit-pills-bar,
  div:has(> #tabFirmOverviewBtn),
  div:has(> .cockpit-nav-pill) {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px !important;
    padding: 10px 12px !important;
    background: #FFFFFF !important;
    border-radius: 14px !important;
    margin-bottom: 18px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04) !important;
  }

  .cockpit-pills-bar::-webkit-scrollbar,
  div:has(> #tabFirmOverviewBtn)::-webkit-scrollbar,
  div:has(> .cockpit-nav-pill)::-webkit-scrollbar {
    display: none !important;
  }

  .cockpit-nav-pill {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 9px 16px !important;
    font-size: 0.82rem !important;
    border-radius: 9999px !important;
  }

  /* Overview Sekmesi */
  #firmTabOverview>div {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* Canlı Danışman Masası (firmChatActiveContainer) */
  #firmChatActiveContainer {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  #firmChatActiveContainer aside {
    height: auto !important;
    max-height: 260px !important;
    overflow-y: auto !important;
    padding-right: 0 !important;
  }

  #firmChatActiveContainer .card:last-child {
    height: 560px !important;
    max-height: calc(100vh - 180px) !important;
    border-radius: 16px !important;
  }

  #firmChatMessagesArea {
    padding: 14px !important;
    gap: 12px !important;
  }

  #firmChatInput {
    padding: 10px 16px !important;
    font-size: 15px !important;
  }

  /* Floating Appointment Widget */
  .floating-appointment-widget {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    max-width: calc(100% - 24px) !important;
    padding: 10px 14px !important;
    border-radius: 14px !important;
  }

  /* Admin paneli: yatay chip bar yok — dikey çekmece listesi admin.html’de */

  .admin-main-content {
    padding: 16px 12px !important;
    width: 100% !important;
  }

  .admin-main-content>div:first-child {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Admin Finans KPI Kartları Mobil */
  #adminFinanceKpiGrid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  #adminFinanceKpiGrid>.card {
    padding: 14px !important;
  }

  #adminFinanceKpiGrid>.card>div:nth-child(2) {
    font-size: 1.35rem !important;
  }

  /* Admin Tablo Responsive */
  .data-table-responsive-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .data-table {
    min-width: 600px;
  }

  .data-table th,
  .data-table td {
    padding: 8px 10px !important;
    font-size: 0.78rem !important;
    white-space: nowrap;
  }

  /* Admin Section Headers Mobil */
  .admin-main-content h2 {
    font-size: 1.1rem !important;
  }

  .admin-main-content .card-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  /* Makbuz Modal Mobil */
  #officialReceiptModal .modal-window {
    max-width: 95vw !important;
    padding: 16px !important;
  }

  #officialReceiptModal .modal-window>div:first-child {
    flex-direction: column !important;
    gap: 12px !important;
  }

  #officialReceiptModal [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Danışman Paneli (danisman.html) */
  .consultant-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Randevu Paneli (randevu.html) */
  #bookingSlotsContainer>div {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px !important;
  }

  #bookingSlotsContainer>div button {
    width: 100% !important;
    padding: 10px !important;
  }
}

/* =========================================================================
   COMPACT SMARTPHONE BREAKPOINT (<= 480px, e.g. iPhone, Galaxy, 6.7" phones)
   ========================================================================= */
@media screen and (max-width: 480px) {

  body {
    font-size: 14px !important;
  }

  .card,
  .step-card,
  .faq-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }

  .auth-card-glass {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  .hero-title-openlicense {
    font-size: 1.4rem !important;
  }

  .btn {
    font-size: 0.84rem !important;
  }

  /* Paywall Card on Mobile */
  #firmChatPaywallContainer,
  #firmChatExhaustedContainer {
    padding: 28px 16px !important;
    margin: 20px auto !important;
    border-radius: 18px !important;
  }

  #firmChatPaywallContainer h2 {
    font-size: 1.4rem !important;
  }

  #firmChatPaywallContainer>div:nth-of-type(2) {
    flex-direction: column !important;
    gap: 16px !important;
    text-align: center !important;
  }

  #firmChatPaywallContainer>div:nth-of-type(2)>div {
    text-align: center !important;
  }

  #firmChatPaywallContainer a.btn {
    width: 100% !important;
  }

  /* Admin Finans KPI - Tek Sütun */
  #adminFinanceKpiGrid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  #adminFinanceKpiGrid>.card>div:nth-child(2) {
    font-size: 1.2rem !important;
  }

  /* Admin nav compact: dikey liste kalsın */
  .admin-nav-item {
    width: 100% !important;
  }

  .admin-main-content {
    padding: 12px 8px !important;
  }
}

/* =========================================================================
   SECURITY & AUTHENTICATION ENHANCEMENTS (AUDIT LOGS & STATUS)
   ========================================================================= */
@keyframes onlineSignalPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.online-signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
  animation: onlineSignalPulse 2s infinite;
}

#companyAccessLogsContainer table td,
#companyAccessLogsContainer table th {
  padding: 8px 10px;
}

@media screen and (max-width: 768px) {
  #companyAccessLogsContainer {
    max-height: 220px !important;
  }

  #secLogSummaryCards {
    grid-template-columns: 1fr !important;
  }

  .profile-drawer {
    max-width: 100% !important;
  }

}

body.page-kayit .form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}



/* -------------------------------------------------------------------------
   PAGE: Ã–DEME (odeme.html)
   ------------------------------------------------------------------------- */
body.page-odeme {

  --bg-warm-canvas: radial-gradient(130% 100% at 0% 0%, #FEF9C3 0%, #F5F3E9 45%, #E2E8F0 100%);
  --card-glass: rgba(255, 253, 245, 0.88);
  --border-warm: rgba(245, 158, 11, 0.22);
  --border-light: rgba(255, 255, 255, 0.9);
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --amber-dark: #78350F;
  --amber-main: #F59E0B;
  --amber-light: #FEF3C7;
  --input-bg: #F8FAFC;

}

body.page-odeme,
body.page-odeme * {

  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;

}

body.page-odeme #profileDrawer,
body.page-odeme #profileDrawer * {
  box-sizing: border-box;
}

body.page-odeme #profileDrawer .profile-drawer-header {
  padding: 20px 24px !important;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

body.page-odeme #profileDrawer .profile-drawer-header > div {
  min-width: 0;
}

body.page-odeme #profileDrawer .profile-drawer-header h3 {
  margin: 0 !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.page-odeme #profileDrawer .profile-drawer-body {
  padding: 24px !important;
  margin: 0;
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
}

body.page-odeme #profileDrawer .profile-drawer-footer {
  padding: 16px 24px !important;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

body.page-odeme #profileDrawer .drawer-premium-card {
  padding: 14px 16px !important;
  margin: 0 0 18px 0 !important;
}

body.page-odeme #profileDrawer .form-input {
  width: 100%;
  min-width: 0;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  box-shadow: none;
  background: #FFFFFF;
}

body.page-odeme {

  min-height: 100vh;
  background: var(--bg-warm-canvas) !important;
  background-attachment: fixed !important;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;

}

/* Arka Plan Canlı Küreler */
body.page-odeme .ambient-sphere {

  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  animation: floatSlow 14s ease-in-out infinite alternate;

}

body.page-odeme .ambient-1 {

  width: 500px;
  height: 500px;
  background: rgba(251, 191, 36, 0.25);
  top: -80px;
  left: -60px;

}

body.page-odeme .ambient-2 {

  width: 480px;
  height: 480px;
  background: rgba(96, 165, 250, 0.2);
  bottom: -100px;
  right: -80px;
  animation-delay: -6s;

}

@keyframes floatSlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(35px, 25px) scale(1.08);
  }

  100% {
    transform: translate(-20px, 45px) scale(0.96);
  }
}

/* Üst Header */
body.page-odeme .corporate-header {

  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 250, 240, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1.5px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(180, 83, 9, 0.04);

}

body.page-odeme .header-container {

  max-width: 1220px;
  margin: 0 auto;
  height: 74px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

}

body.page-odeme .brand-pill {

  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 14px 4px 6px;
  border-radius: 9999px;
  border: 1px solid var(--border-warm);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
  transition: transform 0.2s ease;
  max-height: 56px;
  overflow: hidden;

}

body.page-odeme .brand-pill:hover {

  transform: translateY(-1px);

}

body.page-odeme .brand-logo-icon {

  font-size: 1.2rem;

}

body.page-odeme .brand-title {

  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;

}

/* Profil Butonu (Çekmece Tetikleyici) */
body.page-odeme .user-pill-btn {

  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--border-warm);
  border-radius: 9999px;
  padding: 6px 14px 6px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
  flex-shrink: 0;
  transition: all 0.2s ease;

}

body.page-odeme .user-pill-btn:hover {

  transform: translateY(-1px);
  border-color: var(--amber-main);

}

body.page-odeme .avatar-initial {

  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FEF08A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);

}

body.page-odeme .back-circle-btn {

  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-warm);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.2s ease;

}

body.page-odeme .back-circle-btn:hover {

  background: var(--amber-light);
  transform: translateX(-2px);

}

/* Ana Alan Grid */
body.page-odeme .payment-main-wrapper {

  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 1220px;
  width: 100%;
  margin: 32px auto 60px;
  padding: 0 24px;

}

body.page-odeme .master-split-frame {

  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 28px;
  align-items: start;

}

@media (max-width: 960px) {
  body.page-odeme .master-split-frame {

    grid-template-columns: 1fr;

  }

}

/* Cam Kartlar */
body.page-odeme .payment-glass-card {

  background: var(--card-glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1.5px solid var(--border-light);
  border-radius: 30px;
  padding: 36px 32px;
  box-shadow: 0 30px 70px -20px rgba(180, 83, 9, 0.09), inset 0 1px 2px #FFFFFF;
  animation: cardPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;

}

@keyframes cardPop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.page-odeme .badge-pill-yellow {

  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: var(--amber-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 9999px;

}

body.page-odeme .plan-title {

  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  margin: 14px 0 10px;

}

body.page-odeme .plan-desc {

  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 22px;

}

body.page-odeme .price-breakdown-box {

  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border-warm);
  border-radius: 18px;
  padding: 20px 22px;
  margin-bottom: 22px;

}

body.page-odeme .breakdown-row {

  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  margin-bottom: 10px;

}

body.page-odeme .breakdown-total {

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 2px dashed rgba(245, 158, 11, 0.3);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-dark);

}

body.page-odeme .legal-alert-box {

  background: #FEF2F2;
  border: 1.5px solid #FCA5A5;
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 18px;

}

body.page-odeme .legal-alert-title {

  font-size: 0.86rem;
  font-weight: 800;
  color: #991B1B;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;

}

body.page-odeme .legal-alert-text {

  font-size: 0.8rem;
  color: #7F1D1D;
  line-height: 1.55;

}

/* Form Grupları */
body.page-odeme .form-group {

  margin-bottom: 16px;

}

body.page-odeme .form-label {

  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;

}

body.page-odeme .form-input {

  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid rgba(245, 158, 11, 0.25);
  border-radius: 18px;
  padding: 13px 18px;
  color: var(--text-dark);
  font-size: 0.94rem;
  outline: none;
  transition: all 0.25s ease;

}

body.page-odeme .form-input:focus {

  border-color: var(--amber-main);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);

}

body.page-odeme .grid-2-inputs {

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;

}

body.page-odeme .legal-consent-card {

  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border-warm);
  border-radius: 18px;
  margin-bottom: 24px;

}

body.page-odeme .checkbox-item {

  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  cursor: pointer;

}

body.page-odeme .checkbox-item:last-child {

  margin-bottom: 0;

}

body.page-odeme .checkbox-item input[type="checkbox"] {

  width: 18px;
  height: 18px;
  accent-color: var(--amber-main);
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;

}

body.page-odeme .checkbox-text {

  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;

}

body.page-odeme .checkbox-text a {

  color: var(--amber-dark);
  font-weight: 700;
  text-decoration: underline;

}

body.page-odeme .btn-submit-payment {

  width: 100%;
  background: linear-gradient(135deg, #FDE68A 0%, #F5BE47 50%, #F59E0B 100%);
  color: #0F172A;
  font-weight: 800;
  font-size: 1.02rem;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 9999px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 24px -6px rgba(245, 158, 11, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}

body.page-odeme .btn-submit-payment:hover {

  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(245, 158, 11, 0.6);
  filter: brightness(1.03);

}

/* =========================================================================
       SAĞDAN AÇILAN PROFİL ÇEKMECESİ (DRAWER)
       ========================================================================= */
body.page-odeme .drawer-backdrop,
body.page-odeme .profile-drawer-backdrop {

  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease;

}

body.page-odeme .drawer-backdrop.active,
body.page-odeme .profile-drawer-backdrop.active {

  display: block;
  opacity: 1;
  visibility: visible;

}

body.page-odeme .profile-drawer {

  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  max-width: 100vw;
  height: 100dvh;
  background: #FFFFFF;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.16);
  border-left: 1px solid var(--border-subtle);
  z-index: 99999;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  transform: translate3d(110%, 0, 0);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);

}

body.page-odeme .profile-drawer.active {

  right: 0 !important;

}

body.page-odeme .drawer-header {

  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.2);
  padding-bottom: 16px;

}

body.page-odeme .drawer-close-btn {

  background: rgba(254, 243, 199, 0.6);
  border: 1px solid #FDE68A;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--amber-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;

}

body.page-odeme .drawer-close-btn:hover {

  background: #FDE68A;
  transform: scale(1.05);

}

body.page-odeme .drawer-section-card {

  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--border-warm);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.03);

}

body.page-odeme .drawer-form-group {

  margin-bottom: 14px;

}

body.page-odeme .drawer-form-label {

  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;

}

body.page-odeme .drawer-form-input,
body.page-odeme .drawer-form-select {

  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.88rem;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s ease;

}

body.page-odeme .drawer-form-input:focus,
body.page-odeme .drawer-form-select:focus {

  border-color: var(--amber-main);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);

}

body.page-odeme .drawer-grid-2 {

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;

}

body.page-odeme .btn-amber-cta {

  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 9999px;
  padding: 10px 22px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;

}

body.page-odeme .btn-amber-cta:hover {

  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);

}

/* Modal Backdrop */
body.page-odeme .modal-backdrop {

  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;

}

body.page-odeme .modal-backdrop.active {

  display: flex;

}

body.page-odeme .modal-window {

  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  animation: cardPop 0.3s ease-out;

}

/* Footer */
body.page-odeme .forest-dark-footer {

  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(20px);
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 24px 32px;
  position: relative;
  z-index: 1;

}

body.page-odeme .forest-footer-container {

  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 36px;
  margin-bottom: 40px;

}

@media (max-width: 900px) {
  body.page-odeme .forest-footer-container {

    grid-template-columns: 1fr 1fr;

  }

  body.page-odeme .profile-drawer {

    max-width: 100%;

  }

}

@media (max-width: 600px) {
  body.page-odeme .forest-footer-container {

    grid-template-columns: 1fr;

  }

  body.page-odeme .drawer-grid-2 {

    grid-template-columns: 1fr;

  }

  body.page-odeme .grid-2-inputs {

    grid-template-columns: 1fr;

  }

}

/* -------------------------------------------------------------------------
   PAGE: ABONELÄ°K (abonelik.html)
   ------------------------------------------------------------------------- */
body.page-abonelik {

  --bg-warm-light: #F7F5EB;
  --bg-warm-accent: #FEF3C7;
  --card-bg: rgba(255, 255, 255, 0.88);
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --amber-text-dark: #78350F;
  --input-bg: #F8FAFC;
  --border-color: #E2E8F0;

}

body.page-abonelik,
body.page-abonelik * {

  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;

}

body.page-abonelik {

  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: radial-gradient(130% 100% at 0% 0%, #FEF9C3 0%, #F5F3E9 45%, #E2E8F0 100%);
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;

}

/* Arka Plan Canlı Işıltı Küreleri */
body.page-abonelik .ambient-sphere {

  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  animation: floatSlow 15s ease-in-out infinite alternate;

}

body.page-abonelik .ambient-1 {

  width: 480px;
  height: 480px;
  background: rgba(251, 191, 36, 0.22);
  top: -80px;
  left: -60px;

}

body.page-abonelik .ambient-2 {

  width: 500px;
  height: 500px;
  background: rgba(96, 165, 250, 0.18);
  bottom: -100px;
  right: -80px;
  animation-delay: -6s;

}

@keyframes floatSlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(35px, 25px) scale(1.08);
  }

  100% {
    transform: translate(-20px, 45px) scale(0.95);
  }
}

/* Üst Statü Bandı */
body.page-abonelik .top-official-bar {

  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  color: #94A3B8;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 24px;
  position: relative;
  z-index: 100;

}

body.page-abonelik .top-bar-inner {

  max-width: 1220px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

}

body.page-abonelik .top-badge-indicator {

  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #F8FAFC;
  font-weight: 600;

}

body.page-abonelik .top-badge-dot {

  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);

}

/* Kurumsal Header */
body.page-abonelik .corporate-header {

  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);

}

body.page-abonelik .header-container {

  max-width: 1220px;
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;

}

body.page-abonelik .brand-pill {

  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 4px 14px 4px 6px;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  max-height: 56px;
  overflow: hidden;

}

body.page-abonelik .brand-pill:hover {

  transform: translateY(-1px);

}

body.page-abonelik .brand-logo-icon {

  font-size: 1.2rem;

}

body.page-abonelik .brand-title {

  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
  white-space: nowrap;

}

body.page-abonelik .brand-pill > div > span {
  font-size: 0.62rem !important;
  line-height: 1.15;
  white-space: nowrap;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.page-abonelik .nav-links {

  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;

}

body.page-abonelik .nav-link {

  color: #475569;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;

}

body.page-abonelik .nav-link:hover,
body.page-abonelik .nav-link.active {

  color: #D97706;
  font-weight: 700;

}

body.page-abonelik .btn-header-cta {

  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: var(--amber-text-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(217, 119, 6, 0.2);
  box-shadow: 0 4px 16px -2px rgba(245, 158, 11, 0.4);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

}

body.page-abonelik .btn-header-cta:hover {

  transform: translateY(-1px);
  box-shadow: 0 8px 22px -2px rgba(245, 158, 11, 0.55);

}

/* Ana Alan */
body.page-abonelik .pricing-main-wrapper {

  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 1220px;
  width: 100%;
  margin: 40px auto 70px;
  padding: 0 24px;

}

body.page-abonelik .pricing-hero-header {

  text-align: center;
  margin-bottom: 44px;

}

body.page-abonelik .badge-pill-yellow {

  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: var(--amber-text-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);

}

body.page-abonelik .pricing-main-title {

  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;

}

body.page-abonelik .pricing-main-sub {

  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;

}

/* Split Fiyatlandırma Kartı */
body.page-abonelik .master-frame {

  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto 50px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 36px;
  box-shadow: 0 35px 80px -20px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.8),
    inset 0 1px 2px rgba(255, 255, 255, 1);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 16px;
  gap: 20px;
  animation: cardPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;

}

@keyframes cardPop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body.page-abonelik .plan-pane {

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 36px 28px;

}

body.page-abonelik .plan-badge-row {

  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;

}

body.page-abonelik .plan-name {

  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.025em;
  margin: 6px 0 16px;

}

body.page-abonelik .price-box {

  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);

}

body.page-abonelik .price-original {

  font-size: 1.25rem;
  color: #94A3B8;
  text-decoration: line-through;
  font-weight: 600;

}

body.page-abonelik .price-current {

  font-size: 2.7rem;
  font-weight: 900;
  color: #C2410C;
  letter-spacing: -0.03em;

}

body.page-abonelik .price-period {

  font-size: 0.95rem;
  color: #64748B;
  font-weight: 700;

}

body.page-abonelik .feature-list {

  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;

}

body.page-abonelik .feature-item {

  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.5;

}

body.page-abonelik .feature-icon {

  color: #D97706;
  font-weight: 900;
  font-size: 1.1rem;
  line-height: 1.2;
  flex-shrink: 0;

}

body.page-abonelik .btn-cta-large {

  width: 100%;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: var(--amber-text-dark);
  font-weight: 800;
  font-size: 1.05rem;
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 9999px;
  padding: 16px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 24px -6px rgba(245, 158, 11, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}

body.page-abonelik .btn-cta-large:hover {

  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(245, 158, 11, 0.6);
  filter: brightness(1.03);

}

/* Sağ Vitrin */
body.page-abonelik .showcase-pane {

  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;

}

body.page-abonelik .showcase-overlay {

  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.75) 100%);
  z-index: 1;

}

body.page-abonelik .floating-badge-card {

  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: floatBadge 6s ease-in-out infinite alternate;

}

body.page-abonelik .badge-yellow {

  background: #FEF08A;
  color: #854D0E;
  border-color: #FDE047;
  max-width: 280px;
  align-self: flex-start;
  margin-top: 20px;

}

@keyframes floatBadge {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-10px);
  }
}

/* SSS Bölümü */
body.page-abonelik .faq-section {

  max-width: 880px;
  margin: 0 auto 30px;

}

body.page-abonelik .faq-card {

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
  transition: all 0.2s ease;

}

body.page-abonelik .faq-card:hover {

  border-color: #CBD5E1;
  transform: translateY(-2px);

}

body.page-abonelik .faq-title {

  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;

}

body.page-abonelik .faq-desc {

  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;

}

/* Footer */
body.page-abonelik .forest-dark-footer {

  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(20px);
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 24px 32px;
  position: relative;
  z-index: 1;

}

body.page-abonelik .forest-footer-container {

  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 36px;
  margin-bottom: 40px;

}

@media (max-width: 900px) {
  body.page-abonelik .forest-footer-container {
    grid-template-columns: 1fr 1fr;
  }

  body.page-abonelik .nav-links {
    display: none;
  }

}

@media (max-width: 600px) {
  body.page-abonelik .forest-footer-container {
    grid-template-columns: 1fr;
  }

  body.page-abonelik .master-frame {
    grid-template-columns: 1fr;
    border-radius: 26px;
  }

  body.page-abonelik .showcase-pane {
    display: none;
  }

  body.page-abonelik .plan-pane {
    padding: 24px 18px;
  }

}

body.page-abonelik .forest-footer-col h5 {

  font-size: 0.84rem;
  font-weight: 800;
  color: #F8FAFC;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;

}

body.page-abonelik .forest-footer-col ul {
  list-style: none;
}

body.page-abonelik .forest-footer-col li {
  margin-bottom: 10px;
}

body.page-abonelik .forest-footer-col a {

  color: #94A3B8;
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s ease;

}

body.page-abonelik .forest-footer-col a:hover {
  color: #FFFFFF;
}

body.page-abonelik .forest-footer-bottom {

  max-width: 1220px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;

}

/* Modal Backdrop */
body.page-abonelik .modal-backdrop {

  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;

}

body.page-abonelik .modal-backdrop.active {

  display: flex;

}

body.page-abonelik .modal-window {

  background: #FFFFFF;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  animation: cardPop 0.3s ease-out;

}

/* -------------------------------------------------------------------------
   PAGE: Ä°NDEX / ANA SAYFA (index.html)
   ------------------------------------------------------------------------- */
/* ==========================================================================
       GLOBAL ARCHITECTURAL DESIGN SYSTEM (HARVEY.AI x LINEAR x APPLE LUXE)
       ========================================================================== */
body.page-index {

  --bg-base: #FAFAF9;
  /* Alabaster & Raw Silk Kağıt */
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FDFDFC;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-active: rgba(15, 23, 42, 0.2);
  --border-focus: #0B1120;

  --ink-primary: #090D16;
  /* Derin Mürekkep Siyahı */
  --ink-navy: #152238;
  /* Danıştay / Yargıtay Laciverti */
  --ink-secondary: #526071;
  --ink-tertiary: #8C9AA8;

  --court-blue: #1A365D;
  /* Resmi Hukuk Mavisi */
  --court-blue-soft: #EFF6FF;
  --court-amber: #9A6735;
  /* Antik Kaşe & Mühür Pirinci */
  --court-amber-soft: #FFFDF9;
  --court-danger: #991B1B;
  --court-danger-soft: #FEF2F2;
  --court-emerald: #065F46;
  --court-emerald-soft: #ECFDF5;

  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-micro: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-soft: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.03);
  --shadow-command: 0 24px 48px -12px rgba(9, 13, 22, 0.12), 0 0 0 1px rgba(9, 13, 22, 0.07);
  --shadow-modal: 0 32px 72px -16px rgba(9, 13, 22, 0.28);

}

body.page-index,
body.page-index * {

  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

}

body.page-index {

  margin: 0;
  padding: 0;

}

body.page-index {

  background-color: var(--bg-base);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  background-image:
    radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;

}

/* 1. ÜST PRESTİJ MEVZUAT BİLGİ BANDI */
body.page-index .top-official-bar {

  display: none !important;
}

.top-official-bar,
.status-ticker-bar,
#liveMevzuatBar {
  display: none !important;
}

/* 2. HEADER */
body.page-index .corporate-header {

  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 250, 249, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);

}

body.page-index .header-container {

  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

body.page-index .logo-area {

  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;

}

body.page-index .logo-icon-box {

  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--ink-primary);
  color: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-micro);

}

body.page-index .logo-title-main {

  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--ink-primary);
  line-height: 1.1;

}

body.page-index .logo-sub-desc {

  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;

}

body.page-index .domain-ext {

  font-size: 0.78rem;
  font-weight: 500;
  color: #64748B;

}

body.page-index .header-right-group {

  display: flex;
  align-items: center;
  gap: 14px;

}

body.page-index .header-guide-link {

  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
  transition: all 0.15s ease;

}

body.page-index .header-guide-link:hover {

  background: rgba(15, 23, 42, 0.04);
  color: var(--ink-primary);

}

body.page-index .btn-primary-nav {

  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #FDE68A 0%, #F5BE47 100%);
  color: #0F172A;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(217, 119, 6, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);

}

body.page-index .btn-primary-nav:hover {

  background: var(--court-blue);
  border-color: var(--court-blue);
  transform: translateY(-1px);

}

/* 3. HERO SECTION */
body.page-index .openlicense-hero {

  position: relative;
  padding: 88px 24px 64px;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;

}

body.page-index .hero-bg-watermark {

  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(4.8rem, 10vw, 9rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: rgba(15, 23, 42, 0.024);
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;

}

body.page-index .hero-eyebrow {

  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--court-amber);
  background: var(--court-amber-soft);
  border: 1px solid rgba(154, 103, 53, 0.2);
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(154, 103, 53, 0.05);

}

body.page-index .hero-title-openlicense {

  position: relative;
  z-index: 2;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  line-height: 1.15;
  margin-bottom: 20px;

}

body.page-index .highlight-blue {

  font-style: italic;
  font-weight: 400;
  color: var(--court-blue);
  border-bottom: 1px solid rgba(26, 54, 93, 0.25);

}

body.page-index .hero-subtitle-openlicense {

  position: relative;
  z-index: 2;
  font-size: 1.05rem;
  color: var(--ink-secondary);
  max-width: 680px;
  margin: 0 auto 38px;
  line-height: 1.65;

}

/* 4. SPOTLIGHT COMMAND BAR (ARAMA KUTUSU) */
body.page-index .pill-search-box-wrapper {

  position: relative;
  z-index: 5;
  max-width: 780px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1.5px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 6px 8px 6px 20px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-command);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

}

body.page-index .pill-search-box-wrapper:focus-within {

  border-color: var(--ink-primary);
  box-shadow: 0 25px 50px -12px rgba(9, 13, 22, 0.15), 0 0 0 4px rgba(9, 13, 22, 0.06);
  transform: translateY(-2px);

}

body.page-index .pill-search-input {

  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.02rem;
  font-family: var(--font-sans);
  color: var(--ink-primary);
  font-weight: 500;
  padding: 12px 0;

}

body.page-index .pill-search-input::placeholder {

  color: #94A3B8;
  font-weight: 400;

}

body.page-index .pill-search-btn {

  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--ink-primary);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;

}

body.page-index .pill-search-btn:hover {

  background: var(--court-blue);

}

body.page-index .ranking-tag {

  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  background: #FFFFFF !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--ink-secondary) !important;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-micro);

}

body.page-index .ranking-tag:hover {

  border-color: var(--ink-primary) !important;
  color: var(--ink-primary) !important;
  transform: translateY(-1px);

}

/* 5. RESMÎ KAYIT MASASI (3 SÜTUN) */
body.page-index .rankings-section {

  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 76px 24px;
  box-sizing: border-box;

}

body.page-index .rankings-3col-grid {

  width: 100%;
  max-width: 1240px;
  margin: 0 auto !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  box-sizing: border-box;

}

@media (max-width: 1024px) {
  body.page-index .rankings-3col-grid {

    grid-template-columns: 1fr;

  }

}

body.page-index .minimal-clean-card {

  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;

}

body.page-index .minimal-clean-card:hover {

  border-color: var(--border-active);
  box-shadow: 0 10px 30px -4px rgba(15, 23, 42, 0.07);

}

body.page-index .minimal-clean-header {

  padding: 18px 22px;
  border-bottom: 1px solid var(--border-subtle);
  background: #FCFCFB;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

body.page-index .minimal-clean-header h3 {

  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;

}

body.page-index .minimal-clean-list {

  display: flex;
  flex-direction: column;
  flex: 1;

}

body.page-index .minimal-clean-row {

  padding: 16px 22px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background 0.15s ease;

}

body.page-index .minimal-clean-row:last-child {

  border-bottom: none;

}

body.page-index .minimal-clean-row:hover {

  background: #F8FAFC;

}

body.page-index .minimal-row-meta {

  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-tertiary);
  font-family: var(--font-mono);
  margin-bottom: 3px;

}

body.page-index .minimal-row-title {

  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
  line-height: 1.4;

}

body.page-index .minimal-status-pill {

  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.01em;

}

body.page-index .status-pill-positive {

  background: var(--court-emerald-soft);
  color: var(--court-emerald);
  border: 1px solid #A7F3D0;

}

body.page-index .status-pill-negative {

  background: var(--court-danger-soft);
  color: var(--court-danger);
  border: 1px solid #FECACA;

}

body.page-index .status-pill-neutral {

  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;

}

body.page-index .minimal-clean-footer {

  padding: 14px 22px;
  background: #FCFCFB;
  border-top: 1px solid var(--border-subtle);
  text-align: right;

}

body.page-index .minimal-clean-footer a {

  font-size: 0.82rem;
  font-weight: 700;
  color: var(--court-blue);
  text-decoration: none;

}

/* 6. VERIFICATION CALLOUT */
body.page-index .verification-callout-section {

  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 88px 24px;
  background: var(--bg-base);
  box-sizing: border-box;

}

body.page-index .verification-callout-card {

  width: 100%;
  max-width: 880px;
  margin: 0 auto !important;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-soft);

}

body.page-index .verification-callout-card h2 {

  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
  margin-bottom: 14px;

}

body.page-index .btn-orange {

  background: linear-gradient(135deg, #FDE68A 0%, #F5BE47 50%, #F59E0B 100%) !important;
  color: #0F172A !important;
  border: 1px solid rgba(245, 190, 71, 0.4) !important;
  border-radius: 9999px !important;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
  font-weight: 800;
  box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.35);

}

body.page-index .btn-orange:hover {

  background: linear-gradient(135deg, #FEF08A 0%, #FBBF24 50%, #D97706 100%) !important;
  color: #0F172A !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(245, 158, 11, 0.48);

}

/* 7. İZOLE ARAMA & SİNEMATİK SAHNE */
body.page-index .search-active-container {

  display: none;
  padding: 48px 24px 96px;
  max-width: 920px;
  margin: 0 auto;

}

body.page-index .cinematic-search-modal-box {

  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
  box-shadow: var(--shadow-soft);

}

body.page-index .flying-docs-stage {

  position: relative;
  height: 160px;
  max-width: 360px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;

}

body.page-index .dossier-folder {

  width: 140px;
  height: 105px;
  background: var(--ink-primary);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  z-index: 2;

}

body.page-index .dossier-label {

  font-size: 0.6rem;
  font-weight: 700;
  color: var(--court-amber);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;

}

body.page-index .flipping-page {

  width: 110px;
  height: 72px;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

}

body.page-index .page-text-line {

  height: 3px;
  background: #E2E8F0;
  border-radius: 2px;
  width: 100%;
  margin-bottom: 4px;

}

body.page-index .page-text-line.short {

  width: 55%;

}

body.page-index .floating-sheet {

  position: absolute;
  width: 95px;
  height: 120px;
  background: #FFFFFF;
  border: 1px solid var(--border-active);
  border-radius: 6px;
  padding: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);

}

body.page-index .sheet-1 {

  left: 0;
  transform: rotate(-8deg);

}

body.page-index .sheet-2 {

  right: 0;
  transform: rotate(10deg);

}

body.page-index .sheet-3 {

  top: -12px;
  transform: rotate(2deg);
  opacity: 0.4;

}

body.page-index .live-decision-ticker {

  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--ink-secondary);
  margin-bottom: 20px;

}

/* 8. KESİN CEVAP & PAYWALL KARTI */
body.page-index .single-sentence-answer-box {

  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
  position: relative;

}

body.page-index .answer-header-band {

  padding: 24px 32px;
  border-bottom: 1px solid var(--border-subtle);
  background: #FCFCFB;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;

}

body.page-index .first-sentence-highlight {

  padding: 28px 32px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink-primary);
  line-height: 1.6;

}

body.page-index .blurred-deep-analysis-wrapper {

  position: relative;
  padding: 32px;
  background: #FCFCFB;
  min-height: 480px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;

}

body.page-index .paywall-floating-card {

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 48px);
  max-width: 560px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: 28px;
  padding: 38px 34px;
  text-align: center;
  box-shadow: 0 35px 80px -15px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(245, 158, 11, 0.12);
  z-index: 10;
  animation: cardPop 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;

}

/* AI Akış Göstergesi & Typewriter Cursor */
.ai-streaming-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #FEF3C7;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 9999px;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #78350F;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
  animation: cardPop 0.3s ease forwards;
}

.ai-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D97706;
  display: inline-block;
  animation: aiDotPulse 1.2s ease-in-out infinite;
}

@keyframes aiDotPulse {
  0%, 100% {
    transform: scale(0.85);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 8px rgba(217, 119, 6, 0.8);
  }
}

.ai-cursor {
  display: inline-block;
  width: 7px;
  height: 1.15em;
  background: #D97706;
  vertical-align: -0.15em;
  margin-left: 3px;
  border-radius: 2px;
  animation: aiBlinkCursor 0.75s infinite;
}

@keyframes aiBlinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* 9. FOOTER */
body.page-index .forest-dark-footer {

  background: var(--ink-primary);
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 72px 24px 36px;

}

body.page-index .forest-footer-container {

  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.6fr 1fr;
  gap: 40px;
  margin-bottom: 48px;

}

@media (max-width: 900px) {
  body.page-index .forest-footer-container {

    grid-template-columns: 1fr 1fr;

  }

}

@media (max-width: 600px) {
  body.page-index .forest-footer-container {

    grid-template-columns: 1fr;

  }

}

body.page-index .forest-footer-col h5 {

  font-size: 0.78rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;

}

body.page-index .forest-footer-col ul {

  list-style: none;

}

body.page-index .forest-footer-col li {

  margin-bottom: 10px;

}

body.page-index .forest-footer-col a {

  color: #94A3B8;
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.15s ease;

}

body.page-index .forest-footer-col a:hover {

  color: #FFFFFF;

}

body.page-index .forest-footer-bottom {

  max-width: 1240px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;

}

/* 10. MODALLAR VE ARŞİV KARTLARI */
body.page-index .modal-backdrop {

  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;

}

body.page-index .modal-backdrop.active {

  display: flex;

}

body.page-index .modal-window {

  background: #FFFFFF;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-modal);

}

.decision-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #0B1220;
  color: #fff;
}
.decision-modal-id {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.decision-modal-id strong { font-size: 0.92rem; }
.decision-modal-id span { font-size: 0.78rem; color: #CBD5E1; }
.decision-modal-id em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  border: 1px solid;
  border-radius: 999px;
  padding: 2px 8px;
}
.decision-modal-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.decision-print {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.decision-x {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: #DC2626;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
}
.decision-modal-body {
  background: #F8FAFC;
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
#legalDecisionDetailModal .doc-paper-sheet {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 28px 32px 36px;
  line-height: 1.7;
  color: #111;
}
.decision-modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-top: 1px solid #E2E8F0;
}
.decision-modal-foot span {
  margin-right: auto;
  font-size: 0.78rem;
  color: #64748B;
}
.decision-pdf {
  border: 0;
  border-radius: 10px;
  background: #0891B2;
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
}

body.page-index .archive-entry-card {

  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.15s ease;

}

body.page-index .archive-entry-card:hover {

  border-color: var(--ink-primary);
  transform: translateY(-1px);

}

body.page-index .structured-chunk-card {

  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 12px;

}

body.page-index .structured-chunk-card.iddia {

  border-left: 3px solid var(--court-blue);

}

body.page-index .structured-chunk-card.savunma {

  border-left: 3px solid var(--court-amber);

}

body.page-index .structured-chunk-card.gerekce {

  border-left: 3px solid #0284C7;

}

body.page-index .structured-chunk-card.hukum {

  border-left: 3px solid #7C3AED;

}

body.page-index .public-meta-grid {

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;

}

body.page-index .public-meta-item {

  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 16px;

}

body.page-index .public-meta-label {

  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;

}

body.page-index .public-meta-val {

  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-top: 3px;

}

body.page-index .public-content-box {

  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 14px;

}

/* -------------------------------------------------------------------------
   PAGE: FÄ°RMA PANELÄ° (panel.html)
   ------------------------------------------------------------------------- */
body.page-panel {

  --bg-warm-canvas: radial-gradient(120% 110% at 0% 0%, #FEF08A 0%, #FDFBF7 40%, #F5EBE1 85%, #E2E8F0 100%);
  --card-glass: rgba(255, 253, 247, 0.78);
  --card-glass-hover: rgba(255, 255, 255, 0.92);
  --border-warm: rgba(245, 158, 11, 0.18);
  --border-light: rgba(255, 255, 255, 0.9);
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --amber-dark: #78350F;
  --amber-main: #F59E0B;
  --amber-light: #FEF3C7;
  --shadow-soft: 0 20px 45px -12px rgba(180, 83, 9, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);

}

body.page-panel,
body.page-panel * {

  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;

}

body.page-panel {

  margin: 0;
  padding: 0;

}

body.page-panel {

  min-height: 100vh;
  background: var(--bg-warm-canvas);
  background-attachment: fixed;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;

}

/* Sıcak Arka Plan Işıltı Küreleri */
body.page-panel .ambient-sphere {

  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  animation: floatSlow 14s ease-in-out infinite alternate;

}

body.page-panel .ambient-1 {

  width: 520px;
  height: 520px;
  background: rgba(252, 211, 77, 0.35);
  top: -100px;
  left: -80px;

}

body.page-panel .ambient-2 {

  width: 480px;
  height: 480px;
  background: rgba(147, 197, 253, 0.22);
  bottom: -100px;
  right: -80px;
  animation-delay: -6s;

}

@keyframes floatSlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, 30px) scale(1.06);
  }

  100% {
    transform: translate(-20px, 45px) scale(0.96);
  }
}

/* Üst Header */
body.page-panel .cockpit-header {

  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 250, 240, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1.5px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(180, 83, 9, 0.04);

}

body.page-panel .header-inner {

  max-width: 1440px;
  margin: 0 auto;
  height: 74px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

}

body.page-panel .brand-pill {

  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 14px 4px 6px;
  border-radius: 9999px;
  border: 1px solid var(--border-warm);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
  flex-shrink: 0;
  max-height: 56px;
  overflow: hidden;

}

body.page-panel .brand-logo-icon {

  font-size: 1.2rem;

}

body.page-panel .brand-title {

  font-size: 1.12rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;

}

body.page-panel .panel-search-bar {

  flex: 1;
  max-width: 580px;
  position: relative;

}

body.page-panel .panel-search-input {

  width: 100%;
  padding: 12px 20px 12px 46px;
  border-radius: 9999px;
  border: 1.5px solid rgba(245, 158, 11, 0.2);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: all 0.25s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);

}

body.page-panel .panel-search-input:focus {

  background: #FFFFFF;
  border-color: var(--amber-main);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);

}

body.page-panel .panel-search-btn {

  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  border: 1px solid rgba(217, 119, 6, 0.2);
  border-radius: 9999px;
  padding: 7px 16px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);

}

body.page-panel #panelHeaderFirmName,
body.page-panel #panelCompanyTitle,
body.page-panel #membershipCompanyName,
body.page-panel #chatFirmTitle {
  overflow: visible !important;
}

body.page-panel .user-pill-btn {

  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--border-warm);
  border-radius: 9999px;
  padding: 6px 16px 6px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
  flex-shrink: 0;
  transition: all 0.2s ease;

}

body.page-panel .user-pill-btn:hover {

  transform: translateY(-1px);
  border-color: var(--amber-main);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.16);

}

body.page-panel .avatar-initial {

  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FEF08A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);

}

/* Ana Çalışma Alanı */
body.page-panel .cockpit-main {

  position: relative;
  z-index: 1;
  max-width: 1440px;
  width: 100%;
  margin: 28px auto 60px;
  padding: 0 24px;
  flex: 1;

}

/* Üst Firma Özet Kartı */
body.page-panel .glass-banner {

  background: var(--card-glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1.5px solid var(--border-light);
  border-radius: 28px;
  padding: 22px 28px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: var(--shadow-soft), inset 0 1px 2px #FFFFFF;

}

body.page-panel .status-tag {

  background: var(--amber-light);
  border: 1px solid #FDE68A;
  color: var(--amber-dark);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;

}

body.page-panel .custom-select {

  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid var(--border-warm);
  border-radius: 14px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  outline: none;
  cursor: pointer;

}

/* Sekme Barı */
body.page-panel .tabs-bar {

  background: rgba(255, 250, 240, 0.85);
  backdrop-filter: blur(24px);
  border: 1.5px solid var(--border-light);
  border-radius: 26px;
  padding: 8px 12px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  box-shadow: var(--shadow-soft);

}

body.page-panel .tabs-scroll {

  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;

}

body.page-panel .cockpit-nav-pill {

  background: transparent;
  border: 1px solid transparent;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;

}

body.page-panel .cockpit-nav-pill:hover {

  background: rgba(255, 255, 255, 0.7);
  color: var(--text-dark);

}

body.page-panel .cockpit-nav-pill.active {

  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  border-color: rgba(217, 119, 6, 0.25);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);

}

/* Cam Kart Panelleri */
body.page-panel .content-glass-card {

  background: var(--card-glass);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1.5px solid var(--border-light);
  border-radius: 30px;
  padding: 32px;
  box-shadow: var(--shadow-soft), inset 0 1px 2px #FFFFFF;
  margin-bottom: 24px;

}

body.page-panel .btn-amber-cta {

  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 9999px;
  padding: 10px 22px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;

}

body.page-panel .btn-amber-cta:hover {

  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);

}

/* Akış ve Feed Kartları */
body.page-panel .feed-card {

  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border-warm);
  border-left: 5px solid var(--amber-main);
  border-radius: 20px;
  padding: 22px 24px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.04);
  transition: all 0.2s ease;

}

body.page-panel .feed-card:hover {

  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(180, 83, 9, 0.08);
  border-color: var(--amber-main);

}

/* Tablo Standartları */
body.page-panel .clean-table {

  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;

}

body.page-panel .clean-table th {

  padding: 16px 18px;
  color: #78350F;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid rgba(245, 158, 11, 0.2);

}

body.page-panel .clean-table td {

  padding: 18px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  color: var(--text-dark);

}

/* Chat Alanı */
body.page-panel .chat-wrapper-grid {

  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: start;

}

body.page-panel .chat-messages-box {

  flex: 1;
  padding: 24px;
  overflow-y: auto;
  background: rgba(254, 250, 240, 0.6);
  display: flex;
  flex-direction: column;
  gap: 16px;

}

body.page-panel .chat-bubble {

  padding: 14px 18px;
  border-radius: 20px;
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 80%;

}

body.page-panel .chat-bubble.sent {

  align-self: flex-end;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  font-weight: 600;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);

}

body.page-panel .chat-bubble.received {

  align-self: flex-start;
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1.5px solid var(--border-warm);
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);

}

body.page-panel .legal-tag {

  background: #FEF08A;
  color: #854D0E;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;

}

/* =========================================================================
       SAĞDAN AÇILAN PROFİL ÇEKMECESİ (DRAWER)
       ========================================================================= */
body.page-panel .drawer-backdrop {

  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease;

}

body.page-panel .drawer-backdrop.active {

  display: block;
  opacity: 1;

}

body.page-panel .profile-drawer {

  position: fixed;
  top: 0;
  right: -540px;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: rgba(255, 253, 247, 0.96);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  box-shadow: -20px 0 60px rgba(180, 83, 9, 0.15);
  border-left: 2px solid var(--border-light);
  z-index: 99999;
  overflow-y: auto;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);

}

body.page-panel .profile-drawer.active {

  right: 0;

}

body.page-panel .drawer-header {

  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.2);
  padding-bottom: 16px;

}

body.page-panel .drawer-close-btn {

  background: rgba(254, 243, 199, 0.6);
  border: 1px solid #FDE68A;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--amber-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;

}

body.page-panel .drawer-close-btn:hover {

  background: #FDE68A;
  transform: scale(1.05);

}

body.page-panel .drawer-section-card {

  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--border-warm);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.03);

}

body.page-panel .drawer-form-group {

  margin-bottom: 14px;

}

body.page-panel .drawer-form-label {

  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;

}

body.page-panel .drawer-form-input,
body.page-panel .drawer-form-select {

  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.88rem;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s ease;

}

body.page-panel .drawer-form-input:focus,
body.page-panel .drawer-form-select:focus {

  border-color: var(--amber-main);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);

}

body.page-panel .drawer-grid-2 {

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;

}

/* Modal Backdrop */
body.page-panel .modal-backdrop {

  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 16px;

}

body.page-panel .modal-backdrop.active {

  display: flex;

}

body.page-panel .modal-window {

  background: rgba(255, 253, 247, 0.98);
  border: 1.5px solid var(--border-light);
  border-radius: 28px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;

}

/* Footer */
body.page-panel .forest-dark-footer {

  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px);
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 24px 28px;
  position: relative;
  z-index: 1;

}

body.page-panel .forest-footer-container {

  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 36px;
  margin-bottom: 36px;

}

@media (max-width: 900px) {
  body.page-panel .header-inner {

    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;

  }

  body.page-panel .header-home-text {
    display: none;
  }

  body.page-panel .header-home-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
  }

  body.page-panel .user-pill-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
    overflow: hidden;
  }

  body.page-panel .user-pill-btn > div:not(.avatar-initial),
  body.page-panel .user-pill-btn > span {
    display: none;
  }

  body.page-panel .user-pill-btn .avatar-initial {
    width: 100%;
    height: 100%;
    box-shadow: none;
  }

  body.page-panel .panel-search-bar {

    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 6px;

  }

  body.page-panel .chat-wrapper-grid {

    grid-template-columns: 1fr;

  }

  body.page-panel .forest-footer-container {

    grid-template-columns: 1fr 1fr;

  }

  body.page-panel .profile-drawer {

    max-width: 100%;

  }

}

@media (max-width: 600px) {
  body.page-panel .forest-footer-container {

    grid-template-columns: 1fr;

  }

  body.page-panel .glass-banner {

    padding: 18px 16px;
    border-radius: 20px;

  }

  body.page-panel .content-glass-card {

    padding: 22px 18px;
    border-radius: 22px;

  }

  body.page-panel .drawer-grid-2 {

    grid-template-columns: 1fr;

  }

}

/* -------------------------------------------------------------------------
   PAGE: RANDEVU (randevu.html)
   ------------------------------------------------------------------------- */
body.page-randevu {

  --bg-warm-canvas: radial-gradient(130% 100% at 0% 0%, #FEF9C3 0%, #F5F3E9 45%, #E2E8F0 100%);
  --card-glass: rgba(255, 253, 245, 0.88);
  --border-warm: rgba(245, 158, 11, 0.22);
  --border-light: rgba(255, 255, 255, 0.9);
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --amber-dark: #78350F;
  --amber-main: #F59E0B;
  --amber-light: #FEF3C7;
  --shadow-soft: 0 20px 45px -12px rgba(180, 83, 9, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);

}

body.page-randevu,
body.page-randevu * {

  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;

}

body.page-randevu {

  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--bg-warm-canvas) !important;
  background-attachment: fixed !important;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;

}

/* Sıcak Arka Plan Işıltı Küreleri */
body.page-randevu .ambient-sphere {

  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  animation: floatSlow 14s ease-in-out infinite alternate;

}

body.page-randevu .ambient-1 {

  width: 520px;
  height: 520px;
  background: rgba(252, 211, 77, 0.3);
  top: -100px;
  left: -80px;

}

body.page-randevu .ambient-2 {

  width: 480px;
  height: 480px;
  background: rgba(147, 197, 253, 0.2);
  bottom: -100px;
  right: -80px;
  animation-delay: -6s;

}

@keyframes floatSlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, 30px) scale(1.06);
  }

  100% {
    transform: translate(-20px, 45px) scale(0.96);
  }
}

/* Üst Header */
body.page-randevu .cockpit-header {

  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 250, 240, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1.5px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(180, 83, 9, 0.04);

}

body.page-randevu .header-inner {

  max-width: 1220px;
  margin: 0 auto;
  height: 74px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

}

body.page-randevu .brand-pill {

  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 14px 4px 6px;
  border-radius: 9999px;
  border: 1px solid var(--border-warm);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  max-height: 56px;
  overflow: hidden;

}

body.page-randevu .brand-pill:hover {

  transform: translateY(-1px);

}

body.page-randevu .brand-logo-icon {

  font-size: 1.2rem;

}

body.page-randevu .brand-title {

  font-size: 1.12rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;

}

body.page-randevu .user-pill-btn {

  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--border-warm);
  border-radius: 9999px;
  padding: 6px 14px 6px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
  flex-shrink: 0;
  transition: all 0.2s ease;

}

body.page-randevu .user-pill-btn:hover {

  transform: translateY(-1px);
  border-color: var(--amber-main);

}

body.page-randevu .avatar-initial {

  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FEF08A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);

}

body.page-randevu .back-circle-btn {

  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-warm);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.2s ease;

}

body.page-randevu .back-circle-btn:hover {

  background: var(--amber-light);
  transform: translateX(-2px);

}

/* Ana Çalışma Alanı */
body.page-randevu .appointment-main-wrapper {

  position: relative;
  z-index: 1;
  max-width: 980px;
  width: 100%;
  margin: 32px auto 60px;
  padding: 0 24px;
  flex: 1;

}

body.page-randevu .hero-header {

  text-align: center;
  margin-bottom: 32px;

}

body.page-randevu .badge-pill-yellow {

  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: var(--amber-dark);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 9999px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);

}

body.page-randevu .main-title {

  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 10px;

}

body.page-randevu .main-sub {

  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;

}

/* Cam Kartlar */
body.page-randevu .content-glass-card {

  background: var(--card-glass);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1.5px solid var(--border-light);
  border-radius: 28px;
  padding: 28px 32px;
  box-shadow: var(--shadow-soft), inset 0 1px 2px #FFFFFF;
  margin-bottom: 22px;

}

body.page-randevu .rule-box {

  background: rgba(254, 243, 199, 0.75);
  border: 1.5px solid #FDE68A;
  border-radius: 24px;
  padding: 24px 28px;
  margin-bottom: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 8px 24px -6px rgba(245, 158, 11, 0.15);

}

body.page-randevu .rule-icon-box {

  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FEF08A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);

}

body.page-randevu .form-textarea {

  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 1.5px solid rgba(245, 158, 11, 0.25);
  border-radius: 18px;
  padding: 16px 18px;
  color: var(--text-dark);
  font-size: 0.94rem;
  line-height: 1.55;
  outline: none;
  resize: none;
  transition: all 0.25s ease;

}

body.page-randevu .form-textarea:focus {

  background: #FFFFFF;
  border-color: var(--amber-main);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);

}

/* Slot Satırları */
body.page-randevu .slot-booking-row {

  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border-warm);
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.04);
  flex-wrap: wrap;
  gap: 14px;
  transition: all 0.25s ease;

}

body.page-randevu .slot-booking-row:hover {

  background: #FFFFFF;
  border-color: var(--amber-main);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.09);

}

body.page-randevu .slot-booking-row.disabled {

  background: rgba(254, 242, 242, 0.7);
  border-color: #FECACA;
  opacity: 0.85;
  transform: none !important;
  box-shadow: none !important;

}

body.page-randevu .btn-amber-cta {

  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 9999px;
  padding: 10px 22px;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;

}

body.page-randevu .btn-amber-cta:hover {

  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);

}

body.page-randevu .disclaimer-card {

  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-warm);
  border-radius: 20px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;

}

/* =========================================================================
       SAĞDAN KAYAN PROFİL ÇEKMECESİ (DRAWER)
       ========================================================================= */
body.page-randevu .drawer-backdrop {

  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease;

}

body.page-randevu .drawer-backdrop.active {

  display: block;
  opacity: 1;

}

body.page-randevu .profile-drawer {

  position: fixed;
  top: 0;
  right: -540px;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: rgba(255, 253, 247, 0.98);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  box-shadow: -20px 0 60px rgba(180, 83, 9, 0.15);
  border-left: 2px solid var(--border-light);
  z-index: 99999;
  overflow-y: auto;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);

}

body.page-randevu .profile-drawer.active {

  right: 0 !important;

}

body.page-randevu .drawer-header {

  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.2);
  padding-bottom: 16px;

}

body.page-randevu .drawer-close-btn {

  background: rgba(254, 243, 199, 0.6);
  border: 1px solid #FDE68A;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--amber-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;

}

body.page-randevu .drawer-close-btn:hover {

  background: #FDE68A;
  transform: scale(1.05);

}

body.page-randevu .drawer-section-card {

  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border-warm);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.03);

}

body.page-randevu .drawer-form-group {

  margin-bottom: 14px;

}

body.page-randevu .drawer-form-label {

  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;

}

body.page-randevu .drawer-form-input,
body.page-randevu .drawer-form-select {

  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.88rem;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s ease;

}

body.page-randevu .drawer-form-input:focus,
body.page-randevu .drawer-form-select:focus {

  border-color: var(--amber-main);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);

}

body.page-randevu .drawer-grid-2 {

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;

}

/* Footer */
body.page-randevu .forest-dark-footer {

  background: rgba(15, 23, 42, 0.97) !important;
  backdrop-filter: blur(20px);
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 24px 28px;
  position: relative;
  z-index: 1;

}

body.page-randevu .forest-footer-container {

  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 36px;
  margin-bottom: 36px;

}

@media (max-width: 900px) {
  body.page-randevu .header-inner {

    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;

  }

  body.page-randevu .forest-footer-container {

    grid-template-columns: 1fr 1fr;

  }

  body.page-randevu .profile-drawer {

    max-width: 100%;

  }

}

@media (max-width: 600px) {
  body.page-randevu .forest-footer-container {

    grid-template-columns: 1fr;

  }

  body.page-randevu .drawer-grid-2 {

    grid-template-columns: 1fr;

  }

  body.page-randevu .rule-box {

    flex-direction: column;

  }

}

/* -------------------------------------------------------------------------
   PAGE: DANIÅMAN MASASI (danisman.html)
   ------------------------------------------------------------------------- */
body.page-danisman {

  --bg-warm-canvas: radial-gradient(130% 100% at 0% 0%, #FEF9C3 0%, #F5F3E9 45%, #E2E8F0 100%);
  --card-glass: rgba(255, 253, 245, 0.88);
  --border-warm: rgba(245, 158, 11, 0.22);
  --border-light: rgba(255, 255, 255, 0.9);
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --amber-dark: #78350F;
  --amber-main: #F59E0B;
  --amber-light: #FEF3C7;
  --shadow-soft: 0 20px 45px -12px rgba(180, 83, 9, 0.08), 0 4px 12px rgba(0, 0, 0, 0.03);

}

body.page-danisman,
body.page-danisman * {

  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;

}

body.page-danisman {

  margin: 0;
  padding: 0;

}

body.page-danisman {

  min-height: 100vh;
  background: var(--bg-warm-canvas) !important;
  background-attachment: fixed !important;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;

}

/* Sıcak Arka Plan Işıltı Küreleri */
body.page-danisman .ambient-sphere {

  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  animation: floatSlow 14s ease-in-out infinite alternate;

}

body.page-danisman .ambient-1 {

  width: 520px;
  height: 520px;
  background: rgba(252, 211, 77, 0.3);
  top: -100px;
  left: -80px;

}

body.page-danisman .ambient-2 {

  width: 480px;
  height: 480px;
  background: rgba(147, 197, 253, 0.2);
  bottom: -100px;
  right: -80px;
  animation-delay: -6s;

}

@keyframes floatSlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, 30px) scale(1.06);
  }

  100% {
    transform: translate(-20px, 45px) scale(0.96);
  }
}

/* Üst Header */
body.page-danisman .cockpit-header {

  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
  background: rgba(254, 250, 240, 0.85) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1.5px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(180, 83, 9, 0.04);

}

body.page-danisman .header-inner {

  max-width: 1640px;
  margin: 0 auto;
  height: 74px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

}

body.page-danisman .brand-pill {

  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 14px 4px 6px;
  border-radius: 9999px;
  border: 1px solid var(--border-warm);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
  flex-shrink: 0;
  max-height: 56px;
  overflow: hidden;

}

body.page-danisman .brand-logo-icon {

  font-size: 1.2rem;

}

body.page-danisman .brand-title {

  font-size: 1.12rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;

}

body.page-danisman .user-pill-btn {

  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  border: 1.5px solid var(--border-warm);
  border-radius: 9999px;
  padding: 6px 14px 6px 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
  flex-shrink: 0;
  transition: all 0.2s ease;

}

body.page-danisman .user-pill-btn:hover {

  transform: translateY(-1px);
  border-color: var(--amber-main);

}

body.page-danisman .avatar-initial {

  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FEF08A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);

}

/* Ana Çalışma Alanı — tam ekran e-posta masası */
body.page-danisman .consultant-main-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 12px 16px 0;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.page-danisman .consultant-live-hidden,
body.page-danisman #consultantLiveWorkspace {
  display: none !important;
}

body.page-danisman .consultant-mail-desk {
  margin: 0 !important;
  padding: 0 !important;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
body.page-danisman .mail-desk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  padding: 14px 20px;
  border-bottom: 1px solid #E2E8F0;
  background: #FFFBEB;
  flex-shrink: 0;
}
body.page-danisman .mail-desk-top-copy {
  min-width: 0;
  flex: 1;
}
body.page-danisman .mail-desk-top h1 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
}
body.page-danisman .mail-desk-top-copy p {
  margin: 4px 0 0;
  color: #64748B;
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-danisman .mail-desk-top .support-now-line {
  margin: 0;
  font-size: 0.8rem;
  color: #334155;
  font-weight: 700;
  display: inline;
}
body.page-danisman .mail-desk-top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
body.page-danisman .mail-desk-top-actions .form-select,
body.page-danisman .mail-desk-top-actions .support-status-filter {
  width: auto;
  min-width: 148px;
  max-width: 180px;
  height: 36px;
  padding: 0 28px 0 10px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 34px;
  border-radius: 10px;
}
body.page-danisman .mail-desk-refresh {
  padding: 9px 16px;
  font-size: 0.82rem;
  white-space: nowrap;
}
body.page-danisman .mail-desk-split {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
body.page-danisman .mail-desk-inbox {
  border-right: 1px solid #E2E8F0;
  background: #F8FAFC;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}
body.page-danisman .mail-desk-inbox-head {
  padding: 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-bottom: 1px solid #E2E8F0;
  flex-shrink: 0;
  min-height: 44px;
}
body.page-danisman .mail-desk-tools {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  margin-top: 0;
  border-bottom: 1px solid #E2E8F0;
  background: #FFFFFF;
  flex-shrink: 0;
}
body.page-danisman .mail-desk-list {
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-height: 0;
}
body.page-danisman .mail-desk-list-empty {
  padding: 40px 20px;
  text-align: center;
  color: #64748B;
  font-size: 0.88rem;
  line-height: 1.5;
}
body.page-danisman .mail-desk-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid #E2E8F0;
  padding: 14px 18px;
  cursor: pointer;
  min-width: 0;
}
body.page-danisman .mail-desk-item:hover {
  background: #FFFBEB;
}
body.page-danisman .mail-desk-item.is-on {
  background: #FEF3C7;
  box-shadow: inset 4px 0 0 #D97706;
}
body.page-danisman .mail-desk-item.is-unread .mail-desk-item-company,
body.page-danisman .mail-desk-item.is-unread .mail-desk-item-subject {
  font-weight: 800;
  color: #0F172A;
}
body.page-danisman .mail-desk-item-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-bottom: 6px;
  min-width: 0;
}
body.page-danisman .mail-desk-item-row strong {
  font-size: 0.78rem;
  color: #0F172A;
  flex-shrink: 0;
}
body.page-danisman .mail-desk-item-row .support-ticket-unread {
  flex-shrink: 0;
}
body.page-danisman .mail-desk-item-row span[style] {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
body.page-danisman .mail-desk-item-company {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-danisman .mail-desk-item-subject {
  font-size: 0.84rem;
  color: #334155;
  margin-top: 3px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-danisman .mail-desk-item-meta {
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-danisman .mail-desk-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  background: #FFFFFF;
  overflow: hidden;
}
body.page-danisman .mail-desk-empty {
  margin: auto;
  text-align: center;
  padding: 56px 32px;
  max-width: 440px;
}
body.page-danisman .mail-desk-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: #FEF3C7;
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
body.page-danisman .mail-desk-empty h2 {
  margin: 0 0 8px;
  font-size: 1.28rem;
  font-weight: 800;
  color: #0F172A;
}
body.page-danisman .mail-desk-empty p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748B;
}
body.page-danisman .mail-desk-thread {
  display: none;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
body.page-danisman .mail-desk-thread-head {
  padding: 16px 22px;
  background: #0F172A;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
}
body.page-danisman .mail-desk-thread-head > div {
  min-width: 0;
  flex: 1;
}
body.page-danisman .mail-desk-thread-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-danisman #adminSupportThreadMeta {
  margin-top: 6px;
  font-size: 0.78rem;
  color: #CBD5E1;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.page-danisman .mail-desk-close {
  padding: 8px 14px;
  font-size: 0.76rem;
  flex-shrink: 0;
  white-space: nowrap;
}
body.page-danisman .mail-desk-thread-body {
  flex: 1;
  min-height: 0;
  max-height: none !important;
  overflow-y: auto;
  padding: 24px 28px;
}
body.page-danisman .mail-desk-composer {
  padding: 16px 22px 18px;
  border-top: 1px solid #E2E8F0;
  background: #F8FAFC;
  flex-shrink: 0;
}
body.page-danisman .mail-desk-composer-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}
body.page-danisman .mail-desk-composer textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0F172A;
  outline: none;
  background: #FFFFFF;
  box-sizing: border-box;
  line-height: 1.5;
}
body.page-danisman .mail-desk-composer textarea:focus {
  border-color: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}
body.page-danisman .mail-desk-composer-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
@media (min-width: 981px) {
  body.page-danisman {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
  }
  body.page-danisman .forest-dark-footer {
    padding: 10px 24px 12px !important;
    flex-shrink: 0;
  }
  body.page-danisman .forest-footer-container {
    display: none !important;
  }
  body.page-danisman .forest-dark-footer > div:last-child {
    max-width: none !important;
    margin: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
  }
}
@media (max-width: 980px) {
  body.page-danisman .mail-desk-top {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  body.page-danisman .mail-desk-top-copy p {
    white-space: normal;
  }
  body.page-danisman .mail-desk-top-actions {
    width: 100%;
  }
  body.page-danisman .mail-desk-top-actions .form-select {
    flex: 1;
    min-width: 0;
  }
  body.page-danisman .mail-desk-split {
    grid-template-columns: 1fr;
    grid-template-rows: 260px minmax(420px, 1fr);
  }
  body.page-danisman .mail-desk-inbox {
    border-right: none;
    border-bottom: 1px solid #E2E8F0;
  }
  body.page-danisman .consultant-main-container {
    padding: 10px 12px 16px;
  }
  body.page-danisman .mail-desk-thread-head {
    flex-wrap: wrap;
  }
  body.page-danisman .mail-desk-thread-head h3,
  body.page-danisman #adminSupportThreadMeta {
    white-space: normal;
  }
}

body.page-danisman .consultant-grid-layout {

  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 24px;
  align-items: start;

}

/* Cam Kart Panelleri */
body.page-danisman .content-glass-card {

  background: var(--card-glass) !important;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1.5px solid var(--border-light);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow-soft), inset 0 1px 2px #FFFFFF;
  margin-bottom: 20px;

}

body.page-danisman .badge-pill-yellow {

  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: var(--amber-dark);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 9999px;

}

body.page-danisman .btn-amber-cta {

  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: 9999px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: all 0.2s ease;

}

body.page-danisman .btn-amber-cta:hover {

  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);

}

/* Müsaitlik Slot Kartları */
body.page-danisman .slot-manage-card {

  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border-warm);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.04);
  transition: all 0.2s ease;

}

body.page-danisman .slot-manage-card.blocked {

  background: rgba(254, 242, 242, 0.75);
  border-color: #FECACA;

}

/* Çoklu Görüşme Sekmeleri */
body.page-danisman .session-tabs-bar {

  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding-bottom: 4px;

}

body.page-danisman .session-tab-item {

  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--border-warm);
  border-radius: 16px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s ease;

}

body.page-danisman .session-tab-item.active {

  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  border-color: rgba(217, 119, 6, 0.3);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);

}

body.page-danisman .session-tab-close {

  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;

}

/* Çift Ekranlı Chat Alanı */
body.page-danisman .chat-card-frame {

  display: flex;
  flex-direction: column;
  height: 740px;
  overflow: hidden;
  padding: 0;

}

body.page-danisman .chat-messages-box {

  flex: 1;
  padding: 24px;
  overflow-y: auto;
  background: rgba(254, 250, 240, 0.6);
  display: flex;
  flex-direction: column;
  gap: 16px;

}

body.page-danisman .chat-bubble {

  padding: 14px 18px;
  border-radius: 20px;
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 80%;

}

body.page-danisman .chat-bubble.sent {

  align-self: flex-end;
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  color: var(--amber-dark);
  font-weight: 600;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);

}

body.page-danisman .chat-bubble.received {

  align-self: flex-start;
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1.5px solid var(--border-warm);
  border-bottom-left-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);

}

body.page-danisman .legal-tag {

  background: #FEF08A;
  color: #854D0E;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;

}

/* @ Mention Menüsü */
body.page-danisman .at-mention-wrapper {

  position: relative;
  flex: 1;

}

body.page-danisman .at-mention-dropdown {

  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1.5px solid var(--border-warm);
  border-radius: 18px;
  max-height: 280px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 15px 40px rgba(180, 83, 9, 0.15);
  padding: 8px;

}

body.page-danisman .at-mention-dropdown.active {

  display: block;

}

body.page-danisman .at-item {

  padding: 8px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.15s ease;

}

body.page-danisman .at-item:hover {

  background: #FEF3C7;

}

/* =========================================================================
       SAĞDAN KAYAN DANIŞMAN PROFİL ÇEKMECESİ (DRAWER)
       ========================================================================= */
body.page-danisman .drawer-backdrop {

  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease;

}

body.page-danisman .drawer-backdrop.active {

  display: block;
  opacity: 1;

}

body.page-danisman .profile-drawer {

  position: fixed;
  top: 0;
  right: -540px;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: rgba(255, 253, 247, 0.98);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  box-shadow: -20px 0 60px rgba(180, 83, 9, 0.15);
  border-left: 2px solid var(--border-light);
  z-index: 99999;
  overflow-y: auto;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);

}

body.page-danisman .profile-drawer.active {

  right: 0 !important;

}

body.page-danisman .drawer-header {

  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.2);
  padding-bottom: 16px;

}

body.page-danisman .drawer-close-btn {

  background: rgba(254, 243, 199, 0.6);
  border: 1px solid #FDE68A;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--amber-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;

}

body.page-danisman .drawer-close-btn:hover {

  background: #FDE68A;
  transform: scale(1.05);

}

body.page-danisman .drawer-section-card {

  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border-warm);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(180, 83, 9, 0.03);

}

body.page-danisman .drawer-form-group {

  margin-bottom: 14px;

}

body.page-danisman .drawer-form-label {

  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;

}

body.page-danisman .drawer-form-input {

  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid rgba(245, 158, 11, 0.2);
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 0.88rem;
  color: var(--text-dark);
  outline: none;
  transition: all 0.2s ease;

}

body.page-danisman .drawer-form-input:focus {

  border-color: var(--amber-main);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);

}

/* Footer */
body.page-danisman .forest-dark-footer {

  background: rgba(15, 23, 42, 0.97) !important;
  backdrop-filter: blur(20px);
  color: #94A3B8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 56px 24px 28px;
  position: relative;
  z-index: 1;

}

body.page-danisman .forest-footer-container {

  max-width: 1640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr 1fr;
  gap: 36px;
  margin-bottom: 36px;

}

@media (max-width: 1080px) {
  body.page-danisman .consultant-grid-layout {

    grid-template-columns: 1fr;

  }

  body.page-danisman .header-inner {

    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;

  }

  body.page-danisman .forest-footer-container {

    grid-template-columns: 1fr 1fr;

  }

  body.page-danisman .profile-drawer {

    max-width: 100%;

  }

}

@media (max-width: 600px) {
  body.page-danisman .forest-footer-container {

    grid-template-columns: 1fr;

  }
}

body.page-danisman .content-glass-card {

  padding: 18px 16px;
  border-radius: 20px;

}



/* =========================================================================
   CREXTIO SICAK LÜKS TASARIM SİSTEMİ (WARM LUXURY SPLIT-FRAME THEME)
   ========================================================================= */
:root {
  --crextio-canvas: radial-gradient(130% 100% at 0% 0%, #FEF9C3 0%, #F5F3E9 45%, #E8E5DC 100%);
  --crextio-ivory: #FAF8F2;
  --crextio-card-bg: rgba(255, 255, 255, 0.94);
  --crextio-yellow: #F5BE47;
  --crextio-yellow-light: #FDE047;
  --crextio-yellow-dark: #B45309;
  --crextio-text-main: #0F172A;
  --crextio-text-muted: #64748B;
  --crextio-border: rgba(15, 23, 42, 0.08);
  --crextio-border-warm: rgba(245, 158, 11, 0.25);
  --crextio-radius-frame: 36px;
  --crextio-radius-pill: 9999px;
  --crextio-radius-input: 20px;
}

body.page-giris,
body.page-kayit,
body.page-sifre-yenile {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--crextio-canvas) !important;
  background-attachment: fixed !important;
  color: var(--crextio-text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  padding: 24px;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.page-giris *,
body.page-kayit *,
body.page-sifre-yenile * {
  box-sizing: border-box;
}

/* Ambiyans Parlama Küreleri */
.ambient-sphere {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  animation: floatSlow 16s ease-in-out infinite alternate;
}

.ambient-1 {
  width: 550px;
  height: 550px;
  background: rgba(251, 191, 36, 0.28);
  top: -100px;
  left: -80px;
}

.ambient-2 {
  width: 500px;
  height: 500px;
  background: rgba(245, 158, 11, 0.18);
  bottom: -120px;
  right: -80px;
  animation-delay: -7s;
}

@keyframes floatSlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, 20px) scale(1.06);
  }

  100% {
    transform: translate(-20px, 35px) scale(0.95);
  }
}

/* Ana Çift Sütunlu Kavisli Çerçeve (Master Frame) */
.master-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1060px;
  background: var(--crextio-card-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--crextio-radius-frame);
  box-shadow: 0 35px 80px -20px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(245, 158, 11, 0.08),
    inset 0 1px 2px rgba(255, 255, 255, 1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 16px;
  gap: 16px;
  animation: cardPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.master-frame.wide-frame {
  max-width: 1140px;
  grid-template-columns: 1.12fr 0.88fr;
}

@keyframes cardPop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Sol Form Sütunu */
.form-pane {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 36px 28px;
}

body.page-kayit .form-pane {
  justify-content: flex-start;
  gap: 16px;
  padding: 28px 32px 24px;
}

.form-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 4px 14px 4px 6px;
  border-radius: var(--crextio-radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--crextio-text-main);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
  max-height: 56px;
  overflow: hidden;
}

.brand-pill:hover {
  transform: translateY(-1px);
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.brand-logo-icon {
  font-size: 1rem;
}

.auth-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--crextio-text-main);
  line-height: 1.2;
  margin: 0 0 6px;
}

.auth-subtitle {
  font-size: 0.88rem;
  color: var(--crextio-text-muted);
  line-height: 1.55;
  margin: 0 0 24px;
}

/* Form Alanları & Oval Pill Inputlar */
.input-wrapper {
  margin-bottom: 16px;
  position: relative;
}

.input-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  padding-left: 4px;
}

.custom-auth-input,
.reg-input,
.reg-select {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--crextio-radius-input);
  padding: 13px 20px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--crextio-text-main);
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.custom-auth-input:focus,
.reg-input:focus,
.reg-select:focus {
  border-color: var(--crextio-yellow);
  box-shadow: 0 0 0 4px rgba(245, 190, 71, 0.24);
  background: #FFFFFF;
}

.custom-auth-input::placeholder,
.reg-input::placeholder {
  color: #94A3B8;
}

.input-icon-btn {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.15rem;
  color: #64748B;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  z-index: 5;
}

.input-icon-btn:hover {
  color: #0F172A;
}

/* Sıcak Altın Sarısı Oval Pill Submit Butonu */
.btn-glow-submit,
.btn-submit-register {
  width: 100%;
  background: linear-gradient(135deg, #FDE68A 0%, #F5BE47 50%, #F59E0B 100%);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--crextio-radius-pill);
  padding: 14px 24px;
  font-size: 0.96rem;
  font-weight: 800;
  color: #0F172A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 26px -4px rgba(245, 158, 11, 0.45);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 10px;
}

.btn-glow-submit:hover,
.btn-submit-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(245, 158, 11, 0.6);
  filter: brightness(1.03);
}

.btn-glow-submit:active,
.btn-submit-register:active {
  transform: translateY(0);
}

/* Sosyal / Alternatif Hızlı Butonlar */
.social-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.btn-social-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--crextio-radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--crextio-text-main);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-social-pill:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  transform: translateY(-1px);
}

/* Alt Yönlendirme & Sözleşmeler */
.pane-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--crextio-text-muted);
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  flex-wrap: wrap;
  gap: 10px;
}

.pane-footer a {
  color: var(--crextio-text-main);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.pane-footer a:hover {
  color: var(--crextio-yellow-dark);
}

/* Sağ Vitrin Alanı (Showcase Pane) */
.showcase-pane {
  position: sticky;
  top: 24px;
  align-self: start;
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-sizing: border-box;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.4) 100%),
    url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1200&auto=format&fit=crop&q=80');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.close-corner-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--crextio-text-main);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.close-corner-btn:hover {
  background: #FFFFFF;
  transform: scale(1.08);
}

/* Yüzen Sarı Görev Rozeti (Top Task Review Badge) */
.floating-badge-card {
  position: relative;
  z-index: 2;
  border-radius: 16px;
  padding: 12px 18px;
  animation: floatSubtle 6s ease-in-out infinite alternate;
  box-sizing: border-box;
}

.floating-badge-card.badge-yellow {
  background: linear-gradient(135deg, #FEF08A 0%, #FDE047 100%);
  color: #78350F;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.35),
    0 0 0 1px rgba(253, 224, 71, 0.5);
  max-width: 280px;
}

.floating-task-shadow {
  position: absolute;
  top: 4px;
  left: 6px;
  right: 6px;
  bottom: -4px;
  background: rgba(15, 23, 42, 0.35);
  border-radius: 16px;
  z-index: -1;
  filter: blur(4px);
}

/* Yüzen Buzlu Cam Takvim Şeridi */
.floating-calendar-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 14px 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  box-sizing: border-box;
}

.date-row {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 3px !important;
  margin-top: 10px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: #64748B;
}

.date-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--crextio-text-main);
  padding: 4px 1px;
  border-radius: 8px;
  margin-top: 2px;
  display: block;
}

.date-num.active {
  background: repeating-linear-gradient(45deg,
      #FDE047,
      #FDE047 4px,
      #F5BE47 4px,
      #F5BE47 8px);
  color: #78350F;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

/* Yüzen Günlük Toplantı Kartı */
.floating-meeting-card {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 12px 16px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  box-sizing: border-box;
}

.avatar-stack {
  display: flex;
}

.avatar-stack img,
.avatar-stack span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  margin-left: -8px;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.avatar-stack img:first-child,
.avatar-stack span:first-child {
  margin-left: 0;
}

@keyframes floatSubtle {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

/* Kayıt Sayfası 2 Sütunlu Grid */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.reg-field {
  display: flex;
  flex-direction: column;
}

.reg-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
  padding-left: 4px;
}

.reg-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--crextio-text-main);
  margin: 0 0 4px;
}

.reg-subtitle {
  font-size: 0.84rem;
  color: var(--crextio-text-muted);
  line-height: 1.5;
  margin: 0 0 18px;
}

.legal-consent-card {
  background: rgba(254, 249, 195, 0.35);
  border: 1.5px solid rgba(245, 158, 11, 0.25);
  border-radius: 18px;
  padding: 14px 16px;
  margin: 14px 0 16px;
}

.legal-consent-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #78350F;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}

.checkbox-item:last-child {
  margin-bottom: 0;
}

.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #F59E0B;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-text {
  font-size: 0.76rem;
  color: #475569;
  line-height: 1.45;
}

.checkbox-text a {
  color: #92400E;
  font-weight: 700;
  text-decoration: underline;
}

/* Responsive Düzen */
@media (max-width: 900px) {
  .master-frame {
    grid-template-columns: 1fr;
    max-width: 520px;
    padding: 14px;
    border-radius: 28px;
  }

  .form-pane {
    padding: 24px 20px 18px;
  }

  .showcase-pane {
    min-height: 380px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ==========================================
   TAKVİM NAVİGASYON BUTONLARI
   ========================================== */
.cal-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 158, 11, 0.25);
  background: rgba(254, 243, 199, 0.6);
  color: #78350F;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cal-nav-btn:hover {
  background: linear-gradient(135deg, #FDE68A, #F59E0B);
  color: #FFFFFF;
  border-color: #D97706;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

/* =========================================================================
   DANIŞMAN TAKVİM, BEKLEYEN İSTEKLER & ÇOKLU SLOT YÖNETİMİ
   ========================================================================= */
.pending-alert-badge {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
  animation: pulseBadge 2s infinite ease-in-out;
}
@keyframes pulseBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.slot-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 8px;
}

.slot-matrix-btn {
  padding: 8px 6px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  border: 1.5px solid rgba(245, 158, 11, 0.2);
  background: #FFFFFF;
  color: #0F172A;
  user-select: none;
}

.slot-matrix-btn.active-slot {
  background: #DCFCE7;
  color: #166534;
  border-color: #86EFAC;
}

.slot-matrix-btn.passive-slot {
  background: #FEE2E2;
  color: #991B1B;
  border-color: #FECACA;
}

.slot-matrix-btn.selected {
  outline: 2.5px solid #D97706;
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.4);
  transform: scale(0.97);
}

.slot-matrix-btn.locked-slot {
  background: #F1F5F9 !important;
  color: #94A3B8 !important;
  border-color: #E2E8F0 !important;
  cursor: not-allowed !important;
  opacity: 0.65;
}

.transcript-message-card {
  padding: 12px 16px;
  border-radius: 14px;
  margin-bottom: 10px;
  font-size: 0.86rem;
  line-height: 1.55;
}
.transcript-message-card.consultant {
  background: #FEF3C7;
  border: 1.5px solid #FDE68A;
  color: #78350F;
  margin-left: 24px;
}
.transcript-message-card.company {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  color: #1E293B;
  margin-right: 24px;
}

/* ==========================================================================
   RESMÎ YARGI VE KURUL KARARI TİPOGRAFİ SİSTEMİ (TEMİZ, RESMÎ, ŞIK)
   Danıştay, Sayıştay, Yargıtay, Mahkeme ve KİK Kararları Standart Tipografisi
   ========================================================================== */
.legal-statute-title {
  font-weight: 700 !important;
  font-style: normal !important;
  color: #0F172A !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.legal-article-title {
  font-weight: 700 !important;
  font-style: normal !important;
  color: #0F172A !important;
}

.legal-article-cite {
  font-weight: 700 !important;
  font-style: normal !important;
  color: #0F172A !important;
}

.legal-statute-quote-block {
  background: #F8FAFC !important;
  border-left: 3px solid #64748B !important;
  padding: 12px 18px !important;
  margin: 12px 0 8px 0 !important;
  border-radius: 0 6px 6px 0 !important;
  font-family: inherit;
}

.legal-quote-p {
  margin: 6px 0 !important;
  line-height: 1.8 !important;
  font-style: italic !important;
  color: #1E293B !important;
  text-align: justify !important;
  text-justify: inter-word !important;
  font-size: 0.91rem !important;
}

.legal-statute-tail {
  margin: 0 0 14px 0 !important;
  color: #334155 !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
}

.legal-crucial-highlight {
  font-weight: 700 !important;
  text-decoration: underline !important;
  text-decoration-color: #64748B !important;
  text-underline-offset: 3px !important;
  color: #0F172A !important;
}

.legal-section-header {
  font-size: 0.96rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  letter-spacing: 0.03em !important;
  text-transform: uppercase !important;
  margin: 22px 0 10px 0 !important;
  border-bottom: 1.5px solid #CBD5E1 !important;
  padding-bottom: 4px !important;
}

.legal-bent-header {
  font-size: 0.90rem !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  margin: 16px 0 8px 0 !important;
}

.legal-verdict-intro {
  font-weight: 700 !important;
  color: #0F172A !important;
  margin: 18px 0 10px 0 !important;
  line-height: 1.8 !important;
  text-align: justify !important;
  text-justify: inter-word !important;
  font-size: 0.92rem !important;
}

.legal-text-p {
  margin-bottom: 12px !important;
  line-height: 1.8 !important;
  color: #1E293B !important;
  text-align: justify !important;
  text-justify: inter-word !important;
  font-size: 0.92rem !important;
}

.legal-quoted-term {
  font-weight: 600 !important;
  color: #0F172A !important;
}

/* --------------------------------------------------------------------------
   Soru animasyonu: karar kasası / taramalı mütalaa sahnesi
   -------------------------------------------------------------------------- */
body.page-index .cinematic-search-modal-box.kik-search-cockpit {
  background:
    radial-gradient(900px 280px at 50% -8%, rgba(59, 130, 246, 0.28), transparent 58%),
    radial-gradient(620px 240px at 92% 118%, rgba(245, 158, 11, 0.14), transparent 52%),
    #0B1220;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 28px;
  padding: 36px 28px 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.38);
  color: #E2E8F0;
}

.kik-cockpit-glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent, rgba(96, 165, 250, 0.08), transparent 40%);
  animation: kikGlowSpin 18s linear infinite;
  pointer-events: none;
}

.kik-cockpit-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 35%, transparent 78%);
  pointer-events: none;
}

.kik-scan-sweep {
  position: absolute;
  left: -20%;
  top: 0;
  bottom: 0;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(186, 230, 253, 0.05), transparent);
  animation: kikSweep 3.6s ease-in-out infinite;
  pointer-events: none;
}

.kik-cockpit-stage {
  position: relative;
  height: 380px;
  width: 100%;
  max-width: 920px;
  margin: 0 auto 18px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 22%),
    radial-gradient(520px 200px at 50% 60%, rgba(34, 211, 238, 0.1), transparent 68%),
    #050b14;
  box-shadow: inset 0 0 0 1px rgba(186, 230, 253, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#kikScanCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

.kik-orbit {
  position: absolute;
  inset: 8px 40px;
  animation: kikOrbit 16s linear infinite;
}

.kik-seal {
  position: absolute;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F8FAFC;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(252, 211, 77, 0.45);
  border-radius: 9999px;
  padding: 5px 10px;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.08), 0 8px 18px rgba(0, 0, 0, 0.25);
  animation: kikOrbit 16s linear infinite reverse;
}

.kik-seal.s1 { top: 0; left: calc(50% - 22px); }
.kik-seal.s2 { right: 0; top: 46%; }
.kik-seal.s3 { bottom: 0; left: calc(50% - 36px); }
.kik-seal.s4 { left: 0; top: 46%; }

.kik-vault {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 168px;
  height: 168px;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.kik-vault-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px dashed rgba(252, 211, 77, 0.35);
  animation: kikRing 10s linear infinite;
}

.kik-vault-core {
  position: absolute;
  inset: 18px;
  background: linear-gradient(180deg, #1E3A8A 0%, #0F172A 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.kik-vault-tab {
  position: relative;
  z-index: 2;
  margin: 10px 10px 0;
  background: #F59E0B;
  color: #111827;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 5px;
  padding: 3px 0;
}

.kik-vault-page {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 34px;
  height: 74px;
  background: #F8FAFC;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.kik-vault-page.p1 { transform: rotate(-7deg); opacity: 0.45; }
.kik-vault-page.p2 { transform: rotate(5deg); opacity: 0.7; }
.kik-vault-page.p3 {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  animation: kikPageLift 2.8s ease-in-out infinite;
}

.kik-vault-mark {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E3A8A;
  line-height: 1;
}

.kik-search-cockpit .page-text-line { height: 4px; background: #CBD5E1; }
.kik-search-cockpit .page-text-line.short { width: 55%; background: #93C5FD; }

.kik-laser {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #60A5FA, #FCD34D, #60A5FA, transparent);
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.85);
  animation: kikLaser 2.2s ease-in-out infinite;
  z-index: 4;
}

.kik-cite {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #BFDBFE;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 9999px;
  padding: 4px 10px;
  white-space: nowrap;
  animation: kikCiteFloat 4.5s ease-in-out infinite;
}

.kik-cite.c1 { top: 18px; left: 8px; animation-delay: 0s; }
.kik-cite.c2 { top: 42px; right: 0; animation-delay: 0.6s; }
.kik-cite.c3 { bottom: 28px; left: 0; animation-delay: 1.1s; }
.kik-cite.c4 { bottom: 8px; right: 12px; animation-delay: 1.7s; }

.kik-pipe {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 18px;
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.kik-scan-copy {
  width: min(640px, 100%);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.kik-pipe-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 64px;
}

.kik-pipe-step i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #334155;
  border: 2px solid #64748B;
  box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.4);
}

.kik-pipe-step b {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748B;
}

.kik-pipe-step.is-done i {
  background: #10B981;
  border-color: #6EE7B7;
}

.kik-pipe-step.is-active i {
  background: #F59E0B;
  border-color: #FCD34D;
  animation: kikPulse 1.1s ease-in-out infinite;
}

.kik-pipe-step.is-active b,
.kik-pipe-step.is-done b { color: #F8FAFC; }

.kik-pipe-line {
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #334155, #64748B);
  margin-bottom: 18px;
}

.kik-stat-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin: 0 0 14px;
  position: relative;
  z-index: 2;
}

body.page-index .kik-search-cockpit .live-decision-ticker,
body.page-index .kik-search-cockpit .kik-scan-count {
  margin: 0;
  min-height: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  box-sizing: border-box;
  line-height: 1;
  white-space: nowrap;
}

body.page-index .kik-search-cockpit .live-decision-ticker {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #BFDBFE;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.kik-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 10px #34D399;
  animation: kikPulse 1.1s ease-in-out infinite;
}

.kik-scan-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #FCD34D;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(252, 211, 77, 0.28);
  border-radius: 9999px;
  padding: 6px 12px;
}

body.page-index .kik-search-cockpit #searchAnimTitle {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: #F8FAFC;
  margin: 0 0 8px;
  position: relative;
  z-index: 2;
}

body.page-index .kik-search-cockpit #searchAnimStepDesc {
  font-size: 0.9rem;
  color: #94A3B8;
  max-width: none;
  margin: 0;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

@keyframes kikGlowSpin { to { transform: rotate(360deg); } }
@keyframes kikSweep {
  0% { transform: translateX(-30%); }
  100% { transform: translateX(380%); }
}
@keyframes kikOrbit { to { transform: rotate(360deg); } }
@keyframes kikRing { to { transform: rotate(-360deg); } }
@keyframes kikPageLift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-2deg); }
}
@keyframes kikLaser {
  0% { top: 28px; opacity: 0.2; }
  50% { top: 108px; opacity: 1; }
  100% { top: 28px; opacity: 0.2; }
}
@keyframes kikCiteFloat {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(-8px); opacity: 1; }
}
@keyframes kikPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}

@media (max-width: 640px) {
  .kik-cockpit-stage { height: 250px; }
  .kik-stat-row { flex-wrap: wrap; }
  .kik-cite { display: none; }
  .kik-pipe-step b { font-size: 0.55rem; }
  .kik-pipe-line { width: 14px; }
  body.page-index .kik-search-cockpit #searchAnimTitle { font-size: 1.2rem; }
}

.search-gate-backdrop {
  z-index: 2400;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(10px);
}
.search-gate-card {
  width: min(520px, calc(100% - 32px));
  background: #FBF8F1;
  border: 1.5px solid rgba(197, 164, 110, 0.55);
  border-radius: 22px;
  padding: 36px 32px 28px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.28);
  position: relative;
}
.search-gate-card:before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(26, 31, 44, 0.12);
  border-radius: 16px;
  pointer-events: none;
}
.search-gate-seal {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #1A1F2C;
  color: #F5D78A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif), Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(197, 164, 110, 0.28);
}
.search-gate-kicker {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: #9A6735;
  margin-bottom: 8px;
}
.search-gate-card h3 {
  font-family: var(--font-serif), Georgia, serif;
  font-size: 1.45rem;
  color: #1A1F2C;
  font-weight: 600;
  margin: 0 0 10px;
}
.search-gate-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #334155;
  margin: 0 0 22px;
}
.search-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.search-gate-btn,
a.search-gate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 11px 22px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
}
.reg-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 10px;
}
.reg-choice-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 20px 18px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.reg-choice-card:hover {
  transform: translateY(-2px);
  border-color: #F5BE47;
  box-shadow: 0 12px 28px rgba(180, 83, 9, 0.12);
}
.reg-choice-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #FFF7ED;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.reg-choice-card strong {
  font-size: 1.02rem;
  color: #0F172A;
}
.reg-choice-card span:last-child {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #64748B;
}
.reg-back-link {
  background: none;
  border: none;
  color: #B45309;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0 0 10px;
  cursor: pointer;
}
.reg-field-hint {
  font-size: 0.74rem;
  font-weight: 700;
  margin-top: 5px;
  min-height: 1em;
}
@media (max-width: 720px) {
  .reg-choice-grid { grid-template-columns: 1fr; }
}

.search-gate-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 0.86rem;
  background: #FFFFFF;
  color: #1A1F2C;
  border: 1px solid #CBD5E1;
  cursor: pointer;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .kik-cockpit-glow,
  .kik-scan-sweep,
  .kik-orbit,
  .kik-seal,
  .kik-vault-ring,
  .kik-vault-page.p3,
  .kik-laser,
  .kik-cite,
  .kik-live-dot,
  .kik-pipe-step.is-active i {
    animation: none;
  }
}

/* =========================================================================
   SITE-WIDE MOBILE SAFETY: no overflow, tap targets stay in viewport
   ========================================================================= */
img, video, canvas, svg, iframe {
  max-width: 100%;
}

.tabs-bar,
.tabs-scroll,
.header-inner,
.header-container,
.cockpit-header,
.corporate-header {
  max-width: 100%;
}

body.page-panel .tabs-scroll,
body.page-danisman .tabs-scroll {
  max-width: 100%;
  padding-bottom: 4px;
}

@media (max-width: 860px) {
  body.page-panel .glass-banner,
  body.page-randevu .glass-banner {
    align-items: stretch !important;
  }

  body.page-panel .glass-banner > div,
  body.page-randevu .glass-banner > div {
    width: 100%;
    min-width: 0;
  }

  body.page-panel .btn-amber-cta,
  body.page-randevu .btn-amber-cta,
  body.page-danisman .btn-amber-cta:not(.header-logout-btn),
  body.page-odeme .btn-amber-cta,
  .search-gate-btn,
  .search-gate-btn-ghost {
    max-width: 100%;
    justify-content: center;
  }

  body.page-panel .custom-select {
    width: 100%;
    max-width: 100%;
  }

  body.page-panel .cockpit-main,
  body.page-randevu .appointment-main-wrapper,
  body.page-danisman .consultant-main-container,
  body.page-odeme .payment-main-wrapper {
    padding-left: 12px !important;
    padding-right: 12px !important;
    overflow-x: hidden;
  }

  .content-glass-card,
  .payment-glass-card,
  .master-split-frame,
  .master-frame {
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .form-header-bar {
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .form-header-bar a {
    flex-shrink: 0;
    font-size: 0.78rem !important;
  }

  .pill-search-box-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
  }

  .hero-title-openlicense {
    font-size: 1.7rem !important;
    padding: 0 4px;
    word-break: break-word;
  }

  .pricing-main-title,
  .main-title,
  .auth-title {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  body.page-panel .btn-amber-cta,
  body.page-randevu .btn-amber-cta,
  body.page-panel .glass-banner a {
    width: 100%;
  }

  .header-home-btn,
  .user-pill-btn,
  .back-circle-btn,
  .header-logout-btn,
  .navbar-user-pill {
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

body.page-abonelik .pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto 28px;
}
body.page-abonelik .pricing-plan-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 22px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}
body.page-abonelik .pricing-plan-card.is-current {
  border-color: #059669;
  box-shadow: 0 16px 40px rgba(5, 150, 105, 0.16);
  position: relative;
}
.pricing-current-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #065F46;
  background: #D1FAE5;
  border: 1px solid #6EE7B7;
  border-radius: 9999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}
.current-plan-banner {
  max-width: 1120px;
  margin: 0 auto 22px;
  background: #ECFDF5;
  border: 1.5px solid #6EE7B7;
  color: #065F46;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}
body.kik-user-logged-in .guest-login-cta {
  display: none !important;
}
.user-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
body.page-abonelik .pricing-plan-kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #D97706;
  margin-bottom: 8px;
}
body.page-abonelik .pricing-plan-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
}
body.page-abonelik .pricing-plan-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
body.page-abonelik .pricing-plan-card .price-original {
  text-decoration: line-through;
  color: #94A3B8;
  font-weight: 700;
  font-size: 0.92rem;
}
body.page-abonelik .pricing-plan-card .price-current {
  font-size: 1.7rem;
  font-weight: 900;
  color: #0F172A;
}
body.page-abonelik .pricing-plan-card .price-period {
  color: #64748B;
  font-weight: 700;
  font-size: 0.84rem;
}
body.page-abonelik .pricing-launch-badge {
  display: inline-block;
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 8px;
}
body.page-abonelik .pricing-renewal-note {
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: 14px;
}
body.page-abonelik .pricing-plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
body.page-abonelik .pricing-plan-features li {
  font-size: 0.84rem;
  color: #334155;
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
body.page-abonelik .pricing-plan-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 800;
}
@media (max-width: 900px) {
  body.page-abonelik .pricing-plans-grid {
    grid-template-columns: 1fr;
  }
  body.page-abonelik .pricing-plan-card.is-featured {
    transform: none;
  }
}

/* =========================================================================
   PROFİL ÇEKMECESİ — kapalıyken tamamen ekran dışında, mobilde tam genişlik
   ========================================================================= */
.profile-drawer-backdrop,
.drawer-backdrop,
body.page-panel .drawer-backdrop,
body.page-randevu .drawer-backdrop,
body.page-danisman .drawer-backdrop,
body.page-odeme .drawer-backdrop,
body.page-odeme .profile-drawer-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99998 !important;
  background: rgba(15, 23, 42, 0.5) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: block !important;
  transition: opacity 0.22s ease, visibility 0.22s ease !important;
}
.profile-drawer-backdrop.active,
.drawer-backdrop.active,
body.page-panel .drawer-backdrop.active,
body.page-randevu .drawer-backdrop.active,
body.page-danisman .drawer-backdrop.active,
body.page-odeme .drawer-backdrop.active,
body.page-odeme .profile-drawer-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.profile-drawer,
body.page-panel .profile-drawer,
body.page-randevu .profile-drawer,
body.page-danisman .profile-drawer,
body.page-odeme .profile-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  bottom: 0 !important;
  width: min(420px, 100vw) !important;
  max-width: 100vw !important;
  height: 100% !important;
  height: 100dvh !important;
  margin: 0 !important;
  transform: translate3d(110%, 0, 0) !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 99999 !important;
  background: #FFFFFF !important;
  box-shadow: -18px 0 48px rgba(15, 23, 42, 0.18);
  display: flex !important;
  flex-direction: column !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s !important;
  -webkit-overflow-scrolling: touch;
}
.profile-drawer.active,
body.page-panel .profile-drawer.active,
body.page-randevu .profile-drawer.active,
body.page-danisman .profile-drawer.active,
body.page-odeme .profile-drawer.active {
  transform: translate3d(0, 0, 0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
  right: 0 !important;
}
.profile-drawer-header {
  flex-shrink: 0;
}
.profile-drawer-body {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
}
.profile-drawer-footer {
  flex-shrink: 0;
}
body.kik-drawer-open {
  overflow: hidden !important;
  touch-action: none;
}
@media (max-width: 640px) {
  .profile-drawer,
  body.page-panel .profile-drawer,
  body.page-randevu .profile-drawer,
  body.page-danisman .profile-drawer,
  body.page-odeme .profile-drawer {
    width: 100vw !important;
    border-radius: 0 !important;
  }
}

body.page-panel .support-desk {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 16px;
  align-items: stretch;
}
body.page-panel .support-ticket-list {
  max-height: 560px;
  overflow-y: auto;
}
body.page-panel .support-ticket-item {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid #F1F5F9;
  padding: 12px 14px;
  cursor: pointer;
}
body.page-panel .support-ticket-item:hover {
  background: #FFFBEB;
}
body.page-panel .support-ticket-item.is-on {
  background: #FEF3C7;
}
.support-thread-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  background: linear-gradient(180deg, #FAFBFF 0%, #FFFFFF 100%);
  min-height: 280px;
}
.support-now-line {
  font-variant-numeric: tabular-nums;
}
@media (max-width: 860px) {
  body.page-panel .support-desk {
    grid-template-columns: 1fr;
  }
}

.support-box-tabs {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 8px;
}
.mail-box-tab {
  appearance: none;
  background: transparent;
  border: none;
  padding: 12px 10px;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748B;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 transparent;
  font-family: inherit;
  line-height: 1;
}
.mail-box-tab:hover {
  color: #0F172A;
}
.mail-box-tab.is-on {
  color: #B45309;
  box-shadow: inset 0 -2px 0 #D97706;
}
.support-status-filter {
  width: auto !important;
  min-width: 148px;
  max-width: 190px;
  height: 36px !important;
  padding: 0 28px 0 10px !important;
  font-size: 0.76rem !important;
  font-weight: 700;
  line-height: 34px;
  box-sizing: border-box;
  flex: 0 0 auto;
}
.support-box-tools,
.mail-desk-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
}
.mail-desk-search,
.mail-desk-date {
  height: 36px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0F172A;
  background: #FFFFFF;
  font-family: inherit;
  min-width: 0;
}
.mail-desk-search {
  flex: 1 1 140px;
  width: 100%;
}
.mail-desk-date {
  flex: 0 0 auto;
  width: 138px;
}
.mail-desk-search:focus,
.mail-desk-date:focus {
  outline: none;
  border-color: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}
[data-support-inbox-only][hidden] {
  display: none !important;
}

.search-bar-with-quota {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  position: relative;
  z-index: 5;
}
.search-bar-with-quota .pill-search-box-wrapper {
  flex: none;
  width: 100%;
  max-width: 780px;
}
.search-quota-hint {
  display: none;
  width: 100%;
  max-width: 780px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 0.78rem;
  line-height: 1.3;
  color: #64748B;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-quota-hint:not([hidden]) {
  display: block;
}
.search-quota-hint .sqh-n {
  color: #0F172A;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.search-quota-hint-inline {
  display: block !important;
  max-width: none;
  background: transparent;
  border: none;
  padding: 0;
  color: #64748B;
}
#searchExperienceContainer .search-quota-hint,
#searchExperienceContainer .search-bar-with-quota .pill-search-box-wrapper {
  max-width: none;
}
#searchExperienceContainer .search-quota-hint:not([hidden]) {
  display: block;
}
@media (max-width: 720px) {
  .search-quota-hint { white-space: normal; }
}

.support-unread-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: 6px;
  background: #DC2626;
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 6px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px #FFFFFF;
  vertical-align: middle;
}
.support-unread-badge:not([hidden]) {
  display: inline-flex;
}
.admin-nav-item .support-unread-badge {
  margin-left: auto;
  box-shadow: none;
}
.admin-nav-item .nav-text {
  flex: 1;
}
.cockpit-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.support-notify-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.support-ticket-unread {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  margin-left: 6px;
  background: #DC2626;
  color: #FFF;
  font-size: 0.64rem;
  font-weight: 800;
  border-radius: 5px;
}

.site-logo-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: transparent;
  border: none;
  border-radius: 0;
  display: block;
  flex-shrink: 0;
  padding: 0;
  box-sizing: border-box;
}
.brand-pill .site-logo-img {
  width: 40px;
  height: 40px;
}
.site-logo-img.site-logo-sm {
  width: 52px;
  height: 52px;
}
.site-logo-img.site-logo-seal {
  width: 88px;
  height: 88px;
}
.sidebar-brand-box .site-logo-img {
  width: 58px;
  height: 58px;
}
.search-gate-seal {
  overflow: visible;
  background: transparent;
  padding: 0;
  width: auto;
  height: auto;
  box-shadow: none;
}
.kik-vault-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}
.kik-vault-mark .site-logo-img {
  width: 52px;
  height: 52px;
}
body.page-index .logo-area .site-logo-img {
  width: 84px;
  height: 84px;
}

.public-tools-band {
  width: 100%;
  padding: 28px 24px 8px;
  box-sizing: border-box;
}
.public-tools-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.public-tools-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.home-menu {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 8px;
}
.home-menu-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 132px;
  padding: 16px;
  text-decoration: none;
  color: #0B1220;
  background: #FFFFFF;
  border: 1px solid #CFFAFE;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(8, 145, 178, 0.08);
}
.home-menu-card::before { content: none; }
.home-menu-card:hover {
  transform: translateY(-2px);
  border-color: #22D3EE;
  box-shadow: 0 14px 28px rgba(8, 145, 178, 0.16);
}
.home-menu-no {
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0891B2;
}
.home-menu-card strong {
  font-family: var(--font-serif, Newsreader, serif);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.home-menu-card span {
  color: #334155;
  font-size: 0.8rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-menu-card em {
  margin-top: auto;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0891B2;
}
@media (max-width: 1180px) {
  .home-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.public-tool-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: 16px;
  padding: 22px 24px;
  color: inherit;
}
.public-tool-card b {
  display: block;
  font-family: var(--font-serif, Newsreader, serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.public-tool-card span {
  color: var(--ink-secondary, #475569);
  font-size: 0.92rem;
  line-height: 1.5;
}
.home-question-strip {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
}
.home-question-row,
.home-question-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 14px 18px;
  text-decoration: none;
  color: #0F172A;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #F1F5F9;
  font-size: 0.98rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: left;
}
.home-question-row span {
  min-width: 0;
}
.home-question-row em,
.home-question-all em {
  flex: none;
  font-style: normal;
  color: #94A3B8;
}
.home-question-row:hover,
.home-question-all:hover {
  background: #F8FAFC;
}
.home-question-all {
  justify-content: flex-end;
  color: #1E3A8A;
  font-size: 0.84rem;
  font-weight: 800;
  border-bottom: 0;
}
.home-question-empty {
  margin: 0;
  padding: 16px 18px;
  color: #64748B;
}
body.page-soru {
  background: #F0FDFA;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0B1220;
}
body.page-soru .corporate-header {
  background: #FFFFFF;
  border-bottom: 1px solid #CFFAFE;
}
.q-header-actions { margin-left: auto; }
.q-home-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  color: #0B1220;
  border: 1.5px solid #0891B2;
  font-weight: 800;
  font-size: 0.82rem;
  text-decoration: none;
  white-space: nowrap;
}
.q-home-btn:hover { background: #ECFEFF; }
.q-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 80px;
}
.q-hero { margin: 0 0 22px; max-width: 640px; }
.q-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0891B2;
}
.q-hero h1 {
  font-family: Newsreader, serif;
  font-weight: 500;
  font-size: 2.7rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 8px;
}
.q-hero > p:last-child {
  margin: 0;
  color: #334155;
  font-size: 1rem;
  line-height: 1.5;
}
.q-loading {
  background: #fff;
  border-radius: 24px;
  padding: 48px 28px;
  color: #475569;
  box-shadow: 0 18px 50px rgba(8, 145, 178, 0.08);
}
.q-desk {
  display: grid;
  grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
  min-height: 72vh;
  background: #fff;
  border: 1px solid #CFFAFE;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(8, 145, 178, 0.1);
}
.q-list {
  display: flex;
  flex-direction: column;
  max-height: 78vh;
  background: #F0FDFA;
  border-right: 1px solid #CFFAFE;
}
.q-list-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 16px 16px 8px;
  background: #F0FDFA;
}
.q-list-head label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0891B2;
}
.q-list-head input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #E7E5E4;
  background: #fff;
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
  font-size: 1rem;
  color: #0F172A;
  outline: none;
}
.q-none {
  margin: 8px 10px 0;
  color: #78716C;
  font-size: 0.9rem;
  line-height: 1.45;
}
.q-list-head input:focus { border-color: #06B6D4; box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15); }
.q-list-head span {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0891B2;
}
.q-title { min-width: 0; }
#qList {
  overflow-y: auto;
  padding: 4px 8px 16px;
}
.q-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  margin: 0 0 6px;
  padding: 12px 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: #1C1917;
  text-align: left;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.q-no {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #64748B;
  padding-top: 3px;
}
.q-item:hover { background: #FFFFFF; border-color: #67E8F9; }
.q-item.is-active {
  background: #0B1220;
  border-color: #0B1220;
  color: #fff;
}
.q-item.is-active .q-no { color: #67E8F9; }
.q-answer {
  padding: 40px 48px 48px;
  overflow-y: auto;
  max-height: 78vh;
}
.q-answer-kicker {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0891B2;
}
.q-answer h1 {
  font-family: Newsreader, serif;
  font-weight: 500;
  font-size: 2.15rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 14px 0 18px;
  max-width: 22em;
}
.q-summary {
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 38em;
  color: #0B1220;
}
.q-source {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 38em;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #A5F3FC;
  border-radius: 14px;
  background: #ECFEFF;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.q-source:hover { border-color: #0891B2; }
.q-ref {
  display: inline;
  margin: 0 2px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #0891B2;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.q-reader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: flex-end;
  background: rgba(15, 23, 42, 0.35);
}
.q-reader[hidden] { display: none; }
.q-reader-card {
  width: min(640px, 100%);
  height: 100%;
  overflow: auto;
  background: #FFFFFF;
  padding: 28px 28px 48px;
  box-shadow: -16px 0 40px rgba(15, 23, 42, 0.16);
}
.q-reader-x {
  border: 1px solid #E7E5E4;
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  cursor: pointer;
}
.q-reader-kicker {
  margin: 16px 0 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
}
.q-reader-card h2 {
  font-family: Newsreader, serif;
  font-weight: 650;
  font-size: 1.7rem;
  margin: 0 0 16px;
  color: #000;
  text-align: left;
}
#qReaderBody {
  line-height: 1.7;
  font-size: 0.95rem;
  color: #111;
}
.q-reader-p {
  margin: 0 0 12px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}
.q-reader-head {
  margin: 18px 0 8px;
  color: #000;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.45;
  text-align: left;
}
.adm-q-form {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.adm-q-form h3 { margin: 0 0 6px; font-size: 0.95rem; }
.adm-q-form p { margin: 0 0 12px; color: #64748B; font-size: 0.8rem; }
.adm-mention-wrap { position: relative; }
.adm-mention-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 5;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  max-height: 260px;
  overflow: auto;
}
.adm-mention-menu button {
  display: flex;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #F1F5F9;
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.adm-mention-menu button em {
  flex: none;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #9A6735;
}
.adm-q-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: 10px;
}
.adm-q-row .form-label { flex: 1; }
.q-source span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0891B2;
}
.q-source strong { font-size: 0.92rem; font-weight: 650; color: #0B1220; }
.q-note,
.q-placeholder {
  color: #78716C;
  font-size: 0.86rem;
  line-height: 1.55;
  max-width: 38em;
}
.q-placeholder { margin: 12vh 0 0; font-size: 1rem; }
.q-pills { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.q-backbar { display: none; }
.q-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #DC2626;
  color: #fff;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.q-back::before { content: "X"; }
.q-gate {
  max-width: 460px;
  margin: 8px auto 0;
  padding: 40px 32px;
  background: #fff;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.07);
}
.q-gate h2 {
  font-family: Newsreader, serif;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.03em;
  margin: 0 0 10px;
}
.q-gate p { color: #57534E; line-height: 1.6; margin: 0 0 20px; }
.q-login {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: #0891B2;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.verdict-pill.tone-red { background: #FEF2F2; color: #9F1239; }
.verdict-pill.tone-amber { background: #FFF7ED; color: #9A3412; }
.verdict-pill.tone-green { background: #F0FDF4; color: #166534; }
.verdict-pill.tone-slate { background: #F5F5F4; color: #44403C; }
.verdict-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 999px;
  background: #F1F5F9;
  color: #0F172A;
}
body.page-araclar {
  background: #F3F0E8;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0F172A;
}
body.page-araclar .corporate-header {
  background: rgba(255, 252, 247, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.tool-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}
.tool-hero h1 {
  font-family: Newsreader, serif;
  font-weight: 500;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}
.tool-kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #92400E;
}
.tool-hero > p {
  max-width: 640px;
  margin: 0;
  color: #475569;
  line-height: 1.55;
}
.tool-hint {
  margin: 14px 0 0;
  color: #64748B;
  font-size: 0.88rem;
}
.tool-steps {
  display: flex;
  gap: 8px;
  margin: 18px 0;
  flex-wrap: wrap;
}
.tool-step {
  border: 1px solid #E2E8F0;
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}
.tool-step.active {
  background: #0F172A;
  color: #fff;
  border-color: #0F172A;
}
.tool-picker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.tool-pick {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-height: 148px;
  text-align: left;
  border: 1px solid #E7E2D8;
  background: #FFFcf7;
  color: #0F172A;
  border-radius: 18px;
  padding: 16px 16px 14px;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.tool-pick-no {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94A3B8;
}
.tool-pick b {
  font-family: Newsreader, serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}
.tool-pick > span:last-child {
  color: #475569;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
}
.tool-pick.active {
  background: #0F172A;
  color: #fff;
  border-color: #0F172A;
}
.tool-pick.active .tool-pick-no,
.tool-pick.active > span:last-child {
  color: rgba(248, 250, 252, 0.72);
}
[data-tool-panel] {
  margin-top: 16px;
  background: #FFFFFF;
  border: 1px solid #E7E2D8;
  border-radius: 20px;
  padding: 22px 24px 26px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}
[data-tool-panel] > h2 {
  font-family: Newsreader, serif;
  font-weight: 500;
  font-size: 1.7rem;
  margin: 0 0 6px;
}
.tool-form .btn-primary,
#petitionCreate {
  margin-top: 16px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: #0F172A;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
[data-tool-panel][hidden] {
  display: none;
}
.bid-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bid-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bid-row input {
  flex: 1;
  min-width: 0;
  width: auto;
  margin: 0;
}
.partner-row {
  flex-wrap: wrap;
}
.partner-row input {
  flex: 1 1 140px;
}
.field-note {
  color: #B91C1C;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 4px 0 0;
}
.field-bad {
  border-color: #DC2626 !important;
}
.bid-status-list {
  list-style: none;
  margin: 12px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bid-status-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
}
.bid-status-list .bid-no {
  display: inline-block;
  min-width: 1.8em;
}
.bid-ok {
  color: #166534;
  background: #F0FDF4;
}
.bid-bad {
  color: #B91C1C;
  background: #FEF2F2;
}
.ratio-table {
  width: 100%;
  border-collapse: collapse;
}
.ratio-table td {
  padding: 8px 10px;
}
.ratio-table tr.bid-ok td:last-child,
.ratio-table tr.bid-bad td:last-child {
  font-weight: 800;
}
h3.bid-ok,
h3.bid-bad {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
}
.bid-remove,
.bid-add {
  border: 1px solid #E2E8F0;
  background: #fff;
  border-radius: 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.bid-remove {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: #B91C1C;
  font-size: 1.2rem;
  line-height: 1;
}
.bid-add {
  margin-top: 8px;
  padding: 10px 14px;
  color: #0F172A;
}
.tool-form label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 12px 0 4px;
}
.tool-form input, .tool-form textarea, .tool-form select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  background: #F8FAFC;
}
.tool-form input:focus, .tool-form textarea:focus, .tool-form select:focus {
  outline: none;
  border-color: #94A3B8;
  background: #FFFFFF;
}
.tool-result {
  margin-top: 18px;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px;
  background: #fff;
}
.tool-result table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.tool-result td {
  padding: 6px 0;
  border-bottom: 1px solid #F1F5F9;
}
.kesinti-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
#kesintiOut.tool-result {
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
.kesinti-sheet {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.kesinti-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 6px;
}
.kesinti-stat {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px 12px;
}
.kesinti-stat span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748B;
}
.kesinti-stat strong {
  display: block;
  margin-top: 4px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0F172A;
}
.kesinti-stat strong.is-plus { color: #166534; }
.kesinti-stat strong.is-minus { color: #9B2C2C; }
.kesinti-stat p {
  margin: 8px 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #64748B;
}
.kesinti-board {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(230px, 0.7fr);
  gap: 22px;
  align-items: start;
}
.kesinti-table { width: 100%; border-collapse: collapse; }
.kesinti-table th {
  text-align: left;
  background: transparent;
  color: #0F172A;
  padding: 18px 0 6px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-bottom: 0;
}
.kesinti-table td {
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
  font-weight: 500;
}
.kesinti-table td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  white-space: nowrap;
  color: #0F172A;
}
.kesinti-table tr.row-plus td:last-child { color: #166534; }
.kesinti-table tr.row-minus td:last-child { color: #9B2C2C; }
.kesinti-table tr.row-sum td {
  border-bottom-color: #E2E8F0;
  font-weight: 700;
  color: #0F172A;
}
td.kesinti-amt { position: relative; padding-top: 16px; }
.kesinti-star {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94A3B8;
  margin-left: 1px;
}
.kesinti-foot {
  margin: 4px 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #64748B;
}
.kesinti-tag {
  margin-left: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748B;
}
.kesinti-note {
  color: #64748B;
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
}
.kesinti-rates {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 14px 6px;
}
.kesinti-rates h4 {
  margin: 0 0 4px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0F172A;
}
.kesinti-rate {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 0 8px;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
  font-size: 0.82rem;
}
.kesinti-rate b {
  position: relative;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.kesinti-rate b.kesinti-amt { padding-top: 11px; }
.admin-rate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.admin-rate-grid .form-input { width: 100%; box-sizing: border-box; }
.dayanak { position: relative; display: inline; }
.kesinti-amt .dayanak {
  position: absolute;
  top: 0;
  right: 0;
  line-height: 1;
}
.dayanak-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #94A3B8;
  font: inherit;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
}
.dayanak-pop {
  display: none;
  position: fixed;
  z-index: 80;
  width: 300px;
  padding: 10px 12px;
  background: #0F172A;
  color: #F8FAFC;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28);
}
.dayanak.is-open .dayanak-pop { display: block; }
@media (max-width: 800px) {
  .public-tools-band { padding: 16px 12px 4px; }
  .public-tools-actions, .home-question-grid { grid-template-columns: 1fr; }
  body.page-soru .logo-area { min-width: 0; }
  body.page-soru .q-home-btn { padding: 7px 12px; font-size: 0.78rem; }
  .q-page { padding: 20px 12px 48px; }
  .q-hero h1 { font-size: 1.85rem; }
  .q-desk { grid-template-columns: 1fr; min-height: 0; border-radius: 18px; }
  .q-list { max-height: none; border-right: 0; }
  .q-list-head input { font-size: 16px; }
  .q-item { font-size: 0.9rem; }
  .q-answer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: none;
    padding: 20px 16px 32px;
    background: #fff;
    z-index: 81;
    box-shadow: none;
    transform: translateX(110%);
    transition: transform 0.2s ease;
    pointer-events: none;
  }
  .q-answer h1 { font-size: 1.45rem; }
  .q-desk.is-open .q-answer { transform: none; pointer-events: auto; }
  .q-desk.is-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(11, 18, 32, 0.45);
    z-index: 80;
  }
  .q-answer { padding-top: 64px; }
  .q-backbar {
    display: block;
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
  }
  .home-menu { grid-template-columns: 1fr 1fr; }
  .home-menu-card { min-height: 0; }
  .home-question-card strong,
  .public-tool-card b,
  .public-tool-card span { overflow-wrap: anywhere; }
  .tool-page {
    padding: 16px 12px 72px;
    max-width: 100%;
  }
  .tool-page h1 { font-size: 1.55rem !important; }
  .tool-picker { width: 100%; grid-template-columns: 1fr; }
  .tool-pick {
    min-height: 0;
    text-align: left;
  }
  .tool-steps { width: 100%; }
  .tool-step { flex: 1 1 calc(50% - 8px); text-align: center; }
  .tool-form input,
  .tool-form textarea,
  .tool-form select {
    font-size: 16px;
  }
  .tool-result { overflow-x: auto; }
  .kesinti-choices,
  .kesinti-board,
  .admin-rate-grid { grid-template-columns: 1fr; }
  .kesinti-sheet { padding: 14px; }
  .kesinti-stats { grid-template-columns: 1fr; }
  .kesinti-stat strong { font-size: 1.3rem; }
  #kesintiOut.tool-result { overflow: visible; }
  #questionArticle h1 { font-size: 1.45rem !important; overflow-wrap: anywhere; }
  .admin-layout-container { flex-direction: column; }
  .admin-sidebar { width: 100%; max-height: none; }
  .admin-layout-container .admin-main,
  .admin-layout-container table { max-width: 100%; }
  .admin-layout-container table { display: block; overflow-x: auto; }
  .panel-overview-grid,
  .odeme-grid { grid-template-columns: 1fr !important; }
  .tabs-scroll { overflow-x: auto; }
  .cockpit-nav-pill,
  .btn-amber-cta,
  .btn { max-width: 100%; }
}
@media (max-width: 560px) {
  .home-menu { grid-template-columns: 1fr; }
}