body {
    font-size: .875rem;
    background-color: #f5f6fa;
}

/* Mesmo visual do menu do ERP (app/static/css/style.css, .sidebar-*):
   largura fixa de 240px, fonte, ícones, seções e divisórias iguais. */
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    padding: 48px 0 12px;
    overflow-y: auto;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    background: #1a3a5c;
}

.sidebar .sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 12px 4px;
}

.sidebar .sidebar-brand img {
    max-width: 80%;
    max-height: 88px;
    height: auto;
    object-fit: contain;
}

.sidebar .nav-link {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: .92rem;
    white-space: nowrap;
    color: #c8d6e5;
    padding: .75rem 1rem;
    border-left: 3px solid transparent;
    transition: background .15s, color .15s;
}

.sidebar .nav-link i {
    font-size: 1.05rem;
    margin-right: .5rem;
}

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

.sidebar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,.1);
    border-left-color: #4fc3f7;
}

.sidebar .sidebar-heading {
    font-size: .75rem;
    text-transform: uppercase;
    color: #8395a7;
    padding: 1rem 1rem .5rem;
}

.sidebar .sidebar-section {
    font-size: .75rem;
    text-transform: uppercase;
    color: #8395a7;
    padding: 1rem 1rem .4rem;
}

.sidebar .sidebar-divider {
    height: 1px;
    background: rgba(255, 255, 255, .1);
    margin: 10px 0;
}

@media (min-width: 768px) {
    .sidebar {
        width: 240px;
        padding-top: 0;
    }
    main.col-md-10 {
        width: calc(100% - 240px);
    }
}

main {
    padding-top: 48px;
}

.navbar-brand-top {
    background: #1a3a5c;
    color: #fff !important;
    padding: .5rem 1rem;
    font-size: 1.1rem;
}

.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.card-header {
    background: #fff;
    border-bottom: 1px solid #e8ecf1;
    font-weight: 600;
}

.table th {
    border-top: none;
    background: #f8f9fa;
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    color: #6c757d;
}

.modal-content {
    border: none;
    border-radius: 10px;
}

.btn-primary {
    background: #1a3a5c;
    border-color: #1a3a5c;
}

.btn-primary:hover {
    background: #2c5282;
    border-color: #2c5282;
}

.status-aprovado {
    color: #28a745;
    font-weight: 600;
}

.status-reprovado {
    color: #dc3545;
    font-weight: 600;
}

.status-pendente {
    color: #ffc107;
    font-weight: 600;
}

/* Caixas de marcar e botões de opção mais visíveis (18/11/2026), o mesmo do
   ERP (app/static/css/style.css): a borda padrão do Bootstrap (cinza 25%)
   some no fundo branco. Vale para a logística toda. */
.form-check-input {
    border: 2px solid #495057;
}
.form-check-input[type="checkbox"],
.form-check-input[type="radio"] {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.1em;
    vertical-align: -0.2em;
    cursor: pointer;
}
.form-switch .form-check-input {
    width: 2.2em;   /* o interruptor mantém o formato */
    height: 1.2em;
}
.form-check-input:checked {
    border-color: #0d6efd;
}
.dropdown-menu label.dropdown-item { cursor: pointer; }
