@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');
/*--------------------------------------------------------------
# BERKANA
--------------------------------------------------------------*/
:root {
    --bs-primary: #15295e;
    --bs-primary-hover: #1d3c8f;
    --bs-primary-active: #102f83;
    --bs-primary-rgb: 21, 41, 94;
    --bs-secondary: #a9cd36;
    --bs-secondary-hover: #afd926;
    --bs-secondary-active: #95b726;
    --bs-secondary-rgb: 169, 205, 54;
    --bs-success-rgb: 169, 205, 54;
    --bs-link-color: #15295e;
    /* Berkana design tokens globais */
    --bk-blue: var(--bs-primary);
    --bk-blue-dark: #0f1e46;
    --bk-green: var(--bs-secondary);
    --bk-green-hover: var(--bs-secondary-hover);
    --bk-border: #dfe6f2;
    --bk-border-soft: #e6edf8;
    --bk-muted: #667085;
    --bk-text: #102047;
    --bk-bg-soft: #f8fafc;
    --bk-card: #ffffff;
    --bk-shadow: 0 10px 25px rgba(21,41,94,.08);
    --bk-shadow-lg: 0 16px 35px rgba(21,41,94,.13);
}


img {
    max-width: 100%;
}

.borda-placa {
    border: solid 2px #CCC !important;
    border-radius: 5px;
    padding: 4px 10px;
}

.progress-bar {
    background-color: var(--bs-secondary);
}

.btn {
    align-items: center;
    font-size: 14px;
}
    /*
.btn:not([class*="py-"]) {
  min-height: 50px;
}
  */

    .btn.h-auto {
        min-height: inherit;
    }

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary-hover);
    --bs-btn-hover-border-color: var(--bs-primary-hover);
    --bs-btn-active-bg: var(--bs-primary-active);
    --bs-btn-active-border-color: var(--bs-primary-active);
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
    --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
    --bs-btn-active-bg: var(--bs-primary);
    --bs-btn-active-border-color: var(--bs-primary);
    --bs-btn-disabled-color: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

    .btn-outline-primary:hover,
    .btn-outline-primary:hover a,
    .btn-outline-primary:hover i {
        color: #FFF;
    }

.btn-secondary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: var(--bs-secondary-hover);
    --bs-btn-hover-border-color: var(--bs-secondary-hover);
    --bs-btn-active-bg: var(--bs-secondary-active);
    --bs-btn-active-border-color: var(--bs-secondary-active);
    --bs-btn-disabled-bg: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
    font-weight: 600;
}

.btn-light {
    --bs-btn-bg: #eee;
    --bs-btn-border-color: #EEE;
}

.pulse-alert,
.card.pulse-alert,
.alert-danger {
    box-shadow: 0 0 0 0 rgba(var(--bs-danger-rgb), 0.7);
    cursor: pointer;
    -webkit-animation: pulse 6s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulse 6s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulse 6s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulse 6s infinite cubic-bezier(0.66, 0, 0, 1);
}

    .pulse-alert:hover {
        -webkit-animation: none;
        -moz-animation: none;
        -ms-animation: none;
        animation: none;
    }

    .pulse-alert:focus {
        outline: none;
    }

    .pulse-alert a {
        display: table;
        width: 100%;
        height: 100%;
    }


@-webkit-keyframes pulse {
    to {
        box-shadow: 0 0 0 15px rgba(232, 76, 61, 0);
    }
}

@-moz-keyframes pulse {
    to {
        box-shadow: 0 0 0 15px rgba(232, 76, 61, 0);
    }
}

@-ms-keyframes pulse {
    to {
        box-shadow: 0 0 0 15px rgba(232, 76, 61, 0);
    }
}

@keyframes pulse {
    to {
        box-shadow: 0 0 0 15px rgba(232, 76, 61, 0);
    }
}



.form-label {
    font-weight: 500;
    color: var(--bs-primary);
}

.pag-login .form-control,
.pag-login2 .form-control {
    border: 2px solid var(--bs-primary);
}

.form-control {
    color: var(--bs-primary);
}

.form-control,
.form-select {
    min-height: 50px;
}

    .form-control:focus,
    .form-check-input:focus {
        color: var(--bs-primary);
        border-color: var(--bs-secondary);
        box-shadow: 0 0 0 .25rem rgba(169,205,54,.25);
    }

.form-check-input:checked {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.datatable td img {
    max-height: 60px;
    max-width: 100px;
    border-radius: 4px;
}

.dataTable-table > tbody > tr > td {
    vertical-align: middle;
}



/*--------------------------------------------------------------
# Berkana UI Components Globais
# Use estas classes em todas as páginas para manter padrão visual.
--------------------------------------------------------------*/
.pagetitle h1,
.bk-page-title h1 {
    color: var(--bk-blue);
    font-weight: 800;
    margin-bottom: .25rem;
}

.pagetitle p,
.bk-page-title p,
.bk-page-subtitle {
    color: var(--bk-muted);
    max-width: 860px;
    margin: 0;
}


.bk-pill,
.bk-op-pill,
.bk-page-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    padding: 6px 10px;
    color: #fff;
    font-weight: 800;
    font-size: .78rem;
}

.bk-card,
.bk-op-card,
.bk-panel,
.bk-page-card {
    background: #fff;
    border: 1px solid var(--bk-border);
    border-radius: 18px;
    box-shadow: var(--bk-shadow);
}

.bk-op-card,
.bk-panel {
    overflow: hidden;
}

.bk-card-head,
.bk-card-header,
.bk-op-card-head,
.bk-panel-head,
.bk-page-card-head {
    padding: 16px 18px;
    border-bottom: 1px solid var(--bk-border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    background: #fff;
}

    .bk-card-head h2,
    .bk-card-header h2,
    .bk-op-card-head h2,
    .bk-panel-head h2,
    .bk-page-card-head h2 {
        font-size: 1.05rem;
        color: var(--bk-blue);
        font-weight: 800;
        margin: 0;
    }

    .bk-card-head p,
    .bk-card-header p,
    .bk-op-card-head p,
    .bk-panel-head p,
    .bk-page-card-head p {
        color: var(--bk-muted);
        font-size: .86rem;
        margin: 3px 0 0;
    }

.bk-kpi,
.bk-kpi-card,
.bk-op-kpi,
.bk-page-kpi {
    background: #fff;
    border: 1px solid var(--bk-border);
    border-radius: 18px;
    box-shadow: var(--bk-shadow);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 92px;
}

    .bk-kpi > i,
    .bk-kpi-card > i,
    .bk-op-kpi > i,
    .bk-page-kpi > i {
        width: 46px;
        height: 46px;
        border-radius: 16px;
        background: rgba(169,205,54,.18);
        color: var(--bk-blue);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .bk-kpi span,
    .bk-kpi-card span,
    .bk-op-kpi span,
    .bk-page-kpi span {
        display: block;
        color: var(--bk-muted);
        font-size: .82rem;
    }

    .bk-kpi strong,
    .bk-kpi-card strong,
    .bk-op-kpi strong,
    .bk-page-kpi strong {
        display: block;
        color: var(--bk-blue);
        font-size: 1.45rem;
        line-height: 1;
    }

.bk-btn-primary {
    background: var(--bk-blue);
    border-color: var(--bk-blue);
    color: #fff;
    border-radius: 12px;
    font-weight: 800;
}

    .bk-btn-primary:hover,
    .bk-btn-primary:focus {
        background: var(--bk-blue-dark);
        border-color: var(--bk-blue-dark);
        color: #fff;
    }

.bk-btn-green {
    background: var(--bk-green);
    border-color: var(--bk-green);
    color: var(--bk-blue);
    border-radius: 12px;
    font-weight: 800;
}

    .bk-btn-green:hover,
    .bk-btn-green:focus {
        filter: brightness(.96);
        color: var(--bk-blue);
    }

.bk-btn-outline {
    border: 1px solid #cbd8ec;
    background: #fff;
    color: var(--bk-blue);
    border-radius: 12px;
    font-weight: 800;
}

    .bk-btn-outline:hover,
    .bk-btn-outline:focus {
        border-color: var(--bk-green);
        background: #fbfff2;
        color: var(--bk-blue);
    }

.bk-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid #dce6f5;
    background: #fff;
    color: var(--bk-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .bk-icon-btn:hover,
    .bk-icon-btn:focus {
        border-color: var(--bk-green);
        background: #fbfff2;
        color: var(--bk-blue);
    }

.bk-search-wrap,
.bk-op-search,
.bk-page-search {
    position: relative;
}

    .bk-search-wrap i,
    .bk-op-search i,
    .bk-page-search i {
        position: absolute;
        left: 13px;
        top: 50%;
        transform: translateY(-50%);
        color: #8090ad;
        z-index: 2;
    }

    .bk-search-wrap .form-control,
    .bk-op-search .form-control,
    .bk-page-search .form-control {
        padding-left: 38px;
    }

.bk-table th,
.bk-op-table th,
.bk-page-table th {
    color: var(--bk-blue);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    white-space: nowrap;
}

.bk-table td,
.bk-op-table td,
.bk-page-table td {
    vertical-align: middle;
}

.bk-row-title,
.bk-op-row-title {
    font-weight: 800;
    color: var(--bk-text);
}

.bk-row-subtitle,
.bk-op-row-sub {
    color: var(--bk-muted);
    font-size: .82rem;
}

.bk-badge,
.bk-op-badge,
.bk-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 5px 9px;
    font-size: .74rem;
    font-weight: 800;
    border: 1px solid transparent;
    white-space: nowrap;
}

    .bk-badge.success,
    .bk-badge.active,
    .bk-badge.ativo,
    .bk-op-badge.success,
    .bk-status-badge.success {
        background: #e8f7cb;
        color: #55740e;
        border-color: #cbe88a;
    }

    .bk-badge.info,
    .bk-op-badge.info,
    .bk-status-badge.info {
        background: #e8f4ff;
        color: #175cd3;
        border-color: #badcff;
    }

    .bk-badge.warning,
    .bk-op-badge.warning,
    .bk-status-badge.warning {
        background: #fff6d7;
        color: #8a6100;
        border-color: #ffe399;
    }

    .bk-badge.danger,
    .bk-op-badge.danger,
    .bk-status-badge.danger {
        background: #fee2e2;
        color: #b91c1c;
        border-color: #fecaca;
    }

    .bk-badge.dark,
    .bk-op-badge.dark,
    .bk-status-badge.dark,
    .bk-badge.draft {
        background: #eef2f7;
        color: #344054;
        border-color: #d0d5dd;
    }

.bk-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.bk-side-panel,
.bk-op-side,
.bk-page-side {
    background: #fff;
    border: 1px solid var(--bk-border);
    border-radius: 18px;
    box-shadow: var(--bk-shadow);
    padding: 16px;
    position: sticky;
    top: 96px;
}

    .bk-side-panel h3,
    .bk-op-side h3,
    .bk-page-side h3 {
        font-size: 1.05rem;
        color: var(--bk-blue);
        font-weight: 800;
    }

.bk-detail-list,
.bk-op-list,
.bk-page-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

    .bk-detail-list li,
    .bk-op-list li,
    .bk-page-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: #475569;
        font-size: .88rem;
    }

    .bk-op-list li,
    .bk-page-list li {
        padding: 10px;
        border: 1px solid var(--bk-border-soft);
        background: var(--bk-bg-soft);
        border-radius: 14px;
    }

    .bk-detail-list i,
    .bk-op-list i,
    .bk-page-list i {
        color: var(--bk-green);
        margin-top: 2px;
    }

.bk-op-icon,
.bk-page-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.05rem;
}

.bk-json-preview,
.bk-preview-box,
.bk-code-box {
    background: #0b1220;
    color: #d1e7ff;
    border-radius: 14px;
    padding: 14px;
    white-space: pre-wrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .78rem;
    line-height: 1.5;
    overflow: auto;
}

main .form-control,
main .form-select {
    border-color: #dce5f3;
    border-radius: 12px;
}

    main .form-control:focus,
    main .form-select:focus {
        border-color: var(--bk-green);
        box-shadow: 0 0 0 .22rem rgba(169,205,54,.18);
    }

@media(max-width:991px) {
    .bk-side-panel,
    .bk-op-side,
    .bk-page-side {
        position: static;
    }
}

/*--------------------------------------------------------------
# LOGIN
--------------------------------------------------------------*/
.pag-login {
    background-image: url(../../img/bg-login.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

    .pag-login .card-body,
    .pag-login2 .card-body {
        padding: 40px;
    }

.pag-login2 {
    background: #F1F3F3;
    background: linear-gradient(90deg, rgba(241, 243, 243, 1) 60%, rgba(21, 41, 94, 1) 60%);
}

    .pag-login2 main {
        background-image: url(../../img/bg-login02.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

@media (max-width: 992px) {
    .pag-login2 main {
        background-image: url(../../img/bg-login.png);
    }

    .pag-login2 .logo-cliente {
        filter: invert(100%) sepia(100%) saturate(1%) hue-rotate(8deg) brightness(104%) contrast(101%);
    }
}

/*--------------------------------------------------------------
# Offcanvas
--------------------------------------------------------------*/
.offcanvas-header {
    color: #FFF;
    background-color: var(--bs-primary);
}

    .offcanvas-header .btn-close {
        background-color: #FFF;
    }

.offcanvas .form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-right: 10px;
}

/*--------------------------------------------------------------
# Tabela div
--------------------------------------------------------------*/

.grid-table {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* GRID BASE */
.grid-header,
.grid-row {
    display: grid;
    align-items: center;
    width: 100%;
}

#principal .grid-header,
#principal .grid-row {
    grid-template-columns: 1fr /* Situação */
    1fr /* Placa */
    1fr /* Hora */
    1fr /* Foto */
    1fr /* Marca */
    1fr /* Cor */
    1fr /* Foto Placa */
    1fr /* Situação Detran */
    0.5fr /* Opções */
    ;
}

#placas .grid-header,
#placas .grid-row {
    grid-template-columns: 1fr /* Situação */
    1fr /* Placa */
    1fr /* Foto Placa */
    1fr /* Foto Câmera */
    1fr /* Marca */
    1fr /* Modelo */
    1fr /* Cor */
    1fr /* Hora */
    1fr /* Pose */
    1fr /* Direção */
    ;
}

#faces .grid-header,
#faces .grid-row {
    grid-template-columns: 1fr /* Situação */
    1fr /* Nome */
    1fr /* Foto rosto */
    1fr /* Foto Câmera */
    1fr /* Confiança */
    1fr /* Idade */
    1fr /* Sexo */
    1fr /* Máscara */
    1fr /* Hora */
    1fr /* Dia */
    ;
}

#alerts .grid-header,
#alerts .grid-row {
    grid-template-columns: 1fr /* Situação */
    1fr /* Nome */
    1fr /* Foto rosto */
    1fr /* Foto Câmera */
    1fr /* Confiança */
    1fr /* Idade */
    1fr /* Sexo */
    1fr /* Máscara */
    1fr /* Hora */
    1fr /* Dia */
    ;
}

#usuario .grid-header,
#usuario .grid-row {
    grid-template-columns: 1fr /* ID */
    1fr /* Usuário */
    1fr /* Tipo */
    1fr /* Remover */
    1fr /* Editar */
    ;
}

#buscaRegistro .grid-header,
#buscaRegistro .grid-row {
    grid-template-columns: 1fr /* Placa */
    1fr /* Data hora */
    1fr /* Situação */
    1fr /* Marca */
    1fr /* Modelo */
    1fr /* Cor */
    ;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}



@media (max-width: 992px) {
    .card-header {
        flex-wrap: wrap;
    }
}

.box-img-thumb {
    padding: 0;
    width: 70px;
    overflow: hidden;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    margin: auto;
}

    .box-img-thumb img {
        max-width: inherit;
    }


/* HEADER */
.grid-header {
    font-weight: 600;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

    .grid-header div {
        padding: 8px 10px;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.3;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* ROW */
.grid-row {
    border-bottom: 1px solid #eee;
}

    .grid-row div {
        padding: 12px;
        font-size: 14px;
    }

    .grid-row:hover {
        background: #f9f9f9;
    }

/* IMAGENS */
.img-thumb {
    height: 50px;
    border-radius: 6px;
    cursor: pointer;
}

/* BADGES */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
}

.grid-table .btn {
    font-size: 14px;
}

@media (max-width: 992px) {

    .grid-header {
        display: none !important;
    }

    .grid-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px;
        padding: 12px;
    }

        .grid-row div {
            padding: 6px 0;
            border: none !important;
        }

            .grid-row div::before {
                content: attr(data-label);
                display: block;
                font-size: 12px;
                color: #666;
                margin-bottom: 2px;
            }
}


.img-preview {
    height: 100px;
    width: 100%;
    object-fit: cover;
}

.alert-danger {
    background-color: rgba(var(--bs-danger-rgb),var(--bs-bg-opacity)) !important;
}


/*--------------------------------------------------------------
# Modal
--------------------------------------------------------------*/
.modal .btn-close {
    font-size: 30px;
    border-radius: 50%;
    background-color: #EEE;
}

.carencia-wrapper {
    background: #f5f5f5;
    padding: 20px;
    max-width: 600px;
}

/* FORM */
.form-carencia {
    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
}

.carencia-wrapper .form-group {
    display: flex;
    flex-direction: column;
}

    .carencia-wrapper .form-group label {
        font-size: 14px;
        margin-bottom: 4px;
    }

.carencia-wrapper .btn-salvar {
    height: 34px;
    padding: 0 24px;
    cursor: pointer;
}

/* GRID TIPO TABELA */
.grid-table {
    background: #fff;
    border: 1px solid #aaa;
}

.grid-header,
.grid-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
}

.grid-header {
    background: #eee;
    font-weight: bold;
    border-bottom: 1px solid #aaa;
}

    .grid-header div {
        padding: 10px;
        text-align: center;
    }

.grid-row div {
    padding: 6px 10px;
}

    .grid-row div .badge i {
        font-size: 16px;
    }

    .grid-header div:last-child,
    .grid-row div:last-child {
        border-right: none;
    }

.grid-row {
    border-bottom: 1px solid #ccc;
    text-align: center;
}

    .grid-row:last-child {
        border-bottom: none;
    }

    /* Linha selecionada (azul) */
    .grid-row.active {
        background: #0078d7;
        color: #fff;
    }



/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: #444444;
}

a {
    color: var(--bs-link-color);
    text-decoration: none;
    font-weight: 600;
}

    a:hover {
        color: var(--bs-primary-hover);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Poppins", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
    margin-bottom: 10px;
}

    .pagetitle h1 {
        font-size: 24px;
        margin-bottom: 0;
        font-weight: 600;
        color: var(--bs-primary);
    }

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: var(--bs-primary);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

    .back-to-top i {
        font-size: 24px;
        color: #fff;
        line-height: 0;
    }

    .back-to-top:hover {
        background: #6776f4;
        color: #fff;
    }

    .back-to-top.active {
        visibility: visible;
        opacity: 1;
    }

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    -webkit-animation-name: dropdown-animate;
    animation-name: dropdown-animate;
    -webkit-animation-duration: 0.2s;
    animation-duration: 0.2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

    .dropdown-menu .dropdown-header,
    .dropdown-menu .dropdown-footer {
        text-align: center;
        font-size: 15px;
        padding: 10px 25px;
    }

        .dropdown-menu .dropdown-footer a {
            color: #444444;
            text-decoration: underline;
        }

            .dropdown-menu .dropdown-footer a:hover {
                text-decoration: none;
            }

    .dropdown-menu .dropdown-divider {
        color: #a5c5fe;
        margin: 0;
    }

    .dropdown-menu .dropdown-item {
        font-size: 14px;
        padding: 10px 15px;
        transition: 0.3s;
    }

        .dropdown-menu .dropdown-item i {
            margin-right: 10px;
            font-size: 18px;
            line-height: 0;
        }

        .dropdown-menu .dropdown-item:hover {
            background-color: #f6f9ff;
        }

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }
}

@-webkit-keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

/* Light Backgrounds */
.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

/* Card */
.card {
    margin-bottom: 20px;
    border: solid 2px #EEE;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    padding: 15px 0 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--bs-primary);
    font-family: "Poppins", sans-serif;
}

    .card-title span {
        color: #899bbd;
        font-size: 14px;
        font-weight: 400;
    }

.card-body {
    padding: 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

/* Close Button */
.btn-close {
    background-size: 25%;
}

    .btn-close:focus {
        outline: 0;
        box-shadow: none;
    }

/* Accordion */
.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

    .accordion-flush .accordion-button:not(.collapsed) {
        box-shadow: none;
        color: var(--bs-primary);
    }

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    color: #899bbd;
    font-weight: 600;
}

    .breadcrumb a {
        color: #899bbd;
        transition: 0.3s;
    }

        .breadcrumb a:hover {
            color: #51678f;
        }

    .breadcrumb .breadcrumb-item::before {
        color: #899bbd;
    }

    .breadcrumb .active {
        color: #51678f;
        font-weight: 600;
    }

/* Bordered Tabs */
.nav-tabs-bordered {
    border-bottom: 2px solid #ebeef4;
}

    .nav-tabs-bordered .nav-link {
        margin-bottom: -2px;
        border: none;
        color: #2c384e;
    }

        .nav-tabs-bordered .nav-link:hover,
        .nav-tabs-bordered .nav-link:focus {
            color: var(--bs-primary);
        }

        .nav-tabs-bordered .nav-link.active {
            background-color: #fff;
            color: var(--bs-primary);
            border-bottom: 2px solid var(--bs-primary);
        }

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        margin-right: 30px;
    }
}

.logo img {
    max-height: 25px;
    margin-left: 20px;
}

.logo span {
    font-size: 26px;
    font-weight: 700;
    color: var(--bs-primary);
    font-family: "Poppins", sans-serif;
}

@media (max-width: 992px) {
    .logo img {
        max-height: 30px;
    }
}

@media (max-width: 768px) {
    .logo img {
        max-height: 20px;
    }
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: var(--bs-primary);
    padding-left: 10px;
    border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    /* Toggle Sidebar Button */
    /* Search Bar */
}

    .header .toggle-sidebar-btn {
        font-size: 22px;
        padding: 1px 6px 0 6px;
        cursor: pointer;
        color: #FFF;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
    }

    .header .search-bar {
        min-width: 360px;
        padding: 0 20px;
    }

@media (max-width: 1199px) {
    .header .search-bar {
        position: fixed;
        top: 50px;
        left: 0;
        right: 0;
        padding: 20px;
        box-shadow: 0px 0px 15px 0px rgba(1, 41, 112, 0.1);
        background: white;
        z-index: 9999;
        transition: 0.3s;
        visibility: hidden;
        opacity: 0;
    }

    .header .search-bar-show {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .header-nav .nav-icon {
        font-size: 18px;
        margin-right: 15px;
    }

    .header-nav img {
        height: 25px;
    }
}

.header .search-form {
    width: 100%;
}

.search-form input {
    border: 0;
    font-size: 14px;
    color: var(--bs-primary);
    border: 2px solid rgba(1, 41, 112, 0.2);
    padding: 7px 38px 7px 8px;
    border-radius: 3px;
    transition: 0.3s;
    width: 100%;
}

    .search-form input:hover {
        outline: none;
        box-shadow: none;
        border: 2px solid rgba(1, 41, 112, 0.6);
    }

    .search-form input:focus {
        outline: none;
        box-shadow: none;
        border: 2px solid rgba(1, 41, 112, 1);
    }

.search-form button {
    border: 0;
    padding: 0;
    margin-left: -30px;
    background: none;
}

    .search-form button i {
        color: var(--bs-primary);
    }

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
    list-style: none;
}

.header-nav > ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: white;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: white;
}

    .header-nav .nav-profile img {
        max-height: 36px;
    }

    .header-nav .nav-profile span {
        font-size: 14px;
        font-weight: 600;
    }

.header-nav .badge-number {
    position: absolute;
    inset: -2px -5px auto auto;
    font-weight: normal;
    font-size: 12px;
    padding: 3px 6px;
}

.header-nav .notifications {
    inset: 8px -15px auto auto !important;
}

    .header-nav .notifications .notification-item {
        display: flex;
        align-items: center;
        padding: 15px 10px;
        transition: 0.3s;
    }

        .header-nav .notifications .notification-item i {
            margin: 0 20px 0 10px;
            font-size: 24px;
        }

        .header-nav .notifications .notification-item h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .header-nav .notifications .notification-item p {
            font-size: 13px;
            margin-bottom: 3px;
            color: #919191;
        }

        .header-nav .notifications .notification-item:hover {
            background-color: #f6f9ff;
        }

.header-nav .messages {
    inset: 8px -15px auto auto !important;
}

    .header-nav .messages .message-item {
        padding: 15px 10px;
        transition: 0.3s;
    }

        .header-nav .messages .message-item a {
            display: flex;
        }

        .header-nav .messages .message-item img {
            margin: 0 20px 0 10px;
            max-height: 40px;
        }

        .header-nav .messages .message-item h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
            color: #444444;
        }

        .header-nav .messages .message-item p {
            font-size: 13px;
            margin-bottom: 3px;
            color: #919191;
        }

        .header-nav .messages .message-item:hover {
            background-color: #f6f9ff;
        }

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

    .header-nav .profile .dropdown-header h6 {
        font-size: 18px;
        margin-bottom: 0;
        font-weight: 600;
        color: #444444;
    }

    .header-nav .profile .dropdown-header span {
        font-size: 14px;
    }

    .header-nav .profile .dropdown-item {
        font-size: 14px;
        padding: 10px 15px;
        transition: 0.3s;
    }

        .header-nav .profile .dropdown-item i {
            margin-right: 10px;
            font-size: 18px;
            line-height: 0;
        }

        .header-nav .profile .dropdown-item:hover {
            background-color: #f6f9ff;
        }

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 10px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #aab7cf transparent;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: var(--bs-primary);
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #fff;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #aab7cf;
}

@media (min-width: 1200px) {

    #main,
    #footer {
        margin-left: 300px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 65px;
    }

    .toggle-sidebar .sidebar {
        left: -245px;
        padding-right: 10px;
    }

    .toggle-sidebar .sidebar-nav {
        width: 40px;
        float: right;
    }

        .toggle-sidebar .sidebar-nav .nav-item:last-child {
            display: none;
        }

        .toggle-sidebar .sidebar-nav .nav-heading {
            display: none;
        }

    .toggle-sidebar .sidebar .nav-link {
        justify-content: flex-end;
        padding-right: 10px;
    }

    .toggle-sidebar .sidebar-nav .nav-link i {
        margin-right: 0;
        font-size: 18px;
    }

    .toggle-sidebar .sidebar .nav-item a span {
        display: none;
    }
}

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

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

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

    .sidebar-nav .nav-heading {
        font-size: 11px;
        text-transform: uppercase;
        color: #899bbd;
        font-weight: 600;
        margin: 10px 0 5px 15px;
    }

    .sidebar-nav .nav-link {
        display: flex;
        align-items: center;
        font-size: 15px;
        font-weight: 600;
        color: #FFF;
        transition: 0.3;
        padding: 6px 15px;
        border-radius: 4px;
    }

        .sidebar-nav .nav-link i {
            font-size: 22px;
            margin-right: 10px;
            color: #FFF;
        }

        .sidebar-nav .nav-link.collapsed {
            color: #FFF;
            background: transparent;
            border-color: transparent;
            box-shadow: none;
        }

            .sidebar-nav .nav-link.collapsed i {
                color: #899bbd;
            }

        .sidebar-nav .nav-link:hover {
            background: rgba(169, 205, 54, .18);
            color: #fff;
            box-shadow: inset 3px 0 0 var(--bs-secondary);
        }

            .sidebar-nav .nav-link:hover i {
                color: var(--bs-secondary);
            }

        .sidebar-nav .nav-link .bi-chevron-down {
            margin-right: 0;
            transition: transform 0.2s ease-in-out;
        }

        .sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
            transform: rotate(180deg);
        }

    .sidebar-nav .nav-content {
        padding: 5px 0 0 0;
        margin: 0;
        list-style: none;
    }

        .sidebar-nav .nav-content a {
            display: flex;
            align-items: center;
            font-size: 14px;
            font-weight: 600;
            color: #FFF;
            transition: 0.3;
            padding: 10px 0 10px 40px;
            transition: 0.3s;
        }

            .sidebar-nav .nav-content a i {
                font-size: 6px;
                margin-right: 8px;
                line-height: 0;
                border-radius: 50%;
            }

            .sidebar-nav .nav-content a:hover,
            .sidebar-nav .nav-content a.active {
                color: var(--bs-secondary);
            }

                .sidebar-nav .nav-content a.active i {
                    background-color: var(--bs-secondary);
                }

/*--------------------------------------------------------------
# Missão
--------------------------------------------------------------*/
#bkMicStatus .bi-mic-fill {
    color: green;
}

/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter.position-absolute {
    right: 0;
    top: 10px;
}

.dashboard .filter .icon {
    color: #aab7cf;
    padding-right: 20px;
    padding-bottom: 5px;
    transition: 0.3s;
    font-size: 16px;
}

    .dashboard .filter .icon:hover,
    .dashboard .filter .icon:focus {
        color: var(--bs-primary);
    }

.dashboard .filter .dropdown-header {
    padding: 8px 15px;
}

    .dashboard .filter .dropdown-header h6 {
        text-transform: uppercase;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 1px;
        color: #aab7cf;
        margin-bottom: 0;
        padding: 0;
    }

.dashboard .filter .dropdown-item {
    padding: 8px 15px;
}

/* Info Cards */

.dashboard .info-card h6 {
    font-size: 28px;
    color: var(--bs-primary);
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.dashboard .card-icon {
    font-size: 22px;
    line-height: 0;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    flex-grow: 0;
}

.dashboard .red-card .card-icon {
    color: var(--bs-danger);
    background: rgba(var(--bs-danger-rgb), 0.1);
}

.dashboard .green-card .card-icon {
    color: var(--bs-secondary);
    background: rgba(var(--bs-secondary-rgb), 0.1);
}

.dashboard .blue-card .card-icon {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
}

.dashboard .light-card .card-icon {
    color: var(--bs-dark-rgb);
    background: rgba(var(--bs-dark-rgb), 0.1);
}

/* Activity */
.dashboard .activity {
    font-size: 15px;
}

    .dashboard .activity .activity-item {
        padding: 10px;
        margin: 5px;
        background: rgba(var(--bs-primary-rgb), 0.03);
        align-items: center;
    }

        .dashboard .activity .activity-item .bi {
            font-size: 20px;
        }

            .dashboard .activity .activity-item .bi.small {
                font-size: 15px;
                padding-left: 15px;
            }

        .dashboard .activity .activity-item .small span {
            font-size: 12px;
            font-weight: 500;
        }

        .dashboard .activity .activity-item .horario {
            float: right;
            min-width: 80px;
        }

        .dashboard .activity .activity-item .activite-label {
            color: #888;
            position: relative;
            flex-shrink: 0;
            flex-grow: 0;
            min-width: 64px;
        }

            .dashboard .activity .activity-item .activite-label::before {
                content: "";
                position: absolute;
                right: -11px;
                width: 4px;
                top: 0;
                bottom: 0;
                background-color: #eceefe;
            }

        .dashboard .activity .activity-item .activity-badge {
            margin-top: 3px;
            z-index: 1;
            font-size: 11px;
            line-height: 0;
            border-radius: 50%;
            flex-shrink: 0;
            border: 3px solid #fff;
            flex-grow: 0;
        }

        .dashboard .activity .activity-item .activity-content {
            padding-left: 15px;
            width: 100%;
        }

        .dashboard .activity .activity-item:first-child .activite-label::before {
            top: 5px;
        }

        .dashboard .activity .activity-item:last-child .activity-content {
            padding-bottom: 0;
        }

/* News & Updates */
.dashboard .news .post-item + .post-item {
    margin-top: 15px;
}

.dashboard .news img {
    width: 80px;
    float: left;
    border-radius: 5px;
}

.dashboard .news h4 {
    font-size: 15px;
    margin-left: 95px;
    font-weight: bold;
    margin-bottom: 5px;
}

    .dashboard .news h4 a {
        color: var(--bs-primary);
        transition: 0.3s;
    }

        .dashboard .news h4 a:hover {
            color: var(--bs-primary);
        }

.dashboard .news p {
    font-size: 14px;
    color: #777777;
    margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
    font-size: 14px;
}

    .dashboard .recent-sales .table thead {
        background: #f6f6fe;
    }

        .dashboard .recent-sales .table thead th {
            border: 0;
        }

    .dashboard .recent-sales .dataTable-top {
        padding: 0 0 10px 0;
    }

    .dashboard .recent-sales .dataTable-bottom {
        padding: 10px 0 0 0;
    }

/* Top Selling */
.dashboard .top-selling {
    font-size: 14px;
}

    .dashboard .top-selling .table thead {
        background: #f6f6fe;
    }

        .dashboard .top-selling .table thead th {
            border: 0;
        }

    .dashboard .top-selling .table tbody td {
        vertical-align: middle;
    }

    .dashboard .top-selling img {
        border-radius: 5px;
        max-width: 60px;
    }

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
    display: grid;
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    padding-top: 15px;
}

    .iconslist .icon {
        background-color: #fff;
        border-radius: 0.25rem;
        text-align: center;
        color: var(--bs-primary);
        padding: 15px 0;
    }

    .iconslist i {
        margin: 0.25rem;
        font-size: 2.5rem;
    }

    .iconslist .label {
        font-family: var(--bs-font-monospace);
        display: inline-block;
        width: 100%;
        overflow: hidden;
        padding: 0.25rem;
        font-size: 12px;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #666;
    }

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
    max-width: 120px;
}

.profile .profile-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #2c384e;
    margin: 10px 0 0 0;
}

.profile .profile-card h3 {
    font-size: 18px;
}

.profile .profile-card .social-links a {
    font-size: 20px;
    display: inline-block;
    color: rgba(1, 41, 112, 0.5);
    line-height: 0;
    margin-right: 10px;
    transition: 0.3s;
}

    .profile .profile-card .social-links a:hover {
        color: var(--bs-primary);
    }

.profile .profile-overview .row {
    margin-bottom: 20px;
    font-size: 15px;
}

.profile .profile-overview .card-title {
    color: var(--bs-primary);
}

.profile .profile-overview .label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
    font-weight: 600;
    color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
    max-width: 120px;
}


/* ===== Patch GridStack (Berkana) ===== */
.berkana-grid.grid-stack,
.berkana-grid .grid-stack-item,
.berkana-grid .grid-stack-item-content {
    transform: none !important; /* evita "mini" por scale herdado */
}

.berkana-grid .grid-stack-item {
    position: absolute !important; /* GridStack precisa disso */
}

.berkana-grid .grid-stack-item-content {
    width: 100% !important;
    height: 100% !important;
}

/* Garante que seu card preencha o widget */
.berkana-grid .card {
    height: 100% !important;
}

/* Evita que alguma regra force altura mínima/scroll estranho */
.berkana-grid .card-body {
    height: auto;
    min-height: 0 !important;
}

@media (min-width: 1700px) {
    .table-responsive {
        overflow-x: inherit;
    }
}


/* ===== Ajustes globais seguros Berkana - revisão 19/05/2026 ===== */
:root {
    --bk-blue: var(--bs-primary);
    --bk-blue-2: #0d1f4d;
    --bk-blue-3: #214177;
    --bk-green: var(--bs-secondary);
    --bk-green-2: var(--bs-secondary-hover);
    --bk-bg: #f4f7fb;
    --bk-text: #10204f;
    --bk-muted: #6b7280;
    --bk-border: #dce5f2;
    --bk-shadow: 0 10px 30px rgba(var(--bs-primary-rgb),.08);
    --bk-radius: 18px;
}

.mobile-overlay {
    display: none;
}

@media (max-width: 1199px) {
    body.toggle-sidebar .mobile-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(9,20,46,.45);
        z-index: 995;
    }
}

.sidebar-nav .nav-link.active,
.sidebar-nav .nav-content a.active {
    color: #f6f9ff;
    background: rgba(29, 60, 143, 0.6);
    border-left: solid 3px var(--bs-secondary);
}

    .sidebar-nav .nav-link.active i,
    .sidebar-nav .nav-content a.active i {
        color: var(--bs-secondary);
    }

/*--------------------------------------------------------------
# Berkana UI - Padronização global de títulos e cards hero
# Mantém páginas consistentes sem CSS duplicado por arquivo.
--------------------------------------------------------------*/
.bk-page-h1,
.pagetitle .bk-page-h1,
.bk-page-title .bk-page-h1,
.pagetitle h1,
.bk-page-title h1 {
    color: var(--bk-blue) !important;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: clamp(1.5rem, 1.1rem + 1vw, 1.85rem) !important;
    line-height: 1.15;
    font-weight: 800 !important;
    letter-spacing: -0.025em;
    margin: 0 0 .35rem !important;
}

.bk-page-lead,
.pagetitle p,
.bk-page-title p {
    color: var(--bk-muted) !important;
    font-size: .96rem;
    line-height: 1.45;
    max-width: 920px;
    margin: 0 !important;
}

/* Card azul institucional: use sempre <div class="card bk-card"> para banners/heróis azuis.
   A classe .bk-card sem .card continua sendo o card branco padrão do sistema. */
.card.bk-card {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(169,205,54,.18), transparent 26%), linear-gradient(135deg, var(--bk-blue) 0%, #203f88 58%, #0f1e46 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 20px !important;
    padding: 22px !important;
    box-shadow: var(--bk-shadow-lg) !important;
}

    .card.bk-card > *,
    .card.bk-card .content {
        position: relative;
        z-index: 2;
    }

    .card.bk-card h1,
    .card.bk-card h2,
    .card.bk-card h3,
    .card.bk-card h4,
    .card.bk-card h5,
    .card.bk-card h6 {
        color: #fff !important;
    }

    .card.bk-card p,
    .card.bk-card .text-muted {
        color: rgba(255,255,255,.82) !important;
    }

    .card.bk-card .btn-secondary {
        color: var(--bk-blue);
        font-weight: 800;
    }

.bk-status,
.bk-status-active,
.bk-badge-active,
.badge-active {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 5px 10px;
    background: #e8f7cb;
    border: 1px solid #cbe88a;
    color: #55740e;
    font-size: .75rem;
    font-weight: 800;
    white-space: nowrap;
}

/*--------------------------------------------------------------
# Refinamento visual inspirado no manual/carrossel Berkana
--------------------------------------------------------------*/
body {
    background: radial-gradient(circle at top right, rgba(var(--bs-secondary-rgb), .09), transparent 28%), linear-gradient(180deg, #f8fbff 0%, #f3f7fc 100%);
}

.main {
    background: radial-gradient(circle at 92% 8%, rgba(var(--bs-secondary-rgb), .08), transparent 24%), radial-gradient(circle at 4% 78%, rgba(21,41,94,.055), transparent 24%);
}

.bk-page-h1,
.pagetitle h1 {
    color: var(--bs-primary);
    font-weight: 800;
    letter-spacing: -.035em;
}

.card,
.bk-card,
.bk-op-card,
.bk-panel-clean,
.bk-source-card,
.bk-mission-shell,
.bk-power-shell {
    border: 1px solid rgba(224, 232, 244, .95) !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 44px rgba(21,41,94,.075) !important;
    background: rgba(255,255,255,.93) !important;
}

.card-header,
.bk-op-card-head,
.bk-section-title,
.bk-power-topbar,
.bk-mission-topbar {
    border-color: rgba(224, 232, 244, .8) !important;
}

.btn,
.form-control,
.form-select,
.dropdown-menu,
.offcanvas,
.modal-content {
    border-radius: 15px;
}

.btn-primary,
.btn-bk-primary {
    background: linear-gradient(135deg, var(--bs-primary), #0d1b45) !important;
    border-color: var(--bs-primary) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(21,41,94,.18);
}

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

    .btn-primary:hover,
    .btn-bk-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(21,41,94,.24);
    }

.btn-success,
.bk-start-button {
    background: linear-gradient(135deg, var(--bs-secondary), #7db900) !important;
    border-color: var(--bs-secondary) !important;
    color: var(--bs-primary) !important;
    font-weight: 800;
}

.info-card,
.bk-stat,
.bk-stat-card,
.bk-op-kpi {
    border-radius: 20px !important;
    border: 1px solid rgba(224,232,244,.95) !important;
    box-shadow: 0 16px 34px rgba(21,41,94,.065) !important;
}

    .info-card .card-icon,
    .bk-stat i,
    .bk-stat-card i,
    .bk-op-kpi i {
        background: rgba(var(--bs-secondary-rgb), .18) !important;
        color: var(--bs-primary) !important;
    }

.bk-soft-map,
.bk-map-box,
.bk-a4-map,
#missionMap,
#reportMap {
    border-radius: 22px !important;
    overflow: hidden;
    background: #eef4fb;
    border: 1px solid rgba(224,232,244,.95) !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}

.bk-evidence-card,
.bk-proof-thumb,
.bk-proof-frame,
.bk-a4-proof-card {
    border-radius: 20px !important;
    border-color: rgba(224,232,244,.95) !important;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%) !important;
}

    .bk-proof-thumb img,
    .bk-proof-frame img,
    .bk-a4-proof-gallery img {
        border-radius: 16px !important;
        box-shadow: 0 10px 20px rgba(21,41,94,.08);
    }

.bk-license-plate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 54px;
    padding: 9px 18px;
    border: 2px solid #d3dbe8;
    border-top: 10px solid var(--bs-primary);
    border-radius: 12px;
    background: #fff;
    color: #111827;
    font-weight: 900;
    letter-spacing: .13em;
    box-shadow: 0 12px 22px rgba(21,41,94,.08);
}

.bk-ui-screen {
    border-radius: 28px;
    border: 1px solid rgba(224,232,244,.95);
    background: #fff;
    box-shadow: 0 30px 70px rgba(21,41,94,.13);
    overflow: hidden;
}

.bk-ui-screen__bar {
    min-height: 76px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--bs-primary), #071437);
    color: #fff;
}

.bk-ui-screen__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: .04em;
}

    .bk-ui-screen__logo img {
        width: 132px;
        max-height: 40px;
        object-fit: contain;
    }

.bk-ui-screen__body {
    padding: 22px;
    background: linear-gradient(180deg, #fbfdff 0%, #f6f9fd 100%);
}

.bk-app-card {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(224,232,244,.95);
    background: #fff;
    box-shadow: 0 16px 34px rgba(21,41,94,.065);
}

    .bk-app-card h3,
    .bk-app-card h4,
    .bk-app-card strong {
        color: var(--bs-primary);
    }

.bk-app-muted {
    color: var(--bk-muted);
}

.bk-app-icon {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(var(--bs-secondary-rgb), .18);
    color: var(--bs-primary);
    font-size: 22px;
}

.bk-alert-panel-dark {
    border-radius: 22px;
    padding: 18px;
    color: #fff;
    background: linear-gradient(160deg, #071437 0%, var(--bs-primary) 100%);
    box-shadow: 0 18px 44px rgba(21,41,94,.16);
}

    .bk-alert-panel-dark small,
    .bk-alert-panel-dark p {
        color: rgba(255,255,255,.72);
    }

.bk-brand-wave {
    position: relative;
    overflow: hidden;
}

    .bk-brand-wave > * {
        position: relative;
        z-index: 1;
    }

