* {
    outline: 0 !important;
}

html {
    overflow-x: hidden;
}

body {
    font-size: 15px !important;

}

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@500;700&display=swap');

.nav-sidebar>.nav-item .nav-icon.fa,
.nav-sidebar>.nav-item .nav-icon.fab,
.nav-sidebar>.nav-item .nav-icon.far,
.nav-sidebar>.nav-item .nav-icon.fas,
.nav-sidebar>.nav-item .nav-icon.glyphicon,
.nav-sidebar>.nav-item .nav-icon.ion {
    font-size: 1rem !important;
}

.nav-sidebar>.nav-item>.nav-treeview {
    padding-left: 15px;
}

/* SWEET ALERT CONF */
.swal2-popup {
    font-family: inherit;
    font-size: 15px !important;
}

.swal2-popup.swal2-toast {
    cursor: pointer;
    max-width: 400px;
}

.swal2-popup.swal2-toast .swal2-content {
    text-align: left;
    margin-left: 10px;
    word-wrap: anywhere;
}

/* END SWEET ALERT CONF */
.layout-external-page {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 90vh;
}

.layout-external-page .main-footer {
    margin-left: 0px !important;
}

.layout-external-page .error-page {
    -ms-flex-align: center;
    align-items: center;
    background: #e9ecef;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: calc(100vh - 55px);
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0px;
    width: 100%;
    overflow-y: auto;
}

.layout-external-page .error-page .error-box {
    width: 600px;
    max-width: calc(100% - 15px);
}

.btn-warning {
    color: #fff !important;
}

.brand-link {
    display: flex;
    align-items: center;
}

.brand-link .brand-image {
    max-width: 90%;
}


/*formatação input number*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none!important;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}


/*tabela layout*/

thead {
    color: #5a5a5a !important;
    font-weight: 200 !important;
    font-family: 'Asap', sans-serif !important;

}

.tdLayout {
    vertical-align: middle !important;
    padding: 8px !important;
}

.nomeFantasia {
    color: #17a2b8;
}


td {
    line-height: 1.1 !important;
}

label {
    font-family: 'Asap', sans-serif !important;
}

.nav-item {
    font-family: 'Asap', sans-serif !important;
}


.nav-tabs .nav-item .active {
    background-color: #17a2b8 !important;
    color: #fff !important;
    border: solid 1px #17a2b8 !important;
}

.nav-tabs .nav-item :hover {
    border-bottom: solid 1px transparent !important;
}

.nav-item .navForm {
    color: #17a2b8 !important;
    background-color: #fff;
    border-top: 1px solid #dcdcdc;
    border-right: 1px solid #dcdcdc;
    border-left: 1px solid #dcdcdc;
}

.cardConteudo {
    background-color: #fff !important;
    border-left: 1px solid rgba(0, 0, 0, .125);
    border-right: 1px solid rgba(0, 0, 0, .125);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

#btnModalSocio {
    display: inline !important;
    margin-top: 4.48% !important;
    border: none !important;
    height: 1.84rem;
    background: #17a2b8 !important;
    color: #fff !important;
    outline: 0px auto -webkit-focus-ring-color;
    outline-offset: 0px;
    border-radius: 4px;
}

#btnModalSocio:hover {
    display: inline !important;
    margin-top: 4.48% !important;
    height: 1.84rem;
    background: #fff !important;
    color: #17a2b8 !important;
    border: solid 1px #17a2b8 !important;
    outline: 0px auto -webkit-focus-ring-color;
    outline-offset: 0px;
    border-radius: 4px;
}

.close {
    outline: 0px auto -webkit-focus-ring-color !important;
    outline-offset: 0px !important;
}



.animationFadeIn {
    animation: fadeIn .5s;
    -webkit-animation: fadeIn .5s;
    -moz-animation: fadeIn .5s;
    -o-animation: fadeIn .5s;
    -ms-animation: fadeIn .5s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


label {
    color: #000 !important;
    font-weight: 500 !important;
}

.obrigatorio {
    color: #000 !important;
    font-weight: 600 !important;
}

.input-icon~i {
    position: absolute;
    bottom: 24px;
    right: 24px;
}

.cats-tree {
    max-height: 450px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cats-tree ul {
    padding-left: 5px;
    list-style: none;
}

.cats-tree ul li {
    position: relative;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.cats-tree ul li>h6 span {
    cursor: pointer;
    user-select: none;
}

.cats-tree ul li:before {
    position: absolute;
    top: 15px;
    left: 0;
    width: 10px;
    height: 2px;
    margin: auto;
    content: '';
    background-color: #333;
    box-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.15)
}

.cats-tree ul li:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    height: 100%;
    content: '';
    background-color: #333;
    box-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.15)
}

.cats-tree ul li:last-child:after {
    height: 15px;
}

input.text-normal {
    text-transform: none;
}

input {
    text-transform: uppercase;
}

::-webkit-input-placeholder {
    /* WebKit browsers */
    text-transform: none;
}

:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    text-transform: none;
}

::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    text-transform: none;
}

:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    text-transform: none;
}

::placeholder {
    /* Recent browsers */
    text-transform: none;
}

/*CHECKBOX ALERTA*/
.swal2-checkbox {
    display: none !important;
}


input [type='text'] {
    text-transform: uppercase !important;
}


.btn-ativo {
    padding: .3rem .7rem .3rem .7rem !important;
    border: 1px solid transparent;
    background: #aeffc2;
    color: #0bad34;
    border-radius: 4px;
    width: 6rem;
    font-weight: 600;
}


.btn-ativo:hover {
    border: 1px solid #00cc33;
    background: transparent;
    color: #00cc33;

}

.btn-inativo {
    padding: .3rem .7rem .3rem .7rem;
    border: 1px solid transparent;
    background: #ffa4b6ad;
    color: #ff0033;
    border-radius: 4px;
    width: 6rem;
    font-weight: 600;
}


.btn-inativo:hover {
    border: 1px solid #ff0033;
    background: transparent;
    color: #ff0033;

}

.section-login {
    background: url('../img/background.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-login::after {
    background: rgba(15, 45, 100, 0.5);
    width: 100%;
    height: 100vh;
    content: '';
}

.frase-login {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #fff;
    left: 4rem;
    top: 4rem;
    font-size: 30px;
    font-family: 'Rubik', sans-serif !important;
}

.frase-login span:nth-child(1) {
    font-size: 45px;
}

.frase-login span:nth-child(2) {
    font-size: 20px;
}

.box-login {
    height: 80%;
    border-radius: 25px;
    width: 27rem;
    border: 1px solid #dedede;
    background: #fff;
    display: flex;
    justify-content: space-around;
    position: absolute;
    right: 3rem;
    align-items: center;
    flex-direction: column;
    padding-bottom: 1.5rem;
}



.login-main {
    background: #000;
}

.input-login {
    width: 100%;
    margin: .4rem 0;
    border: none;
    background-color: transparent;

}

.div-input-login {
    width: 70%;
    border: 1px solid #cecbcb9a;
    padding: 0px 15px;
    border-radius: 35px;
    margin: 0 auto;

}

.div-input-login-clean {
    width: 75%;
    padding: 0px 15px;
    margin-top: 1rem !important;
    border-radius: 35px;
    margin: 0 auto;

}

.div-input-login-clean a {
    font-size: 13px;
    color: #C49150 !important;
}

.div-btn-login button {
    border: none;
    color: #fff;
    margin: .3rem;
    padding: .3rem .7rem;
    border-radius: 15px;
    width: 9.8rem;
    font-weight: bold;
    outline: none;
}

.div-btn-login a {
    border: none;
    color: #fff;
    margin: .3rem;
    border-radius: 15px;
    font-weight: bold;
    outline: none;
    width: 15rem !important;
    text-decoration: none;
}

.div-btn-login .btn-entrar-login {
    background: linear-gradient(to right, #FDD378, #C49150);
}

.div-btn-login .btn-cadastrar-login {
    background: linear-gradient(to right, #033659, #002A45);
}

.flex {
    display: flex;
    justify-content: center;
}


.login-logo-new {
    max-width: 12rem;
}

.div-inputs-login {
    width: 100%;
}

.div-input-login label {
    position: absolute;
    left: 5rem;
}



.div-input-login-clean label {
    color: #C49150 !important;
}

@media (max-width: 976px) {
    .box-login {
        width: 96% !important;
        justify-content: center;
        align-items: center;
        right: 2% !important;

    }

    .div-btn-login button {
        width: 100%;
    }

    .section-login::after {
        width: 100% !important;
    }

    .btn-entrar-login,
    .btn-cadastrar-login,
    .div-btn-login a {
        width: 100% !important;
    }

    .btn-entrar-login,
    .btn-cadastrar-login {
        margin: 20px 0px !important;
    }

    .version {
        margin-top: 1.5rem;
    }

    .div-btn-login {
        width: 70%;
    }

    .btn-cadastrar-login {
        margin: 0 auto !important;
    }

    .frase-login {
        display: none;
    }

}


b {
    font-weight: 600 !important;
}


.values {
    vertical-align: middle !important;
}



.btnCidadesPertencentes {
    background: #17a2b886;
    color: #fff;
    border: none;
}

.btnCidadesPertencentes:hover {
    background: #033659;
    color: #fff;
    border: none;
}


.dflex {
    display: flex !important;
}

.dfcenter {
    justify-content: center !important;
}

.itemscenter {
    align-items: center !important;
}

.inputAddCidadesRegiao {
    max-width: 95%;
}

.btnAddCidadesRegiao {
    border: none;
    background: #002A45;
    padding: 0.23rem .4rem;
    border-radius: 4px;
    margin-left: 1.2rem;

}


.btnAddCidadesRegiao i {
    color: #fff !important;
}



.fontGrey {
    color: #5a5a5a;
}

.card-footer-pers {
    display: flex;
    justify-content: end;
}

.btnNewReg {
    margin-right: 1rem;
}

.btnPesquisarReg {
    border-bottom-right-radius: 4px !important;
    border-top-right-radius: 4px !important;
}



.swal2-cancel {
    margin-right: 1.5rem !important;

}

.btn-success,
.swal2-cancel {
    margin-bottom: 1rem;
}

.nmFantasiaList {
    color: #17a2b8;
}


.btnEditarIcon {
    color: #ffc107;
    background-color: transparent;
    border: none;
    outline: none;
}

.btnExcluirIcon {
    color: #E63946;
    background-color: transparent;
    border: none;
    outline: none;
}


.valign {
    vertical-align: middle !important;
}


.alert {
    text-align: center !important;
    color: #bd2935 !important;
    font-weight: 600;
}

.alert>b {
    font-weight: 700 !important;
}

@media (max-width: 767.98px) {
    .navbar-nav {
        flex-direction: column!important;
    }
}

@media (min-width: 768px) {
    .menuFavoritos {
        display: inline-flex;
        white-space: nowrap;
    }
}
/* ========================================================================== */
/* FROTA SIMPLES - MODERNIZACAO VISUAL GLOBAL                                */
/* Fase 1 - somente camada visual. Nao alterar hooks/fluxos funcionais.        */
/* ========================================================================== */

:root {
    --frota-primary: #0f4c6e;
    --frota-primary-dark: #0a3650;
    --frota-primary-soft: #eaf3f7;
    --frota-accent: #17a2b8;
    --frota-bg: #f4f7f9;
    --frota-surface: #ffffff;
    --frota-surface-soft: #f8fafb;
    --frota-text: #263238;
    --frota-text-muted: #6c7a86;
    --frota-border: #dfe7ec;
    --frota-shadow: 0 4px 18px rgba(15, 76, 110, .08);
    --frota-shadow-hover: 0 8px 24px rgba(15, 76, 110, .13);
    --frota-radius: 10px;
    --frota-radius-sm: 7px;
}

html,
body {
    background: var(--frota-bg);
    color: var(--frota-text);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
    font-size: 14px !important;
    letter-spacing: .01em;
}

.wrapper,
.content-wrapper {
    background: var(--frota-bg) !important;
}

/* ---------- Navbar / cabecalho ---------- */
.main-header.navbar {
    min-height: 58px;
    background: rgba(255, 255, 255, .98) !important;
    border-bottom: 1px solid var(--frota-border) !important;
    box-shadow: 0 2px 12px rgba(15, 76, 110, .05);
    padding-top: .45rem;
    padding-bottom: .45rem;
}

.main-header .nav-link {
    color: #43515b !important;
    border-radius: 8px;
    transition: background-color .18s ease, color .18s ease;
}

.main-header .nav-link:hover,
.main-header .nav-link:focus {
    background: var(--frota-primary-soft);
    color: var(--frota-primary) !important;
}

/* ---------- Sidebar ---------- */
.main-sidebar,
.main-sidebar::before {
    background: linear-gradient(180deg, #123f58 0%, #0a3046 100%) !important;
}

.brand-link {
    min-height: 58px;
    padding: .7rem .85rem !important;
    background: rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .09) !important;
}

.brand-link .brand-image {
    opacity: 1 !important;
    max-height: 34px;
}

.sidebar {
    padding: .75rem .55rem 1rem;
}

.nav-sidebar > .nav-item {
    margin-bottom: 3px;
}

.nav-sidebar .nav-link {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    margin: 0;
    padding: .58rem .75rem;
    color: rgba(255, 255, 255, .82) !important;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.nav-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, .09) !important;
    color: #fff !important;
}

.nav-sidebar .nav-link.active {
    background: rgba(255, 255, 255, .15) !important;
    color: #fff !important;
    box-shadow: inset 3px 0 0 #5dd3e5;
}

.nav-sidebar .nav-treeview {
    padding-top: 3px;
    padding-bottom: 4px;
}

.nav-sidebar .nav-treeview > .nav-item > .nav-link {
    min-height: 36px;
    font-size: 13px;
    padding-top: .42rem;
    padding-bottom: .42rem;
    color: rgba(255, 255, 255, .72) !important;
}

.nav-sidebar .nav-icon {
    width: 1.5rem !important;
    margin-right: .55rem !important;
    text-align: center;
    opacity: .9;
}

/* ---------- Cabecalho das paginas ---------- */
.content-header {
    padding: 18px 16px 10px;
}

.content-header h1,
.content-header .m-0 {
    color: #1f3948;
    font-weight: 650;
    font-size: 1.45rem;
    letter-spacing: -.015em;
}

.breadcrumb {
    background: transparent !important;
    padding: .35rem 0;
    margin-bottom: 0;
    font-size: 12px;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: var(--frota-text-muted);
}

.breadcrumb-item.active {
    color: var(--frota-primary);
}

/* ---------- Cards ---------- */
.card,
.cardConteudo {
    border: 1px solid var(--frota-border) !important;
    border-radius: var(--frota-radius) !important;
    background: var(--frota-surface) !important;
    box-shadow: var(--frota-shadow);
}

.card {
    overflow: visible;
}

.card-header {
    background: var(--frota-surface) !important;
    border-bottom: 1px solid var(--frota-border) !important;
    border-radius: var(--frota-radius) var(--frota-radius) 0 0 !important;
    padding: .85rem 1rem;
}

.card-title {
    color: #294452;
    font-weight: 650;
    font-size: .98rem;
}

.card-body {
    padding: 1rem;
}

.card-footer {
    background: var(--frota-surface-soft) !important;
    border-top: 1px solid var(--frota-border) !important;
    border-radius: 0 0 var(--frota-radius) var(--frota-radius) !important;
}

.card-outline.card-info,
.card-outline.card-primary {
    border-top: 3px solid var(--frota-primary) !important;
}

/* ---------- Formularios ---------- */
label,
.form-group label {
    color: #42525c !important;
    font-family: inherit !important;
    font-size: 12.5px;
    font-weight: 600 !important;
    margin-bottom: .35rem;
}

.form-control,
.custom-select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    min-height: 38px;
    border: 1px solid #ced9df !important;
    border-radius: var(--frota-radius-sm) !important;
    background-color: #fff !important;
    color: #273944 !important;
    box-shadow: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.form-control {
    padding: .42rem .7rem;
}

.form-control:focus,
.custom-select:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #64a9c4 !important;
    box-shadow: 0 0 0 3px rgba(23, 162, 184, .11) !important;
}

.form-control:disabled,
.form-control[readonly] {
    background: #f3f6f8 !important;
    color: #687782 !important;
}

.input-group-text {
    border-color: #ced9df !important;
    background: #f4f7f9 !important;
    color: #60717d;
    border-radius: var(--frota-radius-sm);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    padding-left: 10px !important;
    color: #273944 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
}

.select2-dropdown {
    border-color: #ced9df !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 76, 110, .13);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--frota-primary) !important;
}

/* ---------- Botoes ---------- */
.btn {
    min-height: 36px;
    border-radius: 7px !important;
    font-size: 13px;
    font-weight: 600;
    padding: .42rem .78rem;
    box-shadow: none;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
}

.btn-primary,
.btn-info {
    background: var(--frota-primary) !important;
    border-color: var(--frota-primary) !important;
    color: #fff !important;
}

.btn-primary:hover,
.btn-info:hover {
    background: var(--frota-primary-dark) !important;
    border-color: var(--frota-primary-dark) !important;
    box-shadow: 0 5px 14px rgba(15, 76, 110, .18);
}

.btn-secondary {
    background: #647581 !important;
    border-color: #647581 !important;
}

.btn-light,
.btn-default {
    background: #fff !important;
    border-color: var(--frota-border) !important;
    color: #455660 !important;
}

.btn-light:hover,
.btn-default:hover {
    background: #f5f8fa !important;
    color: var(--frota-primary) !important;
}

.btn-sm {
    min-height: 31px;
    font-size: 12px;
    padding: .3rem .58rem;
}

/* ---------- Tabelas / DataTables ---------- */
.table,
table.dataTable {
    color: #33454f;
    margin-bottom: 0;
}

.table thead th,
table.dataTable thead th {
    background: #f5f8fa;
    color: #51636e !important;
    border-top: 0 !important;
    border-bottom: 1px solid #d7e1e6 !important;
    font-family: inherit !important;
    font-size: 11.5px;
    font-weight: 700 !important;
    letter-spacing: .025em;
    text-transform: uppercase;
    vertical-align: middle !important;
    padding: .72rem .65rem !important;
}

.table td,
table.dataTable tbody td {
    line-height: 1.32 !important;
    vertical-align: middle !important;
    border-top-color: #e7edf1 !important;
    padding: .62rem .65rem !important;
}

.table-hover tbody tr:hover,
table.dataTable.hover tbody tr:hover,
table.dataTable.display tbody tr:hover {
    background: #f3f8fb !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(244, 248, 250, .55);
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #ced9df !important;
    border-radius: 7px !important;
    background: #fff;
    min-height: 34px;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    color: var(--frota-text-muted) !important;
    font-size: 12px;
}

.page-link,
.paginate_button {
    border-radius: 6px !important;
}

.page-item.active .page-link,
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: var(--frota-primary) !important;
    border-color: var(--frota-primary) !important;
    color: #fff !important;
}

/* ---------- Modais ---------- */
.modal-content {
    border: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 55px rgba(19, 54, 75, .24);
    overflow: hidden;
}

.modal-header {
    background: #fff;
    border-bottom: 1px solid var(--frota-border) !important;
    padding: .9rem 1.1rem;
}

.modal-title {
    color: #284655;
    font-weight: 650;
    font-size: 1.05rem;
}

.modal-body {
    padding: 1.05rem 1.1rem;
}

.modal-footer {
    background: #f8fafb;
    border-top: 1px solid var(--frota-border) !important;
    padding: .75rem 1.1rem;
}

.modal-backdrop.show {
    opacity: .38;
}

/* ---------- Tabs ---------- */
.nav-tabs {
    border-bottom-color: var(--frota-border) !important;
}

.nav-tabs .nav-link,
.nav-item .navForm {
    border-radius: 7px 7px 0 0 !important;
    color: #61727d !important;
    font-weight: 600;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item .active {
    background: var(--frota-primary) !important;
    border-color: var(--frota-primary) !important;
    color: #fff !important;
}

/* ---------- Alerts / badges ---------- */
.alert {
    border: 0 !important;
    border-radius: 8px !important;
    text-align: left !important;
    font-size: 13px;
}

.badge {
    border-radius: 999px;
    padding: .35em .62em;
    font-weight: 600;
    letter-spacing: .01em;
}

/* ---------- Dropdowns ---------- */
.dropdown-menu {
    border: 1px solid var(--frota-border) !important;
    border-radius: 9px !important;
    box-shadow: 0 12px 32px rgba(15, 76, 110, .14);
    padding: .35rem;
}

.dropdown-item {
    border-radius: 6px;
    font-size: 13px;
    padding: .5rem .7rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--frota-primary-soft) !important;
    color: var(--frota-primary) !important;
}

/* ---------- Footer ---------- */
.main-footer {
    background: #fff !important;
    border-top: 1px solid var(--frota-border) !important;
    color: #72818b;
    font-size: 12px;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

/* ---------- Pequenos refinamentos ---------- */
.text-info,
.nomeFantasia,
.nmFantasiaList {
    color: var(--frota-primary) !important;
}

hr {
    border-top-color: var(--frota-border);
}

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-track {
    background: #edf2f5;
}

::-webkit-scrollbar-thumb {
    background: #b7c5cd;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #91a5b0;
}

@media (max-width: 991.98px) {
    .content-header {
        padding-top: 12px;
    }

    .card-body {
        padding: .85rem;
    }

    .table-responsive {
        border-radius: 8px;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: 13.5px !important;
    }

    .content-header h1,
    .content-header .m-0 {
        font-size: 1.22rem;
    }

    .btn {
        min-height: 35px;
    }
}

/* ============================================================
   FROTA MODERN - FASE 2
   Busca lateral compacta + atalhos/favoritos
   ============================================================ */

.ga-menu-search {
    margin: -.1rem -.05rem 0;
    padding: .4rem .15rem .55rem !important;
    background: transparent !important;
    border-bottom: 0 !important;
}

.ga-menu-search .input-group {
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 9px !important;
    overflow: hidden;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

.ga-menu-search .input-group-text {
    min-width: 38px;
    justify-content: center;
    color: #6c7c85 !important;
}

.ga-menu-search .form-control {
    height: 40px !important;
    font-size: 13px;
    color: #314956;
}

.ga-menu-search .form-control::placeholder {
    color: #87969e;
}

#homeMenu.menu-search-active #navMenuLateralPrincipal {
    display: none !important;
}

.ga-menu-search-results {
    padding: .15rem .15rem .65rem;
}

.ga-menu-search-count {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .35rem .45rem .45rem;
    color: rgba(255, 255, 255, .82);
}

.ga-menu-search-count > span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.ga-menu-search-count small {
    color: rgba(255, 255, 255, .52);
    font-size: 10.5px;
}

.ga-menu-search-result {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 52px;
    margin-bottom: 5px;
    padding: .55rem .6rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 9px;
    background: rgba(255, 255, 255, .055);
    color: rgba(255, 255, 255, .9) !important;
    text-decoration: none !important;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.ga-menu-search-result:hover,
.ga-menu-search-result:focus {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(93, 211, 229, .45);
    color: #fff !important;
    transform: translateX(2px);
}

.ga-menu-search-result-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(93, 211, 229, .12);
    color: #74dbea;
}

.ga-menu-search-result-icon .nav-icon {
    width: auto !important;
    margin: 0 !important;
    font-size: 13px;
}

.ga-menu-search-result-text {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ga-menu-search-result-text strong {
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ga-menu-search-result-text small {
    margin-top: 3px;
    overflow: hidden;
    color: rgba(255, 255, 255, .52);
    font-size: 10.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ga-menu-search-result-arrow {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .35);
    font-size: 9px;
}

.ga-menu-search-empty {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin: .2rem 0;
    padding: .75rem;
    border: 1px dashed rgba(255, 255, 255, .14);
    border-radius: 9px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    line-height: 1.35;
}

.ga-menu-search-empty i {
    margin-top: 2px;
    color: #74dbea;
}

.ga-menu-search-limit {
    padding: .45rem .5rem 0;
    color: rgba(255, 255, 255, .45);
    font-size: 10.5px;
    line-height: 1.35;
}

.main-header .frota-favoritos-nav {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

#divRetornaFavoritos.frota-favoritos {
    min-width: 0;
    height: 44px;
    display: flex;
    align-items: center;
    gap: .45rem;
    overflow: hidden;
    padding: 4px 6px;
}

.frota-favoritos-titulo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    height: 30px;
    padding: 0 .55rem;
    border-right: 1px solid #e4eaee;
    color: #71818a;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.frota-favoritos-titulo i {
    color: #d6a51e;
    font-size: 11px;
}

.frota-favoritos-lista {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1px 2px 3px;
    scrollbar-width: thin;
}

.frota-favorito-item,
.menuFavoritos.frota-favorito-item {
    flex: 0 0 auto;
    max-width: 190px;
    height: 30px;
    display: inline-flex !important;
    align-items: center;
    gap: .38rem;
    padding: 0 .62rem;
    border: 1px solid #dce5ea;
    border-radius: 999px;
    background: #f7fafb;
    color: #3c5968 !important;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.frota-favorito-item:hover,
.frota-favorito-item:focus {
    border-color: #bcdce8;
    background: #eaf6fa;
    color: var(--frota-primary) !important;
}

.frota-favorito-item .nav-icon {
    width: auto !important;
    margin: 0 !important;
    color: #55707e !important;
    font-size: 11px;
}

.frota-favorito-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-header .navbar-nav {
    min-width: 0;
}

@media (max-width: 1100px) {
    .frota-favoritos-titulo span {
        display: none;
    }

    .frota-favoritos-titulo {
        padding-left: .3rem;
        padding-right: .45rem;
    }

    .frota-favorito-item,
    .menuFavoritos.frota-favorito-item {
        max-width: 150px;
    }
}

@media (max-width: 767.98px) {
    #divRetornaFavoritos.frota-favoritos {
        width: 100%;
        height: auto;
        min-height: 40px;
    }

    .frota-favoritos-lista {
        width: 100%;
    }
}


/* =========================================================
   FROTA MODERNO - FASE 2.2
   Favoritos compactos no padrão do layout V2
   Mantém área da conta reservada à direita
   ========================================================= */
.main-header .navbar-nav {
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
}

.main-header .ga-menu-toggle-area,
.main-header .ga-requisicoes-area {
    flex: 0 0 auto;
}

.main-header .ga-favoritos-area {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
    max-width: none;
    overflow: hidden;
}

#divRetornaFavoritos {
    width: auto !important;
    max-width: 100%;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    gap: 4px 6px;
    padding: 3px 7px 5px;
    overflow: visible;
}

#divRetornaFavoritos .frota-favorito-item,
#divRetornaFavoritos .menuFavoritos {
    flex: 0 0 auto;
    width: auto !important;
    max-width: 260px;
    min-height: 28px;
    height: 28px;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 0 9px !important;
    border: 1px solid #dce5ea;
    border-radius: 6px;
    background: #f7fafb;
    color: #365469 !important;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#divRetornaFavoritos .frota-favorito-item:hover,
#divRetornaFavoritos .frota-favorito-item:focus,
#divRetornaFavoritos .menuFavoritos:hover,
#divRetornaFavoritos .menuFavoritos:focus {
    background: #edf7fa;
    border-color: #bddbe5;
    color: var(--frota-primary) !important;
}

#divRetornaFavoritos .nav-icon {
    flex: 0 0 auto;
    width: 13px !important;
    margin: 0 !important;
    color: #234f69 !important;
    font-size: 10px;
    text-align: center;
}

#divRetornaFavoritos .frota-favorito-item span,
#divRetornaFavoritos .menuFavoritos span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.main-header .ga-conta-area {
    flex: 0 0 auto;
    width: auto;
    max-width: 390px;
    margin-left: auto !important;
    padding-left: 8px;
}

@media (max-width: 1200px) {
    .main-header .ga-conta-area {
        max-width: 320px;
    }

    #divRetornaFavoritos .frota-favorito-item,
    #divRetornaFavoritos .menuFavoritos {
        max-width: 210px;
    }
}

@media (max-width: 920px) {
    .main-header .navbar-nav {
        flex-wrap: wrap !important;
    }

    .main-header .ga-favoritos-area,
    .main-header .ga-conta-area {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100% !important;
    }

    .main-header .ga-conta-area {
        padding-left: 0;
    }
}

/* ==========================================================
   FROTA SIMPLES - HOME MODERNA
   Escopo isolado em .frota-home para preservar demais telas.
   ========================================================== */
.frota-home {
    padding-top: 14px;
    background: #f4f7fb;
    min-height: calc(100vh - 120px);
}

.frota-home > .container-fluid {
    padding-left: 18px;
    padding-right: 18px;
}

.frota-home-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 10px;
    padding: 11px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid #e3ebf4;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(31, 61, 90, 0.07);
}

.frota-home-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #1683b6;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.frota-home-hero h1 {
    margin: 0;
    color: #20364b;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.frota-home-hero p {
    margin: 2px 0 0;
    color: #697d90;
    font-size: 12px;
}

.frota-home-hero-date {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 132px;
    padding: 10px 13px;
    background: #fff;
    border: 1px solid #dfe8f2;
    border-radius: 10px;
    color: #476279;
}

.frota-home-hero-date > i {
    color: #1683b6;
    font-size: 19px;
}

.frota-home-hero-date small,
.frota-home-hero-date strong {
    display: block;
    line-height: 1.25;
}

.frota-home-hero-date small {
    color: #8797a7;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.frota-home-hero-date strong {
    margin-top: 1px;
    color: #2e465b;
    font-size: 13px;
    font-weight: 700;
}

/* Indicadores existentes: apenas apresentação, sem mudar dados. */
.frota-home .info-box.box {
    position: relative;
    min-height: 60px;
    margin-bottom: 7px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2eaf2;
    border-radius: 13px;
    box-shadow: 0 4px 14px rgba(31, 61, 90, 0.06);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.frota-home .info-box.box:hover {
    transform: translateY(-2px);
    border-color: #cad8e6;
    box-shadow: 0 8px 20px rgba(31, 61, 90, 0.10);
}

.frota-home .info-box.box .info-box-icon {
    align-self: stretch;
    width: 48px;
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    align-self: flex-start;
    border-radius: 11px 0 0 11px;
    box-shadow: none !important;
    font-size: 16px;
}

.frota-home .info-box.box .info-box-content {
    padding: 5px 9px;
}

.frota-home .info-box.box .info-box-text {
    color: #516a7f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: none;
}

.frota-home .info-box.box .info-box-number {
    margin-top: 0;
    color: #243b50;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.22;
}

.frota-home .info-box.box .btn.mais {
    width: 21px;
    height: 21px;
    margin-left: 4px;
    padding: 0;
    border-radius: 6px;
    font-size: 9px !important;
    vertical-align: middle;
}

.frota-home .info-box.box .collapse {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #edf1f5;
}

/* Seções expansíveis já existentes na Home. */
.frota-home > .container-fluid > .row > .col-12.text-center,
.frota-home > .container-fluid > .row > .col-md-12.text-center,
.frota-home > .container-fluid > .col-12.text-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    min-height: 48px;
    margin: 6px 0 10px;
    padding: 11px 15px !important;
    background: #fff;
    border: 1px solid #e2eaf2;
    border-radius: 11px;
    box-shadow: 0 3px 11px rgba(31, 61, 90, 0.045);
}

.frota-home > .container-fluid > .row > .col-12.text-center hr,
.frota-home > .container-fluid > .row > .col-md-12.text-center hr,
.frota-home > .container-fluid > .col-12.text-center hr {
    display: none;
}

.frota-home > .container-fluid > .row > .col-12.text-center b,
.frota-home > .container-fluid > .row > .col-md-12.text-center b,
.frota-home > .container-fluid > .col-12.text-center b {
    color: #344f65;
    font-size: 13px;
    font-weight: 700;
}

.frota-home > .container-fluid > .row > .col-12.text-center b > i,
.frota-home > .container-fluid > .row > .col-md-12.text-center b > i,
.frota-home > .container-fluid > .col-12.text-center b > i {
    color: #1683b6 !important;
}

.frota-home [id^="btnExpande"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    margin-left: 3px;
    color: #547087;
    background: #f2f6fa;
    border: 1px solid #dce6ef;
    border-radius: 7px;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.frota-home [id^="btnExpande"]:hover {
    color: #fff;
    background: #1683b6;
    border-color: #1683b6;
}

/* Conteúdo aberto das seções. */
.frota-home #divRetornaEncomendas,
.frota-home #divMostraAniversariantes,
.frota-home #divMostraManutencoes,
.frota-home #divListaMensagensCRM,
.frota-home #divListaArquivosEmpresas,
.frota-home #divVisitasClientes,
.frota-home #divListaPessoasCompras,
.frota-home #divListaAvisos {
    margin-bottom: 14px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e3eaf1;
    border-radius: 11px;
    box-shadow: 0 3px 12px rgba(31, 61, 90, 0.045);
}

.frota-home #divRetornaEncomendas form.row {
    margin: 0;
    padding: 12px 8px 4px;
    background: #f8fafc;
    border: 1px solid #e7edf3;
    border-radius: 9px;
}

.frota-home #btnNovaEncomenda {
    border-radius: 7px;
    font-weight: 600;
}

.frota-home table.table {
    margin-bottom: 6px;
    background: #fff;
    border-radius: 8px;
}

.frota-home table.table thead th {
    background: #f5f8fb;
    color: #496276 !important;
    border-bottom: 1px solid #dde6ee !important;
    font-size: 11px;
    font-weight: 700;
}

.frota-home table.table tbody td {
    color: #43596c;
}

/* Contadores que já são preenchidos pelas rotinas existentes. */
.frota-home #divQtEncomendasAbertas,
.frota-home #divQtAniversariantes,
.frota-home #divQtAlertas,
.frota-home #divQtdMensagensCRM,
.frota-home #divQtdVisitasClientes,
.frota-home #divQtdPessoasCompras,
.frota-home #divQtdAvisos,
.frota-home #totalDocumentosEmpresas {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 24px;
    padding: 2px 7px;
    color: #147858 !important;
    background: #ecf8f3;
    border: 1px solid #d3eee3;
    border-radius: 999px;
    font-size: 11px !important;
    font-weight: 700 !important;
}

@media (max-width: 767px) {
    .frota-home {
        padding-top: 8px;
    }

    .frota-home > .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .frota-home-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px;
    }

    .frota-home-hero h1 {
        font-size: 20px;
    }

    .frota-home-hero-date {
        width: 100%;
    }

    .frota-home .info-box.box .info-box-icon {
        width: 52px;
    }
}

/* ==========================================================
   FROTA SIMPLES - HOME COMPACTA 3.3
   Remove espaçamentos Bootstrap mt-2 que faziam os info-box crescerem.
   Escopo exclusivo da Home.
   ========================================================== */
.frota-home .info-box.box .info-box-content .mt-2 {
    margin-top: 1px !important;
}

.frota-home .info-box.box .info-box-content .d-block {
    line-height: 1.15;
}

.frota-home .info-box.box .info-box-content {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

.frota-home .info-box.box .info-box-number {
    line-height: 1.15;
}

.frota-home .info-box.box .info-box-number > span {
    margin-bottom: 0 !important;
}

.frota-home .info-box.box .info-box-icon {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
}

/* Cards com mais linhas crescem somente o necessário, sem folga artificial. */
.frota-home .info-box.box {
    min-height: 58px;
}

/* ==========================================================
   FROTA SIMPLES - HOME COMPACTA 3.4
   Botao de expansao (+) menor, sem alterar comportamento.
   ========================================================== */
.frota-home .btn.mais {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    padding: 0 !important;
    margin-left: 3px !important;
    line-height: 16px !important;
    font-size: 7px !important;
    border-radius: 5px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.frota-home .btn.mais i {
    font-size: 7px !important;
    line-height: 1 !important;
    margin: 0 !important;
}

/* ==========================================================
   FROTA SIMPLES - HOME COMPACTA 3.5
   Botao visualizar clientes menor, sem alterar onclick/id.
   ========================================================== */
.frota-home #todosNaoviajaram {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    padding: 0 !important;
    margin-left: 3px !important;
    line-height: 16px !important;
    font-size: 7px !important;
    border-radius: 5px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.frota-home #todosNaoviajaram i {
    font-size: 7px !important;
    line-height: 1 !important;
    margin: 0 !important;
}
