* {
  margin: 0;
}

body {
  font-family: "Roboto", sans-serif;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 50px;
  background-color: black;
}

.navbar-container {
  display: flex;
  align-items: center;
  padding: 0 50px;
  height: 100%;
  color: white;
  font-family: "Sen", sans-serif;
}


.logo-container {
  flex: 1;
}

.logo {
  font-size: 30px;
  color: #4dbf00;
}

.logo-link {
  text-decoration: none;
  display: inline-block;
}

.menu-container {
  flex: 6;
}

.menu-list {
  display: flex;
  list-style: none;
}

.menu-list-item {
  margin-right: 30px;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
}

.menu-list-item a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

.menu-list-item:hover a,
.menu-list-item.active a {
  color: #4dbf00;
}

.menu-list-item.active {
  font-weight: bold;
  transform: scale(1.1);
  color: #4dbf00;
  text-shadow: 0 0 5px rgba(77, 191, 0, 0.5);
  background-color: rgba(77, 191, 0, 0.2);
}
.menu-list-item.active:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 2px;
  background-color: #4dbf00;
}

.profile-container {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.profile-text-container {
  margin: 0 20px;
}

.profile-picture {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.toggle {
  width: 40px;
  height: 20px;
  background-color: white;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: relative;
}

.toggle-icon {
  color: goldenrod;
}

.toggle-ball {
  width: 18px;
  height: 18px;
  background-color: black;
  position: absolute;
  right: 1px;
  border-radius: 50%;
  cursor: pointer;
  transition: 1s ease all;
}

.sidebar {
  width: 50px;
  height: 100%;
  background-color: black;
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
}

.left-menu-icon {
  color: white;
  font-size: 20px;
  margin-bottom: 40px;
}

.container {
  background-color: #151515;
  min-height: calc(100vh - 50px);
  color: white;
}

.content-container {
  margin-left: 50px;
  padding-bottom: 30px;
}

.featured-content {
  position: relative;
  height: 50vh;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.featured-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  /* lớp phủ tối */
  z-index: 1;
}


.featured-title {
  color: #4dbf00;
}

.featured-desc {
  color: #4dbf00;
}

.featured-button {
  background-color: #4dbf00;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-weight: bold;
}

.movie-list-container {
  padding: 0 20px;
  position: relative;
  margin-bottom: 20px;
}

.movie-list-wrapper {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.movie-list {
  display: flex;
  align-items: center;
  gap: 20px;
  height: auto;
  transform: translateX(0);
  transition: all 0.3s ease-in-out;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: 10px 0;
  white-space: nowrap;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.movie-list::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.movie-list-item {
  flex: 0 0 auto;
  width: 200px;
  height: 300px;
  margin-right: 10px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.movie-list-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.movie-list-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.movie-list-item-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: white;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.movie-list-item:hover .movie-list-item-title {
  opacity: 1;
}

.arrow {
  width: 40px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  z-index: 2;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.arrow.left {
  left: 0;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.arrow.right {
  right: 0;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.container.active {
  background-color: white;
}

.movie-list-title.active {
  color: black;
}

.navbar-container.active {
  background-color: white;

  color: black;
}

.sidebar.active {
  background-color: white;
}

.left-menu-icon.active {
  color: black;
}

.toggle.active {
  background-color: black;
}

.toggle-ball.active {
  background-color: white;
  transform: translateX(-20px);
}

.container.active {
  background-color: white;
  color: black;
}

.navbar-container.active {
  background-color: white;
  color: black;
}

.sidebar.active {
  background-color: white;
}

.left-menu-icon.active {
  color: black;
}

.movie-list-title.active {
  color: black;
}

.container,
.navbar-container,
.sidebar {
  transition: background-color 0.5s ease, color 0.3s ease;
}

.menu-list-item:hover {
  transform: scale(1.05);
  color: #4dbf00;
  background-color: rgba(77, 191, 0, 0.1);
}

/* Dropdown Menu */
.profile-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #141414;
  min-width: 200px;
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
}

.profile-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

.dropdown-menu a:hover {
  background-color: #333;
}

.dropdown-menu a i {
  margin-right: 10px;
  width: 20px;
}

.dropdown-divider {
  height: 1px;
  background-color: #333;
  margin: 8px 0;
}

/* Animation cho dropdown menu */
.dropdown-menu {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
  display: none;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.profile-dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
}

/* Dark Mode Support */
.container.active .dropdown-menu {
  background-color: #f5f5f5;
}

.login-container {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #232526 0%, #414345 100%);
  padding: 0;
}

.login-box {
  background: #18191a;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  padding: 40px 32px 32px 32px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-header .logo {
  color: #7ed957;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.login-header h2 {
  color: #fff;
  margin-bottom: 6px;
}

.login-header p {
  color: #b0b3b8;
  margin-bottom: 24px;
}

.login-form .form-group {
  display: flex;
  align-items: center;
  background: #242526;
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 10px 10px;
  gap: 10px; /* thêm spacing giữa icon và input */
}

.login-form .form-group i {
  color: #7ed957;
  font-size: 1.1rem;
}

.login-form input[type="text"],
.login-form input[type="password"],
.login-form input[type="email"] {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 1rem;
  width: 100%;
  padding: 0; /* xóa padding dư */
}



.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.form-options .remember-me span {
  color: #b0b3b8;
}

.form-options .forgot-password {
  color: #7ed957;
  text-decoration: none;
  font-weight: 500;
}

.login-button {
  width: 100%;
  background: #7ed957;
  color: #18191a;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 18px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-button:hover {
  background: #6bc24a;
}

.social-login {
  text-align: center;
  margin-bottom: 12px;
}

.social-login p {
  color: #b0b3b8;
  margin-bottom: 10px;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-button {
  background: #242526;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.social-button:hover {
  background: #7ed957;
  color: #18191a;
}

.register-link {
  color: white;
  text-align: center;
  margin-top: 10px;
}
.register-link a {
  color: #fcfcfc;
  font-weight: 600;
  text-decoration: none;
}
.register-link a:hover {
  text-decoration: underline;
}

.back-home {
  display: flex;
  align-items: center;
  color: #b0b3b8;
  text-decoration: none;
  margin-top: 18px;
  font-size: 0.98rem;
  transition: color 0.2s;
  justify-content: center;
}

.back-home:hover {
  color: #7ed957;
}

.error-message {
  text-align: center;
  font-size: 0.98rem;
}

@media (max-width: 768px) {
  .login-box {
    margin: 20px;
    padding: 20px 8px 18px 8px;
  }
}

/* Sửa lại style cho search-container */
.menu-list .search-container {
  margin: 0;
  padding: 5px 10px;
  display: flex;
  align-items: center;
}

.menu-list .search-input {
  width: 150px;
  /* Điều chỉnh độ rộng phù hợp */
  padding: 5px 25px 5px 10px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 15px;
  transition: all 0.3s;
}

.menu-list .search-input:focus {
  width: 180px;
  /* Mở rộng khi focus */
  outline: none;
  background-color: #444;
}

.menu-list .search-icon {
  right: 8px;
  color: #aaa;
  font-size: 14px;
}

/* Đảm bảo các menu item căn đều */
.menu-list-item {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

@media only screen and (max-width: 940px) {
  .menu-list .search-container {
    display: none;
    /* Ẩn thanh tìm kiếm trên mobile */
  }

  /* Hoặc hiển thị dạng mobile-friendly */
  /*
  .menu-list {
      flex-wrap: wrap;
  }
  .menu-list .search-container {
      order: 1;
      width: 100%;
      margin-top: 10px;
  }
  */
}

.search-container {
  position: relative;
}

.search-form {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  /* Thay đổi màu nền tối hơn */
  border-radius: 30px;
  padding: 5px 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  /* Thêm viền để tạo độ tương phản */
}

.search-form.focused {
  background: rgba(0, 0, 0, 0.8);
  /* Màu nền tối hơn khi focus */
  border-color: rgba(77, 191, 0, 0.7);
  /* Tăng độ đậm của viền */
  box-shadow: 0 0 0 2px rgba(77, 191, 0, 0.3);
}

.search-input {
  padding: 8px 10px;
  border: none;
  background: transparent;
  color: white;
  width: 180px;
  font-size: 14px;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.8);
  /* Tăng độ đậm của placeholder */
}


.search-button {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s;
}

.search-button:hover {
  color: #4dbf00;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1a1a1a;
  /* Màu nền tối hơn cho kết quả tìm kiếm */
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 5px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.search-results.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.search-result-item {
  color: #4dbf00;
  display: flex;
  padding: 12px 15px;
  border-bottom: 1px solid #333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #333;
}


.search-result-poster {
  width: 50px;
  height: 75px;
  flex-shrink: 0;
  margin-right: 15px;
  border-radius: 4px;
  overflow: hidden;
}

.search-result-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-info {
  color: #4dbf00;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.search-result-info h3 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #ffffff;
}

.search-result-info p {
  margin: 0;
  font-size: 14px;
  color: #cccccc;
}

.search-result-title {
  font-size: 15px;
  font-weight: 500;
  color: #7ed957; /* màu xanh lá cây tươi */
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.search-result-meta {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #aaa;
}

.search-result-year {
  margin-right: 10px;
}

.search-result-type {
  background: #4dbf00;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  text-transform: capitalize;
}

.no-results {
  padding: 20px;
  text-align: center;
  color: #888;
  font-size: 14px;
}

.loading-results {
  padding: 20px;
  text-align: center;
  color: #4dbf00;
}

.loading-results i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 940px) {
  .search-container {
    margin-right: 10px;
  }

  .search-input {
    width: 140px;
    padding: 6px 8px;
  }
}

@media (max-width: 768px) {
  .search-container {
    position: static;
    margin: 10px 0;
    width: 100%;
  }

  .search-form {
    width: 100%;
  }

  .search-input {
    width: 100%;
  }

  .search-results {
    left: 20px;
    right: 20px;
    width: auto;
  }
}


.loading,
.no-results,
.error {
  padding: 20px;
  text-align: center;
  color: #666;
}

.loading i {
  margin-right: 10px;
  color: #00C4FF;
}

.search-results {
  background-color: #262626;
  color: #f0f0f0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px;
  border-bottom: 1px solid #444;
  cursor: pointer;
  transition: background-color 0.2s ease;
}


/* Thêm style cho nút điều hướng */
.movie-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: rgba(20, 20, 20, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: white;
}

.movie-nav-arrow.left {
  left: 20px;
}

.movie-nav-arrow.right {
  right: 20px;
}

.movie-nav-arrow:hover {
  background-color: rgba(20, 20, 20, 0.9);
  border-color: white;
  transform: translateY(-50%) scale(1.1);
}

/* Movie Detail Page Styles */
.movie-detail-container {
  min-height: 100vh;
  color: white;
  position: relative;
  padding-top: 50px;
  /* Space for navbar */
  background-color: #141414;
}

.movie-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.movie-backdrop::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(20, 20, 20, 0.5) 0%,
      rgba(20, 20, 20, 0.8) 50%,
      rgba(20, 20, 20, 1) 100%);
}

.movie-detail-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
}

.movie-poster {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.movie-poster:hover {
  transform: translateY(-8px);
}

.movie-poster img {
  width: 100%;
  height: auto;
  display: block;
}

.movie-info {
  color: white;
}

.movie-title {
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
  font-size: 1.1em;
}

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

.movie-meta i {
  color: #4dbf00;
}

.movie-genres {
  margin-bottom: 24px;
}

.genre-tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  margin: 0 8px 8px 0;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.genre-tag:hover {
  background-color: rgba(77, 191, 0, 0.2);
  color: #4dbf00;
}

.movie-overview {
  margin-bottom: 32px;
  line-height: 1.8;
}

.movie-overview h3 {
  font-size: 1.5em;
  margin-bottom: 16px;
  color: #4dbf00;
}

.movie-overview p {
  color: #ccc;
  font-size: 1.1em;
}

.movie-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.movie-actions button {
  padding: 12px 32px;
  border: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.watch-button {
  background-color: #4dbf00;
  color: white;
}

.watch-button:hover {
  background-color: #3da000;
  transform: translateY(-2px);
}

.trailer-button {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.trailer-button:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  opacity: 1;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  background-color: #141414;
  border-radius: 16px;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

#trailerContainer {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

#trailerContainer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
  .movie-detail-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }

  .movie-poster {
    max-width: 300px;
    margin: 0 auto;
  }

  .movie-title {
    font-size: 2em;
  }

  .movie-meta {
    flex-direction: column;
    gap: 12px;
  }

  .movie-actions {
    flex-direction: column;
  }

  .movie-actions button {
    width: 100%;
    justify-content: center;
  }
}

/* Đảm bảo section cuối cùng không có margin-bottom */
.movie-list-container:last-child {
  margin-bottom: 0;
}


/* Thêm hoặc cập nhật các styles sau */
.featured-content {
  position: relative;
  height: 50vh;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #4dbf00;
  /* màu xanh lá nổi bật */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  /* giữ độ tương phản */
}

.search-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  z-index: 10;
}

.search-title {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.search-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: white;
  margin-bottom: 30px;
  max-width: 700px;
}

.search-container-large {
  position: relative;
  width: 100%;
}

.search-form-large {
  display: flex;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.search-input-large {
  flex: 1;
  padding: 15px 20px;
  font-size: 16px;
  border: none;
  outline: none;
  background: white;
  color: #333;
}

.search-button-large {
  padding: 15px 30px;
  background: #00C4FF;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.3s;
}

.search-button-large:hover {
  background: #00A3D9;
}

.search-results-large {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  max-height: 400px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.search-results-large.active {
  display: block;
}

/* Responsive styles */
@media (max-width: 768px) {
  .search-title {
    font-size: 36px;
  }

  .search-subtitle {
    font-size: 18px;
  }

  .search-form-large {
    flex-direction: column;
    border-radius: 15px;
  }

  .search-input-large {
    width: 100%;
    border-radius: 15px 15px 0 0;
  }

  .search-button-large {
    width: 100%;
    border-radius: 0 0 15px 15px;
  }
}

/* Responsive styles */
@media (max-width: 1200px) {
  .navbar-container {
    padding: 0 20px;
  }

  .menu-list-item {
    margin-right: 20px;
  }

  .movie-list-item {
    width: 180px;
    height: 270px;
  }
}

@media (max-width: 992px) {
  .menu-container {
    flex: 4;
  }

  .profile-container {
    flex: 3;
  }

  .menu-list-item {
    margin-right: 15px;
  }

  .movie-list-item {
    width: 160px;
    height: 240px;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 10px;
  }

  .menu-container {
    display: none;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 50px);
    background: #111;
    z-index: 999;
    transition: transform 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .menu-container.active {
    display: block;
  }

  .menu-list {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .menu-list-item {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #222;
  }

  .menu-list-item:last-child {
    border-bottom: none;
  }

  .menu-list-item a {
    display: block;
    width: 100%;
    padding: 20px 28px;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    background: none;
    transition: background 0.2s, color 0.2s;
  }

  .menu-list-item a:hover,
  .menu-list-item.active a {
    background: #222;
    color: #4dbf00;
  }

  .sidebar {
    display: none;
  }

  .content-container {
    margin-left: 0;
  }

  .featured-content {
    height: 40vh;
    padding: 30px;
  }

  .movie-list-item {
    width: 140px;
    height: 210px;
  }

  .search-wrapper {
    padding: 20px;
  }

  .search-title {
    font-size: 24px;
  }

  .search-subtitle {
    font-size: 16px;
  }

  .search-form-large {
    flex-direction: column;
    gap: 10px;
  }

  .search-input-large,
  .search-button-large {
    width: 100%;
  }
}

@media (min-width: 901px) {
  .menu-toggle {
    display: none;
  }

  .menu-container {
    display: block !important;
    position: static;
    width: auto;
    height: auto;
    background: none;
    box-shadow: none;
  }

  .menu-list {
    flex-direction: row;
    padding: 0;
  }

  .menu-list-item {
    border: none;
    margin-right: 30px;
  }

  .menu-list-item:last-child {
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  .logo {
    font-size: 24px;
  }

  .profile-text-container {
    display: none;
  }

  .movie-list-item {
    width: 120px;
    height: 180px;
  }

  .featured-content {
    height: 35vh;
    padding: 20px;
  }

  .search-title {
    font-size: 20px;
  }

  .search-subtitle {
    font-size: 14px;
  }
}

/* Hamburger menu for mobile */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  margin-right: 18px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }
}
.login-footer p  {
  color: #7ed957; /* hoặc white nếu bạn thích */
  font-weight: 500;
  text-decoration: none;
}

.login-footer p :hover {
  text-decoration: underline;
}