:root {
    --bg-body: #F6F4EF;
    --bg-primary: #375433;

    --bg-hover-effect: #22381f;
    --text-hover-effect: #ffffff;
    --bg-active-effect: #22381f;
    --text-active-effect: #ffffffff;
}

/* PRELOADER */
.preloader {
    background-color: white;
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 1;
    margin-top: 0px;
    top: 0px;
    z-index: 99999999999999999999999999999999;
    font-family: "Roboto", sans-serif !important;
    letter-spacing: 0.8px;
}

.preloader .loading-center {
    width: 100%;
    height: 100%;
    position: relative;
}

.preloader .loading-center-absolute {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 150px;
    width: 120px;
    margin-top: -75px;
    margin-left: -50px;
}

.preloader .loading-center-absolute p {
    margin-right: 20px;
    font-family: "Roboto", sans-serif !important;
    letter-spacing: 0.8px;
    font-weight: 300;
    line-height: 40px;
}

.preloader .object {
    width: 20px;
    height: 20px;
    background-color: var(--bg-primary);
    float: left;
    margin-right: 20px;
    margin-top: 65px;
    -moz-border-radius: 50% 50% 50% 50%;
    -webkit-border-radius: 50% 50% 50% 50%;
    border-radius: 50% 50% 50% 50%;
}

.preloader .object_one {
    -webkit-animation: object_one 1.5s infinite;
    animation: object_one 1.5s infinite;
}

.preloader .object_two {
    -webkit-animation: object_two 1.5s infinite;
    animation: object_two 1.5s infinite;
    -webkit-animation-delay: 0.25s;
    animation-delay: 0.25s;
}

.preloader .object_three {
    -webkit-animation: object_three 1.5s infinite;
    animation: object_three 1.5s infinite;
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

@-webkit-keyframes object_one {
    75% {
        -webkit-transform: scale(0);
    }
}

@keyframes object_one {
    75% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
}

@-webkit-keyframes object_two {
    75% {
        -webkit-transform: scale(0);
    }
}

@keyframes object_two {
    75% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
}

@-webkit-keyframes object_three {
    75% {
        -webkit-transform: scale(0);
    }
}

@keyframes object_three {
    75% {
        transform: scale(0);
        -webkit-transform: scale(0);
    }
}

/* END PRELOADER */



/* cores dos parametros */
body,
html {
    min-height: 100vh;
    background: var(--bg-body);
}

body {
    display: flex;
    flex-direction: column;
}

/* Layout principal: mantém o rodapé após o conteúdo e no fim da viewport. */
body > #content_page {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    width: 100%;
    min-height: 0;
}

body > footer {
    flex: 0 0 auto;
    width: 100%;
}

div.modal.fade {
    background: rgba(0, 0, 0, 0.1);
}

/* sidebar */
/* Sidebar - Gerenciamento de espaçamento e aparência */
.nav-sidebar {
    position: relative;
    background-color: #f4f6f9;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Espaçamento entre itens */
.nav-sidebar>.nav-item {
    margin-bottom: 0.3rem;
}

/* Link principal */
.nav-sidebar .nav-item>.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: #375433;
    /* cor base Tricovera */
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Hover Tricovera */
.nav-sidebar .nav-link:hover {
    background-color: #375433 !important;
    color: #ffffff !important;
}

/* Ícones no hover */
.nav-sidebar .nav-link:hover .nav-icon,
.nav-sidebar .nav-link:hover i {
    color: #ffffff !important;
}

/* Ícones padrão */
.nav-sidebar .nav-link i {
    font-size: 0.8rem;
    color: #2e4e2a;
    transition: color 0.3s ease;
}

/* Submenu */
.nav-sidebar .nav-treeview {
    padding-left: 0.8rem;
    display: none;
    list-style: none;
}

/* Itens do submenu */
.nav-sidebar .nav-treeview .nav-item .nav-link {
    padding-left: 1.5rem;
    color: #4b6b47;
    border-radius: 8px;
}

/* Hover submenu */
.nav-sidebar .nav-treeview .nav-item .nav-link:hover {
    background-color: #2e4e2a;
    color: #ffffff;
}

/* Ícones submenu hover */
.nav-sidebar .nav-treeview .nav-item .nav-link:hover i {
    color: #ffffff;
}

/* Aparece quando o item é expandido */
.nav-sidebar .nav-item.menu-open>.nav-treeview {
    display: block;
}

/* Animação da seta */
.nav-sidebar .nav-item.has-treeview>a .fa-angle-left {
    transition: transform 0.3s ease, color 0.3s ease;
    color: #375433;
}

/* Seta aberta */
.nav-sidebar .nav-item.menu-open>a .fa-angle-left {
    transform: rotate(90deg);
    color: #ffffff;
}

/* Item ativo (opcional, mas recomendado) */
.nav-sidebar .nav-link.active {
    background-color: #2e4e2a;
    color: #ffffff;
}

.nav-sidebar .nav-link.active i {
    color: #ffffff;
}

/* Fim sidebar */

/* Scrollbar */
/* ================================
   FIREFOX
================================ */
html {
    scrollbar-width: thin;
    /* thin | auto | none */
    scrollbar-color: #b9b9b8 #FFFF;
    /* cursor | background */
}


/* ================================
   CHROME, EDGE, OPERA, SAFARI
================================ */

/* largura */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

/* fundo */
::-webkit-scrollbar-track {
    background: #b9b9b8;
}

/* cursor */
::-webkit-scrollbar-thumb {
    background-color: #b9b9b8;
    border-radius: 10px;
    border: 2px solid #FFFFFF;
    /* efeito fino moderno */
}

/* hover opcional (leve destaque) */
::-webkit-scrollbar-thumb:hover {
    background-color: #a3a3a1;
}

/* === Fim do ScrollBar */

/* override datatable */
.disabled .data-table-btn-paginate {
    text-decoration: line-through;
}

/* fim override datatable */

input:read-only {
    background-color: var(--bs-secondary-bg)
}

.btn-padrao-secondary {
    background-color: #5e7b5b;
    /* cor do botão */
    color: #ffffff !important;
    /* texto branco */
    transition: background-color 0.3s ease;
}

.btn-padrao-secondary:hover {
    background-color: #375433;
    /* escurece no hover */
    cursor: pointer;
}

/* Scroll bar do full calendar */

.fc-scroller::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.fc-scroller::-webkit-scrollbar-thumb {
    background-color: rgba(100, 116, 139, 0.4);
    border-radius: 10px;
}

.fc-scroller::-webkit-scrollbar-thumb:hover {
    background-color: rgba(100, 116, 139, 0.7);
}

.fc-scroller {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

body,
.dropdown,
.dropdown-item {
    font-family: "Poppins", sans-serif;
}

.bg-padrao {
    background-color: #638164 !important;
}

.card.shadow {
    margin-bottom: 15px;
}

.content-header h5 {
    margin-top: .8rem !important;
    /* my-2 */
    margin-bottom: .8rem !important;
}

.btn-padrao {
    background-color: #375433;
    color: white;
    border-color: #375433;
}

.btn-padrao:hover,
.btn-padrao:focus {
    background-color: #2e432b !important;
    /* um tom mais escuro */
    color: white !important;
    border-color: #2e432b !important;
}

.text-padrao {
    color: #2e432b;
}

.btn-padrao-white {
    background-color: #ffffff;
    color: #375433;
    border-color: #375433;
}

.btn-padrao-white:hover,
.btn-padrao-white:focus,
.btn-padrao-white:active {
    background-color: #ffffff !important;
    color: #375433 !important;
    border-color: #375433 !important;
}

/* CALENDÁRIO */

#calendar {
    height: 98%;
    margin-top: 10px;
}

.fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
    margin-bottom: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.fc-toolbar-title {
    font-size: 1.2rem;
}

.fc-button {
    background-color: #5e7b5b !important;
    color: #fff !important;
    border: none !important;
}

.fc-button:hover,
.fc-button.fc-button-active {
    background-color: #375433 !important;
}

.fc.fc-media-screen.fc-direction-ltr.fc-theme-standard {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    margin-top: 0px !important;
}

.fc-daygrid-body.fc-daygrid-body-unbalanced.fc-daygrid-body-natural {
    display: none;
}

td.fc-timegrid-slot.fc-timegrid-slot-lane {
    height: 50px !important;
}

div.fc-event-title.fc-sticky {
    font-size: 10px;
    font-weight: normal;
}

.fc-list-event-title {
    white-space: normal !important;
    overflow-wrap: break-word !important;
}

.fc-list-event td {
    width: auto !important;
}

.fc-list-event {
    display: table-row !important;
    width: 100% !important;
}

.fc-list-event:hover td {
    background-color: #d8e8df !important;
    color: #375433 !important;
    cursor: pointer;
}

.fc-list-event:hover .fc-list-event-dot {
    border-color: #375433 !important;
}

.fc-list-event-dot {
    border-color: white !important;
}

a.fc-timegrid-event.fc-v-event.fc-event.fc-event-start.fc-event-end.fc-event-past {
    background-color: #6b8c6d !important;
    border-color: #6b8c6d !important;
    cursor: pointer;
}

tr.fc-list-event.fc-event.fc-event-start.fc-event-end {
    background-color: #638164;
}

/* ===== TÍTULO ===== */
.fc .fc-toolbar-title {
    font-size: 1rem;
    /* menor e equilibrado */
    font-weight: 400;
    /* remove negrito */
    line-height: 1.2;
}

/* ===== TOOLBAR ===== */
.fc .fc-toolbar {
    margin-bottom: 0.5rem;
    gap: 6px;
}

/* ===== BOTÕES (PADRÃO ÚNICO) ===== */
.fc .fc-button,
.fc .fc-button-group>.fc-button,
.fc .fc-prev-button,
.fc .fc-next-button,
.fc .fc-today-button {
    font-size: 1rem !important;
    padding: 3px 9px !important;
    line-height: 1.5 !important;
    border-radius: 6px;
    min-height: auto !important;
    box-shadow: none;
}

/* ===== REMOVE HERANÇA DO BOOTSTRAP ===== */
.fc .fc-button.btn,
.fc .fc-today-button.btn {
    font-size: 0.75rem !important;
    padding: 4px 10px !important;
}

/* ===== ESTADO DISABLED (HOJE) ===== */
.fc .fc-today-button:disabled {
    opacity: 0.6;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .fc .fc-toolbar-title {
        font-size: 0.9rem;
    }

    .fc .fc-button,
    .fc .fc-today-button {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
    }
}

.evento-bloqueado {
    cursor: not-allowed !important;
    opacity: 0.9;
}

/* Calendario mês */

a.fc-daygrid-event.fc-daygrid-dot-event.fc-event.fc-event-start.fc-event-end {
    background-color: #6b8c6d !important;
    border-color: #6b8c6d !important;
    color: white;
    cursor: pointer;
    font-weight: normal !important;
}

a.fc-timegrid-event.fc-v-event.fc-event.fc-event-start.fc-event-end.fc-event-future {
    background-color: #6b8c6d !important;
    border-color: #6b8c6d !important;
    color: white;
    cursor: pointer;
    font-weight: normal !important;
}

a.fc-timegrid-event.fc-v-event.fc-event.fc-event-start.fc-event-end.fc-event-today.fc-event-future {
    background-color: #6b8c6d !important;
    border-color: #6b8c6d !important;
    color: white;
    cursor: pointer;
    font-weight: normal !important;
}

.fc-daygrid-event-dot {
    border-color: white !important;
}

.fc-daygrid-event .fc-event-title {
    font-weight: normal !important;
    font-size: 12px;
    overflow-wrap: break-word !important;
}

#divCalendario {
    flex-grow: 1;
    height: calc(100vh - 200px);
    min-height: 400px;
    overflow: auto;
}

/* Personalização da visualização dos eventos do dia */
/* .fc-list.fc-list-sticky.fc-listDay-view.fc-view div {
  background-color: red;
} */

.fc-toolbar-chunk {
    margin-top: 8px;
}

.fc-scrollgrid-sync-inner {
    color: black !important;
}

.fc .fc-list-event td,
.fc .fc-list-event th,
.fc .fc-list-day-cushion {
    display: none !important;
}

.fc .fc-list-event {
    display: block !important;
    background: none !important;
    border: none !important;
}

.fc-daygrid-event-dot {
    display: none !important;
}

/*Configurações mobile*/
@media only screen and (max-width: 1000px) {
    #mostraCalendarioMeusNaEquipe {
        padding: 8px;
        line-height: 1rem;
    }

    #mostraCalendarioMeusNasEquipes {
        padding: 8px;
        line-height: 1rem;
    }

    #mostraCalendarioDeTodosNaEquipe {
        padding: 8px;
        line-height: 1rem;
    }

    .text-muted {
        text-align: center;
        line-height: 1rem;
    }

    .fc .fc-toolbar>*>* {
        float: left !important;
        margin-left: 0.2em !important;
    }

    .fc-toolbar .fc-left {
        margin-left: -1.84rem !important;
    }

    .fc-toolbar .fc-right {
        margin-right: -1.9rem !important;
        margin-top: 0rem !important;
    }

    .fc-toolbar .fc-center {
        margin-left: -7rem;
        margin-top: 1rem;
        margin-bottom: -1rem;
    }
}

.fc-event-all-day-custom {
    font-weight: 600;
    opacity: 0.95;
}

/* Garante que o conteúdo do evento ocupe toda a altura */
.fc-timegrid-event .fc-event-main,
.fc-timegrid-event .fc-event-main-frame {
    height: 100%;
}

/* Card do bloqueio ocupa tudo */
.fc-bloqueio-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Header acompanha o scroll */
.fc-bloqueio-header {
    position: sticky;
    top: 0;
    z-index: 2;
}


/*FIM  --- Configurações mobile*/

/* Modal Agendamentos */

.agendamento-row {
    display: flex;
    flex-wrap: nowrap;
}

.agendamento-col-left,
.agendamento-col-right {
    display: flex;
    flex-direction: column;
}

.agendamento-col-right {
    height: auto;
    flex: 1;
}

.agendamento-observacoes {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.agendamento-observacoes .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.agendamento-observacoes textarea {
    flex: 1;
    min-height: 100px;
    /* ou o que você quiser como mínimo */
    max-height: 100%;
    /* evita passar da altura da div */
    overflow-y: auto;
    /* ativa scroll vertical */
    resize: none;
}

.form-group {
    margin-bottom: 1rem;
}

.ck-editor__editable {
    min-height: calc(1.2em * 5);
    /* 5 linhas aproximadamente */
}

/* Estilo geral do menu */
.custom-dropdown {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    min-width: 260px;
    padding: 8px 0;
    margin-top: 8px;
}

/* Itens do menu */
.custom-dropdown .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #375433;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.25s ease;
}

.custom-dropdown .dropdown-item:hover {
    background-color: #f0f0f0;
    color: #375433;
}

.custom-dropdown .dropdown-item.disabled {
    cursor: default;
    color: #777;
}

.dropdown-divider {
    margin: 6px 0;
}

.card-login {
    background-color: #ffffff;
    color: #4d4d4d;
    border-radius: 1rem;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.card-login .input-group .form-control {
    border: 1px solid #cccccc;
    border-radius: 0.75rem;
    padding: 10px 15px;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
}

.card-login .input-group .form-control:focus {
    border-color: #597534;
    box-shadow: 0 0 0 2px rgba(89, 117, 52, 0.2);
}

.card-login .input-group .form-control.is-valid:focus {
    border-color: #28a745;
}

.card-login .input-group .form-control.is-invalid:focus {
    border-color: #dc3545;
}

.card-login .input-group .input-group-text {
    background-color: transparent;
    border: none;
    color: #777;
    font-size: 1.2rem;
}

.login-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #597534;
    font-family: "Poppins", sans-serif;
}

.login-btn {
    background-color: #375433;
    color: white;
    border-radius: 0.75rem;
    padding: 5px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    transition: background 0.3s ease;
    border: none;
}

.login-btn:hover {
    background-color: #597534;
}

/* Aplica a fonte */
body,
.dropdown,
.dropdown-item {
    font-family: "Poppins", sans-serif;
}

/* Botão do dropdown */
.user-dropdown-toggle {
    background-color: #638164 !important;
    color: #fff;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.user-dropdown-toggle:hover {
    background-color: #375433;
    color: #fff;
}

.fc-event .fc-event-start .fc-event-end .fc-event-today .fc-event-future .fc-list-event {
    background-color: none;
    ;
}

.fc-col-header-cell-cushion {
    color: #375433;
    text-decoration: none !important;
}

.fc-daygrid-day-number {
    color: black;
    text-decoration: none !important;
}

/* Atendimento Cliente */
.atendimento-hoje {
    border-left: 5px solid #375433;
    background: #f1f6f1;
}

.atendimento-passado {
    background: #f8f9fa;
}

.atendimento-passado:hover {
    background: #eef3ee;
    transition: background 0.2s ease;
}

.text-tricovera {
    color: #375433;
}

.modal-content {
    overflow: visible !important;
}

.modal-body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* .select2-dropdown {
    z-index: 1056;
} */


/* Container geral */
.select2-container--default .select2-selection--single {
    height: 32px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    display: flex;
    align-items: center;
    padding: 0 8px;
    transition: all 0.2s ease;
}

/* Texto selecionado */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #374151;
    font-size: 15px;
    line-height: normal;
    padding-left: 2px;
}

/* Ícone seta */
.select2-container--default .select2-selection__arrow {
    height: 100%;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar {
    width: 3px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-track {
    background: transparent;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb {
    background: #c7c7c7;
    border-radius: 10px;
}

.select2-container--default .select2-results>.select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Foco */
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #b1b1b1;
    box-shadow: 0 0 0 2px rgba(113, 116, 114, 0.15);
}

/* Dropdown */
.select2-dropdown {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Campo de busca */
.select2-search__field {
    border-radius: 6px;
    border: 1px solid #e5e7eb !important;
    padding: 6px;
    font-size: 13px;
}

/* =========================
   OPÇÕES
========================= */

/* Opção padrão */
.select2-container--default .select2-results__option {
    font-size: 14px;
    padding: 8px 10px;
    color: #374151;
    transition: background 0.15s ease;
}

/* HOVER (forçando corretamente) */
.select2-container--default .select2-results__option--highlighted,
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected="false"] {
    background-color: #e5e7eb !important;
    color: #111827 !important;
}

/* SELECIONADO (cinza bem sutil) */
.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #f9fafb;
    color: #111827;
}

/* Garantir consistência interna */
.select2-container--default .select2-results__option[aria-selected="true"] * {
    color: #111827 !important;
}

.select2-container--default .select2-results__option:hover {
    background-color: #e5e7eb;
}

/* =========================
   SELECT2 MULTIPLE - TRICOVERA
========================= */

.select2-container--default .select2-selection--multiple {
    min-height: 31px !important;
    padding: 0 4px !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 6px !important;
    display: flex;
    align-items: center;
    background: #FFF !important;
}

.select2-container--default .select2-selection--multiple.has-selection {
    min-height: 31px !important;
    height: auto !important;
}

.select2-container--default .select2-selection--multiple .select2-search--inline {
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin-top: 0 !important;
    border: none !important;
    height: 24px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(135deg, #5f8a65, #46704c) !important;
    border: none !important;
    border-radius: 6px !important;
    color: #FFF !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 3px 10px 3px 22px !important;
    margin: 2px !important;
    position: relative;
    line-height: 1.2 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: absolute !important;
    left: 7px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: rgba(255, 255, 255, .95) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: #FFF !important;
    opacity: .8;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #46704c !important;
    box-shadow: 0 0 0 .15rem rgba(70, 112, 76, .15) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 !important;
}

/* =========================
   PLACEHOLDER
========================= */

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9ca3af;
}


/* POPOVER */
.popover,
.popover-header,
.popover-body {
    font-family: 'Poppins', sans-serif !important;
}

/* Label */

label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 3px;
    justify-content: space-between;
    display: flex;
}

.filtro-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.filtro-card .card-header {
    font-size: 14px;
    font-weight: 500;
}

.filtro-card .card-body {
    padding: 15px;
}

.select {
    min-height: 31px;
}

.select[multiple] {
    height: 31px;
    overflow: hidden;
}

.select[multiple]:focus,
.select[multiple].ativo {
    height: auto;
}

.btn-actions {
    display: flex;
    gap: 8px;
}

.btn-print {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #fff;

    border: none;
    border-radius: 10px;

    padding: 10px 18px;
    /* 🔥 aumentado */

    font-size: 14px;
    /* 🔥 aumentado */
    font-weight: 500;

    cursor: pointer;
    transition: all 0.25s ease;

    box-shadow: 0 6px 14px rgba(79, 70, 229, 0.28);
}

/* HOVER */
.btn-print:hover {
    background: linear-gradient(135deg, #4338ca, #3730a3);
    transform: translateY(-2px);

    box-shadow: 0 10px 22px rgba(79, 70, 229, 0.35);
}

/* CLICK */
.btn-print:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

/* ÍCONE */
.btn-print i {
    font-size: 14px;
    /* acompanha o texto */
}

/* Acesso Favorito */
/* Container dos favoritos */
.favoritos-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Botões favoritos */
.acesso-favorito {
    display: flex !important;
    align-items: center;
    gap: 5px;

    padding: 4px 8px !important;
    margin-right: 4px;

    border-radius: 8px;
    background: transparent;

    color: #31452d !important;
    font-size: 0.72rem !important;
    font-weight: 500;

    border: 1px solid transparent;

    transition: all .2s ease;

    text-decoration: none !important;
    white-space: nowrap;
}

/* Ícones */
.acesso-favorito .nav-icon {
    width: 14px;
    font-size: .75rem;
    color: #5f7755;

    transition: all .2s ease;
}

/* Hover */
.acesso-favorito:hover {
    background: rgba(104, 132, 95, .12);
    /* color: #31452d !important; */

    transform: translateY(-1px);
}

/* Mantém o ícone verde no hover */
.acesso-favorito:hover .nav-icon {
    color: #69845f;
}

/* Seta submenu */
.acesso-favorito .fa-angle-left {
    opacity: .6;
    font-size: .65rem;
}

/* Item ativo */
.acesso-favorito.active {
    background: #69845f;
    color: #fff !important;
    border-color: #69845f;
}

.acesso-favorito.active .nav-icon,
.acesso-favorito.active .fa-angle-left {
    color: #fff;
}

label>b {
    color: red;
}

/* ================= TELA LANÇAMENTO DE ENTRADA */

.entrada-card {
    border: 1px solid #d9dde3;
    background: #FFF;
}

.entrada-header {
    background: #495057;
    color: #FFF;
    padding: 14px 18px;
    font-weight: 600;
}

.campo-label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    color: #6c757d;
    margin-bottom: 5px;
}

.novo-produto {
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    padding: 16px;
    margin-bottom: 20px;
}

.produto-card {
    border: 1px solid #d9dde3;
    margin-bottom: 15px;
    background: #FFF;
}

.produto-header {
    padding: 10px 15px;
    background: #f3f5f7;
    border-bottom: 1px solid #d9dde3;
}

.produto-titulo {
    font-weight: 600;
    color: #495057;
}

.produto-body {
    padding: 15px;
}

.produto-info-label {
    font-size: .70rem;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.produto-info-valor {
    font-weight: 600;
    color: #343a40;
}

.table-itens {
    margin-top: 15px;
}

.table-itens thead th {
    background: #f3f5f7;
    font-size: .72rem;
}

.ticket-input {
    background: #e8f1ff !important;
    color: #0056d6 !important;
    font-weight: 700;
}

.select2-container {
    width: 100% !important;
}

.select2-selection {
    height: 31px !important;
    min-height: 31px !important;
}

.select2-selection__rendered {
    line-height: 29px !important;
}

.select2-selection__arrow {
    height: 29px !important;
}

.produto-card {
    border: 1px solid #d9dde3;
    margin-bottom: 15px;
    background: #fff;
}

.produto-header {
    padding: 10px 14px;
    background: #f5f6f8;
    border-bottom: 1px solid #e7eaee;
}

.produto-titulo {
    font-weight: 600;
    color: #495057;
}

.produto-table {
    margin-bottom: 0 !important;
}

.produto-table thead th {
    background: #fafbfc !important;
    color: #6c757d !important;
    font-size: .72rem;
    font-weight: 700;
    border-top: 0 !important;
    border-bottom: 1px solid #e9ecef !important;
    white-space: nowrap;
}

.produto-table td {
    vertical-align: middle !important;
    padding: .75rem !important;
    border-color: #edf0f2 !important;
}

.produto-table tbody tr {
    background: #fff !important;
}

.produto-table tbody tr:hover {
    background: #fff !important;
}

.produto-acoes {
    white-space: nowrap;
}

.produto-acoes button {
    /* width: 30px;
                height: 30px; */
    padding: 0;
    margin-left: 4px;
}

.itens-container {
    background: #f8f9fa;
    padding: 15px;
    border-top: 1px solid #e9ecef;
}

.total-produto {
    background: #fafbfc;
    padding: 10px 15px;
    border-top: 1px solid #e9ecef;
    color: #495057;
    font-weight: 600;
}

.produto-card {
    border: 1px solid #d7dee6;
    margin-bottom: 20px;
    background: #fff;
    overflow: hidden;
}

.produto-header {
    background: #48525c;
    color: #fff;
    padding: 12px 16px;
}

.produto-titulo {
    font-size: .95rem;
    font-weight: 600;
}

.produto-table {
    margin: 0 !important;
}

.produto-table thead th {

    background: #f4f6f8 !important;
    color: #66717c;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .4px;

    border-top: 0 !important;
    border-bottom: 2px solid #e6ebef !important;

    padding: 12px;
}

.produto-table td {

    padding: 14px 12px !important;

    border-color: #eef2f5 !important;

    vertical-align: middle !important;
}

.produto-table tbody tr {

    background: #fff;
}

.produto-table tbody tr:hover {

    background: #fff !important;
}

.produto-acoes {

    white-space: nowrap;
}

.produto-acoes button {

    width: 32px;
    height: 32px;

    padding: 0;

    border-radius: 6px;

    margin-left: 3px;
}

.btnItens {

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 3px;

    width: auto !important;
    min-width: unset !important;

    height: 32px;

    padding: 0 10px !important;

    background: #e8f1ff;
    color: #0d6efd;

    border: none;

    border-radius: 6px;

    transition: .2s;
}

.btnItens:hover {

    background: #d5e6ff;

    color: #0a58ca;
}

.btnItens i {

    font-size: .85rem;
}

.btnReplicar {

    background: #eef6ee;
    color: #198754;
    border: none;
}

.btnAdicionarItem {

    background: #fff6dd;
    color: #c58b00;
    border: none;
}

.btnEditar {

    background: #fff0da;
    color: #d07b00;
    border: none;
}

.btnExcluir {

    background: #ffe6e6;
    color: #dc3545;
    border: none;
}

.itens-container {

    background: #f7f9fb;

    padding: 20px !important;

    border-left: 4px solid #0d6efd;

    border-top: 0 !important;
}

.itens-container table {

    background: #fff;

    border-radius: 6px;

    overflow: hidden;
}

.itens-container thead th {

    background: #eef3f7 !important;

    color: #66717c;

    font-size: .7rem;
}

.ticket-input {

    background: #edf5ff !important;

    color: #0d6efd !important;

    font-weight: 600;

    border: none !important;
}

.total-produto {

    background: #f8f9fb;

    border-top: 1px solid #edf2f6;

    padding: 15px;

    font-size: .9rem;

    font-weight: 600;

    color: #495057;
}

.badge-registros {

    background: #fff;

    color: #FFF;

    font-size: .75rem;

    padding: 5px 10px;
}
/* Listagens e cadastros responsivos do painel */
@media (max-width: 767.98px) {
    .mobile-card-table .mobile-card-actions .btn i,
    .mobile-card-table .mobile-card-actions .btn svg,
    .cliente-listagem-acoes .btn i,
    .cliente-listagem-acoes .btn svg,
    .atendimento-cliente-acoes .btn i,
    .atendimento-cliente-acoes .btn svg {
        display: none !important;
    }

    .mobile-card-table-container {
        max-height: none !important;
        overflow: visible !important;
    }

    table.mobile-card-table,
    table.mobile-card-table tbody {
        display: block;
        width: 100% !important;
    }

    table.mobile-card-table thead {
        display: none;
    }

    table.mobile-card-table tbody tr:not(.mobile-card-empty-row) {
        display: flex;
        flex-direction: column;
        margin-bottom: .85rem;
        padding: .85rem;
        border: 1px solid #dfe8e1;
        border-radius: .8rem;
        background: #fff !important;
        box-shadow: 0 3px 12px rgba(31, 63, 37, .07);
    }

    table.mobile-card-table tbody tr:not(.mobile-card-empty-row) > td {
        display: grid;
        grid-template-columns: minmax(86px, .38fr) minmax(0, 1fr);
        gap: .65rem;
        width: 100% !important;
        padding: .42rem 0;
        border: 0;
        text-align: right;
        overflow-wrap: anywhere;
    }

    table.mobile-card-table tbody tr:not(.mobile-card-empty-row) > td::before {
        content: attr(data-mobile-label);
        color: #6c7d70;
        font-size: .7rem;
        font-weight: 700;
        letter-spacing: .02em;
        text-align: left;
        text-transform: uppercase;
    }

    table.mobile-card-table td.mobile-card-title {
        display: block !important;
        order: -1;
        padding: 0 0 .65rem !important;
        color: #17331d;
        font-size: 1rem;
        font-weight: 700;
        text-align: left !important;
        border-bottom: 1px solid #edf2ee !important;
    }

    table.mobile-card-table td.mobile-card-title::before {
        display: block;
        margin-bottom: .2rem;
        font-size: .67rem;
    }

    table.mobile-card-table td.mobile-card-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .45rem !important;
        margin-top: .4rem;
        padding-top: .75rem !important;
        border-top: 1px solid #edf2ee !important;
    }

    table.mobile-card-table td.mobile-card-actions::before {
        display: none;
    }

    table.mobile-card-table td.mobile-card-actions > .d-flex {
        display: contents !important;
    }

    table.mobile-card-table td.mobile-card-actions .btn {
        width: 100%;
        min-height: 39px;
        margin: 0 !important;
        padding: .42rem .35rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: normal !important;
        line-height: 1.15;
    }

    table.mobile-card-table tr.mobile-card-empty-row {
        display: block;
    }

    table.mobile-card-table tr.mobile-card-empty-row td {
        display: block;
        padding: 1.25rem;
        border: 1px dashed #d7e1d9;
        border-radius: .75rem;
        background: #fafcfb;
        text-align: center;
    }

    .mobile-card-table-container + .dataTables_wrapper .pagination,
    table.mobile-card-table + .dataTables_wrapper .pagination,
    .dataTables_wrapper:has(table.mobile-card-table) .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    form.mobile-responsive-form {
        padding-bottom: calc(74px + env(safe-area-inset-bottom));
    }

    form.mobile-responsive-form .form-control,
    form.mobile-responsive-form .select2-selection {
        min-height: 42px;
        font-size: 16px !important;
    }

    form.mobile-responsive-form .select2-container {
        width: 100% !important;
    }

    form.mobile-responsive-form textarea.form-control {
        min-height: 92px;
    }

    form.mobile-responsive-form .ck-toolbar {
        flex-wrap: wrap !important;
    }

    form.mobile-responsive-form .ck-editor,
    form.mobile-responsive-form .ck-editor__main,
    form.mobile-responsive-form .ck-content {
        max-width: 100%;
    }

    .cadastro-profissional .cabecalho-cadastro {
        gap: .6rem;
        flex-wrap: wrap;
    }

    .cadastro-profissional .card-body .row.g-2 > .d-flex.justify-content-between {
        flex-direction: column;
        align-items: stretch !important;
        gap: .6rem;
    }

    .cadastro-profissional .card-body .row.g-2 > .d-flex.justify-content-between > [class*="col-"] {
        width: 100%;
    }

    .cadastro-profissional .acoes-cadastro.mobile-fixed-actions {
        grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    }

    .mobile-fixed-actions {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
        gap: .45rem !important;
        position: fixed;
        z-index: 1035;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        padding: .65rem .8rem calc(.65rem + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97);
        border-top: 1px solid #dfe7e0;
        box-shadow: 0 -8px 24px rgba(25, 45, 30, .12);
        backdrop-filter: blur(8px);
    }

    .mobile-fixed-actions .btn {
        width: 100%;
        min-height: 42px;
        margin: 0 !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: normal !important;
        line-height: 1.15;
    }
}
