@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;400&family=Manrope&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@600&display=swap");

/* forçar os span com a classe usar a fonte de icones */
.material-symbols-outlined {
    font-family: "Material Symbols Outlined" !important;
    font-size: 25px !important;
}

body {
    background: #fff;
}

/* CSS da sidebar */
#side_nav {
    background: #fff;
    min-width: 225px;
    max-width: 225px;
    transition: all 0.5s;
}

#side_nav .title .retract {
    display: flex;
    cursor: pointer;
}

#side_nav .title .retract span {
    font-size: 16px;
}

#side_nav .title .expand {
    display: none;
    cursor: pointer;
}

#side_nav.minify .icon-material {
    justify-content: center;
}

#side_nav.minify .title .retract {
    display: none;
}

#side_nav.minify .list-unstyled span.ml-2 {
    font-size: 0;
    transition: font-size 0.3s;
}

#side_nav.minify {
    background: #fff;
    min-width: 85px;
    max-width: 85px;
    transition: all 0.5s;
}

#side_nav.minify .title .expand {
    display: flex;
}

#side_nav.minify .header-box img {
    content: url("/img/SVGs/leilao_imovel_mini_logo.svg");
}

.sidebar {
    filter: drop-shadow(
        1.5px 2.5999999046325684px 10px rgba(119, 119, 119, 0.1)
    );
}

.sidebar .title {
    padding: 1rem 1rem 0rem 1rem;
}

.sidebar .header-box {
    background-color: #007c9b;
}

.sidebar li.active {
    background: #f7845c;
}

.sidebar li.active:hover {
    background: #f7845c;
}

.sidebar li:hover {
    background: #dae6e9;
}

.sidebar li.active svg {
    fill: #fff;
}

.sidebar li .sub-menu {
    background-color: #dae6e9;
}

.sidebar li.active .sub-menu svg {
    fill: rgba(2, 96, 120, 0.84);
}

.sidebar .sub-menu ul {
    list-style-type: none;
    padding: 0;
}

.sidebar li.active .sub-menu li.active {
    background: #dae6e9;
}

.sidebar li.active .sub-menu li.active span {
    color: #f7845c;
}

/* CSS do conteudo fora da sidebar */
.content {
    min-height: 100vh;
    width: 100%;
}

/* CSS para o breadcrump */
.breadcrump {
    background: rgb(5, 152, 189, 0.2);
}

/* CSS da navbar */
.navbar {
    padding: 15px;
}

.navbar .nav-item img {
    width: 3rem;
}

.navbar .navbar-div {
    min-height: 80px;
    max-height: 80px;
}

.navbar .navbar-div .collapse .dropdown .dropdown-toggle::after {
    content: none;
}

.navbar .navbar-div .collapse .dropdown .dropdown-menu {
    left: unset !important;
    right: 0 !important;
}

.navbar .name.dropdown-item:hover {
    background-color: #fff !important;
}

/* CSS do conteudo da página dashboard */
/* button */
.dashboard-content .btn-dashboard {
    background-color: #f7845c;
    border-color: #f7845c;
    border-radius: 9px;
    color: #fff;
    font-family: Inter;
    font-size: 16px;
    padding: 1rem 0;
}

.dashboard-content svg {
    fill: rgba(2, 96, 120, 0.84);
}

/* CSS para a página detalhes do atendimento*/
.dashboard-content .service_details .customer_status {
    display: flex;
}

.dashboard-content .service_details .customer {
    width: 60%;
}

.dashboard-content .service_details .customer .customer_area {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    width: 49%;
    padding: 1rem 1rem 0 1rem;
    overflow: auto;
}

.dashboard-content .service_details .customer .customer_area .digisac {
    padding: 7px 9px;
    border-radius: 9px;
}

.dashboard-content .service_details .customer .status {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    width: 49%;
    padding: 1.5rem;
}

.dashboard-content .service_details .customer .status .alert-status {
    background-color: #e6f5f8;
    border-color: #e6f5f8;
    border-radius: 9px;
    color: #0598bd;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 36px;
    padding: 1rem 1.25rem;
}

.status .status_buttons .card-body {
    padding: 0;
}

.status .status_buttons .card-body .btn-group {
    width: 100%;
    padding: 0;
    margin: 0;
}

.status .status_buttons .card-body .btn-group button.status_button {
    padding: 1rem;
    font-size: 16px;
    background-color: #f7845c;
    border-color: #f7845c;
    box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.5);
}

/* CSS para os botões de exporar e filtrar na pagina de monitoramento */
.dt-buttons.btn-group {
    margin: 0.5rem;
}

/* CSS para area de notas de clientes */
.dashboard-content .service_details .customer .notes {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 1.5rem;
}

/* CSS para qualificação do cliente */
.dashboard-content .service_details .avaliation {
    width: 40%;
}

.dashboard-content .service_details .qualification {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 1.5rem 2.5rem;
}

.dashboard-content .service_details .simulation {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 1rem;
}

/* CSS de home*/
.dashboard-content .home {
    padding: 2rem;
}

.dashboard-content .home .description {
    width: 50%;
}

/* CSS de auctioneer_list, my_services_list, my_services_list*/
.dashboard-content .auctioneer_list,
.dashboard-content .services_list,
.dashboard-content .my_services_list {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.dashboard-content .auctioneer_list .text_title,
.dashboard-content .services_list .text_title,
.dashboard-content .my_services_list .text_title {
    padding-right: 15px;
    padding-left: 15px;
}

/* CSS para area do simulador e aprovação de crédito */

.simulation .broker_simulation input {
    border-radius: 12px;
    border: 1px solid #aaa;
    background: #fff;
    color: #aaa;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
}

.simulation .broker_simulation button.simule {
    border-radius: 12px;
    background: #007c9b;
    color: #fff;
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
}

.simulation .broker_simulation .responsive-flex-container {
    display: flex;
}

.simulation .broker_simulation .resize {
    width: 50%;
    padding: 1rem;
}

.simulation .broker_simulation .badge {
    padding: 2px 10px;
    font-size: 14px;
}

.simulation .credit_approval input {
    border-radius: 12px;
    border: 1px solid #aaa;
    background: #fff;
    color: #aaa;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
}

.simulation .credit_approval button.save {
    border-radius: 12px;
    background: #007c9b;
    color: #fff;
    text-align: center;
    font-family: Inter;
    font-size: 14px;
    font-weight: 500;
}

.simulation .credit_approval .responsive-flex-container {
    display: flex;
}

.simulation .credit_approval .resize {
    width: 50%;
    padding: 1rem;
}

/* coloca um pointer nas badges de email que são clickaveis */
.click-itens {
    cursor: pointer;
}

@media (max-width: 1899px) {
    /* DESCRIÇÃO DA HOME */
    .dashboard-content .home .description {
        width: 75%;
    }

    /* CSS para area do simulador e aprovação de crédito */
    .simulation .broker_simulation .responsive-flex-container {
        display: block;
    }

    .simulation .broker_simulation .resize {
        width: 100%;
    }

    .simulation .credit_approval .responsive-flex-container {
        display: block;
    }

    .simulation .credit_approval .resize {
        width: 100%;
    }
}

@media (max-width: 1399px) {
    /* tipo de display para os blocos duplos */
    .dashboard-content .service_details .customer_status {
        display: block;
    }

    .dashboard-content .service_details .customer .customer_area,
    .dashboard-content .service_details .customer .status {
        width: 100%;
        padding: 1rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 1199px) {
    /* SIDEBAR */
    #side_nav {
        background: #fff;
        min-width: 200px;
        max-width: 200px;
        transition: all 0.3s;
    }

    /* DESCRIÇÃO DA HOME */
    .dashboard-content .home .description {
        width: 100%;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    display: none;
}

.loading-icon {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

.message-popup-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(28, 179, 8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
    z-index: 9999;
}

.message-popup-error {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(218, 5, 5);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
    z-index: 9999;
}

/* Loader */
.loader {
    --d: 22px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    color: #f7845c;
    box-shadow: calc(1 * var(--d)) calc(0 * var(--d)) 0 0,
        calc(0.707 * var(--d)) calc(0.707 * var(--d)) 0 1px,
        calc(0 * var(--d)) calc(1 * var(--d)) 0 2px,
        calc(-0.707 * var(--d)) calc(0.707 * var(--d)) 0 3px,
        calc(-1 * var(--d)) calc(0 * var(--d)) 0 4px,
        calc(-0.707 * var(--d)) calc(-0.707 * var(--d)) 0 5px,
        calc(0 * var(--d)) calc(-1 * var(--d)) 0 6px;
    animation: l27 1s infinite steps(8);
}
@keyframes l27 {
    100% {
        transform: rotate(1turn);
    }
}

.chat-modal {
    height: 80vh;
    overflow-y: auto;
    background-image: url("/img/whatsappDarkTheme.jpg");
    background-repeat: repeat;
    background-attachment: fixed;
}

.chat {
    width: 100%;
    height: 100%;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.received,
.sent {
    width: auto;
    max-width: 60%;
    padding: 10px;
    margin: 10px 0;
}

.received {
    border-radius: 0 10px 10px 10px;
    background-color: #202c33;
    color: #e9edef;
    float: left;
    clear: both;
}

.received:before {
    content: "";
    position: absolute;
    right: 95.4%;
    border-width: 10px;
    border-style: solid;
    border-color: #202c33 transparent transparent transparent;
}

.sent {
    border-radius: 10px 0 10px 10px;
    background-color: #005c4b;
    color: #e9edef;
    float: right;
    clear: both;
    text-align: right;
}

.sent:before {
    content: "";
    position: absolute;
    left: 95%;
    border-width: 10px;
    border-style: solid;
    border-color: #005c4b transparent transparent transparent;
}

.sent span,
.received span {
    display: block;
    font-size: 0.8em;
    color: #d1d7db;
}

.notification_toast {
    position: fixed;
    top: 5px;
    right: 5px;
    z-index: 9999;
    animation-duration: 0.5s;
}

/* Inputs de pesquisa geral */
.global-search-field {
    position: relative;
}

.global-search-field .form-control {
    padding-right: 46px;
}

.global-search-field .global-search-button {
    position: absolute;
    top: 19px;
    right: 6px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6c757d;
    transform: translateY(-50%);
    cursor: pointer;
}

.global-search-field .global-search-button:hover,
.global-search-field .global-search-button:focus {
    color: #28a745;
    outline: none;
}