@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;500;700;900&display=swap');

:root {
    --radius: 12px;

    --blue100: #dbeafe;
    --blue200: #bfdbfe;
    --blue300: #93c5fd;
    --blue400: #60a5fa;
    --blue500: #3b82f6;
    --blue600: #2563eb;
    --blue700: #1d4ed8;
    --blue800: #1e40af;
    --blue900: #1e3a8a;
    --blue950: #172554;

    --green100: #dcfce7;
    --green200: #bbf7d0;
    --green300: #86efac;
    --green400: #4ade80;
    --green500: #22c55e;
    --green600: #16a34a;
    --green700: #15803d;
    --green800: #166534;
    --green900: #14532d;
    --green950: #052e16;

    --orange100: #ffedd5;
    --orange200: #fed7aa;
    --orange300: #fdba74;
    --orange400: #fb923c;
    --orange500: #f97316;
    --orange600: #ea580c;
    --orange700: #c2410c;
    --orange800: #9a3412;
    --orange900: #7c2d12;
    --orange950: #431407;

    --black100: #f1f5f9;
    --black200: #e2e8f0;
    --black300: #cbd5e1;
    --black400: #94a3b8;
    --black500: #64748b;
    --black600: #475569;
    --black700: #334155;
    --black800: #1e293b;
    --black900: #0f172a;
    --black950: #020617;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }

* {
    font-family: 'Inter', sans-serif;
}

::placeholder {
    color: var(--black400) !important;
}
.first_option {
    color: var(--black400) !important;
}
.link_no_style {
    color: var(--black800);
}

.btn-no-style {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--black900) !important;
}
p, span {
    color: var(--black700) !important;
}
a {
    text-decoration: none !important;
}
ul {
    list-style: none;
}
button {
    font-weight: 500 !important;
}
label {
    font-weight: 500 !important;
}
@media (min-width: 1200px) {
    .container {
        max-width: 1800px !important;
    }
}
.hide_element {
    display: none;
}
.btn_style {
    background-color: var(--orange500) !important;
    border-color: var(--orange500) !important;
    transition: background-color 0.3s ease !important;
}
.btn_style:hover {
    background-color: var(--orange600) !important;
}

.btn_add_line {
    background-color: white !important;
    border-color: var(--black300) !important;
    transition: all 0.3s ease !important;
    color: var(--black700) !important;
}

.btn_add_line:hover {
    background-color: var(--black200) !important;
    border-color: var(--black200) !important;
    color: var(--black700) !important;
}

.btn_style_secondary {
    background-color: var(--black400) !important;
    border-color: var(--black400) !important;
    transition: background-color 0.3s ease !important;
}
.btn_style_secondary:hover {
    background-color: var(--black500) !important;
}

.form-control:focus, .form-select:focus, .form-select-sm:focus {
    box-shadow: none !important;
    border-color: var(--orange500) !important;
}
.small_error {
    color: #dc2626 !important;
    font-size: 0.8rem;
}
.form_link_no_style {
    font-size: 0.8rem;
    color: var(--black500);
    text-decoration: none;
    font-weight: 400;
}
.form_link_no_style:hover {
    opacity: 0.7;
}
.btn_nostyle {
    border: none;
    background: transparent;
    outline: none;
    padding: 0;
    margin: 0;
    color: #1F2938;
    display: block;
    width: 100%;
}

.auth_box {
    background-color: white;
    width: 100% !important;
    max-width: 450px !important;
    border-radius: var(--radius);
    box-shadow: rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
}
.auth_header h3 {
    font-weight: 600;
}
.auth_form label {
    font-size: 0.9rem;
    margin-bottom: 0.1rem !important;
    color: var(--black900);
}
.auth_form input {
    font-size: 0.9rem;
}
.auth_header p {
    font-size: 0.8rem;
}
@media(max-width:550px) {
    .auth_wrapper {
        padding: 0 15px !important;
    }
}
.image_input_box {
    border-radius: var(--radius);
    background-color: #f9f9f9;
}
.image_input_box img {
    width: 28px;
    max-width: 28px;
    display: block;
    margin: 0 auto;
}

.header_wrapper {
    background-color: var(--black900);
}
.header_nav a {
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-size: 15px;
    margin-right: 5px;
    font-weight: 500;
}
.header_nav a:hover {
    background-color: rgba(255, 255, 255, 0.072);
}

.header_nav .active_link {
    background-color: rgba(255, 255, 255, 0.072);
}

.header_nav li {
    display: flex;
    align-items: center;
}
.header_add_button {
    position: relative;
    background-color: var(--orange500);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 28px;
    transition: background-color 0.3s ease;
}
.header_add_button span {
    position: relative;
    color: white !important;
    bottom: 2px !important;
    font-weight: 300 !important;
}
.header_add_button:hover {
    cursor: pointer;
    background-color: var(--orange600);
}
.header_notifications, .header_hamburger {
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.header_notifications:hover, .header_profile_info:hover, .header_hamburger:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.072);
}
.header_notifications img, .header_hamburger img {
    width: 21px;
    max-width: 21px;
}
.header_profile_info_wrapper img {
    width: 30px; max-width: 30px;
    height: 30px; max-height: 30px;
    border-radius: 50%;
    object-fit: cover;
}
.header_profile_info, .header_hamburger {
    position: relative;
    z-index: 5;
    transition: all 0.3s ease;
}
.header_profile_name {
    color: white !important;
    font-weight: 500 !important;
    line-height: 16px !important;
    font-size: 14px;
    width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header_profile_company {
    font-size: 13px;

    width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.header_show_responsive, .show_responsive {
    display: none;
}

@media(max-width:1200px) {
    .header_responsive_hide {
        display: none;
    }
    .header_wrapper {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}
@media(max-width:550px) {
    .header_responsive_mobile_hide, .hide_responsive {
        display: none;
    }

    .header_show_responsive, .show_responsive {
        display: block;
    }
}

.table_wrapper {
    background-color: white;
    border-radius: var(--radius);
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}
.filters_wrapper select, .filters_wrapper input  {
    width: fit-content;
}

.btn_outline {
    border: 1px solid #dee2e6 !important;
    border-radius: 0.375rem !important;
    transition: all 0.3 ease;
}
.btn_outline:hover {
    border-color: #fafafa !important;
    background-color: #fafafa !important;
    color: white !important;
}
@media(max-width:990px) {
    .actions_row, .paginate_filter {
        margin-top: 15px;
    }
}

@media(max-width:550px) {
    .filters_row select, .filters_row input {
        width: 100%;
    }
    .actions_row {
        width: 100%;
        justify-content: flex-end;
    }
    .create_contact_btn {
        width: 100%;
    }
    .paginate_filter {
        margin-left: auto;
    }
}

.search_input {
    position: relative;
    width: 450px;
    max-width: 100%;
}

.search_input input {
    width: 100%;
    padding-left: 35px;
}

.search_input img {
    width: 23px;
    max-width: 23px;
    position: absolute;
    left: 5px;
    bottom: 8px;
}
.paginate_filter select {
    padding-left: 0px !important;
}
.paginate_filter span {
    font-size: 14px;
    color: var(--black900) !important;
}

.table_wrapper th {
    border-top: 1px solid !important;
    border-right: 1px solid !important;
    border-left: 1px solid !important;
    border-color: #dee2e6 !important;
    background-color: #FCFBFD !important;

    text-transform: uppercase !important;
    color: #727272 !important;
    font-size: 12px;
    font-weight: 600 !important;

    padding: 9px 18px !important;
}
.table_wrapper td {
    padding: 20px 18px !important;
    font-size: 13px !important;
}
.table_wrapper td {
    /* max-width: 100px; */
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.table_wrapper .contact_info_td {
    max-width: 150px;
}
.table_wrapper input[type="checkbox"] {
    transform: scale(1.2);
    accent-color: var(--orange600);
}
.table_wrapper input[type="checkbox"]:hover {
    cursor:pointer;
}

.checkbox_table {
    padding: 9px 12px !important;
    width: 30px;
    border-left: 1px solid !important;
    border-color: #dee2e6 !important;
}

.first_table {
    border-left: 1px solid !important;
    border-color: #dee2e6 !important;
}

.last_table {
    border-right: 1px solid !important;
    border-color: #dee2e6 !important;
}
.contact_info_wrapper img {
    width: 100%; max-width: 35px;
    height: 35px; max-height: 35px;
    border-radius: 50%;
    object-fit: cover;
}
.custom_search_results_box img {
    width: 25px; max-width: 25px;
    height: 25px; max-height: 25px;
    border-radius: 50%;
    object-fit: cover;
}
.contact_name {
    color: var(--black900) !important;
    font-weight: 600 !important;
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.custom_search_results_box .contact_name {
    font-size: 13px;
    font-weight: 500 !important;
}
.contact_reference {
   font-size: 10px;
   width: 130px;
   overflow: hidden;
   text-overflow: ellipsis;
   white-space: nowrap;
}

@media(max-width:550px) {
    .table_wrapper .contact_info_td {
        max-width: 180px;
    }
    .table_wrapper .last_table {
        max-width: 180px;
    }
}

.company_box {
    max-width: 650px !important;
}

.no_records_found h2 {
    font-size: 20px;
    color: var(--black900);
    font-weight: 600;
    padding: 8px 0;
}

.no_records_found p {
    color: #A0A4AE !important;
}

.modal_tabs {
    border-bottom: 2px solid #ebebeb; 
}

.modal_tabs li {
    padding: 7px 18px;
    font-weight: 500;
    color: #a9a9a9;
    border-bottom: 3px solid transparent; 
    transition: all 0.3s ease;
}

.modal_tabs li:hover {
    border-color: var(--orange500);
    color: var(--orange500);
    cursor: pointer;
}

.modal_tabs .active_tab {
    border-color: var(--orange500);
    color: var(--orange500);
    cursor: pointer;
}

.modal .modal-header {
    border-bottom: 0;
    padding: 25px 25px 0;
}

.modal .modal-body {
    box-shadow: none;
    padding: 25px;
    padding-top: 25px;;
    white-space: normal;
}

.modal-footer {
    background-color: #F5F9FA !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    border-top: 0 !important;
}

.header_dropdwon_settings {
    position: fixed;
    left: 120px;
    bottom: -800px;
    background: white;
    border-radius: 0.4rem;
    padding: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    width: 250px;
    transition: all 0.3s ease;
    z-index: 9999999999999;
}
@media(max-width:550px) {
    .header_dropdwon_settings {
        position: fixed;
        width: 70%;
        left: 90px;
        right: 0;
        bottom: -800px;
    }
}

.header_dropdwon_settings hr {
    border-color: #1F2938 !important;
}
.header_dropdwon_settings li a {
    font-size: 14px;
    color: #1F2938;
    display: block;
    width: 100%;
    padding: 8px 12px;

}
.header_dropdwon_settings li {
    transition: all 0.3s ease;
}
.header_dropdwon_settings li:hover {
    background: #f3f4f6;
    border-radius: 0.4rem;
}


.header_dropdwon_settings li img {
    width: 17px !important;
    max-width: 17px !important;

}

.business_settings_wrapper {
    position: relative;
}
.business_settings_dropdown {
    position: absolute;
    top: -75px;
    background: white;
    border-radius: 0.4rem;
    padding: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    width: 250px;
    left: 220px;
}
@media(max-width:550px) {
    .business_settings_dropdown {
        position: relative;
        inset: 0;
        width: 100%;
        box-shadow: none;
        border: 1px solid #fafafa;
    }
}

.business_settings_dropdown {
    display: none;
} 

.header_profile_info:hover .header_dropdwon_settings, .business_settings_wrapper:hover .business_settings_dropdown, 
.header_hamburger:hover .header_dropdwon_settings {
    display: block;
    animation: fadeIn 0.5s;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes fadeOut {
    0% { display: block; }
    100% { display: none; }
}

#userSettingsModal form .user_featured_image {
    width: 150px; 
    height: 150px; 
    border-radius: 50%; 
    object-fit: cover;
}

.upload_new_featured_image {
    flex-grow: 1;
    background: #F5F9FA;
    border-radius: var(--radius);
    padding: 25px;
}

.upload_new_featured_image img {
    width: 42px;
    max-width: 42px;
}

@media(max-width: 550px) {
    .user_featured_image {
        margin: 0 auto;
    }
}

.modal_tabs ul {
    margin-bottom: -1px !important;
}

.no_bank_accounts {
    padding: 20px;
    border-radius: var(--radius);
    background: #f5f9fa;
}

.label_small {
    font-size: .875rem;
    margin-bottom: 2px !important;
}

.btn-close:focus {
    box-shadow: none !important;
}

.bank_account_box {
    position: relative;
    padding: 20px;
    background: #fafafa;
    border-radius: var(--radius);
    margin-bottom: 15px;
    transition: background 0.3s ease;
}
.bank_account_box:hover {
    background: #f3f3f3;
}
.bank_bg_icon {
    background: var(--orange100);
    width: 67px;
    height: 67px;
    padding: 10px;
    border-radius: var(--radius);
}

.bank_bg_icon_inactive {
    background: #e5e7eb;
    width: 67px;
    height: 67px;
    padding: 10px;
    border-radius: var(--radius);
}
.bank_account_box img {
    max-width: 100%;
    object-fit: contain;
}

.bank_content_info p {
    color: var(--black800) !important;
    font-size: 1.15rem;
}
.bank_content_info span {
    font-size: 0.8rem;
}

.success_bankaccount p {
    color: var(--black800) !important;
}
.bank_accounts_action_buttons, .employees_action_buttons {
    position: absolute;
    top: 0;
    right: 0;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.employees_action_buttons {
    opacity: 1;
}

.bank_account_box:hover .bank_accounts_action_buttons  {
    opacity: 1;
}
.bank_accounts_action_buttons button, .employees_action_buttons button {
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    width: 28px;
    height: 28px;
    padding: 7px;
    transition: all 0.3s ease;
}
.bank_accounts_action_buttons button:hover, .employees_action_buttons button:hover {
    background-color: #fafafa;
}
.bank_accounts_action_buttons button img, .employees_action_buttons button img {
    max-width: 100%;
    object-fit: contain;
}

@media (max-width:550px) {
    .bank_account_flex_responsive {
        justify-content: center !important;
    }
}

body {
    overflow-y: scroll;    
}

.product-images-wrapper::-webkit-scrollbar-track, body::-webkit-scrollbar-track, .modal::-webkit-scrollbar-track, .annotations_wrapper::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #fefefe;
}

.product-images-wrapper::-webkit-scrollbar, body::-webkit-scrollbar, .modal::-webkit-scrollbar, .annotations_wrapper::-webkit-scrollbar {
    width: 6px;
    background-color: #fefefe;
}

.product-images-wrapper::-webkit-scrollbar-thumb, body::-webkit-scrollbar-thumb, .modal::-webkit-scrollbar-thumb, .annotations_wrapper::-webkit-scrollbar-thumb {
    background-color: #aeaeae;
}

.input_required {
    color: red !important;
}

@media(max-width:550px) {
    .employee_copy_btn button {
        margin-top: 10px;
    } 
}
.employee_box {
    background: #f5f9fa;
    border-radius: var(--radius);
    padding: 12px;
}

.commercial_bulk_box {
    transition: background 0.3s ease;
} 
.commercial_bulk_box:hover {
    background: #e7e9ea;
    cursor: pointer;
}

.employee_box img {
    width: 40px;
    max-width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}

.employee_box p {
    color: var(--black900) !important;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: -4px !important;
}
.employee_box span {
    color: var(--black500) !important;
}

.employee_box .current_user_badge {
    background: var(--orange200);
    color: var(--orange500) !Important;
    font-size: 10px !important;
    padding: 1px 6px;
    margin-left: 5px;
    border-radius: 0.3rem;
}

#createCustomerModal input, #createCustomerModal select, 
#createProductModal input, #createProductModal select {
    width: 100% !important;
}

.form-label {
    margin-bottom: 0.2rem !important;
}

.new_panel_modal_box {
    position: relative;
    padding: 20px;
    background: #fafafa;
    border-radius: var(--radius);
    margin-bottom: 15px;
    animation: fadeIn 0.5s;
    animation-fill-mode: forwards;
}

.new_panel_modal_box h5 {
    font-size: 17px;
}

@media(max-width:550px) {
    .new_contact_type_wrapper .button_contact_type {
        justify-content: flex-start !important;
    }
}

.customer_type_badge {
    display: inline-block;
    width: 85px;
    padding-top: 3px;
    padding-bottom: 3px;
    text-overflow: ellipsis;
    overflow: hidden;

    color: white !important; 
    font-weight: 500;
    border-radius: 0.3rem;
}

.active>.page-link, .page-link.active {
    color: white !important;
    background-color: var(--orange500) !important;
    border-color: var(--orange500) !important;
}
.page-link {
    color: var(--orange500) !important;
}

#offcanvasBottomBulk {
    height: 110px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-color: #dee2e6;
}

#offcanvasBottomBulk .offcanvas-body, #offcanvasBottomBulk .offcanvas-header {
    padding: 1rem 11rem;
}

.bulk_option_box {
    padding: 10px;
    transition: background 0.3s ease;
}
.bulk_option_box:hover {
    background: #fafafa;
    border-radius: 0.3rem;
    cursor: pointer;
}
.bulk_count {
    font-weight: 600;
    font-size: 16px;
    color: var(--black900) !important;
}

.bulk_option_box span {
    color: var(--black900) !important;
    font-weight: 500;
    font-size: 13px;
}

.delete_bulk span {
    color: #ef4444 !important;
}
.bulk_responsive_flex {
    gap: 3rem;
}
@media (max-width:550px) {
    #offcanvasBottomBulk {
        height: fit-content;
    }

    .bulk_responsive_flex {
        justify-content: center !important;
        gap: 0.8rem !important;
    }
    .bulk_count {
        font-size: 19px;
    }
}

.customer_table tbody td a {
    color: #212529 !important;
    transition: opacity 0.3s ease;
}

.customer_table tbody td a:hover {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.customer_table tbody tr, .customer_table tbody td {
    transition: all 0.3s ease;
}
.customer_table tbody tr:hover td {
    cursor: pointer;
    background: #fafafa !important;
}

#offCanvasRight {
    width: 450px;
}

.customer_info_header img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.customer_info_header p {
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    font-size: 1.2rem;
    color: var(--black900) !important;
    font-weight: 600;
}

.customer_info_header span {
    display: inline-block;
    width: 80px;
    padding-top: 4px;
    padding-bottom: 4px;
    text-overflow: ellipsis;
    overflow: hidden;

    background: #f3f2f2;
    color: var(--black600) !important; 
    font-weight: 500;
    border-radius: 0.3rem;
    font-size: 0.8rem !important;
}

.customer_direct_button img {
    width: 45px;
    max-width: 45px;
    transition: transform 0.3s ease;
}

.customer_direct_button img:hover {
    transform: scale(1.15);
}

.customer_direct_button:hover {
    cursor: pointer;
}

.direct_btn_out {
    filter: grayscale(100%) !important;
}

.customer_info_data, .annotations_wrapper {
    background: #FAFAFA;
    padding: 15px;
    border-radius: 0.3rem;
}

.customer_info_data_wrapper span, .annotations_section span {
    color: var(--black600) !important;
}

.customer_info_data .span_pointer {
    cursor: pointer;
}

.annotation_box {
    background: white;
    border-radius: 0.1rem;
    padding: 12px;
    font-size: 0.9rem;
}

.annotation_header img {
    width: 22px;
    max-width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 50%;
}

.annotation_header p {
    color: var(--black900) !important;
    font-weight: 600;
}

.annotations_wrapper {
    max-height: 300px;
    overflow-y: scroll;
}

.annotation_header span {
    font-size: 0.7rem;
}

.annotation_body ul {
    list-style-type: disc;
}

.annotation_body p {
    margin-bottom: 0.1rem;
    color: var(--black700) !important;
}

@media (max-width:550px) {
    .product_input_responsive {
        width: 100% !important;
    }
    .product_flex_responsive {
        justify-content: flex-end !important;
    }
}

@media (max-width: 550px) {
    #editProductPopup .modal-footer select {
        width: 100% !important;
        flex-grow: 1;
    }

    .flex_edit_product_responsive {
        flex-direction: column !important;
    }

    .flex_edit_product_buttons {
        width: 100%;
        justify-content: flex-end !important;
        margin-top: 15px;
    }
}

.table_group h2 {
    padding-bottom: 5px;
    font-size: 16px;
    font-weight: 500;
    color: var(--black500) !important;
}

.expires_manager span {
    background: #fafafa;
    border-radius: 0.3rem;
    width:  30px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    transition: background 0.3s ease;
    border: 1px solid #dddddd;
}

.order_address_manager span {
    background: #fafafa;
    border-radius: 0.3rem;
    padding: 5.3px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    transition: background 0.3s ease;
    border: 1px solid #dddddd;
}

.expires_manager span:hover, .order_address_manager span:hover {
    background: #dddddd;
    cursor: pointer;
}

.expires_manager .active_expiration, .order_address_manager .active_address {
    background: var(--orange500);
    color: white !important;
}

.expires_manager .active_expiration:hover, .order_address_manager .active_address:hover {
    background: var(--orange500) !important;
    color: white !important;
}

.custom_search_wrapper {
    display: block;
    width: 246.4px;
    max-width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    appearance: none;
    background-clip: padding-box;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    height: 37.6px;
    cursor: pointer;
}

.custom_search_wrapper .search_down_arrow {
    position: absolute;
    right: 10px;
    bottom: 6px;
}

@media (max-width: 550px) {
    .table_group .no_col .form-group, .custom_search_wrapper  {
        width: 100%;
    }
}

.custom_search_box {
    position: absolute;
    right: 0;
    left: 0;
    top: 42px;
    background: white;
    border-radius: 0.3rem;
    border: 1px solid #dee2e6;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    z-index: 5;
}

.custom_search_results {
    max-height: 220px;
    overflow-y: hidden;
    scrollbar-width: auto;
    scrollbar-color: #666666 #ffffff;
}

.custom_search_scrollable {
    overflow-y: scroll !important;
    overflow-x: hidden !important;
}

.custom_search_results::-webkit-scrollbar {
width: 11px;
}

.custom_search_results::-webkit-scrollbar-track {
background: #ffffff;
}

.custom_search_results::-webkit-scrollbar-thumb {
background-color: #929191;
border-radius: 10px;
border: 3px solid #ffffff;
}

.custom_search_finder, .custom_search_results_box  {
    padding: 10px;
}

.custom_search_results_box {
    transition: background 0.3s ease;
}

.custom_search_results_box:hover {
    background: #e8e8e8;
}

.show_element {
    display: block !important;
    animation: fadeIn 0.5s;
}

.hide_element_again {
    animation: fadeOut 0.5s !important;
}

@media (max-width:550px) {
    .order_product_table {
        width: 1000px !important;
    }
}

.money_box  {
    padding: 0 25px;
    border-left: 1px solid #cccdce;
}
.first_money_box {
    border: none;
}
.money_box span {
    color: var(--black950) !important;
    font-size: 35px;
    font-weight: 300;
    letter-spacing: -2.5px;
    line-height: 40px;
}

.money_box_total span {
    font-weight: 400;
}

@media (max-width: 550px) {
    .offcanvas_money .offcanvas-body {
        padding: 1rem !important;
    }
    .money_box {
        padding: 0 15px;
    }
    .money_box span {
        font-size: 25px;
    }
}

.large_creation {
    padding-bottom: 150px;
}

.order_status_badge {
    background: var(--black100);
    border-radius: 0.3rem;
    padding: 6px 12px;
    margin-bottom: 8px !important;
    position: relative;
    
    cursor: pointer;
}

.order_status_badge p {
    color: var(--black900) !important;
}
.order_status_svg {
    position: absolute;
    right: 10px;
    top: 0;
    transform: translateY(20%);
}
.order_status_svg img {
    width: 16px;
    max-width: 16px;
}

.order_badge_active {
    background: var(--orange500);
}

.active_order_info_badge {
    background: var(--black600);
}

.order_badge_active p, .active_order_info_badge p {
    color: white !important;
}

@media (min-width: 1300px) {
    .pc_border_left {
        border-right: 1px solid #d8d8d8;
    }
}

.general_order_info span {
    color: var(--black900) !important;
}

.annotations_big_panel {
    max-height: 400px !important;
}

.file_upload_dropzone_wrapper {
    border-radius: 4px;
    border: 1px dashed #d1d5db;
    padding: 14px;
}

.single_file {
    display: flex;
    align-items: center;
    margin-top: 10px;
    padding: 6px 8px;
    gap: 8px;
    border-radius: 4px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB;
    transition: background 0.2s ease;
}

.single_file span {
    color: #1F2938 !important;
}

.single_file:hover {
    background: #e5e5e6;
    cursor: pointer;
}

.single_file img {
    width: 16px;
    max-width: 16px;
}

.single_file_wrapper {
    position: relative;
}

.delete_file {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
}

.single_file_wrapper:hover .delete_file  {
    display: block !important;
}

.delete_file:hover {
    cursor: pointer;
}
.editorNcm .ck-content {
    min-height: 100px !important;
}
.editorNcm p {
    margin-bottom: 15px !important;
    color: #212529 !important;
}

.contact_info_wrapper .contact_name {
    width: auto;
}

.header_profile_company {
    color: white !important;
    opacity: 0.6;
}

.show_complete_text {
    max-width: auto !important;
    width: auto;
    overflow: hidden !important;
    white-space: normal !important;
    line-height: 17px;
    text-overflow: clip !important;
}

.table_product_tag {
    word-break: break-all;
    white-space: nowrap !important;
}
                            
.odd td {
    background: #fdfdfd !important;
}

.custom_search_input span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    width: 200px;
}

.header_add_button {
    position: relative !important;
}

.creator_panel {
    padding: 5px;
    border-radius: 0.5rem;
    background: white;
    z-index: 5;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    position: absolute;
    width: 170px;
    top: 45px;
    right: -5px;
    transition: all 0.3s ease;
}
.creator_panel li {
    padding: 0px 10px;
    border-radius: 0.3rem;
    height: 38px !important;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}
.creator_panel li:hover {
    background: #eeeded;
}
.creator_panel a {
    display: flex;
    align-items: center;
    gap: 7px;
}
.creator_panel a img {
    max-width: 100%;
    width: 19px;
    max-width: 19px;
}
.creator_panel a span {
    color: var(--black900) !important;
    font-size: 14px;
    font-weight: 500 !important;
    margin-top: 5px;
    width: 100%;
}

.showWithFade {
    display: block !important;
    animation: fadeIn 0.5s;
    animation-fill-mode: forwards;
}

.ncm_box p {
    margin-bottom: 0;
}

 @media (min-width: 736px) {
    .widthSelectAddress {
        width: 100%;
    }
 }
 @media (min-width: 550px) {
    .form_group.responsive_padding {
        padding-left: 15px !important;
    }
 }

 .customer_table th {
    cursor: pointer;
 }

 .no_wrapper {
    box-shadow: none !important;
 }

 .modal-dialog .table_wrapper {
    box-shadow: none !important;
 }

 .no_wrapper td {
    max-width: fit-content !important;
 }

@media (min-width: 800px) {
    .header_wrapper {
        margin-bottom: 30px;
    }
}

body {
    background: #F5F9FA !important;
}

.annotations_controls {
    display: none !important;
}

.annotation_box:hover .annotations_controls {
    display: block !important;
}

.create_invoice_table textarea {
    height: 70px;
}

.create_invoice_table td {
    padding: 12px !important;
}

.invoice_table_wrapper td {
    max-width: auto !important;
    overflow: hidden !important;
    white-space: normal !important;
    text-overflow: clip !important;
    text-transform: uppercase !important;
}

.customer_type_badge {
    text-transform:none !important;
}

/* .big-table table {
    width: 1400px;
} */

.big-table table .annotation-icon {
    right: auto;
    position: relative;
    top: -5px;
}

.panel-menu button  {
    background: white !important;
    border: 1px solid #d1d5db !important;
    transition: all 0.3s ease;
}

.panel-menu button img {
    width: 18px;
}
.panel-menu button:hover {
    background: #fafafa !important;
}

.panel-menu .dropdown-toggle::after  {
    display: none;
}

.btn-panel-send img {
    width: 16px;
    margin-right: 2px;
}

.panel-menu .dropdown-menu a img {
    width: 15px;
    margin-bottom: 4px;
    margin-right: 3px;
}

.panel-arrows {
    padding: 0;
    background: white;
    border: 1px solid rgb(209, 213, 219);
    border-radius: 6px;
}

.panel-arrows img {
    padding: 6px 10px;
    width: 44px;
    transition: all 0.3s ease;
    background: white;
    border-radius: 6px;
    cursor: pointer;
}

.panel-arrows img:hover {
    border-radius: 6px;
    background: #fafafa !important;
}

.panel-menu .dropdown-item:active {
    background-color: #F97316;
}

.panel-menu .dropdown-item:active img {
    filter: brightness(0) invert(1);
}

.panel-arrows .arrow-left {
    -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

.panel-billed-status-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    margin: 5px;
}

.panel-billed-status-circle.red {
    background: #E32324;
}

.panel-billed-status-circle.green {
    background: #29BD14;
}

.panel-billed-status-circle.gray {
    background: #BBB7B7;
}


.creator_panel ul li a {
    width: 100%;
}

.related-document {
    margin-bottom: 25px !important;
}

.related-document img {
    width: 33px;
    height: 33px;
    object-fit: contain;
    padding: 6px;
    border-radius: 0.3rem;
    background: rgba(13, 110, 253, 0.08);
}

.related-document .legend,  .related-document .date {
    opacity: 0.7;
}

#createExpenseModal input {
    width: 100%;
}

.sidebar {
    position: fixed;
    top: 0;
    min-height: 100vh;
    background-color: var(--black900);
    z-index: 999999;
    min-width: 80px;
    transition: all 0.01s ease; 
}
.sidebar:hover {
    min-width: 220px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.sidebar .logo  {
    padding: 10px;
}

.sidebar .main-links img {
    width: 30px;
}

.sidebar .main-links a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: background 0.3s ease;
    padding: 15px 10px;
}

.sidebar .user-links a {
    padding: 12px 10px;
}
.sidebar .main-links li:hover, .sidebar .main-links li.active {
    background: var(--black800);
}
.sidebar .main-links a {
    position: relative;
    left: 15px;
}
.sidebar .logo, .sidebar .header_profile_info  {
    position: relative;
    left: 8px;
}

.sidebar .main-links a span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 50px;
    min-width: 180px;
    color: rgba(255, 255, 255, 0.9) !Important;
}
.sidebar .logo span {
    position: absolute;
    width: 200px;
    top: 50%;
    transform: translateY(-50%);
    left: 60px;
    color: rgba(255, 255, 255, 0.9) !important;
}

.sidebar .logo span {
    font-weight: 500;
    font-size: 22px;
    display: none;
}

.sidebar .main-links a span {
    font-weight: 500;
    display: none !important;
}

.sidebar .header_profile_data {
    display: none !important;
}

.sidebar:hover a span, .sidebar:hover .logo span, .sidebar:hover .header_profile_data {
    display: block !important;
}
.sidebar .header_profile_name {
    font-size: 13px;
}
.sidebar .header_profile_company {
    font-size: 9px;
}

.sidebar .main-links .header_profile_name, .sidebar .main-links .header_profile_company {
    color: rgba(255, 255, 255, 0.9) !important;
}

.app-wrapper {
    display: grid;
    grid-template-columns: 90px auto;
}

@media only screen and (max-height: 730px) {
    .sidebar .main-links img {
        width: 22px;
        height: 22px;
    }

    .sidebar .main-links a {
        left: 18px;
    }

    .sidebar .header_profile_info {
        left: 12px;
    }
}

.sf-dump {
    position: absolute !important;
    width: 100% !important;
    inset:0 ;
}

.employees-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 736px) {
    .employees-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-height: 900px) {
    .sidebar {
        overflow-x: hidden !important;
        overflow-y: scroll;
        height: 100%;
        scrollbar-width: auto;
        scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  }
  .sidebar::-webkit-scrollbar {
    width: 5px;
  }

  .sidebar::-webkit-scrollbar-track {
    background: transparent;
  }

  .sidebar::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    border: 3px solid transparent;
  }
}

.header_profile_info:hover {
    background-color: transparent;
}

.header_dropdwon_settings li:hover {
    background: #e9e8e8 !important;
}

.modal {
    z-index: 99999999 !important;
}

.btn, select, input, .customer_info_header span, .custom_search_wrapper
{
    border-radius: 3rem !important;
}

.input-group input {
    border-radius: 3rem 0 0 3rem !important;
}

.input-group .input-group-text {
    border-radius: 0 3rem 3rem 0 !important;
}


.notifications-wrapper {
    position: fixed;
    left: 120px;
    bottom: -800px;
    z-index: 9990;
    background: white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 25px;
    width: 380px;
    min-height: 500px;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
}

.notifications-wrapper.visible, .header_dropdwon_settings.visible {
    bottom: 30px;
}
.notifications-content {
    height: 400px;
    overflow-y: auto;
}

.notifications-content::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #fefefe;
}

.notifications-content::-webkit-scrollbar {
    width: 6px;
    background-color: #fefefe;
}

.notifications-content::-webkit-scrollbar-thumb{
    background-color: #aeaeae;
}

.notifications-content.visible {
    display: block;
}
.notifications-wrapper .controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.notifications-wrapper .controls img {
    width: 18px;
    cursor: pointer;
}

.log-content {
    position: relative;
    background: #fafafa;
    padding: 13px;
    padding-bottom: 16px;
    border-radius: 0.3rem;
    margin-bottom: 15px;
}

.log-content span {
    font-size: 14px;
    font-weight: 500;
}

.log-time {
    position: absolute;
    bottom: 0; 
    right: 4px;
}

.log-time span {
    font-size: 10px;
    padding-bottom: 5px;
}

.log-content img {
    width: 20px;
}

.role-badge {
    background: var(--black100);
    border-radius: 0.3rem;
    padding: 2px 5px;
    font-weight: 500 !important;
    color: var(--black800) !important;
}

.user_featured_image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.product-image-tab {
    width: 231px;
    height: 171px;
    object-fit: cover;
    border-radius: 0.3rem;
    transition: all 0.3s ease;
}

.product-images-wrapper {
    height: 300px;
    overflow-y: scroll;
}

.product-image-tab:hover {
    opacity: 0.7;
}

.invoice-charts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.tag {
    display: block;
    text-transform: lowercase !important;
    color: #1f0da6 !important;
    background: #1f0da612 !important;
    border-radius: 20px;
    padding: 3px;
    padding-right: 10px;
    padding-left: 10px;
    width: fit-content !important;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 140px;
}

.account-crud-wrapper {
    padding: 12px;
    background: #fcfcfc;
    border-radius: 13px;
    border: 1px solid #e4e4e7;
    position: relative;
}

.account-crud-wrapper .close {
    width: 18px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 10px;
}

.accounts-table-wrapper td {
    max-width: none !important;
}

.product-image {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-size:cover !Important;
}

.table_wrapper .contact_info_td {
    max-width: none;
}

.customer-table .contact_info_td {
    max-width: 150px;
}

.customer-table td {
    max-width: 100px;
}

.product-img-trash {
    display: none;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 20px;
    cursor: pointer;
}

.prod-images-wrapper:hover .product-img-trash {
    display: block;
}