/* Bouqette section structure */
.bouqette-section {
  display: block;
  width: 100%;
}

.bouqette-section h2,
.bouqette-section p {
  margin-bottom: 5px !important;
}

/* Form group design */
.bouqette-section .form-group {
  position: relative; /* Needed for dropdown arrow */
  display: flex;
  flex-direction: column;
  margin-bottom: 0px;
  width: 100%;
}

/* Demo container */
.bouqette-section .demo-container {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.bouqette-section .demo-container h3 {
  font-size: 14px;
  font-weight: normal;
  margin: 2px 0;
}

.bouqette-section .demo-container p {
  font-size: 12px;
  color: #ced7e2;
  margin: 2px 0;
}

/* Enhanced Dropdown styling */
.bouqette-section .dropdown {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  background-color: white;
  border: 1px solid #485769;
  border-radius: 8px;
  color: #485769;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgMTAgNiI+PHBhdGggZD0iTTEgMWw0IDRsNCA0IiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMiIgZmlsbD0ibm9uZSIgLz48L3N2Zz4=");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover and focus states for the dropdown */
.bouqette-section .dropdown:hover,
.bouqette-section .dropdown:focus {
  border-color: #227c9d; /* Highlight the border on hover/focus */
  box-shadow: 0 4px 8px rgba(34, 124, 157, 0.2);
  outline: none;
  background-color: #f5f8fa; /* Slight background color change on hover */
}

/* Dropdown label styling */
.bouqette-section label {
  font-size: 14px;
  color: #485769;
  margin-bottom: 10px;
  display: block;
}

/* Dropdown options styling */
.bouqette-section select option {
  font-size: 16px;
  padding: 10px;
  color: #485769;
}

/* Dropdown icon enhancement */
.bouqette-section .dropdown:after {
  content: "\25BC"; /* Down arrow symbol */
  font-size: 12px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Selector container */
.bouqette-section .selector {
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  display: flex;
}

/* Label selection styling with improved design */
.bouqette-section .selection {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 25%;
  padding: 4px 12px;
  background: white;
  border: 1px solid #485769;
  color: black;
  font-size: 12px;
  transition: all 0.3s ease-in-out;
  margin-bottom: 5px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Selected state with the correct #227c9d color */
.bouqette-section .selection.selected {
  background: #227c9d;
  border-color: #1a5f74;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(34, 124, 157, 0.4);
  transform: scale(1.05);
}

/* Hover effect with the correct #227c9d color */
.bouqette-section .selection:hover {
  background: #227c9d;
  color: white;
  box-shadow: 0 4px 6px rgba(34, 124, 157, 0.3);
}

/* Lock cursor to default after selection */
.bouqette-section .selection.selected {
  cursor: default;
}

/* First and last children adjustments */
.bouqette-section .selection:first-child {
  margin-left: 0;
  border-radius: 5px;
}

.bouqette-section .selection:last-child {
  border-radius: 5px;
}

/* Adjustments for width-per-item */
.bouqette-section .selector.width-per-item {
  width: auto;
}

.bouqette-section .selector.width-per-item .selection {
  min-width: 110px;
  max-width: 110px;
  border-radius: 5px;
}

/* Sci-fi theme specific styles */
.bouqette-section .sci-fi .selector .selection {
  transition: all 0.2s ease-in-out;
}

.bouqette-section .sci-fi .selector .selection:hover {
  box-shadow: 0 0 10px 0px rgba(91, 150, 213, 0.2);
}

.bouqette-section .sci-fi .selector .selection.red:hover {
  background: rgba(194, 50, 50, 0.15);
  box-shadow: 0 0 10px 0px rgba(194, 50, 50, 0.2);
  color: #e57373;
}

.bouqette-section .sci-fi .selector .selection.red.selected {
  background: rgba(194, 50, 50, 0.2) !important;
  border-color: #c23232 !important;
}

.bouqette-section .sci-fi .selector .selection.yellow:hover {
  background: rgba(224, 187, 56, 0.15);
  box-shadow: 0 0 10px 0px rgba(224, 187, 56, 0.2);
  color: #f0d479;
}

.bouqette-section .sci-fi .selector .selection.yellow.selected {
  background: rgba(224, 187, 56, 0.2) !important;
  border-color: #e0bb38 !important;
}

/* Hidden elements */
.bouqette-section .d-none {
  display: none;
}

/* Additional styles */
dd.variation-Bouquet p,
dd.variation-adult p {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: inherit;
  border: inherit;
  font-weight: bold;
}

/* Custom renew button */
a.custom_renew_button {
  margin-top: 10px !important;
  background-color: #227c9d;
  padding: 10px 20px;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

a.custom_renew_button:hover {
  background-color: #1a5f74;
}

header.page-header h1 {
  font-size: 30px !important;
}
header.page-header .container {
  padding-top: 150px !important;
  padding-bottom: 50px !important;
}

/* Channel list styles  */
/* Styling the first column with a max height and a scrollbar */
.channel-groups {
  max-height: 700px;
  overflow-y: auto;
  padding: 15px;
  background-color: #267c9d;
  border: 1px solid #ddd;
  border-radius: 5px;
}
/* Making the search bar full width */
.search-bar {
  margin-bottom: 20px;
  padding: 10px;
  background-color: #267c9d;
  border: 1px solid #ddd;
  border-radius: 5px;
}
/* Styling the channel names */
.channel-list {
  max-height: 630px;
  overflow-y: auto;
  padding: 15px;
  background-color: #267c9d;
  border: 1px solid #ddd;
  border-radius: 5px;
}
/* Fancy styling for the channel group and channel list items */
.channel-group-item,
.channel-item {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #364057;
  color: #ffffff;
  background-color: #227c9d;
  padding: 10px 20px;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.channel-group-item:hover,
.channel-item:hover {
  background-color: #eaeaea;
  color: #364057;
}
/* Media query to ensure responsiveness */
@media (max-width: 768px) {
  .search-bar,
  .channel-list {
    margin-bottom: 20px;
  }
}
.channel-group-item.active {
  background-color: #ffffff;
  color: #2c3e50;
}
/* Skeleton loader style */
.skeleton-box {
  background: #ddd;
  border-radius: 5px;
  width: 100%;
}
@keyframes skeleton-loading {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.skeleton-list {
  max-width: 600px;
  margin: 0 auto;
}
.skeleton-item {
  display: flex;
  margin-bottom: 20px;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
.skeleton-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.skeleton-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.skeleton-content {
  flex: 1;
}
.skeleton-title,
.skeleton-text {
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}
.skeleton-title {
  width: 60%;
}
.skeleton-text {
  width: 100%;
}
.skeleton-text.short {
  width: 70%;
}
@media (max-width: 576px) {
  .skeleton-item {
    flex-direction: column;
  }
  .skeleton-image {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
  }
  .skeleton-content {
    margin-left: 0;
  }
}
