:root {
    --btn-bg: #25d366;
}


.bulk_order_create_wrapper,
.wz-import-btns-con {
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    gap: 9px;
}

.bulk_order_create_wrapper.hidden,
.hidden_ {
    display: none;
}

.td-with-input {
    overflow-x: hidden;
    min-width: 150px;
    background: transparent !important;
}

.bulk-order-table th,
.bulk-order-table td {
    padding: .7em 1em;
    border-width: 0 1px 1px 0;
}

.bulk-order-table th,
.bulk-order-table td {
    border: 1px solid #D1D5DB;
}

.bulk-order-table input[type="text"] {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    width: 100%;
    padding: 12px 16px;
    height: 40px;
}

.elementor-shortcode {
    min-height: 50vh;
}




#bulk-order-table {
    /* max-width: 1000px; */
    overflow: auto;
}

.bulk_order td {
    padding: 0 3px;
    overflow: hidden;
}

.order_s_heading {
    font-size: 12px;
    text-align: center;
    font-weight: 500;
    background: #00cfff;
    color: white;
    padding: 5px 10px;
    width: fit-content;
    margin: auto;
    margin-bottom: 20px;
}



.overlay_ {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.overlay_.active {
    display: flex !important;
}

.overlay_loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #3498db !important;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.import-single-order {
    position: relative;

    .overlay_ {
        position: absolute;
        background: transparent;
    }

    .overlay_loader {
        height: 20px;
        width: 20px;
        border-color: rgba(0, 0, 0, 0.29);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .overlay_loader {
        width: 40px;
        height: 40px;
        border: 4px solid rgba(255, 255, 255, 0.3);
        border-top: 4px solid #3498db;
    }
}

.csv-product-td {
    display: inline-flex;
    justify-content: center;
    /* text-align: center; */
    align-items: center;

    input {
        display: flex !important;
    }
}

.woocommerce-MyAccount-navigation-link--bulk_orders a::before {
    content: "\e961" !important;
}




.data-mode-message {
    padding: 10px;
    border-radius: 0px;
    font-family: 'Arial', sans-serif;
    margin: 15px 0;
    /* box-shadow: -4px 4px 5px 0px #a2a1a1; */
    transition: all 0.3s ease-in-out;
    background: #fd461c;
    font-size: 13px;
    color: white;
    text-align: left;
}

/* Link styles */
.data-mode-message a {
    font-weight: normal;
    text-decoration: underline;
    text-shadow: none;
    font-size: 15px;
    color: black;
}

.data-mode-message p {
    margin: 0 !important;
}

.data-mode-message a:hover {
    text-decoration: underline;
    /* Add underline on hover */
    color: #0056b3;
    /* Darken link color on hover */
}

/* Responsive styles */
@media (max-width: 768px) {
    .data-mode-message {
        padding: 15px;
        /* Slightly less padding on small screens */
        font-size: 14px;
        /* Reduce font size for better readability on smaller screens */
    }

    .data-mode-message p {
        line-height: 1.6;
        /* Increase line-height for better readability */
    }

    .data-mode-message a {
        font-size: 14px;
        /* Slightly smaller link font size on mobile */
    }
}

tr td:first-child {
    text-align: center;
}

.import-single-order .import-order,
.import-single-order .import-order2,
.import-single-order .import-order4,
.import-single-order .import-order3 {
    min-width: 110px;
    text-wrap: nowrap;
    padding: 5px;
}

.checkbox_child {
    border-color: gray !important;
}

.single-order-inpoerted {
    text-align: center;
}

.bulk_order {
    margin-top: 8vh;
}

#bulk-order-table input {
    background: transparent !important;
}

.single-order-imported {
    display: flex;
    justify-content: center;

    span {
        color: #059473;
    }
}

.order-import-failed {
    display: flex;
    justify-content: center;

    span {
        color: #e82c0c;
    }
}

#bulk-order-table th {
    text-transform: capitalize;
    color: white;
    background: #318633;
}

.bo-product-con {
    display: flex;
    flex-direction: column;
    padding-bottom: 3vh;
    gap: 5px;
}

.bo-product-con p {
    margin: 0px !important;
    line-height: 1 !important;
}

.bo-product-con .bo-product-id {
    cursor: pointer;
    color: black;
    background: orange;
    width: fit-content;
    padding: 5px 8px;
    font-weight: 400;
    font-size: 10px;
}

.bo-copy-con {
    display: flex;
    gap: 4px;
}

.bo-product-con #copy-message {
    color: green;
    display: none;
    font-size: 12px;
}

#copy-variation-values {
    font-size: 11px !important;
    padding: 4px 7px !important;
    cursor: pointer;
    font-weight: 400 !important;
    background: orange !important;
    color: black !important;
}





.b_o_btn,
.b_o_btn:focus,
.b_o_btn:visited {
    display: inline-block;
    padding: 10px 10px !important;
    font-size: 12px;
    font-weight: 600;
    width: fit-content !important;
    background: linear-gradient(90deg, #01214dcf, #318633);
    box-shadow: -3px 3px 5px 0px #808080 !important;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.4s ease;
    max-width: 100% !important;
    border-radius: 6px !important;
    border: 1px solid #bababa;
    color: white !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.b_o_btn:hover {
    box-shadow: 0 0 0px #00f260, 0 0 60px #0575e6, 0 0 100px #00f260;
    transform: scale(1.1);
}


#bulk-order-table>table tr:nth-child(2n) {
    background: #ededed;

    * {
        border-color: lightgray;
        color: #686868;
    }
}

.woocommerce-MyAccount-navigation-link--bulk_orders a::before {
    content: "\f481" !important;
    font-family: dashicons !important;
}

.wz-d-none {
    display: none;
}

.wz-d-flex div {
    display: flex;
    gap: 5px;
}

.csv-empty-cell .wz-empty-view * {
    display: none;
}

td.csv-empty-cell * {
    display: none !important;
}

.csv-empty-cell {
    min-width: 0px !important;
    width: 0px !important;
    max-width: 40px !important;
}

.wz-empty-view {
    min-width: 0px !important;
}

.csv-view-cell {
    display: flex !important;
    max-width: 25px !important;
    max-height: 25px;
    min-width: 25px !important;
    min-height: 25px;
    background: #314c6d !important;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid;
}

.import-order2,
.import-order3,
.import-order4 {
    background: gray !important;
    cursor: not-allowed;
    box-shadow: none !important;
    color: white !important;
    /* border: 1px solid black !important; */
}

.b_o_btn .dashicons.dashicons-warning {
    color: #aa0303 !important;
}

.b_o_btn .dashicons {
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    margin-right: 3px;
}

.import-order span {
    color: white !important;
    font-size: 16px;
}

.csv-product-td .product-td {
    min-width: 0px !important;
    cursor: pointer;
    max-width: 90px;
    margin-left: auto;
}

.csv-product-td img {
    max-height: 40px !important;
    width: 100%;
    max-width: 50px;
    overflow: hidden;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
}