:root {
  --primary-color: #5DB1FA;
  --text-color: #333;
  --light-text: #fff;
  --muted-text: #6c757d;
  --background-color: #f8f9fa;
  --border-radius: 8px;
  --reel-width: 400px; /* Base width for the reel */
  --action-blue: #2687DB; /* Blue color for action icons */
}
.coach-rating-display {
  display: inline-flex;
  align-items: center;
  margin-left: 5px;
  font-size: 0.8rem;
  color: #2787db !important;
}
.coach-rating-display .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
  margin-right: 2px;
  color: #2787db;
}
/* Review card styles */
.card.mb-3 {
  border-radius: 34px;
  background-color: #f7f7f7;
  border: none;
}
.card-body {
  border-radius: 30px !important;
}
.text-warning {
  --bs-text-opacity: 1;
  color: rgb(39 135 219) !important;
}
p.card-text {
  color: inherit;
}
.review-card {
  background-color: #F7F7F7;
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: none;
  border: none;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}
.review-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.review-author {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}
.review-rating {
  font-size: 0.85rem;
  color: #2687DB;
}
.review-content {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}
.review-date {
  margin-bottom: 0;
  font-size: 0.8rem;
  color: #6c757d;
}
/* Pending review card styles */
.pending-review-card {
  background-color: #F7F7F7;
  border-radius: 24px;
  border: none !important;
  box-shadow: none;
  padding: 0;
  transition: all 0.3s ease;
}
.pending-review-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.pending-review-card .card-header {
  background-color: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.25rem 0.5rem 1.25rem;
  border-radius: 24px 24px 0 0;
}
#no-reels-view-message {
  postision: absolute;
}
.pending-review-card .card-body {
  padding: 0.5rem 1.25rem 1.25rem 1.25rem;
  border-radius: 0 0 24px 24px;
}
.pending-review-card .rating {
  font-size: 0.85rem;
  color: #2687DB;
}
.badge.bg-warning {
  font-size: 0.7rem;
  padding: 0.35em 0.65em;
  background-color: #fff3cd !important;
  border: 1px solid #ffeeba;
}
.approve-review-btn, .delete-review-btn {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
}
.approve-review-btn {
  background-color: #28a745;
  border-color: #28a745;
}
.approve-review-btn:hover {
  background-color: #218838;
  border-color: #1e7e34;
}
.delete-review-btn {
  color: #dc3545;
  border-color: #dc3545;
}
.delete-review-btn:hover {
  color: #fff;
  background-color: #dc3545;
  border-color: #dc3545;
}
/* Reels container structure */
.reels-fullscreen-container {
  position: relative;
  height: 800px; /* Fixed height instead of taking full parent height */
  max-height: 80vh; /* Adjusted height for better viewing */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* To stack slider and empty message */
}
.reels-slider-container {
  position: relative;
  height: 100%;
  width: var(--reel-width);
  max-width: 100%;
  margin: auto;
  overflow: hidden;
  border-radius: 16px;
  background-color: #f7f7f7f7;
}
#reels-slider {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}
.reel-slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reel-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background-color: black;
}
.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Gradient overlays for better text readability */
.reel-overlay-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.reel-overlay-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
/* Coach profile at the top left */
.coach-profile-top {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 5;
}
.coach-profile-top .coach-profile-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}
.coach-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  flex-shrink: 0;
  border: 2px solid white;
}
.coach-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.coach-info-text {
  display: flex;
  flex-direction: column;
}
.coach-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
/* Content at the bottom of video */
.reel-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  z-index: 5;
  color: white;
}
/* Action icons styling */
.reel-actions {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 25px; /* Increased gap */
  z-index: 10;
}
.reel-action-btn {
  background: rgba(38, 135, 219, 0.8);
  border: 1px solid transparent;
  border-radius: 50%;
  color: white;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
  position: relative; /* For count positioning */
}
.reel-action-btn:hover {
  background: rgba(38, 135, 219, 1);
}
.reel-action-btn.active {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--action-blue);
}
.reel-action-btn .like-count, .reel-action-btn .save-count {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.85rem;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.reel-title {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-weight: 500;
  color: white;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.reel-description {
  font-size: 0.85rem;
  color: #e0e0e0;
  margin-bottom: 0.3rem;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.reels-navigation {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: calc(var(--reel-width) + 80px);
  display: flex;
  justify-content: space-between;
  z-index: 20;
  pointer-events: none;
  padding: 0 20px;
  box-sizing: border-box;
}
.reels-navigation button {
  pointer-events: all;
  background-color: rgba(38, 135, 219, 0.8);
  border: 1px solid transparent;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}
.reels-navigation button:hover {
  background-color: rgb(38, 135, 219);
}
.reels-navigation button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.reels-navigation button i {
  font-size: 1.2rem;
}
/* General styles */
.profile-image-container {
  position: relative;
  margin-bottom: 2rem;
  overflow: hidden;
  border-radius: 24px;
  height: 800px;
  min-height: 500px;
}

.accordion-button:not(.collapsed) {
  width: 100%;
  object-fit: cover;
}
.btn-primary {
  background-color: #5DB1FA;
  border-color: #5DB1FA;
  border-radius: 50px;
}
.btn-primary:hover {
  background-color: #4a9fe6;
  border-color: #4a9fe6;
}
.about-section {
  background-color: #f8f9fa;
  border-radius: 24px !important;
}
.form-control {
  border-radius: 8px;
  padding: 12px 15px;
}
.form-control::placeholder {
  color: #adb5bd;
}
.btn-custom {
  background-color: #2687DB;
  border-color: #2687DB;
  color: white;
}
.btn-custom:hover {
  background-color: #1c6abf;
  border-color: #1c6abf;
}
.review-summary {
  font-size: 0.9rem;
}
.custom-tabs {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #2687DB;
  padding: 0;
  margin: 0;
}
.custom-tabs .nav-item {
  flex: 1;
  text-align: center;
}
.custom-tabs .nav-link {
  color: #C9C9C9;
  border: none;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  border-radius: 0;
  margin: 0;
}
.custom-tabs .nav-link:hover, .custom-tabs .nav-link.active {
  color: white !important;
  background-color: #2687DB !important;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
/* Rating stars styling */
.rating-container {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.rating-label {
  margin-right: 10px;
  color: #495057;
  font-size: 0.9rem;
}
.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}
.rating input {
  display: none;
}
.rating label {
  cursor: pointer;
  font-size: 1.5rem;
  color: #ddd;
  margin-right: 5px;
}
.rating input:checked ~ label, .rating label:hover, .rating input:checked + label:hover, .rating input:checked ~ label:hover {
  color: #ffc107;
}
/* Product Grid Styling */
.product-grid-container {
  margin-bottom: 2rem;
}
h5.card-title {
  font-size: .9rem;
  font-weight: 500 !important;
  margin-bottom: 0;
}
.product-card {
  height: 100%;
  transition: transform 0.3s;
  border: none !important;
}
span.badge.bg-primary.price-badge {
  background-color: #2687DB !important;
  padding: 8px;
}
.card-img-wrapper {
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
  border-top-right-radius: 24px;
  border-top-left-radius: 24px;
}
.card-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  background-color: #F7F7F7 !important;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}
span.badge.bg-primary.coahing-cat {
  padding: 8px 12px;
  font-size: 0.7rem;
  font-weight: 400;
}
.coach-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
}
.hidden-products {
  display: none;
}
.mehr-anzeigen-container {
  position: relative;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mehr-anzeigen-container:before, .mehr-anzeigen-container:after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: #e0e0e0;
  margin: 0 20px;
}
.mehr-anzeigen-link {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: #2687DB;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.mehr-anzeigen-link:hover {
  color: #1a6cb8;
}
.mehr-anzeigen-link .dashicons {
  vertical-align: middle;
  font-size: 16px;
  width: 16px;
  height: 16px;
  margin-left: 5px;
  color: #2687DB;
}
.product-info {
  display: flex;
  align-items: flex-start;
  margin: 20px 0;
}
.product-details {
  flex-grow: 1;
  padding-left: 15px;
}
.bg-primary {
  --bs-bg-opacity: 1;
  background-color: rgb(80 158 226) !important;
}
.badge {
  font-weight: 400 !important;
}
/* More dates indicator styles */
.more-dates-indicator {
  font-size: 10px;
  color: #2687DB;
  background-color: rgba(38, 135, 219, 0.1);
  border-radius: 12px;
  padding: 2px 6px;
  margin-left: 5px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Responsive adjustments */
@media (max-width: 991px) {
 	#content > div{
		padding-top:30px !important;
	}
}
@media (max-width: 767.98px) {
  .profile-image-container {
    height: auto !important;
    min-height: fit-content !important;
	  margin-bottom:0px;
  }
  :root {
    --reel-width: 100%; /* Full width on mobile */
  }
  .reels-fullscreen-container {
    height: 70vh;
  }
  .reels-navigation {
    max-width: calc(var(--reel-width) + 40px);
    padding: 0 10px;
  }
  .reel-title {
    font-size: 1rem;
  }
  .reel-info {
    padding: 10px;
  }
  .coach-profile-top {
    top: 10px;
    left: 10px;
  }
  .reel-actions {
    gap: 10px;
    right: 10px;
  }
}
/* Accordion styling for FAQs */
.accordion-button:not(.collapsed) {
  color: #000000;
  background-color: #ecedee;
}
button.accordion-button.collapsed:hover {
  color: #ffffff;
  background-color: #2787db;
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(38, 135, 219, 0.25);
}
.accordion-item {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid rgba(0, 0, 0, .125);
}
.accordion-button {
  padding: 15px;
  font-weight: 500;
}
.accordion-body {
  padding: 15px;
  background-color: transparent;
}
/* Livestream grid: show 2 cards from 1750px down (keeps 3 above 1750, 1 on mobile as-is) */
@media (max-width: 1750px) and (min-width: 992px) {
  #livestreams .product-grid-row.row-cols-lg-3 > * {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
/* Fix tablet-landscape horizontal overflow on Coach Profile Editor → Livestreams */
@media (min-width: 768px) and (max-width: 1200px) {
  .more-dates-indicator {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  .coach-card {
    flex: 0 0 calc(40% - 0.8rem) !important;
  }
}