@font-face {
    font-family: "Inter";
    src: url("./font/Inter/static/Inter_18pt-Regular.ttf") format("woff2"),
        url("fonts/Inter/static/Inter-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/Inter/staticInter-Bold.woff2") format("woff2"),
        url("fonts/Inter/static/Inter-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: "Inter", sans-serif !important;
}
body {
    background-color: #f3f4f6;
}

.sidebar {
    width: 250px;
    min-height: 100vh;
}

.sidebar .nav-link i {
    margin-right: 8px;
}

.topbar {
    height: 64px;
}

.btn-group .btn {
    border-radius: 6px !important;
}

.btn-group .btn.active {
    background-color: #e9f2ff;
    color: #0d6efd;
    border-color: #bcdcff;
}

.form-control[disabled] {
    background-color: #f9fafb;
    color: #6b7280;
}
/* Header css start here */
.topbar {
    background: #fff;
    /* border-bottom: 1px solid #e5e7eb; */
    padding: 10px 20px;
    display: flex;
    justify-content: end;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    width: calc(100% - 250px);
    margin-left: 250px;
}
/* /sidebar css start here/ */
.desktop_sidebar li a {
    color: #111827;
    font-size: 14px;
    border-radius: 4px;
    font-weight: 500;
    border-radius: 41px;
    margin-bottom: 7px;
}
.desktop_sidebar li a.active,
.desktop_sidebar li a:hover {
    background-color: #007bff;
    color: #fff;
}

/* Sidebar */
.sidebar {
    width: 250px;
    height: 100vh;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    padding-top: 20px;
}
.desktop_sidebar li a .sidebar_icon {
    /* width: 16px; */
    /* height: 16px; */
    margin-right: 10px;
}
.profile-info {
    display: flex;
    align-items: center;
    /* gap: 10px; */
    background-color: #f4f6f8;
    border-radius: 40px;
    padding: 5px 20px;
}
.profile-info p {
    color: #2e2e2e;
    margin: 0;
    line-height: 20px;
}
.profile-info small {
    color: #6b7280;
}
.profile-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .main-content {
        margin-left: 0;
    }
}

/* basic css for all pages */
input,
select {
    height: 44px;
    border-radius: 6px !important;
}
.page_heading {
    font-size: 28px;
    font-weight: 600;
    color: #111827;
}
.main-btn {
    background-color: #007bff;
    color: #fff;
    padding: 7px 20px;
    border-radius: 8px;
    font-weight: 400;
    white-space: nowrap;
    border: 1px solid #007bff;
    font-size: 16px;
    text-decoration: none;
    text-align: center;
    height: 44px;
    line-height: 34px;
}
.main-btn:hover {
    background-color: #0056b3;
    border: 1px solid #0056b3;
    color: #fff;
}
/* Main content */
table {
    font-size: 14px;
}
.main-content {
    margin-left: 250px;
    padding: 25px 25px 50px;
}
.card {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
thead th {
    color: #4b5563;
    font-weight: 500;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 6px !important;
    padding: 4px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    background: #fff;
    color: #374151 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #2563eb !important;
    color: #fff !important;
    border: 1px solid #2563eb;
}
.btn-custom {
    border-radius: 8px;
    padding: 6px 14px;
    font-weight: 500;
}
.filter-bar select,
.filter-bar input {
    border-radius: 8px;
    padding: 6px 10px;
}
.btn-add {
    background: #2563eb;
    color: #fff;
    border-radius: 8px;
    padding: 6px 16px;
}
.btn-add:hover {
    background: #1d4ed8;
    color: #fff;
}
.range_datepicker {
    width: 250px;
}
label {
    font-weight: 500;
    color: #111827;
    font-size: 14px;
}
.btn {
    font-size: 14px;
    font-weight: 400;
}
input,
select {
    height: 44px;
    border-radius: 8px;
}
.filter-bar select {
    min-width: 150px;
}
input:focus,
select:focus {
    box-shadow: none !important;
}
.tab_main_section {
    position: relative;
}
.tab_main_section .nav-pills {
    position: absolute;
    z-index: 99;
    top: 20px;
    left: 20px;
}
.tab_main_section .tab-pane .card-body {
    padding-top: 80px !important;
}

.tab_main_section .nav-pills .nav-link.active {
    background-color: #007bff33;
    color: #007bff;
    border: 1px solid #007bff33;
}
.tab_main_section .nav-pills .nav-link {
    color: #2e2e2e;
    border: 1px solid #e9e9e9;
    margin-right: 10px;
}
.underline-none {
    text-decoration: none !important;
}
/* pagination style here */

.pagination .paginate_button {
    color: #e3e8ef;
    height: 36px;
    border-radius: 6px;
}
.pagination .paginate_button a {
    background-color: transparent;
    border: none;
    padding: 0;
}
.dataTables_wrapper {
    position: relative;
    padding-bottom: 10px;
}
.pagination {
    position: absolute;
    left: 42%;
    width: 58%;
    justify-content: inherit !important;
}
.report_page_table .pagination {
    bottom: 0;
}
/* Table scroll ke andar neeche thoda gap */
.dataTables_scrollBody {
    overflow-y: auto !important;
    overflow-x: auto !important;
    padding-bottom: 15px; /* 👈 yaha apni marzi ka gap do */
}
.pagination li {
    left: 0;
}
.paginate_button a {
    color: #030712;
}
.paginate_button.active a {
    color: #030712;
}
.paginate_button.active {
    border: 1px solid #007bff !important;
}
.pagination li:nth-child(1) {
    right: 70px;
    position: absolute;
    left: auto;
}
.pagination li:last-child {
    right: 10px;
    position: absolute;
    left: auto;
}
.pagination li:last-child a,
.pagination li:nth-child(1) a {
    font-size: 14px;
    line-height: 26px;
}
.pagination .page-link:focus {
    box-shadow: none !important;
}
table td {
    font-family: "Inter", sans-serif !important;
}
table {
    background-color: #fff;
    border-radius: 12px;
}
table.dataTable.table-striped > tbody > tr.odd > * {
    background-color: #fff;
    box-shadow: none;
}
table th {
    background-color: #f8fafc !important;
}
table th {
    color: #4b5563 !important;
    font-weight: 500;
    white-space: nowrap;
}
table td {
    white-space: nowrap;
}
table th:nth-child(1) {
    border-top-left-radius: 8px;
}
table th:last-child {
    border-top-right-radius: 8px;
}
.dataTables_info {
    font-size: 14px;
    color: #4a5567;
}
.tab_main_section .nav-pills .nav-link {
    color: #2e2e2e;
    border: 1px solid #e9e9e9;
    margin-right: 10px;
}
.dashboard-card {
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    padding: 16px;
}
.dashboard-card h6 {
    font-size: 16px;
    font-weight: 500;
    color: #202224;
}
.dashboard-card h3 {
    font-size: 28px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0;
}
.chart-container {
    border-radius: 12px;
    padding: 16px;
}
.chart-container h5 {
    font-weight: 600;
}
.chart-container canvas {
    margin-top: 50px;
}
.custom_dropdown li {
    width: auto;
}
.custom_dropdown li a {
    font-size: 14px;
}
.custom_dropdown.dropdown-menu {
    min-width: 90px !important;
}
.table_top_div {
    background-color: #f8fafc;
    display: flex;
    justify-content: space-between;
    padding: 16px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;

    /* margin-bottom: 16px; */
    /* margin-top: 16px; */
}
.table_top_div + .table-responsive {
    margin-top: -16px;
}
.icon_user_div {
    display: flex;
    align-items: center;
}
.icon_user_div div {
    border: 1px solid #e3e8ef;
    background-color: #fff;
    border-radius: 6px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}
.icon_user_div p {
    color: #4a5567;
    margin-bottom: 0;
}

table.dataTable tbody tr.overdue-row,
table.dataTable tbody tr.overdue-row td {
    background-color: #f8d7da !important;
    color: #842029 !important;
}
.page_heading h4 {
    margin-bottom: 0;
}
#reportsTable_wrapper .dt-buttons {
    position: absolute;
    top: 5px;
}
.report_hisotry_table .dataTables_scroll {
    padding-top: 40px;
}
.report_hisotry_table #reportsTable_wrapper .dt-buttons {
    position: absolute;
    top: 0px;
}
.report_hisotry_table
    div.dataTables_wrapper
    div.dataTables_paginate
    ul.pagination {
    bottom: 0;
}
/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}
.small_input_box input {
    width: 60px;
}
.small_input_box {
    width: 100%;
}
.small_label_box {
    margin-right: 20px;
}
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #dee2e6 !important;
    border-radius: 4px;
    height: 44px !important;
    /* line-height: 27px; */
}
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 44px !important;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__clear,
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 35px !important;
}
.form-select-sm.search_select_div
    + .select2-container
    .select2-selection__rendered {
    font-size: 0.875rem;
    /* width: 200px!important;   */
}
.select2-results__option--selectable {
    font-size: 0.875rem;
}
.my_approval_filter {
    width: 600px;
    min-width: fit-content;
}
.heading_div_section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.heading_div_section .page_heading {
    margin-bottom: 0px;
}
.only_filter_right {
    display: flex;
    justify-content: end;
    width: 100%;
}
.only_filter_right .only_filter_right {
    width: 80%;
}
.append_class_section {
    display: flex;
}
.first_graph_designation {
    width: 480px;
    height: 500px;
    margin: 0 auto;
}
.second_graph_status {
    width: 360px;
    height: 440px;
    margin: 0 auto;
}
.guidance_page_section ul li a {
    color: #007bff;
    font-size: 14px;
    border-radius: 4px;
    font-weight: 500;
    margin-bottom: 7px;
    display: block;
    padding: 10px 16px;
    text-decoration: none;
}
.guidance_page_section ul li {
    border-bottom: 1px solid #e5e7eb;
    /* border-radius: 8px; */
    /* margin-bottom: 10px; */
}
.guidance_page_section ul {
    padding-left: 0px;
    list-style: none;
    margin: 0;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    color: #333333 !important;
}
input:placeholder-shown {
    color: #333333 !important;
}
.footer_version_div {
    position: fixed;
    bottom: 0;
    right: 0;
    width: calc(100% - 250px); /* 250px for sidebar width */
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 10px 20px;
    background: #ececec;
    margin-top: 20px;
    border-radius: 8px;
    margin-left: 250px;
}
.footer_version_div p,
.auth_footer_version_div p {
    margin: 0;
    color: #6b7280;
    font-size: 12px;
}
.auth_footer_version_div {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 10px 20px;
    background: #ececec;
    margin-top: 20px;
    border-radius: 8px;
}
.search_select_designation + .select2-container {
    width: 200px !important;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    top: 5px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b{
    margin-top: -6px;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-top: 5px;}
@media (min-width: 320px) and (max-width: 600px) {
    .topbar {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 20px 20px 50px;
    }
    #mobileSidebar li a {
        color: #111827;
    }
    .pagination li:nth-child(1) {
        right: auto;
        position: relative;
        left: auto;
    }
    .pagination li:last-child {
        right: auto;
        position: relative;
        left: auto;
    }
    .pagination {
        position: relative;
        left: auto;
        width: auto;
    }
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        margin-top: 10px;
    }
    .tab_main_section .nav-pills .nav-link {
        margin-right: 5px;
        font-size: 14px;
    }
    .my_approval_filter {
        width: -webkit-fill-available;
    }
    .range_datepicker {
        width: 100%;
    }
    .filter-bar .main-btn {
        width: 100%;
    }
    .heading_div_section {
        display: block;
    }
    .heading_div_section .page_heading {
        margin-bottom: 10px;
    }
    .only_filter_right {
        display: block;
    }
    .only_filter_right .only_filter_right {
        width: 100%;
    }
    .only_filter_right select,
    .only_filter_right input,
    .only_filter_right .select2-container {
        margin-bottom: 10px;
    }
    .main-btn {
        width: 100%;
    }
    .append_class_section {
        display: block;
    }
    .small_input_box input {
        width: 100%;
    }
    .small_label_box {
        margin-right: 0;
    }
    .first_graph_designation {
        width: 350px;
        height: 500px;
    }
    .second_graph_status {
        width: 200px !important;
        height: 440px;
    }
    .footer_version_div {
    position: fixed;
    bottom: 0;
    width: 100%;/* 250px for sidebar width */
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 10px 20px;
    background: #ececec;
    margin-top: 20px;
    border-radius: 8px;
    margin-left: 0px;
}
}
