html {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
  }
body {
      margin: 0;
      padding: 20px;
      font-family: Arial, sans-serif;
      background: #f9f9f9;
    }

.header {
  background-color: #ffffff;
  height: 100px;
  border-bottom: 1px solid #AD1F25; 
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.header .btn-outline-light,
.header .btn-light {
  padding: 10px 16px;
  font-size: 0.95rem;
  border-radius: 8px;
  height: 42px;
  display: flex;
  align-items: center;
}

#search-app {
    position: relative;
  }

  #search-app input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #ccc;
    font-size: 14px;
  }

  #search-app ul {
    list-style: none;
     margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  #search-app li {
    padding: 0.5rem 0.75rem;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }

  #search-app li:hover {
    background-color: #f8f9fa;
  }

  #search-app span {
    display: block;
  }


  
	
.text-danger{
	color: rgb(173, 31, 38) !important;
}

/* Outline button (Login) */
.header .btn-outline-light {
  color: #AD1F25;
  border: 2px solid #AD1F25;
  background-color: transparent;
  transition: all 0.3s ease;
}
.header .btn-outline-light:hover {
  background-color: #AD1F25;
  color: white;
}

/* Filled button (Sign Up) */
.header .btn-light {
  background-color: #AD1F25;
  color: white;
  border: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}
.header .btn-light:hover {
  background-color: #880f18; /* darker red on hover */
}

/* Search Input Style */
.header input.form-control {
  height: 42px;
  border-radius: 8px;
  border: 1px solid #ccc;
  padding-left: 14px;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  transition: border-color 0.3s ease;
}
input.form-control:focus, select.form-select:focus, input.form-check-input:focus {
  border-color: #AD1F25;
  box-shadow: 0 0 0 2px rgba(173, 31, 37, 0.2);
}

/* Improve visibility of checkbox */
input.form-check-input {
  width: 18px;
  height: 18px;
  border: 2px solid #6c757d; /* Gray border */
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* On check */
input.form-check-input:checked {
  background-color: #AD1F25; /* Custom red */
  border-color: #AD1F25;
}

/* On hover */
input.form-check-input:hover {
  border-color: #AD1F25;
}

/* On focus */
input.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(173, 31, 37, 0.25);
  border-color: #AD1F25;
}


.sidebar {
  position: fixed;
  top: 100px; /* or 100px depending on your header */
  bottom: 0;
  left: 0;
  width: 240px;
  padding: 1rem 0.75rem;
  background-color: #ffffff;
  overflow-y: auto;
  border-right: 1px solid #dee2e6;
  z-index: 1040;
  scrollbar-width: thin; /* Firefox support */
  scrollbar-color: #AD1F25 #f1f1f1;
}

.sidebar .nav-link {
  display: flex;
  align-items: center;
  padding: 0.6rem 0.75rem;
  color: #000000;
  font-size: 15px;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.sidebar .nav-link i {
  font-size: 16px;
  color: #AD1F25;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background-color: #AD1F25;
  color: #ffffff;
}

.sidebar .nav-link:hover i,
.sidebar .nav-link.active i {
  color: #ffffff;
}

/* Scrollbar Styling for Webkit (Chrome, Edge, Safari) */
.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #AD1F25;
  border-radius: 4px;
  border: 2px solid #f1f1f1;
}


/* Base Offcanvas */
#sidebarOffcanvas {
  width: 250px;
  background-color: #ffffff;
  border-right: 1px solid #dee2e6;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

/* Offcanvas Header */
#sidebarOffcanvas .offcanvas-header {
  border-bottom: 1px solid #dee2e6;
  padding: 1rem;
}

/* Logo */
#sidebarOffcanvas .offcanvas-title img {
  height: 32px;
}

/* Search Bar */
#sidebarOffcanvas form input {
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

/* Navigation Links */
#sidebarOffcanvas .nav-link {
  padding: 0.5rem 0.75rem;
  color: #212529;
  font-size: 0.9rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
}

#sidebarOffcanvas .nav-link:hover {
  background-color: #f1f3f5;
  color: #AD1F25;
}

/* Icons */
#sidebarOffcanvas .nav-link i {
  font-size: 1.1rem;
  color: #6c757d;
  transition: color 0.2s ease;
}

#sidebarOffcanvas .nav-link:hover i {
  color: #AD1F25;
}

/* Divider Line */
#sidebarOffcanvas hr {
  margin: 1rem 0;
  border-color: #dee2e6;
}

/* Responsive Tweaks */
@media (max-width: 400px) {
  #sidebarOffcanvas {
    width: 220px;
  }

  #sidebarOffcanvas .nav-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
  }
}

.offcanvas-start {
  transition: transform 0.3s ease-in-out;
}



.content {
  margin-left: 240px;
  padding: 120px 20px 20px; /* top padding increased for fixed header space */
}
	
	
	
.category-bar {
  position: fixed !important;
  top: 100px;
  left: 240px; /* Adjust for sidebar */
  right: 0;
  background-color: #fff;
  border-bottom: 1px solid #dee2e6;
  z-index: 1100;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.category-bar .container-fluid {
  gap: 0.5rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  scroll-behavior: smooth;
}

#categoryScroll {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
  flex: 1 1 auto;
}

#categoryScroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.category-bar a.btn {
  border-radius: 20px;
  padding: 0.35rem 1rem;
  font-weight: 500;
  font-size: 0.85rem;
  transition: background-color 0.3s, color 0.3s;
}

.category-bar a.btn:hover {
  background-color: #AD1F25;
  color: #fff;
  border-color: #AD1F25;
}

.category-bar .btn-danger {
  background-color: #AD1F25;
  border: none;
}

.category-bar .btn-danger:hover {
  opacity: 0.9;
}



/* Card Styling */
.card {
  border-radius: 10px;
  overflow: hidden;
  background-color: white;
}

.card img {
  object-fit: cover;
}

.card-body {
  border-radius: 0 0 10px 10px;
}

.card-title {
  color: #AD1F25;
}

.border-danger{
border-color: #AD1F25;
}

/* Badge Styling */
.badge {
  font-size: 0.9rem;
  padding: 0.5rem;
  border-radius: 25px;
}

.badge.bg-danger {
  background-color: #AD1F25; /* Red background for LIVE badge */
  font-weight: bold;
  color: white;
}

.badge.bg-dark {
  font-size: 0.8rem;
  padding: 0.4rem;
  color: white;
  background-color: #343a40; /* Dark background for the view count */
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
}

/* Adjust Column Layout */
.row-cols-1 {
  margin-bottom: 20px;
}

@media (min-width: 576px) {
  .row-cols-sm-2 {
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .row-cols-md-3 {
    margin-bottom: 30px;
  }
}

@media (min-width: 992px) {
  .row-cols-lg-4 {
    margin-bottom: 30px;
  }
}


/* Scroll Buttons */
#scrollLeft, #scrollRight {
  border-radius: 50%;
  padding: 0.25rem 0.5rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  
  background-color: #fff;
  border: 2px solid #AD1F25;
  color: #AD1F25;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#scrollRight:hover,
#scrollLeft:hover {
  background-color: #AD1F25;
  color: #fff;
}

/* Footer */
.footer a {
font-size:14px;
  font-weight:bold;
}
.footer a:hover {
  color: #AD1F25 !important;
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-logo {
  height: 80px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* Model */
.modal-content {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.modal-header .btn-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
}


/* Remove border-left if needed and align height with input */
.toggle-password {
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0.375rem 0.75rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;

  --bs-btn-color: rgb(173, 31, 38);
  --bs-btn-border-color: #dee2e6;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: rgb(173, 31, 38);
  --bs-btn-hover-border-color: rgb(173, 31, 38);
  --bs-btn-focus-shadow-rgb: 108,117,125;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: rgb(173, 31, 38);
  --bs-btn-active-border-color: rgb(173, 31, 38);
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: rgb(173, 31, 38);
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: rgb(173, 31, 38);
  --bs-gradient: none;
}

/* Optional: Adjust icon size */
.toggle-password i {
  font-size: 1.1rem;
}

#passwordInput {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}







body {
      margin: 0;
      padding: 0;
      width: 100%;
      font-family: Arial, sans-serif;
      background: #f9f9f9;
    }
    .video-wrapper {
      width: 100vw;
      margin: 0;
      padding: 0;
    }

    
    .video-container {
      position: relative;
      width: 100%;
      padding-top: 56.25%; /* 16:9 ratio */
      background: #000;
      border-radius: 0;
      overflow: hidden;
    }

    
    video, iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border: none;
    }


    .loader {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 3;
    }
    .loader img {
      width: 50px;
    }
    .watermark {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 2;
      opacity: 0.7;
    }
    .watermark img {
      width: 80px;
    }
    .controls, .tags, .share-buttons, .embed-box {
      margin-top: 15px;
    }
    .controls {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      background: #fff;
      padding: 12px;
      border-radius: 10px;
      gap: 10px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    .controls button, .controls select {
      padding: 8px 12px;
      border: none;
      background: #AD1F25;
      color: #fff;
      border-radius: 6px;
      cursor: pointer;
    }
    .controls input[type=range] {
      flex: 1;
      max-width: 100%;
    }
    .volume-control {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .volume-control input {
      width: 80px;
    }
    .tags span {
      background: #a71d23;
      padding: 6px 10px;
      border-radius: 6px;
      font-size: 14px;
      margin-right: 10px;
      color: white;
    }
    
    .tags span:last-child {
      margin-right: 0;
    }
    .share-buttons button {
      background: #333;
      color: #fff;
      padding: 8px 14px;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }
    .embed-box {
      background: #fff;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      position: relative;
      font-family: monospace;
    }
    .embed-box code {
      display: block;
      white-space: nowrap;
      overflow-x: auto;
    }
    .embed-box button {
      position: absolute;
      top: 8px;
      right: 8px;
      background: #AD1F25;
      color: #fff;
      border: none;
      padding: 4px 8px;
      border-radius: 4px;
      font-size: 12px;
    }
    
    @media (max-width: 600px) {
      .controls {
        flex-direction: column;
        align-items: stretch;
      }
      .volume-control input {
        width: 100%;
      }
    }
    
/* Modal max width for large screens */
@media (min-width: 768px) {
  .modal-lg {
    max-width: 600px;
  }
}
/* Responsive Adjustments */
@media (max-width: 768px) {
  .category-bar {
    left: 0;
    top: 100px;
  }

  .content {
    margin-left: 0;
    padding-top: 110px;
  }
}
  @media (max-width: 768px) {
    #search-app {
      /*display: block !important;*/
      width: 100% !important;
      margin: 0 auto;
    }
    #search-app input {
        font-size: 16px;
      }
  }
  /* Mobile (smaller than 768px) par bilkul hide */
    @media (max-width: 767.98px) {
      #search-app {
        display: none !important;
      }
    }
    .tags {
      display: flex;
      flex-wrap: wrap;   /* allow wrapping */
      gap: 6px;          /* spacing between items */
    }
    
    .tags > div:first-child {
      flex: 1 1 auto;    /* tags area flexible */
      min-width: 200px;  /* optional: minimum space for tags */
    }
    
    .tags > div:last-child {
      flex-shrink: 0;    /* views/date ko shrink na hone do */
      text-align: right;
    }

@media (max-width: 576px) {
  .category-bar {
    top: 100px;
  }

  .content {
    padding-top: 120px;
  }
  .tags {
    flex-direction: column;
    align-items: flex-start;
  }
  .tags > div {
    margin-bottom: 5px;
  }

}