html {
    font-size: 0.875rem !important;
    font-family: 'Segoe UI';
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

html {
    position: relative;
    min-height: 100%;
    min-width: 100%;
}


body {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    font-family: 'Segoe UI';
}

.font-segoe-12 {
    font-size: 0.875rem;
    font-family: 'Segoe UI';
}

.text-sada-green {
    color: var(--primary-theme-color, #006B64);
}

#divBanner {
    position: relative;
    overflow: hidden;
}

    #divBanner img {
        position: absolute;
        /*width: 100%;
        height: 100%;*/
        object-fit: cover;
    }

#divBannerVersion {
    position: relative;
    overflow: hidden;
}

    #divBannerVersion img {
        position: absolute;
        /* width: 100%;
        height: 100%;*/
        object-fit: cover;
    }


.bg-sada-green {
    background-color: var(--primary-theme-color, #006B64);
}

.btn-green-sada {
    background-color: var(--primary-theme-color, #006B64);
    border-color: var(--primary-theme-color, #006B64);
    color: #FFF;
}

    .btn-green-sada:hover {
        background-color: var(--primary-theme-color, #00857a);
        border-color: var(--primary-theme-color, #00857a);
        filter: brightness(90%);
        color: #FFF;
    }

.log-sada-verde {
    background-image: url('../images/Logo_Byd.svg'); /* Substitua pelo caminho da sua imagem */
}

.border-left-rounded-32 {
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    padding-left: 0px;
    padding-right: 0px;
}

.bg-audi-image {
    background-image: url('../images/Audi-Banner.png'); /* Substitua pelo caminho da sua imagem */
    background-size: cover; /* Ajusta a imagem para cobrir toda a div */
    background-position: center; /* Centraliza a imagem */
    background-repeat: no-repeat; /* Evita que a imagem se repita */
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
}

.bg-byd-image {
    background-image: url('../images/Byd-Banner.png'); /* Substitua pelo caminho da sua imagem */
    background-size: cover; /* Ajusta a imagem para cobrir toda a div */
    background-position: center; /* Centraliza a imagem */
    background-repeat: no-repeat; /* Evita que a imagem se repita */
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
}

.btn-icon {
    width: 42px;
    height: 36px;
    border: none; /* Remove a borda */
    color: #ffffff !important; /* Cor dos ícones */
    border-radius: 4px; /* Bordas arredondadas */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; /* Cursor de ponteiro */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para destaque */
    transition: transform 0.2s ease; /* Animação ao interagir */
}

.table-sada-green {
    --bs-table-bg: var(--primary-theme-color, #006B64);
    --bs-table-striped-bg: #2c3034;
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #373b3e;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #323539;
    --bs-table-hover-color: #fff;
    color: #fff;
    border-color: #373b3e;
}

.table-sada-green-strong {
    --bs-table-bg: var(--primary-theme-color, #365250);
    --bs-table-striped-color: #fff;
    --bs-table-active-bg: #373b3e;
    --bs-table-active-color: #fff;
    --bs-table-hover-bg: #323539;
    --bs-table-hover-color: #fff;
    color: #fff;
    border-color: #373b3e;
}

.table-sada-green-strong thead th {
    color: white; /* Texto branco */
    padding: 15px 15px; /* Aumenta o espaçamento interno */
    border-bottom: 2px solid #0A6356; /* Linha inferior mais forte */
}

.clickable {
    cursor: pointer;
}

.paginator {
    padding-right: 32px;
}

.page-link {
    color: #7E8483;
    background: #E6EAED;
    margin: 4px;
    border-radius: 8px !important;
}

.page-item.active .page-link {
    color: white !important;
    background: var(--primary-theme-color, #006B64) !important;
}



table.table-striped > tbody > tr:nth-of-type(4n-3) {
    background-color: var(--bs-table-striped-bg, #f8f9fa); /* Fallback para testes */
    color: var(--bs-table-striped-color, #212529); /* Fallback para testes */
}

.cardStyle {
    border-radius: 8px;
    background-color: #FFFFFF;
    height: 69px;
    width: 210px;
}

.iconCard {
    width: 24px;
    height: 40px;
}


.group-row.expanded {
    font-weight: 400;
    background-color: #FBF3D0 !important;
}

.collapse-row {
    background-color: #FEFCF3 !important;
}



.table-scrollable {
    overflow-x: scroll !important;
    /*box-shadow: inset 0 0 5px rgba(150, 150,150,0.35);*/
    margin: 0px;
}

/* Applies to all scrollbars in the page */
::-webkit-scrollbar {
    width: 8px; /* Set scrollbar width */
    height: 8px; /* Set scrollbar height for horizontal scrollbars */
}

::-webkit-scrollbar-thumb {
    background: #D9D9D9; /* Color of the scrollbar thumb */
    border-radius: 4px; /* Rounded corners */
}

::-webkit-scrollbar-track {
    background: white;
}



td, th {
    white-space: nowrap;
}

.badge {
    border-radius: 16px;
}


/* Classes para cores personalizadas de badges */
.badge-factory {
    background-color: #E9E8FC;
    color: #212529;
}

.badge-company {
    background-color: #CAF2C7;
    color: #212529;
}

.badge-status {
    background-color: #FFD9C8;
    color: #212529;
}

.badge-location {
    background-color: #84EAB3;
    color: #212529;
}

.more-details {
    padding-left: 0px !important;
    padding-top: 16px !important;
}

footer {
    position: relative;
    margin-top: 50px;
    z-index: -1;
}

.pagination-container {
    margin-bottom: 20px;
}




/* Estilização para a tabela de usuários */


.user-table thead th {
    color: white; /* Texto branco */
    padding: 15px 15px; /* Aumenta o espaçamento interno */
    border-bottom: 2px solid #0A6356; /* Linha inferior mais forte */
}

/* Espaçamento maior para as células dessa tabela */
.user-table tbody tr td {
    padding: 12px; /* Espaçamento interno nas células */
}

/* Arredondamento da tabela inteira */
.user-table {
    border-collapse: separate; /* Garante que o border-radius funcione */
    border-spacing: 0; /* Remove espaçamento extra entre células */
    border-radius: 8px; /* Arredondamento geral */
    overflow: hidden; /* Mantém o conteúdo cortado nos arredondamentos */
}

    /* Efeito hover apenas nessa tabela */
    .user-table tbody tr:hover {
        background-color: #f1f1f1; /* Cinza claro ao passar o mouse */
        transition: background-color 0.3s ease;
    }



.details-table thead th {
    color: white; /* Texto branco */
    padding: 12px 12px; /* Aumenta o espaçamento interno */
    border-bottom: 2px solid #0A6356; /* Linha inferior mais forte */
}


.details-table tbody tr td {
    padding: 12px; /* Espaçamento interno nas células */
}
/* Espaçamento maior para as células dessa tabela */
.details-table tbody tr td {
    padding: 12px; /* Espaçamento interno nas células */
}

/* Arredondamento da tabela inteira */
.details-table {
    border-collapse: separate; /* Garante que o border-radius funcione */
    border-spacing: 0; /* Remove espaçamento extra entre células */

    overflow: hidden; /* Mantém o conteúdo cortado nos arredondamentos */
}


.sidebar-container {
    background-color: #F7F8FA; /* Fundo cinza claro */
    border-radius: 8px; /* Canto arredondado (opcional) */
    z-index: -1;
}

    .sidebar-container .nav-pills .nav-link {
        color: #4a4a4a; /* Cor do texto */
        border-radius: 4px; /* Arredondar os botões */
        transition: background-color 0.3s ease; /* Animação suave */
    }

        .sidebar-container .nav-pills .nav-link:hover {
            color: #007bff; /* Texto azul */
        }

        .sidebar-container .nav-pills .nav-link.active {
            color: var(--primary-theme-color, #006B64); /* Cor sada para o texto do item ativo */
            font-weight: bold; /* Deixa o texto em negrito */
            background: none; /* Remove qualquer fundo adicional */
            border: none; /* Remove borda ao redor do link */
            text-decoration: none; /* Remove sublinhado */
        }



/* Customização do switch */
.custom-switch .form-check-input {
    width: 20px; /* Largura do switch */
    height: 12px; /* Altura do switch */
    border-radius: 30px; /* Para ficar arredondado */
    transform: scale(1.5); /* Escala proporcional ao tamanho desejado */
    transition: all 0.3s ease-in-out; /* Transição suave ao alternar */
    font-size: 14px;
}

    .custom-switch .form-check-input:checked {
        background-color: var(--primary-theme-color, #006B64); /* Cor quando o switch está ativado */
        border-color: var(--primary-theme-color, #006B64); /* Cor da borda quando ativado */
    }

/* Alterar a cor do checkbox selecionado */
.custom-checkbox:checked {
    background-color: var(--primary-theme-color, #006B64); /* Cor verde */
    border-color: #28a745; /* Cor da borda */
}

.large-checkbox {
    width: 16px; /* Largura do checkbox */
    height: 16px; /* Altura do checkbox */
    cursor: pointer; /* Alterar para indicar que é clicável */
}


.input-with-icon {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><circle cx="11.5" cy="11.5" r="9.5" stroke="%23898989" stroke-width="1.5"/><path d="M20 20L22 22" stroke="%23898989" stroke-width="1.5" stroke-linecap="round"/></svg>');
    background-repeat: no-repeat;
    background-position: 10px center; /* Ajusta a posição do ícone */
    background-size: 16px 16px; /* Ajusta o tamanho do ícone */
}

    .input-with-icon::placeholder {
        padding-left: 20px; /* Ajuste o valor para controlar o espaço */
    }

.btn-outline-green-sada {
    color: var(--primary-theme-color, #006B64);
    border-color: var(--primary-theme-color, #006B64);
    background-color: transparent;
    background-image: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    .btn-outline-green-sada:hover {
        background-color: var(--primary-theme-color, #006B64);
        border-color: var(--primary-theme-color, #006B64);
        color: #FFF;
    }

    .btn-outline-green-sada:focus, .btn-outline-green-sada.focus {
        box-shadow: 0 0 0 0.25rem rgba(0, 107, 100, 0.5);
    }

    .btn-outline-green-sada.disabled, .btn-outline-green-sada:disabled {
        color: var(--primary-theme-color, #006B64);
        background-color: transparent;
    }

    .btn-outline-green-sada:not(:disabled):not(.disabled):active, .btn-outline-green-sada:not(:disabled):not(.disabled).active,
    .show > .btn-outline-green-sada.dropdown-toggle {
        color: #fff;
        background-color: var(--primary-theme-color, #006B64);
        border-color: var(--primary-theme-color, #006B64);
    }

        .btn-outline-green-sada:not(:disabled):not(.disabled):active:focus, .btn-outline-green-sada:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-green-sada.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.25rem rgba(0, 107, 100, 0.5);
        }

.no-arrow::after {
    content: none; /* Removes the arrow */
}
.icon {
    position: relative;
    padding-left: 30px; /* Deixa espaço para o ícone */
    display: inline-flex;
    align-items: center;
}

.icon::before {
    content: '';
    position: absolute;
    left: 9px; /* Distância do ícone do texto */
    top: 50%;
    transform: translateY(-50%);
    width: 22px; /* Tamanho do ícone */
    height: 22px;
    background-size: contain;
    background-repeat: no-repeat;
}

.icon-column::before {
    background-image: url('../icons/icon_columns.svg');
}
.icon-excel::before {
    background-image: url('../icons/icon_excel.svg');
}
.icon-filter::before {
    background-image: url('../icons/icon_filter.svg');
}
.icon-search::before {
    background-image: url('../icons/icon_search.svg');
}
.icon-double-arrow {
    width: 40px;
    height: 40px;
    background-image: url('../icons/icon_double_arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 21px;
    border: none;
}
.icon-emissao-cte {
    background-image: url('/icons/emissao_cte.svg');
}
.icon-entrega-destino {
    background-image: url('/icons/entrega_destino.svg');
}
.icon-veiculo-recebido {
    background-image: url('/icons/veiculo_recebido.svg');
}
.icon-entrega-virtual {
    background-image: url('/icons/entrega_virtual.svg');
}
.icon-entrega-estoque {
    background-image: url('/icons/entrega_estoque.svg');
}
.icon-entrada-estoque {
    background-image: url('/icons/entrada_estoque.svg');
}
.icon-veiculo-transferido {
    background-image: url('/icons/veiculo_transferido.svg');
}

.icon-blue-circle {
    width: 17px;
    height: 17px;
    background-image: url('../images/blue_circle.svg');
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}
.icon-green-circle {
    width: 17px;
    height: 17px;
    background-image: url('../images/gree_circle.svg');
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}
.icon-yellow-circle {
    width: 17px;
    height: 17px;
    background-image: url('../images/yellow_circle.svg');
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}

.bp-btn-green-sada-secondary {
    background-color: white;
    border: 1px solid var(--primary-theme-color, #006B64);
    color: var(--primary-theme-color, #006B64);
    padding: 5px 15px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .bp-btn-green-sada-secondary:hover {
        background-color: var(--primary-theme-color, #006B64);
        color: white;
    }

.bp-bg-info {
    --bs-bg-opacity: 1;
    background-color: var(--primary-theme-color, #006B64);
}

.bp-fw-semibold {
    font-weight: 600;
}

.bp-custom-dashed-line {
    border: none;
    border-top: 2px dashed #ced4da;
    background-color: transparent;
    height: 0;
    opacity: 1;
}

.bp-flexSwitchCheckChecked {
    width: 3em !important;
}

    .bp-flexSwitchCheckChecked:checked {
        background-color: var(--primary-theme-color, #006B64);
        border-color: var(--primary-theme-color, #006B64);
    }

    .bp-flexSwitchCheckChecked:focus {
        border-color: var(--primary-theme-color, #006B64);
        box-shadow: 0 0 0 0.25rem rgba(0, 107, 100, 0.25);
    }

.bp-status-circle {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    display: inline-block;
}

.bp-status-ativo {
    background-color: #56F000;
}

.bp-status-inativo {
    background-color: #F52929;
}

.bp-color-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    vertical-align: middle;
}

.bp-badge-dominio {
    display: inline-block;
    padding: 1px 8px 1px 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    background-color: #fdfdfd;
    border: 1px solid #dce1e6;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    margin-right: 4px;
}

.bp-icon-circle {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.bp-color-swatch {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
    display: inline-block;
}

.bp-table-consult td {
    text-align: left !important;
}

/* BrandParameters Index */

.bp-title-header {
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
}

.bp-index-input-header {
    height: 38px;
}

.bp-index-btn-header {
    height: 38px;
}

.bp-index-input-header-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    left: 12px;
    color: #6c757d;
    pointer-events: none;
}

.bp-input-with-icon {
    padding-left: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><circle cx="11.5" cy="11.5" r="9.5" stroke="%23898989" stroke-width="1.5"/><path d="M20 20L22 22" stroke="%23898989" stroke-width="1.5" stroke-linecap="round"/></svg>');
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 16px 16px;
}

.form-control.has-overlay-icon {
    padding-left: 36px;
}

/* BrandParameters Create */

.bp-title-form {
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
}

.bp-title-form-secondary {
    font-size: 18px;
    font-weight: 500;
}

/* Estilização para a página de Login em conjunto com a Parametrização Marca das Montadoras */

:root {
    --theme-primary-color: #006B64;
    --theme-login-logo: url('../images/Logo_SadaLog_Verde.svg');
    --theme-favicon: url('../images/Logo_SadaLog_Verde.svg');
    --theme-login-banner: url('../images/caminhao-sada.png');
}

#login-submit, #btnAvancar {
    background-color: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
    color: white;
}

#btnAvancar.disabled {
    background-color: #6c757d;
    border-color: #6c757d;
}

#imgLogo {
    max-width: 250px;
    height: auto;
}

#divBanner {
    background-image: var(--theme-login-banner);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--theme-primary-color);
}

#divBannerVersion {
    position: relative;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 100%;
}

/* Estilização para a página de Consulta de Veículos em conjunto com a Parametrização Marca das Montadoras */
.form-check-input:checked {
    background-color: var(--primary-theme-color, #006B64);
    border-color: var(--primary-theme-color, #006B64);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-theme-color, #006B64);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-theme-color-rgb, 0, 107, 100), 0.25);
}

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--primary-theme-color, #006B64);
    color: #fff;
}
.details-table {
    overflow: visible !important;
}

:root {
    --hover-background-color: color-mix(in srgb, var(--primary-theme-color) 10%, white 90%);
}

.nav-pills .nav-link {
    color: var(--primary-theme-color);
    font-weight: 500;
    border-radius: 6px;
    margin-bottom: 4px;
}

.nav-pills .nav-link:not(.active):hover {
    background-color: color-mix(in srgb, var(--primary-theme-color) 10%, white 90%);
    color: var(--primary-theme-color);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--primary-theme-color);
    color: white;
}