/*body {
  margin: 0;
  font-family: Arial, sans-serif;
}*/

.yt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  background: #fff;
  border-bottom: 1px solid #0b103f;
  position: sticky;
  top: 0;
}

.left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.menu-icon {
  font-size: 22px;
  cursor: pointer;
}

.logo {
  height: 30px;
}

.center {
  display: flex;
  align-items: center;
  width: 50%;
  max-width: 600px;
}

.center input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ccc;
  border-radius: 20px 0 0 20px;
  outline: none;
  font-size: 15px;
}

.search-btn {
  padding: 10px 18px;
  background: #f1f1f1;
  border: 1px solid #ccc;
  border-left: none;
  cursor: pointer;
  border-radius: 0 20px 20px 0;
}

.mic-btn {
  margin-left: 8px;
  background: #f1f1f1;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}

.right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon {
  font-size: 22px;
  cursor: pointer;
}

.profile {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .center {
    width: 40%;
  }
  .yt-category-bar a {
    padding: 7px 15px;
    font-size: 14px;
    border-radius: 18px;
    border: 1px solid #0b103f;
    background: #ffffff;
    cursor: pointer;
    transition: 0.2s ease;
    text-decoration: none;
    color: #000;
  }
}

@media (max-width: 500px) {
  .center input {
    display: none;
  }
  .search-btn {
    border-radius: 20px;
  }
}

.yt-category-bar {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding: 12px 20px;
  background: #fff;
  border-bottom: 1px solid #ddd;
  scrollbar-width: none;
}

.yt-category-bar::-webkit-scrollbar {
  display: none;
}

.yt-category-bar a {
  padding: 7px 15px;
  font-size: 14px;
  border-radius: 18px;
  border: 1px solid #0b103f;
  background: #ffffff;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
  color: #000;
}

.yt-category-bar a:hover {
  background: #0b103f;
  color:#ffb300;
}

/* Active tab style */
.yt-category-bar a.active {
  background: #0b103f;
  color: #fff;
  border: 1px solid #0b103f;
}

.yt-category-bar a:active {
  transform: scale(0.96);
}

.yt-category-bar button {
  padding: 7px 15px;
  font-size: 14px;
  border-radius: 18px;
  border: 1px solid #0b103f;
  background: #ffffff;
  cursor: pointer;
  transition: background 0.2s, border 0.2s, color 0.2s;
}

.yt-category-bar button:hover {
  background: #0b103f;
  color:#ffb300;
}

/* Active button style */
.yt-category-bar .active {
  background: #0b103f;
  color: #fff;
  border: 1px solid #0b103f;
}

/* Small click animation effect */
.yt-category-bar button:active {
  transform: scale(0.96);
}

