/* News Detail Page Styles */
/* Using consistent font-family across the site */

.news-detail-container {
  font-family: "Hind Vadodara", sans-serif;
  background-color: #f5f5f5;
  min-height: 100vh;
}

.breadcrumb-container {
  background-color: #fff;
  padding: 8px 15px;
  font-size: 13px;
  border-bottom: 1px solid #ddd;
  font-family: "Hind Vadodara", sans-serif;
}

.breadcrumb-link {
  color: #337ab7;
  text-decoration: none;
  font-family: "Hind Vadodara", sans-serif;
}

.breadcrumb-link:hover {
  color: #23527c;
  text-decoration: underline;
}

.news-detail-content {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  font-family: "Hind Vadodara", sans-serif;
}

.news-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  line-height: 1.3;
  margin-bottom: 15px;
  font-family: "Hind Vadodara", sans-serif;
}

.news-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
  font-family: "Hind Vadodara", sans-serif;
}

.last-update-blog {
  font-size: 12px;
  font-family: "Hind Vadodara", sans-serif;
}

.share-section {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Hind Vadodara", sans-serif;
}

.social-share-icons {
  display: flex;
  gap: 5px;
}

.social-share-icons img {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.social-share-icons img:hover {
  opacity: 0.7;
}

.news-media-section {
  margin-bottom: 20px;
  text-align: center;
}

.news-video {
  max-width: 800px;
  width: auto;
  max-height: 400px;
  height: auto;
  border-radius: 5px;
}

.news-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.news-source {
  margin-bottom: 15px;
  font-size: 14px;
  color: #333;
  font-weight: bold;
  font-family: "Hind Vadodara", sans-serif;
}

.news-content {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 25px;
  font-family: "Hind Vadodara", sans-serif;
}

.news-content p {
  margin-bottom: 15px;
  font-family: "Hind Vadodara", sans-serif;
}

.news-content h1,
.news-content h2,
.news-content h3,
.news-content h4,
.news-content h5,
.news-content h6 {
  font-family: "Hind Vadodara", sans-serif;
  margin-bottom: 10px;
  margin-top: 20px;
}

.news-tags-section {
  margin-bottom: 25px;
  font-family: "Hind Vadodara", sans-serif;
}

.news-tags-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  font-family: "Hind Vadodara", sans-serif;
}

.news-tag {
  display: inline-block;
  background-color: #f8f9fa;
  color: #495057;
  padding: 4px 8px;
  margin: 2px 4px 2px 0;
  border-radius: 3px;
  font-size: 12px;
  text-decoration: none;
  font-family: "Hind Vadodara", sans-serif;
  transition: background-color 0.3s ease;
}

.news-tag:hover {
  background-color: #e9ecef;
  color: #495057;
  text-decoration: none;
}

.related-news-section {
  margin-top: 30px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 5px;
  font-family: "Hind Vadodara", sans-serif;
}

.related-news-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  font-family: "Hind Vadodara", sans-serif;
}

.related-news-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding: 10px;
  background-color: #fff;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.3s ease;
}

.related-news-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #333;
  text-decoration: none;
}

.related-news-image {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.related-news-content {
  flex: 1;
}

.related-news-item-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 0;
  line-height: 1.4;
  font-family: "Hind Vadodara", sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
  .news-title {
    font-size: 24px;
  }
  
  .news-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .news-content {
    font-size: 15px;
  }
  
  .related-news-item {
    flex-direction: column;
    text-align: center;
  }
  
  .related-news-image {
    width: 100%;
    height: 150px;
  }
}

/* Font consistency for all elements */
* {
  font-family: "Hind Vadodara", sans-serif;
}

/* Override for English content */
.english-font {
  font-family: "Poppins", sans-serif;
}

/* Gujarati font class */
.custom-gujrati-font {
  font-family: "Hind Vadodara", sans-serif;
}

/* Ensure consistent font in embedded content */
.news-content iframe,
.news-content blockquote,
.news-content embed {
  font-family: "Hind Vadodara", sans-serif;
}

/* GSTV Video Detail Page Styles - Centered Design with Side Icons */

/* Page Wrapper - Light Gray Background */
.gstv-video-page-wrapper {
  background-color: #f5f5f5;
  min-height: 100vh;
  font-family: "Hind Vadodara", sans-serif;
  padding: 20px 0;
}

/* Video Section Container */
.gstv-video-section {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  padding: 0 15px;
}

/* Centered Video Container */
.gstv-video-container-centered {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  background-color: #000;
  border-radius: 8px;
  overflow: hidden;
}

/* Video Player Box */
.gstv-video-player-box {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%; /* 9:16 aspect ratio for vertical videos */
  background-color: #000;
}

/* Video Player */
.gstv-video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
}

/* Video Error Message */
.gstv-video-error {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 40px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-family: "Hind Vadodara", sans-serif;
}

/* Side Action Buttons - Right Side of Video */
.gstv-side-actions {
  position: absolute;
  right: 10px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

/* Action Item */
.gstv-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

/* Action Button */
.gstv-action-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
}

.gstv-action-btn:hover {
  color: #870e00;
  transform: scale(1.1);
}

.gstv-action-btn i {
  font-size: 24px;
}

/* Action Count */
.gstv-action-count {
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

/* Video Navigation Arrows - Right Side */
.gstv-video-navigation {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
}

/* Navigation Button */
.gstv-nav-btn {
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.gstv-nav-btn:hover {
  background: rgba(135, 14, 0, 0.8);
  border-color: #870e00;
  transform: scale(1.1);
}

.gstv-nav-btn i {
  font-size: 18px;
}

/* Video Info Section - Below Video */
.gstv-video-info-section {
  max-width: 640px;
  margin: 20px auto 0 auto;
  padding: 0 15px;
}

/* Video Source */
.gstv-video-source {
  font-size: 14px;
  color: #666;
  font-weight: normal;
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
}

/* Video Title */
.gstv-video-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  margin: 0;
  font-family: "Hind Vadodara", sans-serif;
}

.gstv-video-title:hover {
  color: #870e00;
}

/* Related Videos Wrapper */
.gstv-related-videos-wrapper {
  background-color: #f5f5f5;
}

.gstv-sidebar-widget {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.gstv-sidebar-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  font-family: "Hind Vadodara", sans-serif;
  border-bottom: 2px solid #850E00;
  padding-bottom: 10px;
}

.gstv-sidebar-video {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}

.gstv-sidebar-video:hover {
  text-decoration: none;
  color: inherit;
}

.gstv-sidebar-thumbnail {
  position: relative;
  min-width: 80px;
}

.gstv-sidebar-thumbnail img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.gstv-sidebar-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 20px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.gstv-sidebar-video-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 0;
  line-height: 1.4;
  font-family: "Hind Vadodara", sans-serif;
}

.gstv-ad-space {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  text-align: center;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  border: 1px solid #eee;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gstv-content-wrapper {
    flex-direction: column;
  }

  .gstv-right-sidebar {
    min-width: auto;
  }

  .gstv-video-title {
    font-size: 20px;
  }

  .gstv-main-container {
    padding: 10px;
  }

  .gstv-left-content {
    padding: 15px;
  }
}

.video-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
}

.video-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  line-height: 1.3;
  margin-bottom: 15px;
  font-family: "Hind Vadodara", sans-serif;
}

.video-meta-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
  font-family: "Hind Vadodara", sans-serif;
}

.video-player-container {
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.video-player {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  background-color: #000;
}

.video-source {
  margin-bottom: 15px;
  font-size: 14px;
  color: #333;
  font-weight: bold;
  font-family: "Hind Vadodara", sans-serif;
}

.video-description {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 25px;
  font-family: "Hind Vadodara", sans-serif;
}

.video-tags-section {
  margin-bottom: 25px;
  font-family: "Hind Vadodara", sans-serif;
}

.video-tags-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
  font-family: "Hind Vadodara", sans-serif;
}

.video-tag {
  display: inline-block;
  background-color: #f8f9fa;
  color: #495057;
  padding: 4px 8px;
  margin: 2px 4px 2px 0;
  border-radius: 3px;
  font-size: 12px;
  text-decoration: none;
  font-family: "Hind Vadodara", sans-serif;
  transition: background-color 0.3s ease;
}

.video-tag:hover {
  background-color: #e9ecef;
  color: #495057;
  text-decoration: none;
}

.related-videos-section {
  margin-top: 30px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 5px;
  font-family: "Hind Vadodara", sans-serif;
}

.related-videos-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  font-family: "Hind Vadodara", sans-serif;
  text-align: center;
}

.related-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.related-video-item {
  text-decoration: none;
  color: inherit;
}

.related-video-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.related-video-thumbnail {
  position: relative;
}

.related-video-thumbnail img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.related-video-title {
  padding: 10px;
  font-size: 14px;
  font-weight: bold;
  font-family: "Hind Vadodara", sans-serif;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 40px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}

.related-video-card:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.2);
}

.social-share-icons img {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.social-share-icons img:hover {
  opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .video-title {
    font-size: 24px;
  }
  
  .video-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .video-description {
    font-size: 15px;
  }
  
  .related-videos-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 480px) {
  .related-videos-grid {
    grid-template-columns: 1fr;
  }

  .video-player-container {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
    border-radius: 0;
  }

  .video-player {
    border-radius: 0;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .gstv-video-page-wrapper {
    padding: 10px 0;
  }

  .gstv-video-section {
    margin-bottom: 30px;
  }

  .gstv-video-container-centered {
    max-width: 100%;
    border-radius: 0;
  }

  .gstv-side-actions {
    right: 8px;
    bottom: 60px;
    gap: 15px;
  }

  .gstv-action-btn {
    font-size: 22px;
    width: 36px;
    height: 36px;
  }

  .gstv-action-btn i {
    font-size: 22px;
  }

  .gstv-action-count {
    font-size: 11px;
  }

  .gstv-video-navigation {
    right: 8px;
  }

  .gstv-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .gstv-nav-btn i {
    font-size: 16px;
  }

  .gstv-video-source {
    font-size: 13px;
  }

  .gstv-video-title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .gstv-video-page-wrapper {
    padding: 0;
  }

  .gstv-video-section {
    margin-bottom: 20px;
    padding: 0;
  }

  .gstv-side-actions {
    right: 5px;
    bottom: 50px;
    gap: 12px;
  }

  .gstv-action-btn {
    font-size: 20px;
    width: 32px;
    height: 32px;
  }

  .gstv-action-btn i {
    font-size: 20px;
  }

  .gstv-action-count {
    font-size: 10px;
  }

  .gstv-video-navigation {
    right: 5px;
  }

  .gstv-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .gstv-nav-btn i {
    font-size: 14px;
  }

  .gstv-video-info-section {
    padding: 0 10px;
  }

  .gstv-video-source {
    font-size: 12px;
  }

  .gstv-video-title {
    font-size: 15px;
  }
}

/* GSTV શતરંગ Layout Styles - Exact Match */

.gstv-shatrang-layout {
  font-family: "Hind Vadodara", sans-serif;
  background-color: #fff;
  min-height: 100vh;
  padding: 0;
}

.gstv-shatrang-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.gstv-shatrang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.gstv-author-card {
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: center;
}

.author-card {
  background-color: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  padding: 10px;
}

.gstv-author-card:hover .author-card {
  transform: scale(1.05);
}

.author-image-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background-color: #f0f0f0;
  border: 3px solid #ddd;
}

.author-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gstv-author-card:hover .author-image-container img {
  transform: scale(1.1);
}

.author-info {
  padding: 0;
  text-align: center;
  background-color: transparent;
}

.author-info h4 {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 0;
  line-height: 1.3;
  font-family: "Hind Vadodara", sans-serif;
  transition: color 0.3s ease;
  word-wrap: break-word;
  max-width: 150px;
  margin: 0 auto;
}

.gstv-author-card:hover .author-info h4 {
  color: #850E00;
}

.load-more-section {
  text-align: center;
  padding: 40px 0;
}

.load-more-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: normal;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: Arial, sans-serif;
}

.load-more-btn:hover {
  background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .gstv-shatrang-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 25px;
  }

  .author-image-container {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .gstv-shatrang-container {
    padding: 15px;
  }

  .gstv-shatrang-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
  }

  .author-image-container {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
  }

  .author-info h4 {
    font-size: 12px;
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .gstv-shatrang-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .author-image-container {
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
  }

  .author-info h4 {
    font-size: 11px;
    max-width: 100px;
  }

  .load-more-section {
    padding: 30px 0;
  }
}

/* Focus states for accessibility */
.gstv-author-card:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

.load-more-btn:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Category Header with Official Select2 Dropdown */



.category-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.category-title-section {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

/* Right side dropdown container */
.category-dropdown-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.category-main-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  color: white;
  font-family: "Hind Vadodara", sans-serif;
}

/* Custom Select2 Styling with Original Colors */
.category-header-with-dropdown .select2-container.category-select2-custom {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  position: relative;
  vertical-align: middle;
  min-width: 200px;
  width: auto !important;
}

.category-header-with-dropdown .category-select2-custom .select2-selection--single {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  height: 32px;
  user-select: none;
  -webkit-user-select: none;
  background-color: #f2e0cf;
  border: 1px solid #f1c2c2;
  border-radius: 16px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.category-header-with-dropdown .category-select2-custom .select2-selection--single:hover {
  border-color: #e0c4a8;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.category-header-with-dropdown .category-select2-custom .select2-selection__rendered {
  display: block;
  padding-left: 16px;
  padding-right: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #000;
  line-height: 32px;
  font-family: "Hind Vadodara", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.category-header-with-dropdown .category-select2-custom .select2-selection__arrow {
  height: 30px;
  position: absolute;
  top: 1px;
  right: 9px;
  width: 20px;
}

.category-header-with-dropdown .category-select2-custom .select2-selection__arrow b {
  border-color: #000 transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  width: 0;
}

.category-header-with-dropdown .category-select2-custom.select2-container--open .select2-selection__arrow b {
  border-color: transparent transparent #000 transparent;
  border-width: 0 4px 5px 4px;
}

.category-header-with-dropdown .category-select2-custom .select2-dropdown {
  background-color: white;
  border: 1px solid #f1c2c2;
  border-radius: 0 0 16px 16px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 1051;
  top: 100%;
  margin-top: -2px;
  box-shadow: 0px 4px 8px rgba(149, 124, 124, 0.3);
  overflow: hidden;
  animation: dropdownSlideDown 0.2s ease-out;
}

/* Search Input Styling */
.category-header-with-dropdown .category-select2-custom .select2-search--dropdown {
  display: block;
  padding: 8px;
  border-bottom: 1px solid #f1c2c2;
  background: #fafafa;
}

.category-header-with-dropdown .category-select2-custom .select2-search__field {
  padding: 8px 12px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #f1c2c2;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Hind Vadodara", sans-serif;
  outline: none;
  background: white;
}

.category-header-with-dropdown .category-select2-custom .select2-search__field:focus {
  border-color: #850E00;
  box-shadow: 0 0 0 2px rgba(133, 14, 0, 0.2);
}

.category-header-with-dropdown .category-select2-custom .select2-results {
  display: block;
}

.category-header-with-dropdown .category-select2-custom .select2-results__options {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 250px;
  overflow-y: auto;
}

.category-header-with-dropdown .category-select2-custom .select2-results__option {
  padding: 7px 10px;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  font-family: "Hind Vadodara", sans-serif;
  font-size: 16px;
  color: #000;
  border-bottom: 1px solid #f5f5f5;
  transition: background-color 0.2s ease;
}

.category-header-with-dropdown .category-select2-custom .select2-results__option:last-child {
  border-bottom: none;
}

.category-header-with-dropdown .category-select2-custom .select2-results__option--selected {
  background-color: #850E00;
  color: white;
}

.category-header-with-dropdown .category-select2-custom .select2-results__option--highlighted.select2-results__option--selectable,
.category-header-with-dropdown .category-select2-custom .select2-results__option:hover {
  background-color: #f2dfce !important;
  color: #000 !important;
}

.category-header-with-dropdown .category-select2-custom .select2-results__option--selected:hover {
  background-color: #6a0b00;
  color: white;
}

.category-header-with-dropdown .category-select2-custom .select2-results__option--disabled {
  color: #999;
  cursor: default;
  background-color: #f8f8f8;
}

/* Loading State */
.category-header-with-dropdown .select2-loading {
  padding: 12px;
  text-align: center;
  color: #666;
  font-family: "Hind Vadodara", sans-serif;
  font-size: 14px;
}

/* Animation for dropdown */
@keyframes dropdownSlideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Scrollbar for dropdown */
.category-header-with-dropdown .category-select2-custom .select2-results__options::-webkit-scrollbar {
  width: 6px;
}

.category-header-with-dropdown .category-select2-custom .select2-results__options::-webkit-scrollbar-track {
  background: #f8f8f8;
  border-radius: 3px;
}

.category-header-with-dropdown .category-select2-custom .select2-results__options::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.category-header-with-dropdown .category-select2-custom .select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Focus states for accessibility */
.category-header-with-dropdown .category-select2-custom .select2-selection--single:focus {
  outline: none;
  border-color: #850E00;
  box-shadow: 0 0 0 2px rgba(133, 14, 0, 0.2);
}

.category-header-with-dropdown .category-select2-custom .select2-results__option:focus {
  outline: none;
  background-color: #f2dfce;
  color: #000;
}

/* View All Button */
.category-view-all {
  color: white;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
  font-family: "Hind Vadodara", sans-serif;
}

.category-view-all:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .category-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .category-title-section {
    width: 100%;
  }

  .category-dropdown-right {
    width: auto;
    margin-left: 0;
    text-align: left;
  }

  .category-header-with-dropdown .category-select2-custom {
    width: 100% !important;
    min-width: auto;
  }

  .category-main-title {
    font-size: 20px;
  }

  .category-header-with-dropdown .category-select2-custom .select2-selection__rendered {
    font-size: 14px;
  }

  .category-header-with-dropdown .category-select2-custom .select2-results__option {
    padding: 8px 12px;
    font-size: 14px;
  }

  .category-header-with-dropdown .category-select2-custom .select2-search__field {
    font-size: 14px;
    padding: 6px 10px;
  }
}

@media (max-width: 480px) {
  .category-header-with-dropdown {
    padding: 5px;
    margin-bottom: 0px;
  }

  .category-main-title {
    font-size: 18px;
  }

  .category-header-with-dropdown .category-select2-custom .select2-selection--single {
    height: 36px;
  }

  .category-header-with-dropdown .category-select2-custom .select2-selection__rendered {
    line-height: 36px;
    font-size: 14px;
    padding-left: 12px;
    padding-right: 18px;
  }

  .category-header-with-dropdown .category-select2-custom .select2-selection__arrow {
    width: 18px;
    right: 6px;
  }

  .category-header-with-dropdown .category-select2-custom .select2-results__option {
    padding: 8px 12px;
    font-size: 14px;
  }

  .category-header-with-dropdown .category-select2-custom .select2-search__field {
    font-size: 13px;
    padding: 6px 8px;
  }

  .category-header-with-dropdown .select2-loading {
    padding: 10px;
    font-size: 13px;
  }
}

/* Animation for dropdown */
@keyframes dropdownSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-dropdown-menu {
  animation: dropdownSlideDown 0.2s ease-out;
}

/* Focus states for accessibility */
.category-dropdown-trigger:focus {
  outline: none;
  border-color: #850E00;
  box-shadow: 0 0 0 2px rgba(133, 14, 0, 0.2);
}

.dropdown-item:focus {
  outline: none;
  background-color: #f0f0f0;
}

.dropdown-item.selected:focus {
  background-color: #6a0b00;
}

