#loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 5px solid rgb(26 108 97 / 56%);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
    position: fixed;
    top: 50%;
    left: 50%;
}

@keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    to {
        -webkit-transform: rotate(360deg);
    }
}

.pdfViewer {
    max-width: 657px;
}

.file-manager-menu {
    margin-left: auto;
}

i.bi.bi-dot {
    font-size: 50px;
}

/*.blockui{*/
/*    z-index:20000;*/
/*}*/
.dispatch-checkbox {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.view-profile-date-range {
    max-width: 300px;
}

.jctx {
    display: none;
    z-index: 1000;
    position: absolute;
    overflow: hidden;
    border: 1px solid #595959;
    white-space: nowrap;
    font-family: sans-serif;
    font-size: 12px;
    border-radius: 2px;
    padding: 0;
    opacity: 0;
    -webkit-transition: opacity 200ms;
    -moz-transition: opacity 200ms;
    -o-transition: opacity 200ms;
    -ms-transition: opacity 200ms;
}

.jctx-black {
    background: black;
    color: white;
}

.jctx-white {
    background: white;
    color: black;
}

.jctx-white-shadow {
    box-shadow: 0 0 15px grey;
}

.jctx-black-shadow {
    box-shadow: 0 0 15px black;
}

.jctx li {
    padding: 5px 8px;
    cursor: pointer;
}

.jctx li.disabled {
    color: darkgrey;
    cursor: default;
}

.jctx-black li:hover {
    background-color: #284160;
}

.jctx-white li:hover {
    background-color: #81B2D6;
}

.jctx-black li.disabled:hover {
    background-color: #202020;
}

.jctx-white li.disabled:hover {
    background-color: lightgrey;
}

.jctx i {
    padding-right: 6px
}

.jctx hr {
    background-color: grey;
    height: 1px;
    border: 0;
    margin: 2px 0px;
}

.dashboard-amount-widget {
    height: 150px;
    width: 50%;
}

.beside-invoice-amount-widget {
    gap: 10px;
}

/*@media (max-width: 480px) {*/
.file-section {
    min-height: 2000px
}

#floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #009ef7; /* Change as needed */
    color: white;
    padding: 25px; /* Slightly larger */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite; /* Pulsating effect */
    transition: transform 0.3s ease; /* Smooth scaling transition */
}

#floating-panel {
    background-color: #fff;
    border: 0;
    border-radius: 2px;
    box-shadow: 0 1px 4px -1px rgba(0, 0, 0, 0.3);
    margin: 10px;
    padding: 0 0.5em;
    font: 400 18px Roboto, Arial, sans-serif;
    overflow: hidden;
    padding: 5px;
    font-size: 14px;
    text-align: center;
    line-height: 30px;
    height: auto;
}


/* Pulsating animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

#chat-popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center both vertically and horizontally */
    height: 500px; /* Adjust based on your requirement */
    position: fixed;
    bottom: 90px; /* Adjust based on button size */
    right: 20px;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    width: 300px;
    min-height: 400px;
    padding: 20px;
    visibility: hidden; /* Use visibility instead of display */
    opacity: 0;
    transform: translateY(10px); /* Start slightly above for sliding effect */
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
    border-radius: 15px; /* Rounded corners */
}


#chat-popup.visible {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Responsiveness */
@media (max-width: 600px) {
    #floating-button {
        bottom: 10px;
        right: 10px;
        padding: 30px;
    }

    #chat-popup {
        width: 90%; /* Adjust width on smaller screens */
        right: 5%; /* Center the popup */
        bottom: 80px; /* Adjust based on new button size */
        min-height: 300px; /* Adjust height for smaller screens */
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    /* Adjustments for tablets and smaller desktops */
    #chat-popup {
        width: 50%;
        right: 25%; /* Center the popup */
    }

    #chat-popup {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Center both vertically and horizontally */
        height: 500px; /* Adjust based on your requirement */
    }
}


#clockInButton {
    background-color: #06b879; /* Set to solid green */
    border: none;
    color: white;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    font-size: 16px; /* Adjust font size if needed */
    border-radius: 50%;
    width: 150px; /* Increased size */
    height: 150px; /* Increased size */
    line-height: 120px; /* Adjusted for vertical centering */
    /*animation: colorChange 2s infinite;*/
    animation: ripple 2.5s infinite linear, pulse 2s infinite ease-in-out;
    text-transform: uppercase; /* Makes text uppercase */
    font-weight: bold; /* Makes text bold */
    position: relative; /* Required for absolute positioning of pseudo-elements */
    overflow: hidden; /* Ensures the shadows don't overflow the button's bounda */
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 128, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 30px rgba(0, 128, 0, 0.0); /* Increased size */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 128, 0, 0.0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1); /* Button at normal size */
    }
    50% {
        transform: scale(1.1); /* Button scales up slightly */
    }
}


#clockInButton.clocked-in {
    background-color: red; /* Change to red */
    /* Update animation colors */
    animation: ripple-red 2.5s infinite linear, pulse 2s infinite ease-in-out;
}

@keyframes ripple-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 30px rgba(255, 0, 0, 0.0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
}

.top-date-on-popup {
    position: fixed;
    font-weight: bold;
    top: 0;
    left: 0;
    right: 0;
    background-color: #ffffff; /* Background color for the date display */
    text-align: center;
    padding: 10px;
    font-size: 18px;
    z-index: 999; /* Ensure the date display appears above other c */
}

#breakButton {
    display: none;
    background-color: #f0ad4e; /* Coffee color */
    border: none;
    color: white;
    padding: 20px; /* Circular padding */
    border-radius: 50%; /* Makes the button circular */
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 40px; /* Icon size */
    line-height: 1; /* Aligns the icon vertically */
    margin-top: 50px; /* Increased space above the button */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow for depth */
}

#breakButton:hover {
    background-color: #ec971f; /* Slightly darker on hover */
}

#breakButton .fas {
    color: white; /* Explicitly sets the icon color to white */
    font-size: 20px;
}

#clockInButton.on-break {
    background-color: #fba345; /* Change to yellow */
    color: black; /* Text color */
    /* Update animation to yellow */
    animation: ripple-yellow 2.5s infinite linear, pulse 2s infinite ease-in-out;
}

#clockInButton.clock-out {
    /* Style for 'Clock Out' */
    background-color: red;
    /* ... */
}

@keyframes ripple-yellow {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 163, 69, 0.7);
    }
    50% {
        box-shadow: 0 0 0 30px rgba(255, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 0, 0);
    }
}




/*}*/

