/* Works on Firefox */
*
{
    scrollbar-width: thin;
    scrollbar-color: #6610f2 #242634;
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar
{
    width: 12px;
}

*::-webkit-scrollbar-track
{
    background: orange;
}

*::-webkit-scrollbar-thumb
{
    background-color: blue;
    border-radius: 20px;
    border: 3px solid orange;
}

.required:after
{
    content: " *";
    color: red;
    white-space: nowrap;
}

/*In forms when input label is long label text is not aligned properly with the input. This css fix that*/
.align-items-center
{
    align-items: center;
}

/*Pop up message styling START*/
#popup-alert
{
    display: none; /* Hidden by default */
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 1000;
    display: flex; /* Use flexbox to arrange items */
    justify-content: space-between; /* Space between text and button */
    align-items: center; /* Center vertically */
}

#popup-alert.show
{
    display: flex; /* Display as flex when 'show' class is added */
}

/*Pop up message styling END*/

/* Ensure the Select2 selection box has the same style as the Bootstrap inputs */
.form-item {
    flex: 1; /* Makes each item take equal space */
    min-width: 0; /* Allows flex items to shrink properly */
}

.select2-container .select2-selection {
    border: 1px solid #ced4da;
    border-radius: .01rem;
    height: 50px;
    display: flex;
    align-items: center;
}

.custom-select,
.form-control {
    width: 100%; /* Ensures the input and select fill the container */
}


/* Add this CSS to your styles */
.select2-results
{
    max-height: 200px; /* Set a maximum height */
    overflow-y: auto; /* Enable vertical scrolling */
}

.select2-selection__rendered
{
    text-align: center; /* Center text horizontally */
    line-height: 50px; /* Match the height for vertical centering */
}

.select2-selection__placeholder
{
    text-align: center; /* Center placeholder horizontally */
    line-height: 50px; /* Center vertically with line-height */
}

/* Back-to-top button styles START*/
.back-to-top
{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #c76407;
    color: #fff;
    padding: 10px 20px; /* Adjusted padding for a rectangular shape */
    text-align: center;
    border-radius: 5px; /* Small radius for slightly rounded corners (optional) */
    width: auto; /* Ensure it adjusts based on content */
    height: auto; /* Let height adjust automatically */
    display: inline-block; /* Keep it inline without stretching */
}

/* Back-to-top button styles END*/

/* Whatsapp floating button START*/
.float
{
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px; /* Move it higher to avoid overlap */
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 110; /* Higher than the back-to-top button */
}

.my-float
{
    margin-top: 16px;
}

/* Whatsapp floating button END*/

/* Logo container background color START */
.logo-container
{
    background-color: #ffffff; /* Background color for the logo container */
    padding: 10px; /* Adjust padding for better spacing (reduced left/right padding) */
}
/* Adjust the navbar */

.navbar
{
    padding-left: 0; /* Remove padding on the left to align with the edge */
}
/* Logo container background color END */
