﻿.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay */
    z-index: 9999; /* Ensure it's above other elements */
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 40px;
    font-size: 10px;
}

    .spinner > div {
        z-index: 999;
        background-color: #ffffff;
        height: 100%;
        width: 6px;
        display: inline-block;
        -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
        animation: sk-stretchdelay 1.2s infinite ease-in-out;
    }

    .spinner .rect2 {
        -webkit-animation-delay: -1.1s;
        animation-delay: -1.1s;
    }

    .spinner .rect3 {
        -webkit-animation-delay: -1.0s;
        animation-delay: -1.0s;
    }

    .spinner .rect4 {
        -webkit-animation-delay: -0.9s;
        animation-delay: -0.9s;
    }

    .spinner .rect5 {
        -webkit-animation-delay: -0.8s;
        animation-delay: -0.8s;
    }

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% {
        -webkit-transform: scaleY(0.4)
    }

    20% {
        -webkit-transform: scaleY(1.0)
    }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% {
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1.0);
        -webkit-transform: scaleY(1.0);
    }
}

.loggingingif {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.color-primary {
    color: #0d6efd
}

#scrollTopBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #555; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 10px 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
}

    #scrollTopBtn:hover {
        background-color: #333; /* Add a dark-grey background on hover */
    }


/* Hide the spinner arrows in number inputs */
input[type="number"] {
    -moz-appearance: textfield; /* For Firefox */
    appearance: textfield; /* For other browsers */
}

    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none; /* For Chrome, Safari, and Opera */
        margin: 0; /* Remove default margin */
    }

.bg-customized {
    background-color: #4169E1;
    color: #ffffff;
}


.button-menu {
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 3px 1px -2px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    border-radius: .25rem;
    min-width: 160px;
}


/*bell*/
.notification-container {
    position: relative;
    margin: 0 20px
}



.notification-count {
    position: absolute;
    top: 0;
    right: -8px;
    background-color: red;
    color: white;
    font-size: 10px;
    border-radius: 50%;
    padding: 5px;
    width: 22px;
    text-align: center;
    height: 22px;
}

/* Keyframes for ringing animation */
@keyframes ringAnimation {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(15deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/* Styling for the notification bell emoji */
.notification-bell-icon {
    font-size: 24px;
    cursor: pointer;
}

/* Apply ringing animation */
.ringing {
    animation: ringAnimation 0.5s ease-in-out infinite;
}

.product-name {
    font-weight: bold;
    color: black;
}
