.modal{
    opacity: 0;
    transition: opacity 0.3s ease-in-out; 
    visibility: hidden;
    pointer-events: none;
}

.modal.show{
    opacity: 1;
    visibility: visible; 
    pointer-events: auto;
}

tbody tr:not(.no-special-styling):not(.bg-red-400):not(.bg-yellow-300):not(.bg-blue-300):not(.bg-orange-300):not(.bg-green-300):not(.bg-violet-300):nth-child(odd) {
    background-color: white;
}
tbody tr:not(.no-special-styling):not(.bg-red-400):not(.bg-yellow-300):not(.bg-blue-300):not(.bg-orange-300):not(.bg-green-300):not(.bg-violet-300):nth-child(even) {
    background-color: #d1d5db;
}
tbody tr:not(.no-special-styling):not(.bg-red-400):not(.bg-yellow-300):not(.bg-blue-300):not(.bg-orange-300):not(.bg-green-300):not(.bg-violet-300):hover {
    background-color: #dbeafe;
}

.tooltip1 {
    position: absolute;
    z-index: 50;
    background: rgb(55 65 81);
    color: white;
    padding: 8px 12px;
    border-radius: 0.375rem;
    display: none;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    white-space: normal;
    margin-top: -1em;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    text-align: center;
}

.tooltip1-arrow {
    position: absolute;
    bottom: -0.5em;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 1em;
    height: 1em;
    background: inherit;
}

.tooltip:after {
    content: "";
    position: absolute;
    top: 100%; /* Flip the arrow to point upwards */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgb(55 65 81) transparent transparent transparent;
}

/* Chrome, Safari, Edge, Opera */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.quantity-input[type=number] {
  -moz-appearance: textfield;
}

.dropdown-content {
    display: none; /* Hide by default */
    background-color: #f9f9f9;
    min-width: 100%;
    overflow: auto; /* Enable scrolling */
    z-index: 1;
    max-height: 300px; /* Set a max-height and enable scrolling */
    border: 1px solid #ddd;
}

.dropdown-item {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    color: black;
}

.dropdown-item:hover {
    background-color: #dbeafe;
}

.max-w-100{
    max-width: 100px;
}

.max-h-100{
    max-height: 100px;
}

.image-hover:hover .full-size-image {
    display: block;
    position: fixed; /* Fixed positioning relative to the viewport */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
    max-width: 60%; /* Limit the size to the viewport width */
    max-height: 60%; /* Limit the size to the viewport height */
    z-index: 50;
}

.delivery_tooltip:hover::after {
    content: attr(data-title);
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.multiple-slide-carousel .swiper-wrapper {
    width: 100%;
    height: max-content !important;
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
    position: relative;
}

.progress-slide-carousel .swiper-wrapper {
    width: 100%;
    height: max-content !important;
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
    position: relative;
}

.carousel-slide {
    position: flex; /* Stack slides on top of each other */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Make slides take full height */
    z-index: 0; /* Default z-index */
}

.carousel-slide.active {
    opacity: 1; /* Ensure the active slide is visible */
    z-index: 10; /* Bring active slide to the front */
}

.indicator.active {
    background-color: #f87171; /* Tailwind 'tomato' color for active indicator */
}

.carousel-slide-news {
    position: absolute; /* Stack slides on top of each other */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Default z-index */
}

.carousel-slide-news img {
    z-index: -1; /* Make sure the image stays behind the overlay */
}

.carousel-slide-news.active {
    opacity: 1; /* Ensure the active slide is visible */
    z-index: 10; /* Bring active slide to the front */
}

.loader {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.car__body {
    animation: shake 0.2s ease-in-out infinite alternate;
}
.car__line {
    transform-origin: center right;
    stroke-dasharray: 22;
    animation: line 0.8s ease-in-out infinite;
    animation-fill-mode: both;
}
.car__line--top {
    animation-delay: 0s;
}
.car__line--middle {
    animation-delay: 0.2s;
}
.car__line--bottom {
    animation-delay: 0.4s;
}
@keyframes shake {
    0% {
        transform: translateY(-1%);
   }
    100% {
        transform: translateY(3%);
   }
}
@keyframes line {
    0% {
        stroke-dashoffset: 22;
   }
    25% {
        stroke-dashoffset: 22;
   } 
    50% {
        stroke-dashoffset: 0;
   }
    51% {
        stroke-dashoffset: 0;
   }
    80% {
        stroke-dashoffset: -22;
   }
    100% {
        stroke-dashoffset: -22;
   }
}

#send_question {
    scroll-margin-top: 68px;  /* Adjust this value to the height of your fixed navbar */
}

.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 20px;
    margin-right: -53px;
    margin-top: 12px;
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Safari prior 9.0 */
    transform: rotate(45deg); /* Standard syntax */
    
}

.tooltip_cat {
    position: relative;
    display: inline-block;
}

.tooltip_cat .tooltip_cat-text {
    visibility: hidden;
    min-width: 300px; /* Ensures a minimum width */
    max-width: 400px; /* Limits the maximum width */
    background-color: #ff6347; /* Dark background for readability */
    color: #fff;
    text-align: left;
    border-radius: 8px;
    padding: 8px;
    position: absolute;
    z-index: 10;
    top: 175%; /* Position it below the icon */
    left: 50%;
    transform: translateX(0%);
    font-size: 0.875rem;
    line-height: 1.25;
    white-space: normal; /* Maintains whitespace formatting from the description */
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s ease-in-out;
}

.tooltip_cat:hover .tooltip_cat-text {
    visibility: visible;
    opacity: 0.9;
}

.label-overlay {
    transition: border-color 0.3s ease; /* Smooth transition for hover effect */
}

.active-overlay {
    background-color: rgba(147, 197, 253, 0.5); /* Light blue background when active */
}

.highlight {
    background-color: #dbeafe; /* Light blue background for corresponding list items */
}

#notificationPopup1 {
    top: 100%; /* Align the top of the popup with the bottom of the icon */
    left: 0; /* Align the popup to the right of the icon */
}