/* Style for the button */
/*#order-tracking-button {*/
/*    position: fixed;*/
/*    bottom: 20px;*/
/*    right: 20px;*/
/*    background-color: #0073e6;*/
/*    color: #fff;*/
/*    padding: 10px 20px;*/
/*    border-radius: 5px;*/
/*    cursor: pointer;*/
/*}*/

.response-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.send-email-button, .send-sms-button {
    flex: 1;
    padding: 5px !important;
    font-size: 0.8em;
    color: white;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-email-button {
    background-color: #e3a344; /* Email button color */
}

.send-sms-button {
    background-color: #4CAF50; /* SMS button color */
}

.send-email-button i, .send-sms-button i {
    margin-right: 8px;
}

.send-email-button:hover {
    background-color: #0056b3;
}

.send-sms-button:hover {
    background-color: #45a049;
}


/* Style for the form container (hidden by default) */
#order-tracking-form {
    /*display: none;*/
    position: fixed;
    bottom: 60px;
    right: 20px;
    /*left: 5px;*/
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: scroll; /* Add a scrollbar when content overflows */
    max-height: 500px;
    max-width: 400px;

}

/* Style for the form elements */
#order-tracking-form label {
    display: block;
    margin-bottom: 10px;
}

#order-tracking-form input[type="text"],
#order-tracking-form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

#order-tracking-form button {
    background-color: #0073e6;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#order-tracking-form-block.show {
    display: block;
}

#draggable-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    background-color: #0073e6;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
}



#draggable-button:active {
    cursor: grabbing;
}

#order-tracking-form-block {
    position: absolute;
    cursor: move;
    /*background-color: #fff;*/
    border-radius: 5px;
    padding: 20px;
    z-index: 999;
    max-width: 400px;
    display: none;
    z-index: 999;
}

/* Optional styles to make it more visually appealing */
#draggable-button:hover {
    background-color: #0056b3;
}

#draggable-button:active {
    background-color: #003c7a;
    color: #f0f0f0;
}

.hide {
    display: none !important;
}

#order-tracking-form::-webkit-scrollbar {
    -webkit-appearance: none;
}

#order-tracking-form::-webkit-scrollbar:vertical {
    width: 11px;
}

#order-tracking-form::-webkit-scrollbar:horizontal {
    height: 11px;
}

#order-tracking-form::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white; /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, .5);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% opacity */
    z-index: 1;
}

    .popup.active,
    .overlay.active {
        display: block;
    }

body.overlay-active {
    overflow: hidden; /* Disable scrolling on the body when overlay is active */
}


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    #order-tracking-form {
        right:5px;
        padding: 10px;
    }
}
