/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #0f0f0f;
  color: #ffffff;
  line-height: 1.5;
}

/* Base Styles */
button {
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  height: 56px;
  background-color: #0f0f0f;
  border-bottom: 1px solid #272727;
  z-index: 50;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 25px;
}

.navbar-left .logo img {
  max-width: 130px;
  margin-left: 15px;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.icon-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo .web-cast-logo svg {
  width: 40px;
}

.logo .web-cast-logo svg path {
  stroke: #ff3131;
}

.youtube-icon {
  width: 32px;
  height: 24px;
  background-color: #ff0000;
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.youtube-icon::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-left: 10px solid white;
  border-bottom: 6px solid transparent;
  position: absolute;
}

.logo-link {
  text-decoration: none;
  color: #ff3131;
}

.youtube-text {
  margin-left: 4px;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  color: #ff3131;
}

.search-container {
  flex: 1;
  max-width: 584px;
  margin: 0 16px;
  display: none;
}

@media (min-width: 768px) {
  .search-container {
    display: flex;
    justify-content: center;
  }
  .search-mobile-button {
    display: none;
  }
}
.search-wrapper {
  display: flex;
  width: 100%;
  position: relative;
}

.search-input {
  width: 100%;
  height: 40px;
  background-color: #121212;
  border: 1px solid #303030;
  border-right: none;
  border-radius: 20px 0 0 20px;
  padding: 0 16px;
  font-size: 16px;
  color: white;
  outline: none;
}

.search-container form {
  width: 100%;
}

.search-button {
  height: 40px;
  padding: 0 20px;
  background-color: #222222;
  border-radius: 0 20px 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.search-button:hover {
  background-color: #323232;
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer .footer-content .footer-text {
  text-align: center;
  font-size: 12px;
  color: #7f7f7f;
}

.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: red;
  color: white;
  font-weight: bold;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}

.suggestions-box {
  background: #fff;
  border: 1px solid #ccc;
  position: absolute;
  z-index: 999;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
}

.suggestion-item {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}

.suggestion-item:hover {
  background: #f0f0f0;
}

.search-results-title {
  margin-bottom: 24px;
  font-size: 24px;
  text-align: center;
}

.search.search-no-results .search-results-title {
  text-align: center;
}

.search.search-no-results .videos-grid {
  display: block;
  text-align: center;
}

.search.search-results .video-info .video-details .video-title a {
  text-decoration: none;
  color: #fff;
}

.search.search-results .video-info .video-details .video-type {
  color: #7f7f7f;
  font-size: 13px;
}

.search.search-results .video-info .video-details .video-meta {
  color: #7f7f7f;
  font-size: 13px;
}

.no-results {
  text-align: center;
  padding: 60px 0;
}

.no-thumbnail {
  background-color: #eee;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  display: block;
}

/* .video-description-text {
  max-height: 6em;
  overflow: hidden;
  transition: max-height 0.3s ease;
} */

.video-description.expanded .video-description-text {
  max-height: none;
}

.read-more-btn {
  background: none;
  border: none;
  color: #065fd4;
  cursor: pointer;
  font-weight: 500;
  margin-top: 8px;
}

.related-video {
  cursor: pointer;
  margin-bottom: 12px;
}

.live-badge {
  background: red;
  color: white;
  font-weight: bold;
  padding: 2px 6px;
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 12px;
  border-radius: 3px;
}

.related-thumbnail-container {
  position: relative;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;
  z-index: 5;
}

.video-overlay img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.play-button {
  position: absolute;
  font-size: 60px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  padding: 20px;
}

.video-placeholder {
  position: relative;
  height: 400px;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
}

.content-wrapper-inner-page {
  /* Main Content */
  /* Video Player */
  /* Video Info */
  /* Video Description */
  /* Related Videos */
}
.content-wrapper-inner-page .main-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
/*   max-width: 90%; */
  margin: 0 auto;
  padding: 30px 25px;
	padding-bottom:15px;
}
@media (min-width: 1024px) {
  .content-wrapper-inner-page .main-content {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  }
}
.content-wrapper-inner-page .video-player {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  background-color: black;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0;
}
.content-wrapper-inner-page .video-placeholder {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
}
.content-wrapper-inner-page .video-placeholder iframe {
  height: 100%;
}
.content-wrapper-inner-page .video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.content-wrapper-inner-page .play-button {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.content-wrapper-inner-page .play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}
.content-wrapper-inner-page .play-icon:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.content-wrapper-inner-page .play-icon::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-left: 20px solid white;
  border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.content-wrapper-inner-page .video-info {
  margin-bottom: 16px;
  flex-direction: column;
	overflow-y:auto;
}
.content-wrapper-inner-page .video-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}
.content-wrapper-inner-page .video-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .content-wrapper-inner-page .video-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.content-wrapper-inner-page .channel-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.content-wrapper-inner-page .channel-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}
.content-wrapper-inner-page .channel-details {
  text-align: left;
}
.content-wrapper-inner-page .channel-name {
  font-weight: 500;
  margin-bottom: 2px;
}
.content-wrapper-inner-page .channel-subscribers {
  font-size: 14px;
  color: #aaaaaa;
}
.content-wrapper-inner-page .subscribe-button {
  margin-left: 16px;
  background-color: #ff0000;
  color: white;
  padding: 10px 16px;
  border-radius: 20px;
  font-weight: 500;
  transition: background-color 0.2s;
}
.content-wrapper-inner-page .subscribe-button:hover {
  background-color: #d90000;
}
.content-wrapper-inner-page .video-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.content-wrapper-inner-page .action-group {
  display: flex;
  background-color: #272727;
  border-radius: 20px;
  overflow: hidden;
}
.content-wrapper-inner-page .action-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 20px;
  font-weight: 500;
  transition: background-color 0.2s;
}
.content-wrapper-inner-page .action-button:hover {
  background-color: #383838;
}
.content-wrapper-inner-page .action-separator {
  width: 1px;
  height: 24px;
  background-color: #3f3f3f;
  margin: auto 0;
}
.content-wrapper-inner-page .like-button, .content-wrapper-inner-page .dislike-button {
  border-radius: 0;
}
.content-wrapper-inner-page .share-button {
  background-color: #272727;
}
.content-wrapper-inner-page .video-description {
  background-color: transparent !important;
  border-radius:0;
  padding: 12px;
	padding-left:0;
/* 	padding-right:0; */
  margin-bottom: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
	max-height:575px;
	overflow-y:auto;
}
/* .content-wrapper-inner-page .video-description:hover {
  background-color: #3a3a3a;
} */
.content-wrapper-inner-page .video-stats {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #aaaaaa;
  margin-bottom: 4px;
}
.content-wrapper-inner-page .dot-separator {
  margin: 0 4px;
}
.content-wrapper-inner-page .description-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-line;
}
.content-wrapper-inner-page .show-more-button {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #aaaaaa;
}
.content-wrapper-inner-page .related-videos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.content-wrapper-inner-page .related-video {
  display: flex;
  gap: 8px;
  cursor: pointer;
}
.content-wrapper-inner-page .related-thumbnail-container {
  position: relative;
  flex-shrink: 0;
  width: 160px;
  height: 96px;
}
.content-wrapper-inner-page .related-thumbnail {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s;
}
.content-wrapper-inner-page .related-video:hover .related-thumbnail {
  transform: scale(1.05);
}
.content-wrapper-inner-page .video-duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 0 4px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
}
.content-wrapper-inner-page .related-video-info {
  flex: 1;
}
.content-wrapper-inner-page .related-list {
  display: grid;
  gap: 15px;
}
.content-wrapper-inner-page .related-list .related-video {
  gap: 15px !important;
}
.content-wrapper-inner-page .related-video-info .video-description {
  padding: 0 !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  color: #7f7f7f !important;
  font-size: 13px !important;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.content-wrapper-inner-page .related-video-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.content-wrapper-inner-page .related-video:hover .related-video-title {
  color: #3ea6ff;
}
.content-wrapper-inner-page .related-channel-name {
  font-size: 12px;
  color: #aaaaaa;
  margin-bottom: 2px;
}
.content-wrapper-inner-page .related-video-stats {
  font-size: 12px;
  color: #aaaaaa;
  display: flex;
  align-items: center;
}
.content-wrapper-inner-page .main-related-video .related-info .video-description {
  padding: 0 !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-size: 13px !important;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.content-wrapper-inner-page .video-overlay {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.content-wrapper-inner-page .video-overlay .play-button {
  width: 50px;
  height: 50px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25px;
}

/* Dark theme */
.dark-theme {
  --background: #0f0f0f;
  --foreground: #f9fafb;
  --card: #1a1a1a;
  --card-foreground: #f9fafb;
  --border: #2a2a2a;
  --input: #2a2a2a;
  --primary: #f9fafb;
  --primary-foreground: #0f0f0f;
  --secondary: #27272a;
  --secondary-foreground: #f9fafb;
  --accent: #27272a;
  --accent-foreground: #f9fafb;
  --destructive: #7f1d1d;
  --destructive-foreground: #f9fafb;
  --muted: #27272a;
  --muted-foreground: #a1a1aa;
  --youtube-red: #ff0000;
  --youtube-gray: #aaaaaa;
  --youtube-lightGray: #272727;
  background-color: var(--background);
  color: var(--foreground);
}

.main-content-home {
  padding: 30px 16px 32px;
  width: 100%;
  /* Videos container styles */
  /* Video card styles */
}
.main-content-home .videos-container {
  padding: 16px 24px;
}
.main-content-home .videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px 15px;
}
@media (min-width: 640px) {
  .main-content-home .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .main-content-home .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .main-content-home .videos-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.main-content-home .video-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.main-content-home .thumbnail-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}
.main-content-home .thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.2s;
}
.main-content-home .thumbnail:hover {
  transform: scale(1.05);
}
.main-content-home .duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 12px;
  padding: 1px 4px;
  border-radius: 4px;
}
.main-content-home .video-info {
  display: flex;
  gap: 12px;
}
.main-content-home .channel-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}
.main-content-home .avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 14px;
}
.main-content-home .video-details {
  flex: 1;
}
.main-content-home .video-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.main-content-home .channel-name {
  font-size: 12px;
  color: var(--youtube-gray);
  margin-top: 4px;
}
.main-content-home .video-stats {
  font-size: 12px;
  color: var(--youtube-gray);
}

.main-content-search {
  padding: 30px 16px 32px;
  width: 100%;
  /* Videos container styles */
  /* Video card styles */
}
.main-content-search .videos-container {
  padding: 16px 24px;
}
.main-content-search .videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px 15px;
}
@media (min-width: 640px) {
  .main-content-search .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .main-content-search .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .main-content-search .videos-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.main-content-search .video-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.main-content-search .thumbnail-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 8px;
}
.main-content-search .thumbnail {
  width: 100%;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.2s;
}
.main-content-search .thumbnail:hover {
  transform: scale(1.05);
}
.main-content-search .duration {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 12px;
  padding: 1px 4px;
  border-radius: 4px;
}
.main-content-search .video-info {
  display: flex;
  gap: 12px;
}
.main-content-search .channel-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}
.main-content-search .avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  font-size: 14px;
}
.main-content-search .video-details {
  flex: 1;
}
.main-content-search .video-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}
.main-content-search .channel-name {
  font-size: 12px;
  color: var(--youtube-gray);
  margin-top: 4px;
}
.main-content-search .video-stats {
  font-size: 12px;
  color: var(--youtube-gray);
}

.content-wrapper-inner-page .video-info {
	background-color: #272727;
    padding: 15px;
    border-radius: 12px;
}
.content-wrapper-inner-page .video-info .video-description-text p {
	color:#bdbdbd;
}

.content-wrapper-inner-page .video-info::-webkit-scrollbar {
	display:none;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

    #subtitle-box-wrapper {
      max-height: 530px;
      overflow-y: auto;
      border: 0 solid #ddd;
      padding: 10px;
      font-size: 16px;
      line-height: 1.6;
      position: relative;
      margin-top: 20px;
	    padding-left: 0;
    margin-bottom: 10px;
    }
    #subtitle-box p {
      margin: 0 0 5px;
      border-radius: 4px;
		background: #313131;
    padding: 5px 10px;
    color: #e9e9e9;
    font-style: italic;
    font-size: 15px;
		text-align:right;
    }
    #subtitle-box-wrapper:hover {
      cursor: grab;
    }
    
.subtitle-section h3 {
	    background: #313131;
    padding: 10px;
    border-radius: 4px;
    margin-top: 30px;
}
    /* Toggle button styling */
    .show-subtitle-btn {
      background-color:#ff3131;
      color: white;
      border: none;
      padding: 10px 20px;
      border-radius: 4px;
      cursor: pointer;
      margin-bottom: 15px;
      font-size: 14px;
      transition: background-color 0.3s ease;
    }
    
    .show-subtitle-btn:hover {
      background-color: #c52525;
    }

iframe {
	position:relative !important;
}

.webcast-main-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.webcast-main-content {
  flex: 1 0 auto;
	padding-left:0;
	padding-right:0;
}

.webcast-main-footer {
  flex-shrink: 0;
	padding:10px;
}
/*# sourceMappingURL=main.css.map */