/* Konteyner */
.container {
  width: 80%;
  margin: 30px auto;
  /* Üst ve yanlardan daha geniş boşluk */
}



/* Ana Kartlar */
.card {
  border-radius: 15px;
  border: none;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

/* Başlıklar */
.card-title {
  font-size: 1.6rem;
  font-weight: bold;
  color: #7b1fa2;
  text-align: center;
  margin-bottom: 20px;
}

/* Form ve Input */
.form-select,
.form-control,
.form-range {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 10px;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-select:focus,
.form-control:focus,
.form-range:focus {
  border-color: #7b1fa2;
  box-shadow: 0 0 5px rgba(123, 31, 162, 0.5);
  outline: none;
}

/* Form Etiketleri */
.form-label {
  font-weight: bold;
  color: #444;
}

/* Rating input ve değeri */
.form-range {
  width: 100%;
  margin-bottom: 10px;
}

#ratingValue {
  font-weight: bold;
  margin-top: 5px;
  font-size: 1.2rem;
  color: #7b1fa2;
}

/* Film önerisi butonları */
button {
  border-radius: 25px;
  padding: 12px 25px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-3px);
}

/* Surprise Butonu */
#surpriseMovie {
  background: #7b1fa2;
  color: white;
  border: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#surpriseMovie:hover {
  background-color: #9c4dcc;
  transform: scale(1.05);
}

/* Film önerisi kartı */
#movieSuggestion {
  background: #ffffff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: none;
  transition: all 0.5s ease;
}

#moviePoster {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

#moviePoster:hover {
  transform: scale(1.05);
}

#movieTitle {
  font-size: 1.7rem;
  font-weight: bold;
  color: #7b1fa2;
}

#movieYear {
  font-size: 1.1rem;
  color: #757575;
}

/* IMDB Puanı Badge Stili */
/* IMDB Puanı Badge Stili */
#movieRating {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: #ff9800;
  /* Sarımsı arka plan rengi */
  color: #333333;
  /* Koyu gri metin rengi */
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /* Hafif gölge efekti */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  /* Hover efektleri için geçiş */
}

/* Hover efekti */
#movieRating:hover {
  background-color: #f57c00;
  /* Hover durumunda daha koyu bir ton */
  transform: translateY(-3px);
  /* Hafif yukarıya kayma */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  /* Daha belirgin gölge */
}

/* Alternatif Arka Plan için İkon ve Metin Renk Uyumu */
#movieRating .icon {
  margin-right: 8px;
  font-size: 1rem;
}

/* IMDB Puanı Metni ve İkonlar */
#movieRating .text {
  font-size: 0.8rem;
  font-weight: bold;
  color: #333333;
  /* Koyu gri metin rengi */
}



/* Film türü */
#movieGenre {
  font-size: 1rem;
  padding: 5px 12px;
  border-radius: 5px;
  background-color: #9c4dcc;
  color: #fff;
  font-weight: bold;
}

/* Butonlar */
#acceptMovie,
#rejectMovie {
  border-radius: 25px;
  padding: 10px 20px;
  font-weight: bold;
  transition: background 0.3s ease;
}

#acceptMovie {
  background-color: #66bb6a;
  color: white;
}

#rejectMovie {
  background-color: #e57373;
  color: white;
}

#acceptMovie:hover {
  background-color: #43a047;
}

#rejectMovie:hover {
  background-color: #d32f2f;
}

/* Yeni Iconlar */
.fas {
  margin-right: 8px;
}

/* Hover Effects for Buttons */
button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {

  .col-md-4,
  .col-md-8 {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Genel Konteyner ve Arka Plan */
.search-guide-container {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: #f7f9fc;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Başlık ve Alt Başlık */
.search-guide-header {
  text-align: center;
  margin-bottom: 20px;
}

.search-guide-header h3 {
  font-size: 1.5rem;
  color: #4e73df;
  font-weight: bold;
  margin-bottom: 8px;
}

.search-guide-header p {
  font-size: 1rem;
  color: #555;
}

/* Yönerge Satırları */
.search-guide-body {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

/* Yönerge öğeleri */
.guide-item {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 48%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-item h5 {
  font-size: 1.1rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
}

.guide-item p {
  font-size: 0.95rem;
  color: #777;
}

/* Hover Efekti */
.guide-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* İpucu Kutusu */
.alert-box {
  background: #fffbf2;
  padding: 15px;
  border-left: 5px solid #ff9800;
  border-radius: 10px;
  font-size: 1rem;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

.alert-box i {
  font-size: 1.5rem;
  color: #ff9800;
  margin-right: 10px;
}

.alert-box p {
  margin: 0;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
  .guide-item {
    width: 100%;
  }
}

/* Ana container */
.chat-container {
  max-width: 1400px;
  margin: 20px auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  /* Modern font */
}

/* Başlık */
.chat-header {
  background: #8e44ad;
  /* Daha zengin bir mor renk */
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mesaj container */
#messageContainer {
  height: calc(100vh - 160px);
  /* Daha dinamik bir yükseklik */
  overflow-y: auto;
  padding: 20px;
  background: #f9f9f9;
  /* Hafif gri arka plan */
  border-top: 1px solid #ddd;
  /* Şık bir ayırıcı */
  font-size: 1rem;
}

/* Mesaj stilleri */
.message {
  margin-bottom: 15px;
  max-width: 90%;
  clear: both;
  animation: fadeIn 0.4s ease forwards;
  padding: 12px 20px;
  border-radius: 20px;
  font-size: 1rem;
  line-height: 1.5;
  word-wrap: break-word;
  background-color: #f1f1f1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Kullanıcı mesajı */
.message.user {
  float: right;
  background: #8e44ad;
  color: white;
  border-radius: 20px 20px 0 20px;
  box-shadow: 0 2px 10px rgba(52, 152, 219, 0.2);
  transition: transform 0.3s ease;
}

.message.user:hover {
  transform: scale(1.05);
  /* Hover efekti */
}

/* AI mesajı */
.message.ai {
  float: left;
  background: #fff;
  color: #333;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
  animation: slideInLeft 0.5s ease-out forwards;
}

/* AI mesajı hover efekti */
.message.ai:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Animasyonlar */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Mobil uyumlu */
@media (max-width: 768px) {
  .message {
    max-width: 100%;
    padding: 10px 18px;
    font-size: 0.9rem;

  }

  .chat-header {
    font-size: 22px;
  }
}


/* Film kartı */
.movie-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  margin: 20px 0;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover efekti: Film kartını yukarı kaldırma ve gölge efekti */
.movie-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Film posteri */
.movie-poster {
  height: 450px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
}

/* Film posteri üzerindeki resim */
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Hover efekti: Film posteri büyüme efekti */
.movie-card:hover .movie-poster img {
  transform: scale(1.1);
}

/* Film içeriği */
.movie-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Film başlığı */
.movie-title {
  font-size: 30px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

/* Meta bilgiler */
.movie-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #fef9c3;
  padding: 8px 15px;
  border-radius: 20px;
  color: #854d0e;
  font-weight: 500;
  transition: background 0.3s ease;
}

.rating:hover {
  background: yellow;
}

.runtime {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #718096;
}

/* Film açıklaması */
.movie-overview {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 16px;
  text-align: justify;
  transition: color 0.3s ease;
}

/* Film açıklaması hover efekti */
.movie-overview:hover {
  color: #8e44ad;
}

/* Film ekibi */
.movie-crew {
  margin: 20px 0;
}

.crew-item {
  margin-bottom: 10px;
  color: #4a5568;
}

.crew-role {
  font-weight: 600;
  color: #2d3748;
  margin-right: 5px;
}

/* Oyuncu listesi */
.cast-members {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.cast-member {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7fafc;
  padding: 8px 12px;
  border-radius: 30px;
  transition: transform 0.3s ease;
}

.cast-member:hover {
  transform: scale(1.05);
}

.cast-member img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
}

/* İzleme Platformları */
.watch-providers {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #8e44ad;
}

.providers-title {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
}

/* Provider logosu ve hover efekti */
.provider-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.provider-type {
  font-size: 14px;
  color: #718096;
  min-width: 80px;
}

.provider-logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.provider-logo:hover {
  transform: translateY(-5px);
}

/* Platform logoları için özel stiller */
.provider-logo[alt*="Netflix"] {
  background: #000;
  padding: 5px;
}

.provider-logo[alt*="Prime"] {
  background: #00A8E1;
  padding: 5px;
}

.provider-logo[alt*="Disney"] {
  background: #183b66;
  padding: 5px;
}

.provider-logo[alt*="BluTV"] {
  background: #1c2841;
  padding: 5px;
}

.provider-logo[alt*="MUBI"] {
  background: #000;
  padding: 5px;
}

.provider-logo[alt*="Apple"] {
  background: #000;
  padding: 5px;
}

.provider-logo[alt*="HBO"] {
  background: #000;
  padding: 5px;
}

/* Aksiyon Butonları */
.movie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

/* Genel aksiyon buton stili */
.action-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: all 0.2s ease;
}

/* Favorilere Ekle butonu */
.favorite-btn {
  background: #e53e3e;
  color: white;
}

.favorite-btn:hover {
  background: #c53030;
  transform: translateY(-3px);
}

/* İzledim butonu */
.watched-btn {
  background: #38a169;
  color: white;
}

.watched-btn:hover {
  background: #2f855a;
  transform: translateY(-3px);
}

/* Beğeni butonları */
.rating-buttons {
  display: flex;
  gap: 10px;
}

.like-btn {
  background: #3182ce;
  color: white;
}

.like-btn:hover {
  background: #2c5282;
  transform: translateY(-3px);
}

.dislike-btn {
  background: #718096;
  color: white;
}

.dislike-btn:hover {
  background: #4a5568;
  transform: translateY(-3px);
}

/* Fragman butonu */
.trailer-btn {
  background: #e53e3e;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: all 0.2s ease;
  margin-top: 20px;
}

.trailer-btn:hover {
  background: #c53030;
  transform: translateY(-3px);
}


/* Komut Butonları */
.command-section {
  margin-top: 30px;
  padding: 20px;
  background: #f7fafc;
  border-radius: 12px;
}

.command-title {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.command-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.command-btn {
  padding: 10px 20px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 14px;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.command-btn:hover {
  background: #3498db;
  color: white;
  border-color: #3498db;
  transform: translateY(-2px);
}

/* Input alanı */
.chat-input {
  display: flex;
  gap: 10px;
  padding: 15px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  position: sticky;
  bottom: 0;
}

input[type="text"] {
  flex: 1;
  padding: 12px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
}

input[type="text"]:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.gonder-btn {
  padding: 12px 25px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gonder-btn:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

/* Fragman modal */
.trailer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.trailer-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16/9;
}

.close-modal {
  position: absolute;
  right: -40px;
  top: 0;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 1001;
}

/* Özel scrollbar */
#messageContainer::-webkit-scrollbar {
  width: 8px;
}

#messageContainer::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#messageContainer::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 4px;
}

#messageContainer::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

/* Animasyonlar */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@media (max-width: 768px) {
  .movie-card {
    grid-template-columns: 1fr;
    margin: 15px 0;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }

  .movie-poster {
    position: relative;
    width: 100%;
    padding-top: 140%;
    /* oranı biraz artırdım */
    background-color: transparent;
    /* siyah arka planı kaldırdım */
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    max-height: 280px;
  }

  .movie-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* contain yerine cover kullandım */
    object-position: center;
    padding: 0;
    margin: 0;
    background: transparent;
  }

  .movie-content {
    padding: 18px;
    background: #fff;
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1;
  }

  .movie-title {
    font-size: 18px;
    /* başlık boyutunu artırdım */
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .movie-description {
    font-size: 15px;
    /* yazı boyutunu artırdım */
    line-height: 1.5;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: #333;
  }

  .movie-meta {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 15px;
  }

  .movie-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  .action-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
    font-size: 15px;
    border-radius: 8px;
  }

  .command-list {
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
  }

  .command-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 15px;
    border-radius: 8px;
  }

  .provider-section {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
    justify-content: flex-start;
  }

  .provider-type {
    width: 100%;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 500;
  }

  .provider-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }
}

/* burada kaldım ayrıca üstte mesaj kutusu alanını genişletmek lazım */

/* Fragman butonu */
.movie-trailer {
  margin-top: 20px;
}

.trailer-btn {
  background: #e53e3e;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: all 0.3s ease;
}

.trailer-btn:hover {
  background: #c53030;
  transform: translateY(-2px);
}

.trailer-btn i {
  font-size: 18px;
}

/* Fragman Modal */
.trailer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: modalFadeIn 0.3s ease;
}

.trailer-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  animation: modalScaleIn 0.3s ease;
}

.trailer-player {
  width: 100%;
  height: 100%;
}

.trailer-player iframe {
  width: 100%;
  height: 100%;
}

.close-modal {
  position: absolute;
  right: -50px;
  top: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Modal animasyonları */
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalScaleIn {
  from {
    transform: scale(0.9);
  }

  to {
    transform: scale(1);
  }
}

/* Responsive tasarım */
@media (max-width: 768px) {
  .trailer-modal-content {
    width: 95%;
  }

  .close-modal {
    right: 10px;
    top: -50px;
  }
}


/* Toast Container Styles */
.toast-container {
  position: fixed !important;
  /* fixed position */
  top: 20px !important;
  /* üstten boşluk */
  right: 20px !important;
  /* sağdan boşluk */
  z-index: 9999 !important;
  /* en üstte görünmesi için yüksek z-index */
  max-width: 350px;
}

.toast {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  opacity: 1 !important;
}

.toast-header {
  border-bottom: none;
  background: transparent;
  padding: 12px 15px 4px;
}

.toast-body {
  padding: 8px 15px 12px;
  font-size: 14px;
}

/* Toast türlerine göre renkler */
.toast-success {
  border-left: 4px solid #28a745;
}

.toast-error {
  border-left: 4px solid #dc3545;
}

.toast-warning {
  border-left: 4px solid #ffc107;
}

.toast-info {
  border-left: 4px solid #17a2b8;
}

/* Mobil için düzenlemeler */
@media (max-width: 768px) {
  .toast-container {
    top: 10px !important;
    right: 10px !important;
    left: 10px !important;
    max-width: calc(100% - 20px);
  }

  .toast {
    margin-bottom: 8px;
  }

  .toast-header {
    padding: 8px 12px 4px;
  }

  .toast-body {
    padding: 6px 12px 8px;
    font-size: 13px;
  }
}

/* Toast animasyonu */
@keyframes slideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

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

.toast.showing {
  animation: slideIn 0.3s ease-in-out;
}

.mood-tag {
  display: inline-block;
  padding: 4px 8px;
  margin: 2px;
  border-radius: 12px;
  background-color: #f0f0f0;
  color: #666;
  font-size: 0.9em;
}



.recommendations-header {
  font-size: 1.4em;
  color: #1976D2;
  margin: 20px 0;
  text-align: center;
  font-weight: 600;
}

.interactive-closing {
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  background: #f8f9fa;
}

.outro-message {
  font-size: 1.1em;
  color: #2196F3;
  margin-bottom: 15px;
}

.feedback-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 15px 0;
  flex-wrap: wrap;
}

.feedback-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95em;
  min-width: 140px;
}

.liked-btn {
  background: #4CAF50;
  color: white;
}

.disliked-btn {
  background: #FFA726;
  color: white;
}

.surprise-btn {
  background: #2196F3;
  color: white;
}

.feedback-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Interactive closing alanı için stil */
.interactive-closing {
  background: transparent;
  /* Arka planı şeffaf yap */
  border-radius: 20px;
  padding: 1.5rem;
  margin: 1.5rem auto;
  max-width: 95%;
  width: 600px;
}

/* Feedback mesajları için stiller */
.thank-you-message,
.sorry-you-message {
  padding: 1.2rem;
  margin: 1.5rem auto;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  animation: fadeIn 0.5s ease;
  background: #ffffff;
  /* Düz beyaz arka plan */
  color: #2d3436;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 90%;
  width: 500px;
  position: relative;
  overflow: hidden;
  line-height: 1.6;
  border: none;
  /* Kenar çizgisini kaldır */
}

.thank-you-message::before,
.sorry-you-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  /* İnce bir şerit */
  height: 100%;
  background: #00b894;
  /* Yeşil şerit */
}

.sorry-you-message::before {
  background: #ff7675;
  /* Kırmızı şerit */
}

/* Mobil uyumluluk */
@media (max-width: 768px) {

  .thank-you-message,
  .sorry-you-message {
    font-size: 0.95rem;
    padding: 1rem;
    margin: 0.8rem auto;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }

  .interactive-closing {
    padding: 0.8rem;
    margin: 0.8rem auto;
    width: 100%;
    max-width: 100%;
    background: transparent;
  }
}

/* Küçük mobil ekranlar için */
@media (max-width: 480px) {

  .thank-you-message,
  .sorry-you-message {
    font-size: 0.9rem;
    padding: 0.8rem;
    margin: 0.5rem auto;
    border-radius: 10px;
  }

  .interactive-closing {
    padding: 0.5rem;
    margin: 0.5rem auto;
  }
}

/* Emoji stilleri mobil için */
@media (max-width: 768px) {

  .thank-you-message emoji,
  .sorry-you-message emoji {
    font-size: 1.1em;
    margin: 0 2px;
  }
}

.genre-comment {
  display: inline-block;
  background: #f8f9fa;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  color: #666;
  margin-left: 10px;
  border-left: 3px solid #2196F3;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

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

/* Mobil için düzenleme */
@media (max-width: 768px) {
  .genre-comment {
    display: block;
    margin: 10px 0;
    width: 100%;
  }
}

.movie-genres {
  display: flex;
  /* Türleri yatay sırada göstermek için */
  flex-wrap: wrap;
  /* Türler bir satıra sığmazsa bir sonraki satıra taşır */
  gap: 8px;
  /* Türler arasında boşluk */
  margin-top: 10px;
  /* Genel görünüm için üst boşluk */
}

.genre-tag {
  display: inline-block;
  background-color: #f5f5f5;
  /* Hafif gri bir arka plan */
  color: #333;
  /* Yazı rengini okunabilir hale getir */
  font-size: 14px;
  /* Yazı boyutu */
  font-weight: 500;
  /* Orta kalınlıkta yazı */
  padding: 6px 12px;
  /* Etiket boyutlarını ayarla */
  border-radius: 20px;
  /* Etiketleri yuvarlat */
  border: 1px solid #ddd;
  /* Hafif bir kenar çizgisi */
  transition: all 0.3s ease;
  /* Hover animasyonu için */
}

.genre-tag:hover {
  background-color: #8e44ad;
  /* Mavi arka plan */
  color: #fff;
  /* Beyaz yazı */
  border-color: #8e44ad;
  /* Çizgi rengini mavi yap */
  cursor: pointer;
  /* Tıklanabilir olduğunu göster */
}

.genre-tag:active {
  background-color: #8e44ad;
  /* Daha koyu bir mavi (tıklama efekti) */
  border-color: #9b59b6;
}

/* Genel Yapı */
.assistant-message {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 700px;
  /* Daha geniş kutu */
  margin: 20px 0;
  padding: 20px;
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  /* Daha yumuşak mor gradyen geçiş */
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  transform: translateX(-10px);
  /* Başlangıçta kutu biraz sola kaymış */
}

.assistant-message:hover {
  transform: translateX(0);
  /* Hover'da sağa kayacak */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.assistant-message p {
  font-size: 0.9rem;
  /* Fontu küçültme */
  line-height: 1.5;
  color: #fff;
  /* Beyaz metin */
  margin: 0;
}

/* Giriş Mesajı */
.intro-message {
  font-size: 0.8rem;
  /* Daha küçük giriş mesajı fontu */
  font-weight: 600;
  color: #f2a7ff;
  /* Daha yumuşak mor-pembe ton */
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: fadeIn 0.8s ease-in-out;
}

/* Outro Mesajı */
.outro-message {
  font-size: 0.95rem;
  /* Küçük boyut */
  color: #f5f5f5;
  /* Açık gri ton */
  font-style: italic;
  margin-top: 10px;
  animation: fadeIn 1s ease-in-out;
}

/* Butonlar */
.feedback-buttons {
  display: flex;
  justify-content: flex-start;
  /* Butonları sola hizala */
  margin-top: 20px;
  gap: 15px;
}

.feedback-btn {
  padding: 12px 28px;
  font-size: 0.95rem;
  /* Buton fontunu küçültme */
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 160px;
  text-align: center;
  color: white;
  text-transform: capitalize;
}

.feedback-btn:hover {
  transform: scale(1.05);
}

.liked-btn {
  background: #4CAF50;
  /* Yeşil */
}

.liked-btn:hover {
  background: #45a049;
}

.disliked-btn {
  background: #e53935;
  /* Kırmızı */
}

.disliked-btn:hover {
  background: #d32f2f;
}

.surprise-btn {
  background: #ff5722;
  /* Turuncu */
}

.surprise-btn:hover {
  background: #f4511e;
}

.feedback-btn svg {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

/* SVG Hover Animasyonu */
.feedback-btn:hover svg {
  transform: scale(1.2);
}

.feedback-btn:active {
  transform: scale(0.98);
}

/* Animasyon: FadeIn */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobil uyumlu */
@media (max-width: 600px) {
  .assistant-message {
    max-width: 80%;
    padding: 18px;
  }

  .feedback-btn {
    min-width: 140px;
    font-size: 0.8rem;
  }

  .feedback-buttons {
    gap: 12px;
  }
}

/* Genel buton stilleri */
.btn {
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
  background-color: #9b59b6;
  /* Mor tonunda normal renk */
  color: white;
}

/* Buton ikon ve metin düzeni */
.btn i {
  font-size: 18px;
  /* İkon boyutu */
}

/* Buton hover efekti */
.btn:hover {
  background-color: #8e44ad;
  /* Hover durumu için mor tonunun koyulaşması */
  transform: translateY(-3px);
  /* Hover sırasında butonun yukarı kayması */
}

/* Buton aktif durumu */
.btn:active {
  background-color: #7d3c8c;
  /* Tıklanırken koyu mor tonuna geçiş */
  transform: translateY(1px);
  /* Tıklanırken butonun aşağıya kayması */
}

/* Buton disabled durumu */
.btn:disabled {
  background-color: #d5a6e6;
  /* Disabled durumda morun açık tonu */
  cursor: not-allowed;
  /* Tıklanamaz buton */
}

/* Butonun "btn-primary" sınıfı için özel renk */
.btn-primary {
  background-color: #9b59b6;
  color: white;
}

.btn-primary:hover {
  background-color: #8e44ad;
}

.btn-primary:active {
  background-color: #7d3c8c;
}

/* Buton ikonunun hizalanması */
.btn .me-1 {
  margin-right: 8px;
  /* İkon ile metin arasına boşluk */
}