/* ===== Container Styles ===== */
.remote-video-search-box {
  margin: 30px 0;
  max-width: 100%;
}

/* ===== Form Styles ===== */
#remote-video-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

#remote-search-query {
  flex: 1;
  padding: 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* 🔴 Search Button (edit color below) */
#remote-video-search-form button {
  padding: 14px 24px;
  background: red; /* 🔧 Button background color */
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* ===== Grid Layout ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 5px; /* 🔧 Control gap between items */
}

/* ===== Individual Video Card ===== */
.video-card {
  background: #111; /* 🔧 Card background */
  border-radius: 5px; /* 🔧 Rounded corners */
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* ===== Thumbnail Wrapper ===== */
.thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #222;
  overflow: hidden;
}

.thumb-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 🎬 Play Icon (Transparent Circle) */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: white;
  background: rgba(0,0,0,0.4); /* 🔧 Icon background */
  padding: 12px 16px;
  border-radius: 50%;
}

/* ===== Title Styling ===== */
.video-title {
  color: #fff; /* 🔧 Title text color */
  font-size: 13px;
  padding: 10px;
  margin: 0;
  height: 48px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Load More Button ===== */
#load-more-button {
  padding: 14px 26px;
  font-size: 16px;
  background-color: #0073aa; /* 🔧 Load more button background */
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#load-more-button:hover {
  background: #005c99;
}
