.nav-link.active{
    background-color: #d4af37 !important;
}
.bg-primary {
    background-color: #d4af37 !important;
}

.btn-primary {
  background-color: #d4af37 !important;
  border-color: #d4af37 !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #c39b32 !important;
  border-color: #c39b32 !important;
}

.btn-primary:active,
.btn-primary.active {
  background-color: #b48e2c !important;
  border-color: #b48e2c !important;
  box-shadow: none !important;
}

    /* Fade in animasyonu */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .fade-in {
      animation: fadeIn 0.5s ease-in-out;
    }
    /* Chat mesaj konteyneri */
    .chat-container {
      height: 400px;
      overflow-y: auto;
      padding: 10px;
      background-color: #ffffff;
      border: 1px solid #dee2e6;
      border-radius: 0.5rem;
    }
    .message {
      padding: 8px 12px;
      margin-bottom: 10px;
      border-radius: 10px;
      display: table;
      max-width: 80%;
      clear: both;
    }
    .message.user {
      background-color: #0d6efd;
      color: #fff;
      margin-left: auto;
    }
    .message.bot {
      background-color: #e9ecef;
      color: #000;
      text-align: left;
      margin-right: auto;
    }
    .typing span.dot {
      opacity: 0;
      animation: dotFade 1.4s infinite;
    }
    @keyframes dotFade {
      0%, 80% { opacity: 0; }
      90%, 100% { opacity: 1; }
    }
    .typing span.dot:nth-child(1) { animation-delay: 0.2s; }
    .typing span.dot:nth-child(2) { animation-delay: 0.4s; }
    .typing span.dot:nth-child(3) { animation-delay: 0.6s; }
    /* Fixed Loading Indicator */
    #loading {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      text-align: center;
      padding: 10px;
      background: rgba(255,255,255,0.8);
      z-index: 9999;
      display: none;
    }
    /* Flex container: ana sohbet alanı ve sidebar */
    #chatWrapper {
      display: flex;
      transition: all 0.3s ease;
      position: relative;
    }
    /* Ana sohbet alanı */
    #chatMain {
      flex-grow: 1;
      transition: margin 0.3s ease;
      padding: 10px;
    }
    /* Sidebar başlangıçta gizli */
    #chatSidebar {
      width: 0;
      overflow: hidden;
      transition: width 0.3s ease;
      background-color: #f8f9fa;
      border-left: 1px solid #dee2e6;
    }

    /* Ana sohbet alanı, sidebar açıldığında daralıyor */
    #chatWrapper.sidebar-open #chatMain {
      margin-right: 300px;
    }
    /* Toggle buton konumu */
    #sidebarToggle {
      position: fixed;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
      z-index: 10000;
      border-radius: 0 0 0 5px;
    }
    .message.user {
        background-color: #d4af37 !important;
    }
    
        /* Fade in animasyonu */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .fade-in {
      animation: fadeIn 0.5s ease-in-out;
    }
    /* Kart stili */
    .card {
      border: none;
      border-radius: 1rem;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
    /* Önizleme alanı */
    .preview-container {
      height: 400px;
      overflow-y: auto;
      padding: 15px;
      background-color: #fff;
      border: 1px solid #dee2e6;
      border-radius: 0.5rem;
    }
    
    .text-primary {
    color: #d4af37 !important;
}

.download-word-btn {
  border: none;
  background-color: #fff;
  padding: 10px;
  color: #d4af37 !important;
}



.form-control:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}


/* Ensure the container is positioned relative */
#chatWrapper {
    position: relative;
}

/* Position the sidebar absolutely so it overlays the chat */
#chatSidebar {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    overflow-y: auto;
    transition: width 0.3s ease;
    background-color: #f8f9fa;
    border-left: 1px solid #dee2e6;
    z-index: 10;
}

/* When open, the sidebar expands to 300px */
#chatSidebar.open {
    width: 300px;
}

  /* Mobil cihazlarda chat kartlarının kenar boşluklarını artır */
  @media (max-width: 767.98px) {
    #chatMain .card {
      margin: 1rem;
    }
    /* Chat mesajlarının kenar boşluklarını ayarla */
    #chat-container {
      padding: 0 1rem;
    }
  }
  

.img-fluid {
  width: 70%;
  display: block;
  margin: 0 auto;
}

/*yeni*/
/* main.css'e ekle */
/* Ana Chat Konteynırı */
#chat-container {
  height: 60vh;
  min-height: 300px;
  overflow-y: auto;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  position: relative;
}

/* Boş chat durumu */
#chat-container:empty::before {
  content: "✉️ Sorunu yaz veya aşağıdaki önerilerden birini seç";
  color: #6c757d;
  font-style: italic;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 1.2rem;
}

/* Mesaj Kabarcıkları */
.message {
  max-width: 75%;
  padding: 12px 18px;
  margin-bottom: 15px;
  line-height: 1.5;
  position: relative;
  transition: transform 0.2s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.message:hover {
  transform: translateX(5px);
}

.message.user {
  background: #d4af37;
  color: white;
  border-radius: 18px 18px 4px 18px;
  margin-left: auto;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.message.bot {
  background: white;
  color: #212529;
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

/* Yazıyor efekti */
.typing {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Mesaj Giriş Alanı */
#input-container {
  position: relative;
  margin-top: 20px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#user-input {
  border: none;
  padding: 15px 25px;
  font-size: 1rem;
}

#user-input:focus {
  box-shadow: none;
}

#input-container button {

  padding: 15px 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

#input-container button:hover {
  transform: scale(1.05);
}

/* Önerilen Sorular */
#static-suggestions .list-group-item {
  border: none;
  margin: 8px 0;
  border-radius: 12px!important;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

#static-suggestions .list-group-item::before {
  content: "💡";
  font-size: 1.2rem;
}

#static-suggestions .list-group-item:hover {
  transform: translateY(-2px);
  background: #f8f9fa;
}

/* Yükleme İndikatörü */
#loading {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(3px);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  #chat-container {
    height: 50vh;
    padding: 15px;
  }
  
  .message {
    max-width: 85%;
    padding: 10px 15px;
  }
  
  #input-container button {
    padding: 12px 20px;
  }
}

/* Kod Blokları Stili */
pre {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 15px;
  border-radius: 8px;
  position: relative;
  margin: 15px 0;
  overflow-x: auto;
}

pre code {
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
}

.copy-button {
  position: absolute;
  right: 10px;
  top: 10px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.copy-button:hover {
  background: rgba(255,255,255,0.2);
}




/* main.css'e ekle */
/* Sohbet Geçmişi Stilleri */
.conversation-list {
  padding: 10px;
}

.conversation-list a {
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

/* Yeni Sohbet Butonu */
.conversation-list > a:first-child {
  background-color: #d4af371a !important;
  color: #d4af37 !important;
  font-weight: 500;
  border-radius: 8px !important;
  margin-bottom: 15px;
  padding: 12px 15px !important;
}

.conversation-list > a:first-child:hover {
  background-color: #d4af3726 !important;
  transform: scale(1.02);
}

/* Sohbet Öğeleri */
.conversation-list a:not(:first-child) {
  display: flex;
  flex-direction: column;
  padding: 15px;
  margin: 8px 0;
  border-radius: 10px !important;
  background: white;
  border: 1px solid #eee !important;
}

.conversation-list a:not(:first-child):hover {
  background: #f8f9fa;
  transform: translateX(5px);
  border-color: #d4af37 !important;
}

.conversation-title {
  font-weight: 500;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.conversation-date {
  font-size: 0.85rem;
  color: #666;
  margin-top: 5px;
}

/* Aktif Sohbet */
.conversation-list a.active-chat {
  border-left: 4px solid #d4af37 !important;
  background: #f8f9fa !important;
}

/* Masaüstü Görünüm */
@media (min-width: 768px) {
  #chatSidebar {
    width: 300px;
    position: relative;
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
  }

  .conversation-list {
    overflow-y: auto;
    flex-grow: 1;
  }

  .conversation-list a:not(:first-child) {
    margin: 10px 15px;
  }
}

/* Mobil Görünüm */
@media (max-width: 767.98px) {
  #chatSidebar.open {
    width: 100vw;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1000;
  }

  .conversation-list a:not(:first-child) {
    margin: 8px 5px;
    padding: 12px;
  }

  .conversation-title {
    font-size: 0.95rem;
  }

  .conversation-date {
    font-size: 0.8rem;
  }
}

/* Scrollbar Stili */
.conversation-list::-webkit-scrollbar {
  width: 8px;
}

.conversation-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.conversation-list::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 4px;
}

.form-check-input:checked[type="checkbox"] {
    background-color: #d4af37;
    border-color: #d4af37;
}


/* Scrollbar'ın genel özellikleri */
::-webkit-scrollbar {
  width: 12px; /* Scrollbar genişliği */
}

/* Scrollbar track (arka plan) */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Scrollbar thumb (sürüklenebilir kısım) */
::-webkit-scrollbar-thumb {
  background-color: #d4af37; /* İstenilen renk */
  border-radius: 6px;
  border: 3px solid #f1f1f1; /* Thumb etrafında efekt */
}

/* Hover durumunda thumb */
::-webkit-scrollbar-thumb:hover {
  background-color: #c29932; /* İsteğe bağlı: hover rengi */
}

/* Dosya Yükleme Alanı Stilleri */
#drop-zone {
  border: 2px dashed #d4af37;
  transition: all 0.3s ease;
  cursor: pointer;
}

#drop-zone.dragover {
  background-color: #fcf6e9;
  border-color: #c29932;
  transform: scale(1.02);
}

.file-preview-item {
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  animation: slideIn 0.3s ease;
}

.file-preview-item i {
  font-size: 1.2rem;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.progress-bar {
  height: 5px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 5px;
}

.progress {
  width: 0%;
  height: 100%;
  background: #d4af37;
  transition: width 0.3s ease;
}

.file-type-icon {
  width: 24px;
  text-align: center;
}

.file-error {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 5px;
}

@media (max-width: 767.98px) {
  /* Mesaj kabarcıkları için mobil ayarları */
  .message {
    max-width: 90% !important;
    font-size: 0.9rem;
    word-wrap: break-word;
  }


}

/* Sayfalama stilleri */
#sayfalama {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
}

#sayfalama button {
    min-width: 40px;
    height: 40px;
    border-radius: 8px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

#sayfalama button:not(.disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(212, 175, 55, 0.2);
}

#sayfalama button.btn-primary {
    position: relative;
}

#sayfalama button.btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

#sayfalama span.mx-2 {
    color: #666;
    user-select: none;
}

/* Ana Navbar Yenilikleri */
.navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Masaüstü Sidebar */
.bg-dark.p-3 {
  background: linear-gradient(195deg, #1a1a1a, #2d2d2d) !important;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link.text-white {
  position: relative;
  padding: 12px 20px !important;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link.text-white:hover {
  background: rgba(212, 175, 55, 0.15) !important;
  transform: translateX(8px);
}

.nav-link.text-white.active {
  background: #d4af37 !important;
  box-shadow: 0 4px 6px rgba(212, 175, 55, 0.25);
}

/* Yeni Message Bubble Tasarımı */
.message {
  position: relative;
  overflow: hidden;
  transform-origin: bottom;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.message.user {
  background: linear-gradient(135deg, #d4af37, #c59f34);
  border-radius: 24px 24px 8px 24px;
}

.message.bot {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 24px 24px 24px 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.message::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, 
    rgba(255,255,255,0.1) 0%, 
    rgba(255,255,255,0.05) 50%, 
    rgba(255,255,255,0) 100%
  );
  pointer-events: none;
}

@keyframes messageEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fade-in {
  animation: messageEntrance 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Gelişmiş Input Alanı */
#input-container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#input-container:focus-within {
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

#user-input {
  background: transparent !important;
  padding: 12px 12px;
  font-size: 1.1rem;
}

/* Premium Hover Efektleri */
.list-group-item-action {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.list-group-item-action:hover {
  transform: translateX(15px);
  background: rgba(212, 175, 55, 0.08) !important;
}

.list-group-item-action::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: #d4af37;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.list-group-item-action:hover::before {
  height: 60%;
}

/* Yeni Typing Animation */
.typing span.dot {
  width: 8px;
  height: 8px;
  background: #d4af37;
  border-radius: 50%;
  margin: 0 3px;
  animation: pulse 1.4s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* Gelişmiş Sidebar Toggle */
#sidebarToggle {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#sidebarToggle:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.35);
}

/* Dinamik Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #d4af37, #c59f34);
  border-radius: 4px;
}

/* Dosya Yükleme Alanı Güncellemesi */
.file-preview-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.file-preview-item:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

/* Responsive Tasarım Geliştirmeleri */
@media (max-width: 768px) {
  .navbar-brand img {
    max-height: 80px !important;
  }
  
  #chat-container {
    height: 65vh;
    border-radius: 20px;
  }
  
  .message {
    max-width: 90%;
    padding: 12px 18px;
  }
}

/* Neon Hover Efektleri */
.nav-link.text-white:hover {
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.35);
}
@media (max-width: 767.98px) {
  #input-container button span {
    display: none;
  }
  
  #input-container button {
    padding: 15px;
    min-width: auto;
  }
  
  #input-container button i {
    margin: 0 !important;
  }
}

/* Style for the auto-growing textarea */
#user-input {
  min-height: 40px;
  max-height: 150px;
  resize: none;
  overflow-y: auto;
}

/* Ensure the buttons container stays at the bottom of the input container */
#input-container {
  position: relative;
}

#input-buttons {
  margin-top: auto;  /* Push the buttons container to the bottom */
  display: flex;
  justify-content: flex-end;
}

/* Input konteynırına yeni stiller */
#input-container {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  padding: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#input-container:focus-within {
  border-color: #d4af37;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}

/* Buton grubu için yeni tasarım */
#input-buttons {
  gap: 8px;
  margin-top: 8px;
}

/* Ortak buton stilleri */
#input-buttons button {
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

/* Attachment butonu */
#attachment-btn {
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
}

#attachment-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-1px);
}

#attachment-btn:active {
  transform: translateY(1px);
}

/* Gönder butonu */
#input-buttons .btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #c59f34 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

#input-buttons .btn-primary:hover {
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

#input-buttons .btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

/* Buton hover efekti */
#input-buttons button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.5s ease;
}

#input-buttons button:hover::after {
  animation: buttonShine 1s ease forwards;
}

@keyframes buttonShine {
  0% {
    left: -50%;
  }
  100% {
    left: 150%;
  }
}

/* Mobil uyumluluk */
@media (max-width: 767.98px) {
  #input-buttons button {
    padding: 10px;
    border-radius: 10px;
  }
  
  #input-buttons .btn-primary span {
    display: none;
  }
  
  #input-buttons button i {
    margin: 0 !important;
  }
}

/* Textarea hover efekti */
#user-input:hover {
  box-shadow: inset 0 0 0 2px rgba(212, 175, 55, 0.1);
}

/* SSS Sayfası Özel Stiller */
.bg-gold-gradient {
  background: linear-gradient(135deg, #d4af37 0%, #c59f34 100%);
}

.cosmic-accordion {
  position: relative;
  z-index: 2;
}

.cosmic-card {
  margin: 1rem 0;
  border-radius: 15px !important;
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cosmic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
}

.cosmic-question {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem !important;
  border-radius: 15px !important;
  font-weight: 600;
  color: #333 !important;
  position: relative;
  overflow: hidden;
}

.cosmic-question:not(.collapsed) {
  background: linear-gradient(135deg, #fcf6e9 0%, #fff 100%);
}

.cosmic-question::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: #d4af37;
  transition: width 0.4s ease;
}

.cosmic-question:hover::after {
  width: 100%;
}

.question-icon {
  width: 40px;
  height: 40px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.question-icon i {
  color: #d4af37;
  font-size: 1.2rem;
}

.animated-arrow {
  width: 20px;
  height: 20px;
  margin-left: auto;
  position: relative;
}

.animated-arrow::before,
.animated-arrow::after {
  content: '';
  position: absolute;
  background: #d4af37;
  width: 12px;
  height: 2px;
  transition: all 0.3s ease;
}

.animated-arrow::before {
  transform: rotate(45deg) translateY(3px);
}

.animated-arrow::after {
  transform: rotate(-45deg) translateY(-3px);
}

.cosmic-question[aria-expanded="true"] .animated-arrow::before {
  transform: rotate(-45deg);
}

.cosmic-question[aria-expanded="true"] .animated-arrow::after {
  transform: rotate(45deg);
}

.cosmic-answer {
  background: linear-gradient(45deg, #fcf6e9 0%, #fff 100%);
  border-radius: 0 0 15px 15px !important;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.styled-list {
  list-style: none;
  padding-left: 0;
}

.styled-list li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.styled-list li::before {
  content: '✓';
  color: #d4af37;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.cta-section {
  background: linear-gradient(135deg, #d4af37 0%, #c59f34 100%);
  border-radius: 20px;
  padding: 3rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 15px,
    rgba(255,255,255,0.1) 15px,
    rgba(255,255,255,0.1) 30px
  );
  animation: ctaPattern 20s linear infinite;
}

@keyframes ctaPattern {
  0% { transform: translate(0,0); }
  100% { transform: translate(100px, 100px); }
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #c59f34 100%);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-outline-gold {
  border: 2px solid #d4af37;
  color: #d4af37;
  background: transparent;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.faq-decor-top,
.faq-decor-bottom {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(212, 175, 55, 0.05);
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
}

.faq-decor-top {
  top: -100px;
  right: -100px;
}

.faq-decor-bottom {
  bottom: -100px;
  left: -100px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hover-grow {
  transition: transform 0.3s ease;
}

.hover-grow:hover {
  transform: scale(1.03);
}

.animated-header {
  position: relative;
  display: inline-block;
}

.animated-bar {
  height: 3px;
  background: rgba(255,255,255,0.3);
  width: 0;
  position: absolute;
  bottom: -5px;
  left: 0;
  animation: barExpand 1.5s ease forwards;
}

@keyframes barExpand {
  to { width: 100%; }
}

/* Fiyatlandırma Sayfası Özel Stiller */
.price-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.package-title {
  font-size: 1.8rem;
  color: #333;
  text-align: center;
  margin-bottom: 1.5rem;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 700;
  color: #d4af37;
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.price-amount .period {
  font-size: 1.2rem;
  color: #666;
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.package-features li {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.package-features i {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.package-features .fa-check {
  background: rgba(76, 175, 80, 0.1);
  color: #4CAF50;
}

.package-features .fa-xmark {
  background: rgba(244, 67, 54, 0.1);
  color: #F44336;
}

.package-features .fa-infinity {
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
}

.btn-premium {
  background: linear-gradient(135deg, #d4af37 0%, #c59f34 100%);
  color: white !important;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-premium:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.ribbon {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #d4af37;
  color: white;
  padding: 0.5rem 2rem;
  transform: rotate(45deg);
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.price-decor-1,
.price-decor-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
}

.price-decor-1 {
  top: 20%;
  left: -150px;
}

.price-decor-2 {
  bottom: 10%;
  right: -150px;
}

.comparison-table {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
}

.comparison-table th {
  background: linear-gradient(135deg, #fcf6e9 0%, #fff 100%);
  color: #d4af37;
  font-weight: 600;
}

.comparison-table td {
  vertical-align: middle;
}

.price-badge {
  background: rgba(212, 175, 55, 0.1);
  color: #d4af37;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .price-card {
    margin: 1rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .package-title {
    font-size: 1.5rem;
  }
}

/* İletişim Sayfası Özel Stiller */
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.cosmic-form-group {
  margin-bottom: 1.5rem;
}

.cosmic-form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cosmic-input,
.cosmic-textarea {
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 1rem;
  transition: all 0.3s ease;
}

.cosmic-input:focus,
.cosmic-textarea:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.cosmic-textarea {
  resize: none;
}

.info-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.1);
}

.info-card i {
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 1rem;
  display: block;
}

.contact-decor-1,
.contact-decor-2 {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
}

.contact-decor-1 {
  top: 20%;
  left: -100px;
}

.contact-decor-2 {
  bottom: 10%;
  right: -100px;
}

.cosmic-alert {
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: none;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
  }
  
  .info-card {
    margin: 1rem;
  }
  
  .contact-decor-1,
  .contact-decor-2 {
    display: none;
  }
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

  #file-preview {
    margin-top: 10px;
    max-height: 200px;
    overflow-y: auto;
  }
  
  .file-preview-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 4px;
    padding: 8px 12px;
    margin-bottom: 8px;
    border: 1px solid #dee2e6;
  }
  
  .file-type-icon {
    margin-right: 10px;
    font-size: 1.2rem;
  }
  
  .progress-bar {
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
  }
  
  .progress {
    height: 100%;
    background-color: #007bff;
    width: 0%;
    transition: width 0.5s ease;
  }


/* Fixed width for sidebar */
#chatSidebar {
  width: 280px; /* Fixed width for desktop */
  min-width: 280px; /* Ensures minimum width */
  margin-left: 1rem;
}

