.thumbnail-container {
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 10px;
}
.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.progress-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.progress-bar {
    width: 80%;
    height: 10px;
    background-color: #f3f3f3;
    border-radius: 5px;
    overflow: hidden;
}
.progress {
    width: 0;
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.group:hover .group-hover\:block,
.group-hover\:block:hover {
    display: block;
}

.group .group-hover\:block {
    display: none;
}


/* Custom scrollbar for cart preview */
.max-h-96 {
    max-height: 24rem;
}

.overflow-y-auto {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #0d9488 #e5e7eb; /* Updated scrollbar color */
}

.overflow-y-auto::-webkit-scrollbar {
    width: 8px;
}

.overflow-y-auto::-webkit-scrollbar-track {
    background: #e5e7eb;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
    background-color: #0d9488; /* Updated scrollbar thumb color */
    border-radius: 20px;
    border: 2px solid #e5e7eb;
}

/* Hover effects */
.hover\:bg-blue-500:hover {
    background-color: rgba(37, 99, 235, 0.75); /* Updated hover effect */
}

.hover\:bg-blue-100:hover {
    background-color: rgba(219, 234, 254, 1); /* Updated hover effect */
}

.hover\:bg-turquoise-700:hover {
    background-color: #0f766e; /* Updated hover effect */
}

.hover\:bg-green-600:hover {
    background-color: #059669;
}

 /* Optional: Custom styles for the slider */
 .slider-container {
    position: relative;
  }
  .slide {
    min-width: 100%;
    height: 500px; /* Adjust as needed */
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .review-slide {
    min-width: 100%;
    height: 300px; /* Adjust as needed */
    position: relative;
  }
  @media (max-width: 768px) {
    .slide {
      height: 300px; /* Adjust for smaller screens */
    }
  }

/* Terms Modal Styles */
.terms-content {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 1rem;
}

.terms-content::-webkit-scrollbar {
    width: 8px;
}

.terms-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.terms-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.terms-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    overflow-y: visible !important;
}

/* Specific form required fields CSS */

/* Highlight labels for required fields */
label[for] input[required] ~ label,
label[for] select[required] ~ label,
label[for] textarea[required] ~ label {
    color: #dc2626; /* Red for required field labels */
    font-weight: 500;
    background-color:  #dc262662;
}

/* Highlight required input fields */
input[required],
select[required],
textarea[required] {
    border: 2px solid #dc2626; /* Red border for required fields */
    border-radius: 0.375rem; /* Rounded corners */
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}

/* Style for the asterisk indicating required fields */
.required-asterisk {
    color: #ef4444; /* Slightly lighter red for asterisk */
}

/* Focus state for required fields */
input[required]:focus,
select[required]:focus,
textarea[required]:focus {
    border-color: #ee7f00; /* Border on focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(221, 133, 0, 0.753); /* Ring on focus */
}