/* 
body{
    background-color: #F2F0EF;
    color: #1E222A;
} */

.banner{
    padding: 2.5rem;
}

.banner-title {
    font-size: clamp(1.4rem, 4vw, 2.5rem); 
    line-height: 1.2;
}

.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding-right: 45px;
    border-radius: 999px;
}

.search-icon-btn {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
}

/* small-screen tweaks */
@media (max-width: 576px) {
    .search-icon-btn {
        right: 10px;
    }
    .buttons .btn {
        width: 100%;
    }
}

.cards {
    padding: 20px 0;
}

.cards .d-flex.justify-content-around {
    flex-wrap: wrap;     
    row-gap: 24px;
}

.card1 {
    padding: 20px;
    border: 2px solid grey;
    max-width: 250px;
    width: 100%;           
    flex: 1 1 250px;       
}

.bi-info-circle {
    font-size: 20px;
}


@media (max-width: 768px) {
    .cards .d-flex.justify-content-around {
        flex-direction: column;
        align-items: center;
        gap: 20px !important;
    }

    .card1 {
        max-width: 90%;
    }
}
.accordion-button:not(.collapsed) {
    background-color: black;  
    color: #F2F0EF;                 
    box-shadow: none;            
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1); 
}

/* .accordion-body{
    background-color: #F2F0EF;
}

.accordion-header{
    background-color:#F2F0EF ;
} */

.hero-carousel {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

.hero-slide {
  min-height: 600px;
  background-size: cover;
  background-position: center 30%;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.15) 75%),
    linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.35) 100%);
}
.hero-content {
  z-index: 2;
}

.hero-meta span {
  font-size: 0.95rem;
  color: #ccc;
}

.hero-synopsis {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #ccc;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
}

.carousel-indicators .active {
  background-color: #dc3545;
  width: 20px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .hero-synopsis, .hero-content .w-50 {
    width: 90% !important;
  }
}


[data-bs-theme="dark"] .cta {
  background-color: #1a1a1a !important;
}

[data-bs-theme="dark"] .footer {
  background-color: #121212;
  color: #eee;
}

[data-bs-theme="dark"] .card {
  background-color: #1e1e1e;
  color: #eee;
}

[data-bs-theme="dark"] .text-muted {
  color: #999 !important;
}

[data-bs-theme = 'dark'].cast-badge{
  background-color: #333 !important;
  color: #eee !important;
}


.filter-bar {
  border-bottom: 1px solid #eee;
  padding-bottom: 0.75rem;
}

.filter-pill {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.filter-pill:hover {
  color: #111;
}

.filter-pill.active {
  color: #111;
  font-weight: 600;
  border-bottom-color: #111;
}

.filter-divider {
  width: 1px;
  background: #ddd;
  margin: 0 0.25rem;
}

.submit-btn {
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.submit-btn:hover {
  background-color: #222;
  color: #fff;
}

[data-bs-theme="dark"] .submit-btn {
  background-color: #fff;
  color: #000;
  border: 1px solid #fff;
}

[data-bs-theme="dark"] .submit-btn:hover {
  background-color: #eee;
  color: #000;
}

.user {
  color: #000;
  text-decoration: none;
}

.user:hover {
  text-decoration: underline;
}

[data-bs-theme="dark"] .user {
  color: #fff;
}

.watched-toggle {
  cursor: pointer;
  font-size: 0.9rem;
  color: #333;
  user-select: none;
}

.watched-toggle:hover {
  color: #000;
}

.watched-toggle .bi-heart-fill {
  color: #dc3545;
}

[data-bs-theme="dark"] .watched-toggle {
  color: #ddd;
}

[data-bs-theme="dark"] .watched-toggle:hover {
  color: #fff;
}

.dash-card {
  background-color: #fff;
}

[data-bs-theme="dark"] .dash-card {
  background-color: #1e1e1e;
  border-color: #333 !important;
}

.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1050;
}

.chat-toggle-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  border: none;
  font-size: 1.4rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

[data-bs-theme="dark"] .chat-toggle-btn {
  background-color: #fff;
  color: #000;
}

.chat-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 420px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

[data-bs-theme="dark"] .chat-panel {
  background-color: #1e1e1e;
}

.chat-header {
  background-color: #000;
  color: #fff;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble {
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 85%;
  font-size: 0.9rem;
}

.chat-bubble.user {
  align-self: flex-end;
  background-color: #000;
  color: #fff;
}

[data-bs-theme="dark"] .chat-bubble.user {
  background-color: #fff;
  color: #000;
}

.chat-bubble.bot {
  align-self: flex-start;
  background-color: #eee;
  color: #000;
}

[data-bs-theme="dark"] .chat-bubble.bot {
  background-color: #333;
  color: #eee;
}

.chat-input-row {
  border-top: 1px solid #ddd;
}

.nav-search-form {
  max-width: 220px;
}

.nav-search-input {
  border-radius: 20px 0 0 20px;
  border-right: none;
}

.nav-search-btn {
  border-radius: 0 20px 20px 0;
  border: 1px solid #ced4da;
  border-left: none;
  background-color: #fff;
}

[data-bs-theme="dark"] .nav-search-btn {
  background-color: #212529;
  border-color: #495057;
  color: #eee;
}