@media only screen and (max-width: 1400px) {
    .dashoboard_first_section .col-sm-10 .card .visits_card .text_part .date_part {
        display: flex;
        flex-direction: column;
        margin-top: 5px;
    }

    .dashoboard_first_section .col-sm-10 .card .visits_card .text_part .date_part p:nth-of-type(2) {
        padding-left: 0;
    }

    .create_order_category_second_section .custom-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .order_list_first_section .cart_product_part .card .date_part,
    .order_list_first_section .cart_product_part .card .vieworder_button {
        margin: 20px 0 0 0;
    }
}

@media only screen and (max-width: 1200px) {
    .create_order_category_second_section .custom-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 992px) {
    .navbar_part .navbar .collapse .main_form {
        width: 100%;
    }

    .navbar_part .navbar .input-group {
        width: 100%;
        padding-right: 30px;
    }

    .cart_second_section .card {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart_second_section .card .checkbox-wrapper,
    .cart_second_section .card .image_wrapper {
        display: inline-block;
        vertical-align: middle;
    }

    .cart_second_section .card .checkbox-wrapper {
        margin-bottom: 10px;
        margin-right: 15px;
    }

    .create_order_category_second_section .container-fluid .checkbox-wrapper {
        display: inline-block;
        vertical-align: middle;
    }

    .create_order_category_second_section .container-fluid .checkbox-wrapper {
        margin-bottom: 10px;
        margin-right: 15px;
    }

    .cart_second_section .card .image_wrapper {
        margin-bottom: 10px;
    }

    .cart_second_section .card .card-body {
        width: 100%;
        margin: 10px 0;
        padding-left: 0;
    }

    .cart_second_section .card .delete_icon_part {
        width: 100%;
        text-align: right;
        margin-top: 10px;
    }

    .cart_second_section .card .qty_no_part,
    .cart_second_section .card .custom-select-wrapper {
        margin-bottom: 10px;
    }

    .cart_second_section .card .d-flex.mt-3 {
        flex-wrap: wrap;
        gap: 10px;
    }

    .cart_second_section .cart_product_part hr {
        width: 100%;
    }

    .cart_second_section .card .card-body .qty_part {
        display: flex;
        flex-direction: column;
        margin: 0 0 10px 0;
    }

    .cart_second_section .card .card-body .qty_part .card_text_1,
    .cart_second_section .card .card-body .qty_part .card_text_2 {
        padding: 4px 0 0 0;
    }

    .cart_second_section .card .card-body .qty_part .line {
        display: none;
    }

    .cart_first_section .your_cart_detail {
        display: flex;
        flex-direction: column;
    }

    .cart_first_section .your_cart_detail .right_side_text {
        display: flex;
        align-self: start;
        margin: 15px 0 0 0;
    }

    .placeorder_first_section .your_cart_detail {
        display: flex;
        flex-direction: column;
    }

    .placeorder_first_section .your_cart_detail .right_side_text {
        display: flex;
        align-self: start;
        margin: 15px 0 0 0;
    }

    .navbar_part .navbar .desktop-only {
        display: none !important;
    }

    .navbar_part .navbar .navbar-collapse.show .desktop-only {
        display: block !important;
        flex-direction: column;
        gap: 16px;
        padding-top: 16px;
    }

    .navbar_part .navbar .navbar-collapse .input-group {
        width: 100% !important;
    }

    .navbar_part .navbar .navbar-collapse form,
    .navbar_part .navbar .navbar-collapse .navbar-nav {
        width: 100%;
    }

    .navbar_part .navbar .navbar-collapse .navbar-nav {
        flex-direction: column;
        padding-left: 0;
        margin-top: 16px;
    }

    .navbar_part .navbar .navbar-collapse .navbar-nav .nav-item {
        padding-left: 0;
    }

    .create_order_category_second_section .custom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .create_order_category_second_section {
        padding: 30px 40px;
    }

    .request_sample_detail_first_section .cart_product_part .card {
        display: flex;
        flex-direction: column;
        border: none;
        padding: 0 30px;
        border-radius: 16px;
    }

    .request_sample_detail_first_section .cart_product_part .card .card-body {
        padding: 15px 0;
    }

    .request_sample_detail_first_section .cart_product_part .placeorder_button {
        display: flex;
        justify-content: start;
        align-items: start;
    }

    /* .request_sample_detail_first_section .cart_product_part .placeorder_button a {
        width: fit-content;
    } */

    .order_list_first_section .cart_product_part .card .card-data {
        padding-left: 0;
    }

    .order_list_first_section .cart_product_part .card .first_part {
        flex-direction: column;
        align-items: start;
    }

    .cart_first_section .your_cart_detail .right_side_text_search {
        display: flex;
        align-self: start;
        margin: 15px 0 0 0;
    }

    .navbar_part .navbar .dropdown-menu {
        position: static;
        top: 122%;
        left: 0;
        background-color: white;
        border: 1px solid #D2D2D2;
        border-radius: 2px;
        list-style: none;
        padding: 8px 0;
        margin: 10px 0 0 0;
        display: none;
        width: fit-content;
        z-index: 4;
    }

    .navbar_part .navbar .navbar-nav .nav-item:nth-of-type(2) {
        display: flex;
        align-items: start;
        cursor: pointer;
        flex-direction: column;
    }

}

@media only screen and (max-width: 768px) {
    .login_page .left_form_part {
        width: 80%;
    }

    .create_order_category_second_section .custom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .create_order_category_second_section {
        padding: 20px 20px;
    }

    .order_list_first_section .cart_product_part .card .vieworder_button_part {
        display: flex;
        justify-content: start;
        align-items: start;
        cursor: pointer;
    }

    .view_sample_cart_first_section .card {
        display: flex;
        flex-direction: column;
        border: none;
        padding: 15px;
    }

    .view_sample_cart_first_section .card .card-body {
        padding-left: 0;
    }

    .order_detail_first_section .cart_product_part .left_side_portion .progress-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        position: relative;
    }

    .order_detail_first_section .progress-line-wrapper {
        position: absolute;
        top: 30px;
        left: 30px;
        bottom: 30px;
        width: 4px;
        height: auto;
        background: #e0e0e0;
    }

    .order_detail_first_section .cart_product_part .left_side_portion .progress-bar {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: #e0e0e0;
        z-index: 0;
    }

    .order_detail_first_section .cart_product_part .left_side_portion .progress-bar-filled {
        position: absolute;
        top: 0;
        left: 0;
        height: 50%;
        transition: height 0.4s ease;
        background: var(--bg_color_13);
        z-index: 1;
        width: 100%;
    }

    .order_detail_first_section .cart_product_part .left_side_portion .step {
        width: 100%;
        display: flex;
        align-items: flex-start;
        margin-bottom: 30px;
        position: relative;
        padding-left: 40px;
    }

    .order_detail_first_section .cart_product_part .left_side_portion .step:last-child {
        margin-bottom: 0;
    }

    .order_detail_first_section .cart_product_part .left_side_portion .step .circle {
        margin: 0;
        position: absolute;
        left: 0;
        top: 0;
    }

    .order_detail_first_section .cart_product_part .left_side_portion .step span {
        text-align: left;
        padding-top: 2px;
    }




}

@media only screen and (max-width: 576px) {
    .login_page .row .col-lg-6:nth-of-type(1) .heading_part h2 {
        font-size: var(--font_28);
    }

    .login_page .row .col-lg-6:nth-of-type(1) .heading_part h2 span {
        font-size: var(--font_28);
    }

    .placeorder_second_section .cart_product_part .top_button_part {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        margin: 15px;
    }

    .placeorder_second_section .cart_product_part .top_button_part .change_address button {
        margin-top: 15px;
    }

    .create_order_category_second_section .custom-grid {
        grid-template-columns: 1fr;
    }

    .create_order_category_second_section {
        padding: 15px;
    }

    .cart_first_section .your_cart_detail .right_side_text {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart_first_section .your_cart_detail .right_side_text .first {
        flex-direction: row;
        margin-bottom: 6px;
    }

    .placeorder_first_section .your_cart_detail .right_side_text .first {
        flex-direction: row;
        margin-bottom: 6px;
    }

    .placeorder_first_section .your_cart_detail .right_side_text .first .tw {
        padding-left: 0;
    }

    .placeorder_second_section .cart_product_part .toggle_part {
        width: 100%;
    }

    .placeorder_second_section .cart_product_part .toggle_part .toggle-group {
        display: flex;
        flex-direction: column;
        border: 1px solid #DEDEDE;
        border-radius: 25px;
        padding: 8px;
        background: #ffffff;
        width: 100%;
    }

    .placeorder_second_section .cart_product_part .toggle_part .toggle-group .toggle-btn {
        width: 100%;
        text-align: center;
    }

    .placeorder_second_section .cart_product_part .toggle_part .toggle-group input[type="radio"]:checked+.toggle-btn {
        width: 100%;
        text-align: center;
    }

    .cart_first_section .cart_product_part .toggle_part {
        width: 100%;
    }

    .cart_first_section .cart_product_part .toggle_part .toggle-group {
        display: flex;
        flex-direction: column;
        border: 1px solid #DEDEDE;
        border-radius: 25px;
        padding: 8px;
        background: #ffffff;
        width: 100%;
    }

    .cart_first_section .cart_product_part .toggle_part .toggle-group .toggle-btn {
        width: 100%;
        text-align: center;
    }

    .cart_first_section .cart_product_part .toggle_part .toggle-group input[type="radio"]:checked+.toggle-btn {
        width: 100%;
        text-align: center;
    }

}

@media (max-width: 768px) {
    .dashoboard_first_section .sidebar-modal .modal_open_part {
        flex-direction: column-reverse;
    }

    .dashoboard_first_section .sidebar-modal .siderbar_content_part .modal_slider_part {
        margin: 15px 20px;
    }

    .dashoboard_first_section .sidebar-modal .siderbar_content_part {
        margin-right: 0 !important;
        padding-right: 15px;
    }

    .dashoboard_first_section .sidebar-slide {
        position: absolute;
        top: 100px;
        right: -150px !important;
        width: fit-content;
        height: auto;
        min-height: 805px;
        background-color: var(--bg_color_1);
        transition: right 0.3s ease-in-out;
        border-radius: 20px 0 0 20px;
        z-index: 2;
    }
}