/* @import 'variables.css';
@import 'animation.css'; */

body {
    /* background: linear-gradient(30deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .8)), url('../../../Media/Images/body_bg.jpg') !important; */
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: fixed !important;
    width: 100vw !important;
}

body .bg-logo {
    position: fixed;
    z-index: -2;
    opacity: .1 !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
}
body .bg-logo img {
    z-index: -1;
    max-width: 400px;
    max-height: 400px;
}

.pc-sidebar img.logo-lg {
    width: 40px;
    height: 40px;
}

.pc-sidebar .b-brand {
    font-size: 40px;
    line-height: 40px;
    padding: 1rem, 0, 0, 0;
    margin: 0;
}

.preview_img {
    max-width: 300px;
    width: 100%;
    height: auto;
}

#image {
    height: auto;
    width: 100%;
}

/* .modal .modal-dialog.modal-sm {
    max-width: 400px !important;
    display: block;
    margin: auto;
} */

.custom-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 2030 !important; /* Between first and second modal */
}

/* Add this CSS to your stylesheet or inside a <style> tag */


.modal .modal-jhols {
    background: rgba(30, 30, 30, 0.85) !important; /* dark and semi-transparent */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important; /* For Safari */
    color: #fff !important; /* white text for contrast */
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
}


.modal .modal-jhols .form-control {
    background: rgba(255, 255, 255, 0.1) !important; /* light and semi-transparent */
    border: none !important;
    border-radius: 8px !important;
    color: #fff !important; /* white text for contrast */
}

.modal-jhols .btn-close {
    filter: invert(1) brightness(2);
    background-color: transparent;
    opacity: 1;
}

.msg_ico_floater {
    color: var(--bs-secondary);
    /* position: fixed; */
    z-index: 99;
    padding: 0;
    font-size: 35px;
    position: fixed;
    bottom: 10px;
    left: 10px;
    border-radius: 50%;
    cursor: pointer;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, .4);

}

.msg_ico_floater .number_notice {
    font-size: 12px !important;
    position: absolute;
    right: -10px;
    top: 0;
}

.msg_container_floater {
    z-index: 99;
    position: fixed;
    bottom: 10px;
    left: 10px;
    background-color: #fff;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .4);
    border-radius: 10px !important;
    overflow: hidden;
    max-width: 300px;
    min-width: 300px;
    width: 100%;
}

.msg_container_floater .msg_header {
    display: flex;
    justify-content: end;
    padding: 2px;
    background-color: var(--bs-secondary);

}

.msg_container_floater .msg_body {
    height: 100%;
    max-height: 400px;
    min-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5px;
}

.align-bottom {
    align-self: flex-end;
}

.msg_container_floater .msg_footer textarea {
    font-size: smaller;
}

.msg_container_floater #imgFilesDisplay, .msg_container_floater #otherFilesDisplay {
    display: flex;
    overflow-x: auto;
}

.other_files_display {
    margin-right: 3px;
    font-size: x-small;
    border: 1px solid rgba(0, 0, 0, .3);
    white-space: nowrap;
    padding: 2px;
    border-radius: 2px;
}

.msg_container_floater .msg_text {
    font-size: small;
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, .2);
    padding: 5px;
    border-radius: 10px;
    
}

.msg_container_floater .msg_admin_cont {
    
}

.msg_container_floater .msg_customer_cont {
    background-color: var(--bs-secondary) !important;
    color: #fff;
}

.msg_container_floater .text_date_time {
    font-size: x-small;
}

.msg_container_floater .shell {
    max-width: 80%;
}

.on_going_orders_link {
    padding: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.on_going_orders_link small {
    font-size: x-small !important;
}
