@font-face {
    font-family: "montserrat-regular";
    src: url("../fonts/Montserrat-Regular.woff2") format("woff2"),
        url("../fonts/Montserrat-Regular.woff") format("woff");
}

@font-face {
    font-family: "montserrat-medium";
    src: url("../fonts/Montserrat-Medium.woff2") format("woff2"),
        url("../fonts/Montserrat-Medium.woff") format("woff");
}

@font-face {
    font-family: "montserrat-semibold";
    src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"),
        url("../fonts/Montserrat-SemiBold.woff") format("woff");
}

@font-face {
    font-family: "montserrat-bold";
    src: url("../fonts/Montserrat-Bold.woff2") format("woff2"),
        url("../fonts/Montserrat-Bold.woff") format("woff");
}

:root {
    --black: #000;
    --dark-1: #353535;
    --title-color: #424141;
    --text-color: #000000bd;
    --green: #2e6876;
    --light-green: #5cb8b3;
    --light-green-2: #0bde7c;
    --white: #fff;
    --red: #e9455a;
    --grey-1: #F1F1F1;
    --pure-red: #FF0000;
    --purple: #7B67D9;
}

body {
    font-family: "montserrat-regular";
}

.font-regular {
    font-family: "montserrat-regular";
}

.font-medium {
    font-family: "montserrat-medium";
}

.font-semibold {
    font-family: "montserrat-semibold";
}

.font-bold {
    font-family: "montserrat-bold";
}

/* ------------------- */
.sidebar {
    position: relative;
    background: var(--green);
    max-height: 100vh;
    height: 100vh;
    width: 300px;
    background-image: url("/assets/images/backoffice/sidebar_bg.png");
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: contain;
    background-blend-mode: color-burn;
    transition: width 0.3s ease;
    flex-shrink: 0;
}

.sidebar-scroll {
    overflow-y: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-content {
    flex-grow: 1;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
}

.sidebar-nav .nav-link {
    color: var(--white);
    font-family: "montserrat-semibold";
    font-size: 14px;
}

.sidebar-nav .nav-link.active{
    background-color: var(--light-green);
    border-radius: 8px;
}
.sidebar_profile .wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar .toggle_nav {
    position: absolute;
    top: 25px;
    right: -33px;
    background: var(--light-green);
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 1;
}

.sidebar:not(.collapsed) .toggle_nav img {
    transform: rotate(180deg);
}

.sidebar.collapsed {
    width: 100px;
}

.sidebar.collapsed .nav-link span,
.sidebar.collapsed .sidebar_profile p {
    display: none;
}

.sidebar.collapsed .nav-link {
    text-align: center;
}

.sidebar.collapsed .sidebar-logo img {
    width: 50px;
}

.content {
    background-image: url("/assets/images/backoffice/content_bg.png");
    background-repeat: no-repeat;
    background-size: contain;
    height: 100dvh;
    overflow-y: scroll;
}

.content-wrapper {
    padding: 32px 40px;
    position: relative;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 4px 16px 0 rgba(92, 184, 179, 0.16);
    margin-bottom: 30px;
}

.content-side{
        width: 100dvh;
    flex: 1;
}

.table-container{
    overflow-x: scroll;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav .title {
    font-size: 1.25rem;
}

.top-nav .notif-bell {
    background: var(--white);
    padding: 9px;
    border-radius: 50%;
}

.top-nav .profile-wrapper {
    background: var(--white);
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.title-wrapper::before {
    content: "";
    width: 6px;
    display: block;
    height: 100%;
    background: var(--light-green);
    position: absolute;
    border-radius: 100px;
}

.btn-add {
    font-family: "montserrat-semibold";
    padding: 7px 7px 7px 30px;
}

.status-btn {
    display: block;
    width: 100%;
    padding: 7px 5px;
    text-align: center;
    border-radius: 50px;
}

.available {
    border: 1px solid rgba(92, 184, 179, 0.3);
    background: rgba(92, 184, 179, 0.07);
}

.assigned {
    background: var(--green);
    color: white;
}

.pending {
    border: 1px solid rgba(233, 69, 90, 0.3);
    background: rgba(233, 69, 90, 0.06);
}

.circle {
    border-radius: 100px;
    width: 27px;
    height: 27px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-circle {
    background: rgba(156, 231, 217, 0.24);
}

.trash-circle {
    background: #f6f6f6;
}

.modal__content {
    background-color: #fafafa !important;
}

.auth-wrapper {
    max-height: 100dvh;
    overflow: hidden;
    height: 100vh;
}

.auth-wrapper .col-lg-6 {
    height: 100vh;
}

.auth-wrapper .auth-wrapper_content {
    height: 100%;
    overflow-y: scroll;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 55px;
}

.auth-wrapper .auth-wrapper_content .form-control {
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.auth-wrapper .auth-wrapper_content .btn-primary {
    background: var(--light-green);
    border-radius: 8px;
    border-color: transparent;
}

.auth-wrapper .auth-wrapper_content label[for="remember_me"],
.auth-wrapper .auth-wrapper_content a {
    color: #2d2d2d;
    text-decoration: none;
}

.auth-wrapper .auth-wrapper_content .wrapper {
    max-width: 404px;
}

.support-wrapper {
    border-radius: 24px;
    width: 100%;
    display: block;
    display: flex;
    align-items: center;
    gap: 25px;
    text-decoration: none;
    color: var(--white);
}

.support-wrapper.accident {
    background: var(--red);
}

.support-wrapper.repair {
    background: var(--green);
}

.support-wrapper.assistance {
    background: var(--light-green);
}

.support-wrapper img {
    background: var(--white);
    border-radius: 50%;
}

.insurance-profile {
    width: 154px;
    height: 154px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--light-green);
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translateX(-50%);
    cursor: pointer;
}

.insurance.form-grid {
    margin-top: 6rem;
    align-items: start;
}

.camera-overlay {
    position: absolute;
    left: 50%;
    bottom: -17%;
    transform: translateX(-50%);
}

/* ------------------------------------------ */
/* Delete modal */
.modal__content.delete-modal {
    max-width: 710px;
    width: 95%;
}

.modal__content.delete-modal .close-btn,
.modal__content.delete-modal .btn-danger {
    background: #f00;
}

.modal__content.delete-modal .modal-body .modal-body__content p {
    color: #525252;
    font-size: 18px;
    font-family: "montserrat-medium";
}

/* ----------------------------------------- */
/* Custom pagination: */
.custom-pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.custom-pagination .pagination-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.custom-pagination .pagination-item {
    display: flex;
}

.custom-pagination .pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 40px;
    padding: 8px 12px;
    border-radius: 10.096px;
    background-color: transparent;
    transition: all 0.2s ease;
    border: none;
    font-family: "montserrat-bold";
}

.custom-pagination .pagination-link:hover:not(.current):not(.disabled) {
    background-color: #f3f4f6;
}

.custom-pagination .pagination-link.current {
    background: var(--light-green);
    color: var(--white);
    cursor: default;
}

.custom-pagination .pagination-link.prev-next {
    border-radius: 10.096px;
    min-width: 36px;
    height: 36px;
}

.custom-pagination .pagination-link.dots {
    cursor: default;
    border-radius: 0;
}

.custom-pagination .pagination-item.disabled .pagination-link svg {
    opacity: 0.5;
    cursor: not-allowed;
}

.custom-pagination .pagination-item.disabled .pagination-link:hover {
    background-color: transparent;
    color: #d1d5db;
}

/* Focus styles for accessibility */
.custom-pagination .pagination-link:focus {
    outline: 2px solid var(--light-green);
    outline-offset: 2px;
}

/* ----------------------------------------- */
/* scrollbar */

.content::-webkit-scrollbar,
.modal-body::-webkit-scrollbar,
.auth-wrapper .auth-wrapper_content::-webkit-scrollbar,
.table-container::-webkit-scrollbar{
    width: 7px;
    background-color: transparent;
}

.content::-webkit-scrollbar-thumb,
.modal-body::-webkit-scrollbar-thumb,
.auth-wrapper .auth-wrapper_content::-webkit-scrollbar-thumb,
.table-container::-webkit-scrollbar-thumb {
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--green);
}

.sidebar-scroll::-webkit-scrollbar {
    width: 10px;
    background-color: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--white);
}

.table-container::-webkit-scrollbar{
    height: 5px;
}

/* ---------------------------------- */
/* placeholders */
.auth-wrapper .auth-wrapper_content .form-control::placeholder {
    color: #828282;
}
