.text-dark {
    color: #101828 !important;
}
.text-light {
    color: #475467 !important;
}
.height-0 {
    height: 0px !important;
}
.fs-12 {
    font-size: 12px !important;
}
.fs-14 {
    font-size: 14px !important;
}
.fs-18 {
    font-size: 18px !important;
}
.gap-8 {
    gap: 8px !important;
}
.gap-12 {
    gap: 12px !important;
}
.gap-16{
    gap: 16px !important;
}
/*  Sidebar */
.sidebar_menu a span {
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
    letter-spacing: -0.01em;
    text-align: left;
    color: #667085 !important;
    padding-left: 8px;
}

.sidebar_menu a.active span {
    color: #fff !important;
}

.sidebar_menu a {
    padding: 0px 12px !important;
}

.sidebar_menu a.active {
    color: #fff;
    background-color: #1d2939;
    border-radius: 6px;
    padding: 8px 12px !important ;
}

.sidebar_menu a span .badge {
    background-color: #1d2939;
    padding: 6px 10px !important;
    font-family: Inter;
    font-size: 12px;
    font-weight: 500;
    line-height: 15.6px;
    letter-spacing: -0.01em;
    text-align: center;
    border-radius: 16px;
}

.fs-28 {
    font-size: 28px;
}

.main-header .header-part-right {
    gap: 24px;
}

.main-menu {
    overflow-y: auto;
    height: calc(90vh - 85px);
}

.admin-menu {
    height: calc(95vh - 85px);
}

.admin-menu ul {
    list-style: none;
}

.sidebar_menu a.active svg path{
    stroke: #6286FF;
}

.user-dropdown {
    background: #f2f4f7;
    border-radius: 25px;
    padding: 2px 7px;
    gap: 6px;
}

.table-action {
    width: 90px;
}

.header-toggle .navbar-toggler-icon::before,
.header-toggle .navbar-toggler-icon::after,
.header-toggle .navbar-toggler-icon {
    background: #101828 !important;
}

.header-left .breadcrumb-item + .breadcrumb-item::before {
    content: "";
    background-image: url("/frontend/images/dashboard/chevron-right.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-bottom: 2px;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.header-left .breadcrumb-item {
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
    letter-spacing: -0.01em;
    text-align: left;
}
.header-left .breadcrumb-item a {
    color: #475467 !important;
}

.header-left .breadcrumb-item.active a {
    color: #6286ff !important;
    padding: 4px 12px 4px 12px;
    border-radius: 6px;
    background-color: #f2f4f7;
}

.multiple_author {
    font-family: Inter;
    font-size: 12px;
    font-weight: 500;
    line-height: 15.6px;
    letter-spacing: -0.01em;
    text-align: left;
    color: #6286ff;
}

.page-item.active .page-link {
    background-color: #6286ff;
    border-color: #6286ff;
}

div.dataTables_wrapper div.dataTables_length label,
div.dataTables_wrapper div.dataTables_length select,
.pagination ul li .page-link {
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.01em;
    text-align: center;
}

.dashboard_analytics .col-md-3.col-lg-3:first-child {
    padding-left: 15px;
}

.dashboard_analytics .col-md-3.col-lg-3:last-child {
    padding-right: 15px;
}

.dashboard_analytics .col-md-3.col-lg-3 {
    padding-left: 8px;
    padding-right: 8px;
}

.edit_research_tabs ul li a {
    border-radius: 0px !important;
}

.edit_research_tabs ul li:first-child a {
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
}

.edit_research_tabs ul li:nth-child(3) a,
.edit_research_tabs ul li:nth-child(4) a {
    border-left: none !important;
}

.edit_research_tabs ul li:last-child a {
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

.edit_research_details,
.timeline,
.upload_research {
    border-radius: 8px;
    border-color: #d0d5dd !important;
}

.page-title {
    font-family: Inter;
    font-size: 28px;
    font-weight: 600;
    line-height: 33.6px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #141b33;
}

.date-picker .icon {
    right: 14px;
    left: auto;
}

.date-picker input,
.reminder-dropdown .select2-container--default .select2-selection--single {
    border-color: #d0d5dd;
}

.timeline .card {
    border-radius: 8px;
}

.timeline .card .card-top {
    background: #f9fafb;
    border-bottom: 1px solid #eaecf0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.reminder-dropdown
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border: solid #98a2b3;
    border-width: 0 1px 1px 0;
    display: inline-block;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    padding: 3px;
}

.select2-container--default.select2-container--open
    .select2-selection--single
    .select2-selection__arrow
    b {
    border: solid #98a2b3;
    border-width: 0 1px 1px 0;
    display: inline-block;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    padding: 3px;
}

.reminder-dropdown
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    top: 8px;
    right: 8px;
}

.icon-block
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding-left: 35px;
}

.icon-none
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding-left: 8px !important;
    padding-right: 20px !important;
}

.reminder-dropdown span.select2.select2-container.select2-container--default {
    width: 100% !important;
}

.upload_research .upload_stage_nav {
    background: #f9fafb;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-right: 1px solid #eaecf0;
    gap: 8px;
}

.upload_research .upload_stage_nav .nav-link {
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
    letter-spacing: -0.01em;
    text-align: left;
    padding: 8px 12px;
    color: #667085;
    border: none;
    background: transparent;
    border: 1px solid transparent;
}

.upload_research .upload_stage_nav .nav-link.active,
.upload_research .upload_stage_nav .nav-link:hover {
    color: #6286ff;
    background: #f2f4f7;
    border: 1px solid #eaecf0;
}

.upload_research .upload_stage_nav .nav-link:focus,
.upload_research .upload_stage_nav .nav-link:focus-visible {
    outline: none;
}

.upload-card,
.progress-card {
    padding: 16px 24px;
    border-radius: 8px;
}

.upload-card .upload-area .upload_file {
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
    letter-spacing: -0.01em;
    text-align: left;
    color: #6286ff;
    margin-right: 4px;
}

.upload-card .upload-area p {
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.6px;
    letter-spacing: -0.01em;
    text-align: left;
    color: #475467;
}

.file-info-grid .card .card-text {
    border-top: 1px solid #eaecf0;
}

.btn-delete {
    background-color: #f04438;
    border-color: #f04438;
}

.badge-rejected {
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
    line-height: 19.6px;
    letter-spacing: -0.01em;
    text-align: center;
    color: #b42318;
    padding: 4px 12px;
    background-color: #fef3f2;
    border-radius: 16px;
}
.badge-rejected .badge-dot-dark {
    width: 6px;
    height: 6px;
    background-color: #f04438;
}
.hide-0 td {
    height: 0px !important;
}

.research_modal_new {
    backdrop-filter: blur(5px);
}

.research_modal_new .modal-content {
    border-radius: 12px;
    padding: 20px;
}

.research_modal_new .modal-header {
    background-image: none;
    margin-bottom: 20px;
}

.edit_research_modal label {
    font-family: Inter;
    font-size: 12px;
    font-weight: 500;
    line-height: 15.6px;
    letter-spacing: -0.01em;
    text-align: left;
    color: #475467;
    margin-bottom: 8px;
}

.edit_research_modal input {
    padding: 10px 12px;
}

.datepicker .datepicker-days,
.daterangepicker table thead {
    color: #47404f !important;
}

.status-dropdown {
    display: inline-block;
    position: relative;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    color: white;
    background-color: #f1f1f1; /* Placeholder background */
    border: none;
    cursor: pointer;
    min-width: 100px; /* Ensure there's enough space for text */
    text-align: center; /* Center the text */
}

.badge-text {
    font-weight: 500;
    font-size: 14px; /* Ensure the font size is readable */
}

.badge-pending {
    background-color: #fef3c7;
    color: #c2410c;
}

.badge-in-review {
    background-color: #eef2ff;
    color: #3730a3;
}

.badge-deferred {
    background-color: #fee2e2;
    color: #b91c1c;
}

.badge-resolved {
    background-color: #d1fae5;
    color: #047857;
}


.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.status-dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px; /* Adds space between the circle and the text */
}

.badge-circle {
    margin-right: 5px;
}

.comments-dropdown{
    cursor: pointer;
}



@media only screen and (max-width: 1440px) {
    .chart_card .top {
        flex-direction: column;
        gap: 12px;
    }
}

@media only screen and (max-width: 1150px) {
    .header-part-right .navbar-toggler,
    .navbar-expand-lg .navbar-toggler {
        display: block !important;
    }
}

@media only screen and (max-width: 890px) {
    .flex-col {
        flex-direction: column;
        gap: 12px;
    }
}

@media only screen and (max-width: 767px) {
    .flex-col,
    .header-col {
        flex-direction: column;
        gap: 12px;
    }
    .table_ table.rounded-corners th {
        min-width: 150px;
    }
    .flex-nowrap {
        flex-wrap: nowrap;
    }
    .col-reverse {
        flex-direction: column-reverse;
    }
    .main-header {
        height: auto !important;
    }
    span.select2.select2-container.select2-container--default {
        width: 100% !important;
    }
}

@media only screen and (max-width: 620px) {
    .flex-col {
        flex-direction: column;
        gap: 12px;
    }
    .header-left {
        display: none;
    }
    .header-part-right {
        justify-content: space-around !important;
        background: #f9fafb;
        padding: 8px;
        width: 100%;
        border-radius: 8px;
        border: 1px solid #eaecf0 !important;
    }
}
/*  Sidebar */
