/* ==========================================================================
   Kişisel Web Sitesi - Doğal, Sade ve Sıcak Stil
   Aşırı yapay zeka/kurumsal klişelerinden uzak; el işi, samimi ve okunaklı.
   ========================================================================== */

:root {
  /* Açık Tema (Sıcak kağıt / indie-web tonları) */
  --bg: #fbf9f5;
  --bg-card: #ffffff;
  --bg-subtle: #f2ede4;
  --text-main: #262421;
  --text-muted: #6b665f;
  --border: #e6dfd5;
  --border-focus: #c2b7a3;
  --accent: #c85a32; /* Sıcak kiremit / terracota */
  --accent-hover: #b04923;
  --accent-light: #faeee7;
  --tag-bg: #efe9dd;
  --tag-text: #4e483e;
  --shadow: 0 2px 8px rgba(38, 36, 33, 0.04);
  --shadow-hover: 0 4px 16px rgba(38, 36, 33, 0.08);
  --radius: 10px;
  --radius-sm: 6px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

[data-theme="dark"] {
  /* Koyu Tema (Göz yormayan sıcak antrasit tonları) */
  --bg: #181716;
  --bg-card: #201e1d;
  --bg-subtle: #2a2826;
  --text-main: #ebe6df;
  --text-muted: #9e978e;
  --border: #33302b;
  --border-focus: #524d45;
  --accent: #e07a52;
  --accent-hover: #f08d66;
  --accent-light: #2d221c;
  --tag-bg: #2d2a26;
  --tag-text: #d4cdc3;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Temel Sıfırlama */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}

/* Sayfa Çerçevesi */
.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Üst Menü / Navigasyon */
.site-header {
  border-bottom: 1px solid var(--border);
  background-color: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background-color: rgba(251, 249, 245, 0.92);
}

[data-theme="dark"] .site-header {
  background-color: rgba(24, 23, 22, 0.92);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.site-logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.02em;
}

.site-logo .dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 4px;
  position: relative;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active {
  color: var(--text-main);
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--accent);
  border-radius: 2px;
}

/* Tema Butonu */
.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.15s ease;
}

.theme-toggle:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  border-color: var(--border-focus);
}

/* Ana İçerik */
.main-content {
  flex: 1;
  padding: 40px 0 60px;
}

/* Başlık Alanları */
.page-intro {
  margin-bottom: 32px;
}

.hero-with-avatar {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 20px;
}

.hero-avatar {
  width: 90px;
  height: 90px;
  min-width: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-hover);
}

.hero-text {
  flex: 1;
}

.page-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.25;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* İletişim Hapları (Contact Pills) */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.88rem;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.15s ease;
}

.contact-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-light);
}

/* Zaman Çizelgesi & Deneyim Kartları */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease;
}

.timeline-card:hover {
  border-color: var(--border-focus);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.timeline-role {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-main);
}

.timeline-company {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timeline-details {
  list-style: disc;
  padding-left: 20px;
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.timeline-details li {
  margin-bottom: 5px;
}

/* Yetenekler Izgarası */
.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.skill-category-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.skill-cat-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 0.8rem;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
}

/* Doğal Durum Rozeti (Now status) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #2e9b5f;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(46, 155, 95, 0.2);
}

/* Kartlar ve Bölümler */
.section-block {
  margin-bottom: 36px;
}

.section-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-link {
  font-size: 0.88rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.section-link:hover {
  text-decoration: underline;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  border-color: var(--border-focus);
}

/* Metin İçerik Stilleri (Hakkımda vb.) */
.prose p {
  margin-bottom: 16px;
  color: var(--text-main);
}

.prose h3 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
  letter-spacing: -0.01em;
}

.prose ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.prose li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

.prose li strong {
  color: var(--text-main);
}

/* ==========================================================================
   Notlar & Drag & Drop Bölümü
   ========================================================================== */

/* Giriş Türü Sekmeleri (Elle Yaz | Dosya Sürükle) */
.input-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.input-tab-btn {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.input-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--border-focus);
}

.input-tab-btn.active {
  background-color: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

.notes-input-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

/* Sürükle & Bırak Bırakma Alanı (Drop Zone) */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  background-color: var(--bg);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.drop-zone:hover {
  border-color: var(--accent);
  background-color: var(--accent-light);
}

.drop-zone.dragover {
  border-color: var(--accent);
  background-color: var(--accent-light);
  transform: scale(0.99);
}

.drop-zone-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
  display: block;
}

.drop-zone-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.drop-zone-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.drop-zone-types {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.drop-type-pill {
  font-size: 0.75rem;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 12px;
  color: var(--text-muted);
}

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

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--bg);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease;
}

.form-control:focus {
  border-color: var(--accent);
}

textarea.form-control {
  min-height: 90px;
  resize: vertical;
  line-height: 1.5;
}

.notes-form-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.tag-selector-wrapper {
  flex: 1;
  min-width: 160px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn-secondary:hover {
  background-color: var(--border);
}

.btn-sm {
  padding: 4px 10px;
  font-size: 0.8rem;
}

.btn-danger-ghost {
  background: none;
  border: none;
  color: #d94848;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  opacity: 0.7;
}

.btn-danger-ghost:hover {
  opacity: 1;
  background-color: rgba(217, 72, 72, 0.1);
}

/* Filtre ve Arama Alanı */
.notes-toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.search-box {
  flex: 1;
  min-width: 220px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 8px 14px 8px 34px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background-color: var(--bg-card);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.search-input:focus {
  border-color: var(--accent);
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.category-filter {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.filter-chip {
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.filter-chip.active, .filter-chip:hover {
  background-color: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent);
}

/* Not Kartları */
.notes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.note-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  transition: all 0.15s ease;
  position: relative;
}

.note-item:hover {
  border-color: var(--border-focus);
}

.note-item.pinned {
  border-left: 3px solid var(--accent);
}

.note-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.note-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.note-tag {
  background-color: var(--tag-bg);
  color: var(--tag-text);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 12px;
}

.note-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.note-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.note-action-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 4px;
  border-radius: 4px;
  transition: color 0.15s ease;
}

.note-action-btn:hover {
  color: var(--text-main);
}

.note-action-btn.pin-active {
  color: var(--accent);
}

.note-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.note-body {
  font-size: 0.95rem;
  color: var(--text-main);
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
}

.note-body a {
  color: var(--accent);
  text-decoration: underline;
}

/* Not Görsel Eki */
.note-image-wrapper {
  margin-top: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  max-width: 100%;
}

.note-image {
  max-width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
  cursor: zoom-in;
  transition: opacity 0.15s ease;
}

.note-image:hover {
  opacity: 0.95;
}

/* Boş Durum (Empty state) */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-muted);
}

.empty-state-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  opacity: 0.7;
}

/* Araçlar (Yedek Al / Yükle vb.) */
.tools-drawer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.tools-actions {
  display: flex;
  gap: 8px;
}

/* Toast Bildirimi */
.toast-notice {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background-color: var(--text-main);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 100;
}

.toast-notice.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Sağ Alt Köşe Canlı Sohbet (Floating Chat Widget)
   ========================================================================== */
.chat-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Karşılama İpucu Balonu */
.chat-welcome-pill {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 9px 14px;
  border-radius: 18px;
  font-size: 0.86rem;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  animation: chatPillPop 0.4s ease-out;
  max-width: 250px;
}

.chat-welcome-pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.chat-welcome-pill .pill-close {
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
}

.chat-welcome-pill .pill-close:hover {
  color: var(--text-main);
}

@keyframes chatPillPop {
  0% { opacity: 0; transform: translateY(10px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Ana Sohbet Butonu */
.chat-trigger-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(200, 90, 50, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
  position: relative;
}

.chat-trigger-btn:hover {
  transform: scale(1.08);
  background-color: var(--accent-hover);
}

.chat-trigger-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.7);
}

.chat-online-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: #2e9b5f;
  border: 2px solid var(--bg-card);
  border-radius: 50%;
}

/* Sohbet Penceresi */
.chat-window {
  width: 340px;
  max-width: calc(100vw - 32px);
  height: 460px;
  max-height: calc(100vh - 110px);
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: chatWindowIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chatWindowIn {
  0% { opacity: 0; transform: translateY(15px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-window-header {
  padding: 12px 16px;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--accent);
}

.chat-header-info {
  display: flex;
  flex-direction: column;
}

.chat-header-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.chat-header-status {
  font-size: 0.76rem;
  color: #2e9b5f;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-header-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #2e9b5f;
  border-radius: 50%;
  display: inline-block;
}

.chat-close-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.chat-close-btn:hover {
  color: var(--text-main);
  background-color: var(--border);
}

/* Mesajlar Alanı */
.chat-messages {
  flex: 1;
  padding: 12px 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: var(--bg);
}

.chat-msg-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
  animation: fadeInMsg 0.2s ease-out;
}

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

.chat-msg-card.owner-card {
  border-left: 3px solid var(--accent);
  background-color: var(--accent-light);
}

.chat-msg-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.chat-msg-author {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.owner-pill {
  font-size: 0.68rem;
  background-color: var(--accent);
  color: #fff;
  padding: 1px 6px;
  border-radius: 8px;
  font-weight: 500;
}

.chat-msg-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.chat-msg-content {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Mesaj Giriş Alanı */
.chat-input-bar {
  padding: 10px 12px;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-input-row {
  display: flex;
  gap: 8px;
}

.chat-name-input {
  width: 100%;
  padding: 6px 10px;
  font-size: 0.82rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg);
  color: var(--text-main);
  outline: none;
}

.chat-name-input:focus, .chat-input:focus {
  border-color: var(--accent);
}

.chat-input {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: var(--bg);
  color: var(--text-main);
  outline: none;
}

.chat-send-btn {
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 500;
  gap: 4px;
  transition: background-color 0.15s ease;
}

.chat-send-btn:hover {
  background-color: var(--accent-hover);
}

.chat-loading {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 20px 0;
}

/* Alt Bilgi (Footer) */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* Mobil Uyum */
@media (max-width: 600px) {
  .page-title {
    font-size: 1.65rem;
  }
  
  .nav-wrapper {
    height: 56px;
  }
  
  .site-nav {
    gap: 10px;
  }

  .nav-link {
    font-size: 0.88rem;
    padding: 4px 2px;
  }

  .hero-with-avatar {
    gap: 16px;
  }

  .hero-avatar {
    width: 72px;
    height: 72px;
    min-width: 72px;
  }

  .card, .notes-input-card, .note-item {
    padding: 16px;
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .input-tabs {
    width: 100%;
  }

  .input-tab-btn {
    flex: 1;
    justify-content: center;
  }

  .chat-widget-container {
    bottom: 16px;
    right: 16px;
  }

  .chat-window {
    width: calc(100vw - 32px);
    height: 400px;
  }
}
