/* -------------------------------------------------------------------------- */
/*                                Falcon Button                               */
/* -------------------------------------------------------------------------- */
/* prettier-ignore */
/*# sourceMappingURL=user.css.map */
:root {
  --loader-bg-color: rgba(255, 255, 255, 0.8);
}

[data-bs-theme="dark"] {
  --loader-bg-color: rgba(0, 0, 0, 0.8);
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--loader-bg-color);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.loader-overlay.active {
  pointer-events: auto;
}
#reviewInboxTable tbody tr {
  cursor: pointer; 
}

.table-hover tbody tr:hover {
  background-color: var(--bs-table-hover-bg);
}

.echart-vhi-score {
  height: 10.3rem;
  width: 10.3rem;
}


@media (prefers-color-scheme: dark) {
  .table-hover tbody tr:hover {
    background-color: var(--bs-dark-table-hover-bg);
  }
}


@font-face {
  font-family: 'demibold';
  src: url('../fonts/futura-pt-demibold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'book';
  src: url('../fonts/futura-pt-book.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --falcon-body-font-family: 'book', sans-serif;
  --falcon-font-sans-serif: 'book', sans-serif;
  --falcon-heading-font-family: 'demibold', sans-serif;
}

header {
  font-family: var(--falcon-heading-font-family);
}

body {
  font-family: var(--falcon-body-font-family);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--falcon-heading-font-family);
}

/* ECharts grafik font ayarları */
canvas {
  font-family: 'book', 'Futura PT', Futura, sans-serif !important;
}

.echart-language-analysis,
.echart-customer-satisfaction,
.echart-traffic-channels,
.echart-bar-analytics {
  font-family: 'book', 'Futura PT', Futura, sans-serif !important;
}

.custom-legend {
  font-family: 'book', 'Futura PT', Futura, sans-serif !important;
}

/* Chatboard Dashboard Styles */
.cursor-pointer {
  cursor: pointer;
}

.w-60 {
  width: 60% !important;
}

.w-40 {
  width: 40% !important;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.fs-7 {
  font-size: 0.9rem !important;
}

.fs-9 {
  font-size: 0.75rem !important;
}

.lh-sm {
  line-height: 1.4 !important;
}

.echart-traffic-channels {
  height: 320px;
}

.echart-bar-analytics {
  height: 350px;
  width: 100%;
}

.d3-trending-keywords {
  height: 26rem;
  max-width: 500px;
  margin-left: 0;
}

#trending-subjects-bar {
  height: 320px;
  width: 100%;
}

.overflow-auto[data-simplebar] {
  max-height: 400px;
}

.overflow-auto[data-simplebar]:last-child {
  max-height: 500px;
}

.message-bubble {
  max-width: 70%;
}

.sortable .sort-icon {
  font-size: 0.7em;
  color: #bbb;
  margin-left: 4px;
  transition: color 0.2s;
  user-select: none;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  height: 1em;
}

.sortable.active .sort-icon {
  color: #1976d2;
  font-weight: bold;
}

.summary-cell {
  line-height: 1.3;
  max-height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.summary-cell span {
  display: block;
  line-height: 1.3;
}

/* -------------------------------------------------------------------------- */
/*                                AI Chat Styles                             */
/* -------------------------------------------------------------------------- */

.ai-main-container {
  height: calc(100vh - 80px);
  display: flex;
  border-radius: 16px;
  overflow: visible; /* Sidebar'ın dışarı çıkmasına izin ver */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  min-height: 600px;
  margin-top: 0px; /* Top bar ile hizalama için */
  position: relative; /* Relative positioning için */
  transition: margin-left 0.3s ease; /* Smooth geçiş için */
}

.ai-sidebar {
  width: 340px;
  background: #f8f6f3;
  color: #5a4a3a;
  display: flex;
  flex-direction: column;
  border-radius: 0 16px 16px 0;
  border-right: 1px solid #e8e5e1;
  height: calc(100vh - 80px); /* Nav bar yüksekliği kadar çıkar */
  overflow: hidden;
  min-height: 0;
  position: fixed;
  left: -340px;
  top: 68px; /* Nav bar ile hizalı olacak şekilde ayarla */
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
  will-change: transform;
}

.ai-sidebar.open {
  left: 0;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.2);
}

/* Sidebar açıldığında chat container'ı sağa kaydır */
.ai-sidebar.open + .ai-chat-container {
  margin-left: 160px; /* Sidebar genişliği + ekstra mesafe */
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Chat container için geçiş efekti */
.ai-chat-container {
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar overlay - mobil cihazlarda arkaplanı karartır */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* AI Chat Page Specific Styles */
.ai-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.ai-icon-medium {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.ai-icon-small {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.tr-hidden {
  display: none;
}

.empty-chat-message {
  text-align: center;
  color: #8c7a66;
  font-size: 12px;
  padding: 20px;
}

.typing-indicator {
  display: none;
}

.chat-meta-info {
  font-size: 10px;
  color: #8c7a66;
  margin-top: 2px;
}

/* Modal Styles */
.modal-content-pointer {
  pointer-events: auto;
}

/* Active Chat Icon */
.active-chat-icon {
  color: #f7fafc !important;
}

/* Sidebar Indicator - Kaydırılabilir olduğunu gösterir */
.sidebar-indicator {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 80px;
  background: linear-gradient(45deg, #a08668, #8b7355);
  border-radius: 0 20px 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 15px rgba(135, 118, 86, 0.4);
  color: white;
  font-size: 18px;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.sidebar-indicator:hover {
  background: linear-gradient(45deg, #b29778, #a08668);
  transform: translateY(-50%) translateX(5px);
  box-shadow: 4px 0 20px rgba(135, 118, 86, 0.5);
}

.sidebar-indicator:active {
  transform: translateY(-50%) translateX(3px) scale(0.95);
}

.sidebar-indicator.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-20px);
}

/* Touch cihazlar için daha büyük dokunma alanı */
@media (pointer: coarse) {
  .sidebar-indicator {
    width: 45px;
    height: 90px;
  }
  
  .sidebar-indicator:hover {
    transform: translateY(-50%) translateX(3px);
  }
}

/* Hamburger Menu - Artık kullanılmıyor */
.hamburger-menu {
  display: none;
}

/* Hamburger menu stilleri kaldırıldı */

/* Sidebar trigger area */
.sidebar-trigger {
  position: fixed;
  left: 0;
  top: 80px; /* Nav bar yüksekliği kadar aşağıda başlat */
  width: 60px;
  height: calc(100vh - 80px); /* Nav bar yüksekliği kadar çıkar */
  z-index: 998;
  cursor: pointer;
  background: transparent;
}

.sidebar-header {
  padding: 24px 20px 20px 20px; /* Üstten daha fazla padding */
  border-bottom: 1px solid #dee2e6;
  flex-shrink: 0;
  min-height: 80px; /* Ana nav bar ile aynı yükseklik */
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.sidebar-title {
  color: #5a4a3a;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.new-chat-btn {
  width: 100%;
  background: linear-gradient(45deg, #e8e5e1, #f0ede9);
  border: none;
  color: #5a4a3a;
  padding: 12px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.new-chat-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  min-height: 0;
}

/* Sidebar content scrollbar - basit ve her zaman görünür */
.sidebar-content::-webkit-scrollbar {
  width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
  background: rgba(203, 213, 224, 0.2);
  border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb {
  background: rgba(160, 174, 192, 0.5);
  border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
  background: rgba(160, 174, 192, 0.7);
}

/* Firefox için */
.sidebar-content {
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 174, 192, 0.5) transparent;
}

#chatHistoryContainer {
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 174, 192, 0.6) transparent;
}

/* Chat History Scrollbar - her zaman görünür */
#chatHistoryContainer::-webkit-scrollbar {
  width: 6px;
}

#chatHistoryContainer::-webkit-scrollbar-track {
  background: rgba(74, 85, 104, 0.2);
  border-radius: 3px;
}

#chatHistoryContainer::-webkit-scrollbar-thumb {
  background: rgba(160, 174, 192, 0.5);
  border-radius: 3px;
}

#chatHistoryContainer::-webkit-scrollbar-thumb:hover {
  background: rgba(160, 174, 192, 0.7);
}

.sidebar-top-nav {
  display: flex;
  padding: 20px 20px; /* AI header ile aynı padding */
  gap: 8px;
  border-bottom: 1px solid #e5e7eb;
  height: 80px; /* Ana nav bar yüksekliği ile aynı */
  align-items: center; /* İçerikleri ortala */
  box-sizing: border-box;
}

.sidebar-bottom-nav {
  display: flex;
  padding: 16px 20px;
  gap: 8px;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
}

.nav-icon {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(160, 174, 192, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0aec0;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 16px;
}

.nav-icon:hover {
  background: rgba(160, 174, 192, 0.2);
  color: #e2e8f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(160, 174, 192, 0.2);
}

.nav-icon:active {
  transform: translateY(0);
}

.chat-history-title {
  color: #a0aec0;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #5a4a3a;
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(232, 229, 225, 0.3);
  border: 1px solid rgba(232, 229, 225, 0.4);
}

.chat-item:hover {
  background: rgba(232, 229, 225, 0.5);
  border-color: rgba(232, 229, 225, 0.6);
  transform: translateX(4px);
}

.chat-item.active {
  background: linear-gradient(45deg, rgba(232, 229, 225, 0.6), rgba(240, 237, 233, 0.4));
  border-color: #e8e5e1;
  color: #5a4a3a;
  font-weight: 600;
}

.chat-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  flex: 1;
}

.chat-item-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
  font-weight: 500;
}

.chat-item-menu {
  opacity: 0;
  color: #8c7a66;
  cursor: pointer;
  transition: opacity 0.3s ease;
  padding: 4px;
  border-radius: 6px;
}

.chat-item:hover .chat-item-menu {
  opacity: 1;
}

.chat-item-menu:hover {
  background: rgba(232, 229, 225, 0.3);
  color: #5a4a3a;
}

.chat-item-dropdown-container {
  position: relative;
}

.chat-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 120px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.2s ease;
}

.chat-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-dropdown-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  color: #e53e3e;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s ease;
}

.chat-dropdown-item:hover {
  background-color: #fed7d7;
}

.chat-dropdown-item i {
  margin-right: 8px;
  font-size: 12px;
}

.chat-dropdown-item span {
  font-weight: 500;
}

.ai-chat-container {
  width: 100%;
  background: #f8f6f3;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: margin-left 0.3s ease; /* Smooth geçiş için */
  margin-left: 0; /* Başlangıç pozisyonu */
}

.ai-header {
  background: rgba(248, 246, 243, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px; /* Sidebar ile aynı padding */
  border-bottom: 1px solid rgba(232, 229, 225, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  height: 80px; /* Ana nav bar ile aynı yükseklik */
  box-sizing: border-box;
  transition: padding-left 0.3s ease; /* Smooth geçiş için */
}

.ai-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  transition: margin-left 0.3s ease; /* Smooth geçiş için */
}

/* Sidebar açıldığında content div'ini sağa kaydır */
.content {
  transition: margin-left 0.3s ease; /* Smooth geçiş için */
}

/* JavaScript ile sidebar-open class'ı eklendiğinde */
.content.sidebar-open {
  margin-left: 80px; /* Ana container'ı sağa kaydır */
}

/* Sidebar açıldığında header'daki tüm çerçeveyi daha sağa kaydır */
.ai-sidebar.open + .ai-chat-container .ai-header {
  padding-left: 20px; /* Header'ın tüm içeriğini sağa kaydır */
}

.ai_icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(45deg, #e8e5e1, #f0ede9);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5a4a3a;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ai-title h2 {
  color: #5a4a3a;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.ai-subtitle {
  color: #8c7a66;
  font-size: 11px;
  margin: 0;
}

.ai-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e6fffa;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid #81e6d9;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #38a169;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chat-messages {
  flex: 1;
  padding: 25px 50px 60px 50px;
  overflow-y: auto;
  background: rgba(248, 246, 243, 0.6);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  position: relative;
  z-index: 30;
}

.welcome-screen {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: #5a4a3a;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  background: #f8f6f3;
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease;
  opacity: 1 !important;
}

.welcome-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #e8e5e1 0%, #f0ede9 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  color: #5a4a3a;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.welcome-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(45deg, #8c7a66, #5a4a3a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.welcome-subtitle {
  font-size: 18px;
  color: #8c7a66;
  margin-bottom: 40px;
  max-width: 500px;
}

.message {
  display: flex;
  gap: 10px;
  max-width: 85%;
  animation: fadeInUp 0.3s ease;
  margin-bottom: 8px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message.ai {
  align-self: flex-start;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.message.user .message-avatar {
  background: #e8e5e1;
  color: #5a4a3a;
}

.message.ai .message-avatar {
  background: linear-gradient(45deg, #e8e5e1, #f0ede9);
  color: #5a4a3a;
}

.message-content {
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 18px;
  border-radius: 16px;
  color: #5a4a3a;
  line-height: 1.5;
  word-wrap: break-word;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(109, 90, 67, 0.15);
  font-size: 13px;
}

.message.user .message-content {
  background: #a08668;
  color: white;
  border-bottom-right-radius: 6px;
}

.message.ai .message-content {
  border-bottom-left-radius: 6px;
}

.typing-indicator {
  display: none;
  align-items: center;
  gap: 12px;
  max-width: 80%;
}

.typing-dots {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  border-bottom-left-radius: 6px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: #a0aec0;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-10px); }
}

.chat-input-area {
  padding: 24px 40px 20px 40px;
  background: #f8f6f3;
  backdrop-filter: blur(15px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  position: relative;
  overflow: visible;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.gemini-input-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.gemini-quick-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.gemini-quick-btn {
  background: rgba(160, 174, 192, 0.1);
  border: 1px solid rgba(160, 174, 192, 0.3);
  border-radius: 20px;
  padding: 8px 16px;
  color: #718096;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.gemini-quick-btn:hover {
  background: rgba(160, 174, 192, 0.2);
  border-color: #a0aec0;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(160, 174, 192, 0.2);
}

.quick-actions-container {
  display: flex;
  gap: 10px;
  max-width: 900px;
  margin: 16px auto 0 auto;
  overflow-x: auto;
  justify-content: center;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 229, 225, 0.3);
  border: 1px solid rgba(232, 229, 225, 0.5);
  border-radius: 16px;
  padding: 6px 12px;
  color: #8c7a66;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.quick-action-btn:hover {
  background: rgba(160, 174, 192, 0.2);
  border-color: #a0aec0;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(160, 174, 192, 0.2);
}

.quick-action-btn i {
  font-size: 12px;
  color: #8c7a66;
}

.input-container {
  position: relative;
  width: 100%;
}

.chat-input {
  width: 100%;
  border: 2px solid rgba(232, 229, 225, 0.4);
  border-radius: 25px;
  padding: 16px 50px 16px 20px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: #5a4a3a;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  padding-right: 450px; /* Space for buttons */
  font-weight: 500;
}

.chat-input:hover {
  border-color: rgba(232, 229, 225, 0.6);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.chat-input:focus {
  border-color: rgba(232, 229, 225, 0.8);
  box-shadow: 0 0 0 4px rgba(232, 229, 225, 0.3), 0 10px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.input-quick-actions {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.input-quick-btn {
  background: rgba(248, 246, 243, 0.9);
  border: 1px solid rgba(232, 229, 225, 0.6);
  border-radius: 15px;
  padding: 6px 12px;
  color: #8c7a66;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  height: 28px;
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
}

.input-quick-btn:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(160, 174, 192, 0.5);
  color: #2d3748;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.send-button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #e8e5e1 0%, #f0ede9 100%);
  color: #5a4a3a;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  z-index: 3;
}

.send-button:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #f0ede9 0%, #e8e5e1 100%);
}

.send-button:disabled {
  background: rgba(160, 174, 192, 0.5);
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
  box-shadow: 0 2px 8px rgba(160, 174, 192, 0.2);
}

.hidden {
  display: none !important;
}

.language-toggle:hover {
  background: #e8e5e1 !important;
  color: #5a4a3a !important;
}

/* Scrollbar özelleştirme */
.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: rgba(74, 85, 104, 0.2);
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(160, 174, 192, 0.4);
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(160, 174, 192, 0.6);
}

/* Sidebar scrollbar */
.sidebar-content::-webkit-scrollbar {
  width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
  background: rgba(74, 85, 104, 0.2);
}

.sidebar-content::-webkit-scrollbar-thumb {
  background: rgba(160, 174, 192, 0.5);
  border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
  background: rgba(160, 174, 192, 0.7);
}

/* Responsive Design - Tutarlı Görünüm */
/* Tüm Desktop Ekranlar (768px+) - Sabit Genişlik */
@media (min-width: 768px) {
  .ai-sidebar {
    width: 340px;
    left: -340px;
  }
  
  .ai-sidebar.open + .ai-chat-container {
    margin-left: 160px;
  }
  
  .sidebar-trigger {
    width: 60px;
  }
  
  .sidebar-indicator {
    width: 40px;
    height: 80px;
    font-size: 18px;
  }
}

/* Tablet ve Mobil (768px ve altı) */
@media (max-width: 768px) {
  .ai-main-container {
    height: calc(100vh - 80px);
    border-radius: 0;
    margin-top: 0;
  }

  .ai-sidebar {
    width: 340px; /* Desktop ile aynı genişlik */
    left: -340px;
    top: 80px;
    height: calc(100vh - 80px);
    border-radius: 0 16px 16px 0; /* Desktop ile aynı */
  }

  .ai-chat-container {
    width: 100%;
    border-radius: 0;
  }

  .ai-sidebar.open + .ai-chat-container {
    margin-left: 160px; /* Desktop ile aynı margin */
  }

  .ai-header {
    padding: 16px 20px;
  }

  .chat-input-area {
    padding: 16px 20px 24px 20px;
  }

  .input-quick-actions {
    display: none !important;
  }

  .sidebar-trigger {
    width: 40px;
  }
  
  .sidebar-indicator {
    width: 32px;
    height: 60px;
    font-size: 14px;
  }
  
  .chat-messages {
    padding: 20px;
  }

  .quick-actions-container {
    gap: 6px;
    margin-top: 10px;
  }

  .quick-action-btn {
    padding: 6px 10px;
    font-size: 10px;
  }

  .quick-action-btn span {
    display: none;
  }

  .quick-action-btn i {
    font-size: 12px;
  }

  .input-container {
    max-width: 100%;
  }

  .chat-input {
    padding: 14px 50px 14px 16px;
    font-size: 14px;
  }

  .message-content {
    padding: 14px 16px;
    font-size: 14px;
  }

  .welcome-title {
    font-size: 22px;
  }

  .welcome-subtitle {
    font-size: 15px;
  }
  
  .sidebar-header {
    padding: 20px 16px 16px 16px;
    min-height: 70px;
  }
  
  .sidebar-content {
    padding: 16px;
  }
}

/* Çok Küçük Ekranlar (480px ve altı) */
@media (max-width: 480px) {
  .ai-sidebar {
    width: 340px; /* Tüm ekranlarda aynı genişlik */
    left: -340px;
  }
  
  .ai-sidebar.open + .ai-chat-container {
    margin-left: 160px; /* Tüm ekranlarda aynı margin */
  }
  
  .sidebar-indicator {
    width: 32px;
    height: 60px;
    font-size: 14px;
  }
  
  .sidebar-trigger {
    width: 40px;
  }
  
  .welcome-title {
    font-size: 20px;
  }
  
  .welcome-subtitle {
    font-size: 14px;
  }
  
  .chat-input {
    padding: 12px 45px 12px 14px;
    font-size: 13px;
  }
  
  .message-content {
    padding: 12px 14px;
    font-size: 13px;
  }
  
  .sidebar-header {
    padding: 16px 12px 12px 12px;
    min-height: 60px;
  }
  
  .sidebar-content {
    padding: 12px;
  }
}