.movies-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  z-index: 999999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
}

.movies-menu.show {
  opacity: 1;
  visibility: visible;
}

.movies-menu-content {
  border-radius: 20px;
  padding: 25px 30px 25px 40px;
  background-color: #080808;
  border: 1.4px dashed #ffffff1c;
  width: 450px;
  max-height: 70vh;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  transform: scale(0);
  opacity: 0;
  transition: all 0.15s ease;
}

.movies-menu.show .movies-menu-content {
  transform: scale(1);
  opacity: 1;
}

.movies-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: -12px;
  margin-top: -5px;
  margin-bottom: 20px;
}

.movies-menu-header h2 {
  color: #e0e0e0;
  font-size: 25px;
  margin: 0;
  font-weight: lighter;
  margin-bottom: -10px;
}

.movies-search-bar {
  margin-bottom: 20px;
  width: 100%;
  margin-left: -12px;
  position: relative;
}

.movies-search-bar input[type="text"] {
  padding: 14px 14px 14px 40px;
  width: 400px;
  border: 2px solid #00000000;
  background-color: #0e0e0e;
  outline: none;
  border-radius: 20px;
  color: #b9b9b9;
  font-size: 15px;
  text-align: left;
  transition: all 0.15s ease;
}

.movies-search-bar input[type="text"]:focus,
.movies-search-bar input[type="text"]:hover {
  background-color: #1d1d1d;
}

.movies-search-bar input[type="text"]::placeholder {
  color: #ffffff69;
}

.movies-grid-container {
  display: none;
  border-radius: 20px;
  background-color: transparent;
  margin-left: -12px;
  margin-bottom: 4px;
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px 0 0 0;
  width: 460px;
  transition: all 0.3s ease;
}

.movies-grid-container::-webkit-scrollbar-track {
  background: #00000000;
}

.movies-grid {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  gap: 8px;
  list-style: none;
}

.movie-card {
  background-color: #0e0e0e;
  border-radius: 15px;
  padding: 8px 12px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}

.movie-card:hover {
  background-color: #242424;
  transform: none;
}

.movie-image {
  width: 60px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 0;
  background-color: #1a1a1a;
  border-radius: 8px;
}

.movie-image img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.movie-info {
  flex: 1;
  min-width: 0;
}

.movies-grid h2 {
  color: #e0e0e0;
  font-size: 16px;
  margin: 0;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-description {
  color: #808080;
  font-size: 13px;
  margin: 3px 0 0 0;
  font-weight: 400;
  white-space: normal;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movies-sentinel {
  height: 1px;
  margin-top: 15px;
}