﻿/**
 * Glomax GPT â€” Corporate Design Layer
 * Kurumsal, soft, modern â€” tÃ¼m cihazlarla tam uyumlu
 * Mevcut app.css Ã¼zerine eklenir, bozmadan gÃ¼Ã§lendirir.
 */

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DESIGN TOKENS â€” Kurumsal geniÅŸletme
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
:root {
  /* Kurumsal renk genişletme — nötr gri */
  --corp-blue:       #595959;
  --corp-indigo:     #595959;
  --corp-violet:     #595959;
  --corp-emerald:    #10b981;
  --corp-amber:      #f59e0b;
  --corp-rose:       #ef4444;

  /* Glassmorphism — light */
  --glass-bg:        rgba(255,255,255,.80);
  --glass-border:    rgba(0,0,0,.08);
  --glass-blur:      blur(20px) saturate(180%);

  /* Spacing scale */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;
  --sp-4: 16px; --sp-5: 20px; --sp-6: 24px;
  --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;

  /* Border radius scale */
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px;
  --r-xl: 20px; --r-2xl: 24px; --r-full: 9999px;

  /* Typography scale */
  --text-xs:  .72rem;
  --text-sm:  .82rem;
  --text-base:.9rem;
  --text-md:  1rem;
  --text-lg:  1.125rem;
  --text-xl:  1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;

  /* Shadow palette */
  --shadow-xs:  0 1px 3px rgba(0,0,0,.06);
  --shadow-soft:0 4px 16px rgba(0,0,0,.06);
  --shadow-card:0 8px 32px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.04);
  --shadow-popup:0 20px 60px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
  --shadow-glow:0 0 32px rgba(0,0,0,.08);

  /* Animation easing */
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-smooth: cubic-bezier(.4,0,.2,1);
  --ease-snappy: cubic-bezier(.25,.46,.45,.94);

  /* Topbar height */
  --topbar-h: 56px;
}

[data-theme="dark"] {
  --corp-violet:  #444444;
  --corp-blue:    #222222;
  --corp-indigo:  #333333;
  --glass-bg:     rgba(5,8,22,.92);
  --glass-border: rgba(120,120,120,.15);
  --shadow-soft:  0 4px 16px rgba(0,0,0,.35);
  --shadow-card:  0 8px 32px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.25);
  --shadow-popup: 0 20px 60px rgba(0,0,0,.65), 0 4px 16px rgba(0,0,0,.35);
  --shadow-glow:  0 0 32px rgba(0,0,0,.1);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TOPBAR â€” Kurumsal glassmorphism (layout bozmadan)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.topbar {
  /* position sticky kaldÄ±rÄ±ldÄ± â€” app.css flex dÃ¼zenini korur */
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

/* Scroll geÃ§ince daha yoÄŸun gÃ¶rÃ¼nÃ¼m */
.topbar.scrolled {
  background: var(--main-bg);
  border-bottom-color: var(--border2);
  box-shadow: var(--shadow-soft);
}

/* Model seÃ§ici chip â€” app.css'deki display:none kuralÄ±nÄ± bozmaz */
.topbar-model-chip-visible {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border);
  font-size: var(--text-sm); font-weight: 600; color: var(--text);
  cursor: pointer; transition: all .15s var(--ease-smooth);
  max-width: 220px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; user-select: none;
}
.topbar-model-chip-visible:hover {
  background: var(--surface2); border-color: var(--border2);
  box-shadow: var(--shadow-xs);
}

/* Topbar icon butonlar */
.topbar-icon-btn,
.topbar-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-sm);
  color: var(--text3); transition: all .15s; background: none; border: none;
  cursor: pointer; position: relative; flex-shrink: 0;
}
.topbar-icon-btn:hover,
.topbar-btn:hover { background: var(--surface); color: var(--text); }

/* Topbar sohbet baÅŸlÄ±ÄŸÄ± */
#conv-title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 260px;
}
@media (max-width: 768px) { #conv-title { max-width: 140px; } }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   WELCOME EKRANI â€” GÃ¶rsel iyileÅŸtirme, layout app.css'de
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.welcome-screen {
  /* flex/display app.css'de tanÄ±mlÄ± â€” sadece gÃ¶rsel */
  gap: var(--sp-6);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  animation: corpFadeUp .5s var(--ease-smooth) both;
}

@keyframes corpFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Logo alanÄ± */
.welcome-logo-wrap {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-4);
}
.welcome-logo-icon {
  width: 72px; height: 72px; border-radius: 22px;
  background: var(--accent-grad);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow), 0 8px 32px rgba(0,0,0,.08);
  animation: logoPulse 3s ease infinite;
  flex-shrink: 0;
}
@keyframes logoPulse {
  0%,100% { box-shadow: var(--shadow-glow), 0 8px 32px rgba(0,0,0,.08); }
  50%      { box-shadow: 0 0 48px rgba(100,100,100,.4), 0 8px 32px rgba(80,80,80,.25); }
}

.welcome-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800; line-height: 1.2;
  background: var(--accent-grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -.02em;
  margin: 0;
}
.welcome-subtitle {
  font-size: var(--text-base); color: var(--text3);
  max-width: 480px; margin: 0 auto; line-height: 1.6;
}

/* Suggestion kartlarÄ± */
.suggestions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  width: 100%; max-width: 560px;
}
@media (max-width: 480px) {
  .suggestions-grid { grid-template-columns: 1fr; max-width: 100%; }
}

.suggestion-card {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-4);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); cursor: pointer;
  transition: all .2s var(--ease-smooth);
  text-align: left; position: relative; overflow: hidden;
}
.suggestion-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--accent-grad); opacity: 0;
  transition: opacity .2s;
}
.suggestion-card:hover {
  border-color: rgba(100,100,100,.3);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.suggestion-card:hover::before { opacity: .04; }
.suggestion-card:active { transform: translateY(0); }

.suggestion-card-icon {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.suggestion-card-body { flex: 1; min-width: 0; }
.suggestion-card-title {
  font-size: var(--text-sm); font-weight: 700; color: var(--text);
  margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.suggestion-card-desc {
  font-size: var(--text-xs); color: var(--text4); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Capability pills (welcome altÄ±) */
.welcome-caps {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: var(--sp-2);
  max-width: 560px;
}
.cap-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border);
  font-size: var(--text-xs); color: var(--text3); font-weight: 500;
  transition: all .15s;
}
.cap-pill:hover { border-color: rgba(100,100,100,.3); color: var(--accent); background: var(--accent-soft); }
.cap-pill svg { flex-shrink: 0; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MESAJ â€” Sadece gÃ¶rsel geliÅŸtirme, layout korundu
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* .message layout'u app.css'de tanÄ±mlÄ± â€” buraya dokunmuyoruz */

/* Avatar â€” sadece renk/shadow gÃ¼ncelleme */
.message.user .message-avatar {
  background: var(--accent-grad);
  box-shadow: 0 2px 8px rgba(100,100,100,.25);
}
.message.assistant .message-avatar {
  background: var(--accent-grad);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

/* Ä°Ã§erik okunabilirlik */
.message-content {
  line-height: 1.75;
}
.message-content p { margin: 0 0 12px; }
.message-content p:last-child { margin-bottom: 0; }

/* Model badge */
.message-model-badge {
  font-size: .65rem; font-weight: 700; padding: 1px 7px;
  border-radius: var(--r-full); background: var(--accent-soft);
  color: var(--accent); letter-spacing: .03em;
}

/* Aksiyon butonlarÄ± */
.msg-action-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: var(--r-sm);
  font-size: var(--text-xs); font-weight: 500; color: var(--text4);
  background: none; border: none; cursor: pointer;
  transition: all .12s; white-space: nowrap;
}
.msg-action-btn:hover { background: var(--surface2); color: var(--text); }
.msg-action-btn.liked    { color: var(--corp-emerald); }
.msg-action-btn.disliked { color: var(--corp-rose); }

/* Streaming cursor */
.message-streaming .message-content::after {
  content: 'â–‹';
  animation: corpBlink .7s step-end infinite;
  color: var(--accent); margin-left: 1px;
}
@keyframes corpBlink { 0%,100%{opacity:1} 50%{opacity:0} }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   INPUT ALANI â€” GÃ¶rsel iyileÅŸtirme, layout korundu
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* .input-wrapper layout app.css'de â€” sadece gÃ¶rsel */
.input-wrapper {
  border-top: 1px solid var(--border);
}

/* .input-box â€” hafif gÃ¶rsel gÃ¼ncelleme */
.input-box {
  box-shadow: var(--shadow-xs);
  transition: border-color .2s, box-shadow .2s;
}
.input-box:focus-within {
  box-shadow: var(--shadow-xs);
}

/* GÃ¶nder butonu â€” spring animasyonu */
.btn-send {
  transition: all .2s var(--ease-spring);
  box-shadow: 0 2px 8px rgba(100,100,100,.3);
}
.btn-send:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(100,100,100,.4);
}
.btn-send:active:not(:disabled) { transform: scale(.96); }

/* Input alt Ã§ubuk */
.input-toolbar {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-1) 0;
  flex-wrap: wrap;
}
.input-toolbar-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: var(--r-full);
  font-size: var(--text-xs); font-weight: 600; color: var(--text3);
  background: none; border: 1px solid transparent; cursor: pointer;
  transition: all .15s; white-space: nowrap;
}
.input-toolbar-btn:hover {
  background: var(--surface); border-color: var(--border);
  color: var(--text);
}
.input-toolbar-btn.active {
  background: var(--accent-soft); border-color: rgba(100,100,100,.25);
  color: var(--accent);
}

/* Karakter sayacÄ± */
.input-char-count {
  margin-left: auto; font-size: var(--text-xs); color: var(--text4);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.input-char-count.warn { color: var(--corp-amber); }
.input-char-count.error { color: var(--corp-rose); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   KOD BLOKLARI â€” GeliÅŸtirilmiÅŸ
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.code-block {
  border-radius: var(--r-lg) !important;
  overflow: hidden;
  border: 1px solid var(--border) !important;
  margin: var(--sp-4) 0 !important;
  box-shadow: var(--shadow-xs);
}
.code-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px;
  background: var(--code-header) !important;
  border-bottom: 1px solid var(--border);
}
.code-lang {
  font-size: var(--text-xs); font-weight: 700; color: var(--text3);
  text-transform: uppercase; letter-spacing: .08em;
}
.code-copy-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--r-sm);
  font-size: var(--text-xs); font-weight: 600;
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text3); cursor: pointer; transition: all .12s;
}
.code-copy-btn:hover { background: var(--surface3); color: var(--text); }
.code-copy-btn.copied { color: var(--corp-emerald); border-color: rgba(16,185,129,.3); }

.code-block pre {
  margin: 0 !important; padding: var(--sp-5) !important;
  background: var(--code-bg) !important;
  overflow-x: auto; font-size: .82rem !important;
  line-height: 1.7 !important;
}

/* macOS trafik Ä±ÅŸÄ±klarÄ± */
.code-header::before {
  content: ''; display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  background: #ff5f57;
  box-shadow: 14px 0 0 #febc2e, 28px 0 0 #28c840;
  margin-right: 36px; flex-shrink: 0;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TOAST BÄ°LDÄ°RÄ°MLER â€” Yeniden tasarlandÄ±
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#toast-container {
  position: fixed; bottom: 88px; right: 20px;
  display: flex; flex-direction: column; gap: var(--sp-2);
  z-index: 9999; pointer-events: none;
}
@media (max-width: 768px) {
  #toast-container { bottom: 100px; right: 12px; left: 12px; }
}

.toast {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-popup);
  font-size: var(--text-sm); font-weight: 600; color: var(--text);
  pointer-events: auto; max-width: 340px;
  animation: toastIn .3s var(--ease-spring) both;
  min-width: 220px;
}
.toast.hiding { animation: toastOut .25s ease forwards; }
@keyframes toastIn  { from{opacity:0;transform:translateY(12px) scale(.95)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes toastOut { from{opacity:1;transform:translateY(0)} to{opacity:0;transform:translateY(8px)} }

.toast-icon {
  width: 28px; height: 28px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.toast.success .toast-icon { background: rgba(16,185,129,.15); color: #10b981; }
.toast.error   .toast-icon { background: rgba(239,68,68,.15);  color: #ef4444; }
.toast.info    .toast-icon { background: rgba(80,80,80,.15); color: #555555; }
.toast.warning .toast-icon { background: rgba(245,158,11,.15); color: #f59e0b; }
.toast-msg { flex: 1; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MODAL â€” Genel modal sistemi
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.corp-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: var(--sp-5); opacity: 0; pointer-events: none;
  transition: opacity .2s;
}
.corp-modal-overlay.show { opacity: 1; pointer-events: auto; }

.corp-modal {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-2xl);
  width: 100%; max-width: 520px;
  box-shadow: var(--shadow-popup);
  transform: translateY(20px) scale(.97);
  transition: transform .25s var(--ease-spring), opacity .2s;
  overflow: hidden;
}
.corp-modal-overlay.show .corp-modal { transform: translateY(0) scale(1); }

.corp-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-5) var(--sp-6) var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.corp-modal-title { font-size: var(--text-md); font-weight: 800; }
.corp-modal-close {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  background: var(--surface2); border: none; color: var(--text3);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .12s;
}
.corp-modal-close:hover { background: var(--surface3); color: var(--text); }
.corp-modal-body { padding: var(--sp-5) var(--sp-6); }
.corp-modal-footer {
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: flex-end; gap: var(--sp-3);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BUTON SÄ°STEMÄ° â€” Kurumsal
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 18px; border-radius: var(--r-md);
  font-size: var(--text-sm); font-weight: 700; font-family: var(--font);
  border: 1.5px solid transparent; cursor: pointer;
  transition: all .18s var(--ease-smooth); white-space: nowrap;
  text-decoration: none; user-select: none;
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-primary {
  background: var(--accent-grad); color: #fff;
  box-shadow: 0 2px 12px rgba(100,100,100,.3);
}
.btn-primary:hover { opacity: .88; text-decoration: none; color: #fff; }
.btn-primary:active { opacity: .75; }

.btn-secondary {
  background: var(--surface2); color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--surface3); border-color: var(--border2); text-decoration: none; color: var(--text); }

.btn-ghost {
  background: transparent; color: var(--text2); border-color: transparent;
}
.btn-ghost:hover { background: var(--surface); color: var(--text); text-decoration: none; }

.btn-danger {
  background: rgba(239,68,68,.1); color: #ef4444; border-color: rgba(239,68,68,.2);
}
.btn-danger:hover { background: rgba(239,68,68,.18); text-decoration: none; color: #ef4444; }

.btn-sm { padding: 6px 12px; font-size: var(--text-xs); border-radius: var(--r-sm); }
.btn-lg { padding: 12px 24px; font-size: var(--text-base); border-radius: var(--r-lg); }
.btn-xl { padding: 14px 32px; font-size: var(--text-md); border-radius: var(--r-lg); }
.btn-full { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   KART SÄ°STEMÄ°
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.corp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  box-shadow: var(--shadow-xs);
  transition: all .2s var(--ease-smooth);
}
.corp-card:hover {
  border-color: var(--border2);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.corp-card-header {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.corp-card-icon {
  width: 42px; height: 42px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.corp-card-title   { font-size: var(--text-base); font-weight: 700; }
.corp-card-subtitle{ font-size: var(--text-sm); color: var(--text3); margin-top: 2px; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FORM ELEMANLARI
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.corp-input {
  width: 100%; padding: 10px 14px;
  border-radius: var(--r-md); border: 1.5px solid var(--input-border);
  background: var(--input-bg); color: var(--text);
  font-size: var(--text-base); font-family: var(--font);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.corp-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(100,100,100,.1);
}
.corp-input::placeholder { color: var(--text4); }

.corp-label {
  display: block; font-size: var(--text-xs); font-weight: 700;
  color: var(--text3); margin-bottom: 6px; text-transform: uppercase;
  letter-spacing: .05em;
}

.corp-input-group { margin-bottom: var(--sp-4); }

/* Select */
.corp-select {
  appearance: none; -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}

/* Checkbox */
.corp-checkbox-wrap {
  display: flex; align-items: center; gap: var(--sp-3);
  cursor: pointer; user-select: none;
}
.corp-checkbox {
  width: 18px; height: 18px; border-radius: 5px;
  border: 1.5px solid var(--border2); background: var(--input-bg);
  appearance: none; -webkit-appearance: none; cursor: pointer; flex-shrink: 0;
  transition: all .12s; position: relative;
}
.corp-checkbox:checked {
  background: var(--accent); border-color: var(--accent);
}
.corp-checkbox:checked::after {
  content: ''; position: absolute; left: 4px; top: 1px;
  width: 5px; height: 9px; border: 2px solid #fff;
  border-top: 0; border-left: 0; transform: rotate(42deg);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DUYURU BANNER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.corp-announcement {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  background: var(--accent-soft); border-bottom: 1px solid rgba(100,100,100,.15);
  font-size: var(--text-sm); color: var(--text2);
  position: sticky; top: 0; z-index: 95;
}
.corp-announcement a { color: var(--accent); font-weight: 600; }
.corp-announcement-close {
  margin-left: auto; background: none; border: none;
  cursor: pointer; color: var(--text4); display: flex; align-items: center;
  padding: 2px;
}
.corp-announcement-close:hover { color: var(--text); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SAYFA LAYOUT â€” Inner pages (profile, settings vb.)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.page-layout {
  max-width: 860px; margin: 0 auto;
  padding: var(--sp-10) var(--sp-6) var(--sp-12);
  width: 100%;
}
@media (max-width: 768px) {
  .page-layout { padding: var(--sp-6) var(--sp-4) var(--sp-10); }
}

.page-header {
  display: flex; align-items: center; gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
.page-header-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-grad); color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(100,100,100,.25);
}
.page-header-title   { font-size: var(--text-2xl); font-weight: 800; letter-spacing: -.02em; }
.page-header-subtitle{ font-size: var(--text-sm); color: var(--text3); margin-top: 3px; }

/* Section baÅŸlÄ±klarÄ± */
.section-label {
  font-size: var(--text-xs); font-weight: 700; color: var(--text4);
  text-transform: uppercase; letter-spacing: .07em; margin-bottom: var(--sp-3);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SIDEBAR â€” Sadece gÃ¶rsel iyileÅŸtirme, layout'a dokunma
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Logo yazÄ± â€” sadece gÃ¶rsel */
.sidebar-logo-text {
  font-size: .88rem !important;
  letter-spacing: .22em !important;
}

/* Footer â€” mevcut padding/display'e dokunma, sadece gap ekle */
.sidebar-footer {
  gap: var(--sp-2);
}

/* User item â€” mevcut stillerle uyumlu */
.sidebar-user-item {
  border-radius: var(--r-md);
  transition: background .15s;
}

.user-avatar {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--accent-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: var(--text-sm); flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(100,100,100,.2);
  background-size: cover; background-position: center;
}
.user-name  { font-size: var(--text-sm); font-weight: 700; color: var(--text); line-height: 1.2; }
.user-plan  {
  font-size: var(--text-xs); color: var(--text4); line-height: 1.2;
  display: inline-flex; align-items: center; gap: 4px;
}

/* User menÃ¼ */
.user-menu {
  position: absolute; bottom: calc(100% + 6px); left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-popup);
  padding: var(--sp-2); z-index: 300;
  animation: corpMenuIn .18s var(--ease-spring);
  min-width: 200px;
}
@keyframes corpMenuIn {
  from { opacity:0; transform:translateY(8px) scale(.97); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}

.user-menu-item {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 8px 11px; border-radius: var(--r-sm);
  font-size: var(--text-sm); color: var(--text2);
  cursor: pointer; transition: all .12s;
  text-decoration: none; white-space: nowrap;
}
.user-menu-item:hover { background: var(--surface2); color: var(--text); text-decoration: none; }
.user-menu-item svg { flex-shrink: 0; color: var(--text3); }
.user-menu-item:hover svg { color: var(--text2); }
.user-menu-danger { color: var(--corp-rose) !important; }
.user-menu-danger:hover { background: rgba(244,63,94,.08) !important; }
.user-menu-danger svg { color: var(--corp-rose) !important; }

.user-menu-divider { height: 1px; background: var(--border); margin: var(--sp-1) 0; }

/* Guest auth */
.guest-auth-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--corp-violet);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: var(--sp-2);
  cursor: pointer;
  transition: opacity .15s;
}
.guest-auth-card:hover { opacity: .92; }
.guest-auth-card-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--r-sm);
  background: var(--accent-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-sidebar-google {
  display: flex; align-items: center; justify-content: center; gap: var(--sp-3);
  padding: 9px; border-radius: var(--r-md);
  background: var(--surface); border: 1.5px solid var(--border);
  font-size: var(--text-sm); font-weight: 600; color: var(--text);
  cursor: pointer; transition: all .15s; text-decoration: none;
  margin-bottom: var(--sp-2);
}
.btn-sidebar-google:hover { background: var(--surface2); text-decoration: none; }

.sidebar-auth-row {
  display: flex; gap: var(--sp-2);
}
.btn-sidebar-login-sm,
.btn-sidebar-register-sm {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 8px; border-radius: var(--r-sm);
  font-size: var(--text-xs); font-weight: 700; cursor: pointer; text-decoration: none;
  transition: all .15s;
}
.btn-sidebar-login-sm {
  background: var(--surface2); color: var(--text2); border: 1px solid var(--border);
}
.btn-sidebar-login-sm:hover { background: var(--surface3); color: var(--text); text-decoration: none; }
.btn-sidebar-register-sm {
  background: var(--corp-violet);
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(100,100,100,.25);
}
.btn-sidebar-register-sm:hover { opacity: .9; text-decoration: none; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE PAGE HEADER â€” sadece gÃ¶rsel, layout bozmadan
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.mobile-page-header {
  box-shadow: var(--shadow-xs);
  gap: var(--sp-3);
}

.mobile-hamburger {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); transition: all .15s;
  border: none; background: none; cursor: pointer; flex-shrink: 0;
}
.mobile-hamburger:hover { background: var(--surface); color: var(--text); }

.mobile-header-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); transition: all .15s; flex-shrink: 0;
  border: none; background: none; cursor: pointer;
}
.mobile-header-btn:hover { background: var(--surface); color: var(--text); }

.mobile-header-login-btn {
  padding: 5px 12px;
  border-radius: var(--r-full);
  background: var(--code-header);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(100,100,100,.25);
}
.mobile-header-login-btn:hover { opacity: .9; text-decoration: none; }

.mobile-page-header-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase; color: var(--text); text-decoration: none;
  flex-shrink: 0;
}
.mobile-page-header-logo:hover { text-decoration: none; }

.mobile-back-btn {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text3); transition: all .15s; flex-shrink: 0;
  text-decoration: none;
}
.mobile-back-btn:hover { background: var(--surface); color: var(--text); text-decoration: none; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MODEL SEÃ‡Ä°CÄ° DRAWER â€” Mobile/Desktop
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.model-drawer-overlay {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(0,0,0,.4); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.model-drawer-overlay.show { opacity: 1; pointer-events: auto; }

.model-drawer {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--surface); border-radius: var(--r-2xl) var(--r-2xl) 0 0;
  border: 1px solid var(--border2); border-bottom: none;
  box-shadow: var(--shadow-popup);
  max-height: 80vh; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .3s var(--ease-smooth);
  z-index: 801;
}
.model-drawer-overlay.show .model-drawer { transform: translateY(0); }

@media (min-width: 769px) {
  .model-drawer {
    position: absolute; bottom: auto; top: calc(100% + 6px);
    left: 0; right: auto; min-width: 280px; max-width: 360px;
    border-radius: var(--r-xl); border: 1px solid var(--border2);
    max-height: 440px; transform: translateY(-8px) scale(.97);
    opacity: 0; transition: transform .2s var(--ease-spring), opacity .2s;
  }
  .model-drawer-overlay.show .model-drawer {
    transform: translateY(0) scale(1); opacity: 1;
  }
}

.model-drawer-handle {
  width: 36px; height: 4px; border-radius: var(--r-full);
  background: var(--surface3); margin: 10px auto 6px; flex-shrink: 0;
}
@media (min-width: 769px) { .model-drawer-handle { display: none; } }

.model-drawer-header {
  padding: var(--sp-4) var(--sp-5) var(--sp-3);
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.model-drawer-title { font-size: var(--text-base); font-weight: 800; }
.model-drawer-search {
  display: flex; align-items: center; gap: var(--sp-2);
  padding: 8px 12px; border-radius: var(--r-md);
  background: var(--surface2); border: 1px solid var(--border);
  margin-top: var(--sp-3);
}
.model-drawer-search input {
  flex: 1; background: none; border: none; outline: none;
  font-size: var(--text-sm); color: var(--text);
}
.model-drawer-search input::placeholder { color: var(--text4); }

.model-drawer-list {
  flex: 1; overflow-y: auto; padding: var(--sp-2) var(--sp-3);
}

.model-option {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: 10px 11px; border-radius: var(--r-md);
  cursor: pointer; transition: all .12s;
}
.model-option:hover { background: var(--surface2); }
.model-option.selected { background: var(--accent-soft); }
.model-option.model-locked { opacity: .5; cursor: not-allowed; }

.model-option-icon {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--surface2); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--text2);
}
.model-option.selected .model-option-icon { background: var(--accent-soft); color: var(--accent); }

.model-option-name  { font-size: var(--text-sm); font-weight: 700; color: var(--text); }
.model-option-desc  { font-size: var(--text-xs); color: var(--text4); margin-top: 1px; }
.model-option-badge {
  margin-left: auto; font-size: .65rem; font-weight: 700;
  padding: 2px 7px; border-radius: var(--r-full);
  background: var(--accent-soft); color: var(--accent); flex-shrink: 0;
}
.model-lock-icon { margin-left: auto; color: var(--text4); flex-shrink: 0; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AKILLI Ã–NERÄ° BALONCUKLARI â€” Welcome
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.quick-suggestions {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  justify-content: center; max-width: 600px;
}
.quick-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-full);
  background: var(--surface); border: 1px solid var(--border);
  font-size: var(--text-sm); color: var(--text2); font-weight: 500;
  cursor: pointer; transition: all .18s var(--ease-spring);
  user-select: none;
}
.quick-pill:hover {
  background: var(--accent-soft); border-color: rgba(100,100,100,.3);
  color: var(--accent); transform: translateY(-2px);
  box-shadow: var(--shadow-xs);
}
.quick-pill:active { transform: translateY(0); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PROGRESS BAR â€” Sayfa geÃ§iÅŸleri
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.corp-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--accent-grad); z-index: 9999;
  width: 0; opacity: 0; transition: width .2s ease, opacity .3s ease;
  border-radius: 0 var(--r-full) var(--r-full) 0;
  box-shadow: 0 0 8px rgba(100,100,100,.4);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SKELETON LOADER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.skeleton {
  background: linear-gradient(90deg, var(--surface2) 25%, var(--surface3) 50%, var(--surface2) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: var(--r-sm);
}
@keyframes skeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-text { height: 14px; border-radius: 7px; }
.skeleton-avatar { width: 36px; height: 36px; border-radius: var(--r-sm); }
.skeleton-msg { display: flex; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); }
.skeleton-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   ERÄ°ÅžÄ°LEBÄ°LÄ°RLÄ°K â€” Focus ring
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}
button:focus-visible, a:focus-visible { border-radius: var(--r-sm); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SCROLLBAR â€” Kurumsal
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
* { scrollbar-width: thin; scrollbar-color: var(--border2) transparent; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border2); border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text4); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SEÃ‡Ä°M RENGÄ°
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
::selection { background: rgba(100,100,100,.2); color: inherit; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BAÄžLANTI STÄ°LÄ° â€” Mesaj iÃ§i
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.message-content a {
  color: var(--accent); text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: 2px;
  transition: color .12s;
}
.message-content a:hover { color: var(--accent-h); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TABLO â€” Mesaj iÃ§i
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.message-content table {
  width: 100%; border-collapse: collapse;
  margin: var(--sp-4) 0; font-size: var(--text-sm);
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border);
}
.message-content th {
  background: var(--surface2); padding: 9px 14px;
  text-align: left; font-weight: 700; color: var(--text);
  border-bottom: 1.5px solid var(--border2);
}
.message-content td {
  padding: 8px 14px; border-bottom: 1px solid var(--border);
  color: var(--text2);
}
.message-content tr:last-child td { border-bottom: none; }
.message-content tr:hover td { background: var(--surface); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BLOCKQUOTE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.message-content blockquote {
  border-left: 3px solid var(--accent);
  padding: var(--sp-3) var(--sp-4);
  background: var(--accent-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: var(--sp-4) 0; color: var(--text2);
  font-style: italic;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AYRAÃ‡
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.message-content hr {
  border: none; border-top: 1px solid var(--border);
  margin: var(--sp-5) 0;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE â€” Ekstra kÃ¼Ã§Ã¼k ekranlar (â‰¤480px)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 480px) {
  .topbar-model-chip-visible { max-width: 140px; font-size: var(--text-xs); padding: 5px 10px; }
  .welcome-title { font-size: 1.4rem; }
  .suggestions-grid { gap: var(--sp-2); }
  .suggestion-card { padding: var(--sp-3); }
  .btn-xl { padding: 11px 20px; font-size: var(--text-base); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TABLET (769â€“1024px)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (min-width: 769px) and (max-width: 1024px) {
  .suggestions-grid { grid-template-columns: 1fr 1fr; }
  .page-layout { padding: var(--sp-8) var(--sp-5) var(--sp-10); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BÃœYÃœK EKRAN (â‰¥1280px)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (min-width: 1280px) {
  .page-layout { max-width: 960px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   YAZICI Ã‡IKTISI
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media print {
  .sidebar, .topbar, .input-wrapper, .mobile-page-header,
  .message-actions, #toast-container, .corp-progress { display: none !important; }
  .message-content { color: #000 !important; }
  .message { padding: 8px 0 !important; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   REDUCED MOTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HIGH CONTRAST MODE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (forced-colors: active) {
  .btn-primary, .btn-send, .welcome-logo-icon,
  .sidebar-badge-new, .sidebar-badge-pro { forced-color-adjust: none; }
}