body { background: #f4f6f9; }
.card { border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.card-header { background: #fff; font-weight: 600; }
.table > :not(caption) > * > * { vertical-align: middle; }
.bg-orange, .text-bg-orange { background-color: #fd7e14 !important; color: #fff !important; }
.text-orange { color: #fd7e14 !important; }
.border-orange { border-color: #fd7e14 !important; }

/* cartoes de contagem por status */
.status-card { cursor: pointer; transition: transform .1s; text-decoration: none; color: inherit; display: block; }
.status-card:hover { transform: translateY(-2px); }
.status-card .numero { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.status-card.ativo { outline: 3px solid #0d6efd; }

/* autocomplete */
.ac-wrap { position: relative; }
.ac-lista { position: absolute; z-index: 1050; left: 0; right: 0; top: 100%; max-height: 320px; overflow-y: auto;
    background: #fff; border: 1px solid #ced4da; border-top: 0; border-radius: 0 0 .375rem .375rem; box-shadow: 0 6px 16px rgba(0,0,0,.12); display: none; }
.ac-lista .ac-item { padding: .5rem .75rem; cursor: pointer; border-bottom: 1px solid #f1f1f1; }
.ac-lista .ac-item:hover, .ac-lista .ac-item.sel { background: #e9f2ff; }
.ac-lista .ac-item small { color: #6c757d; display: block; }
.ac-lista .ac-vazio { padding: .6rem .75rem; color: #6c757d; font-style: italic; }
.selecionado { background: #e9f7ef !important; }

/* linha expansivel do painel */
tr.linha-os { cursor: pointer; }
tr.detalhe-os td { background: #fbfcfe; }

/* timeline */
.timeline { list-style: none; padding-left: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 1rem 1.6rem; border-left: 2px solid #dee2e6; margin-left: .5rem; }
.timeline li:last-child { border-left-color: transparent; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #0d6efd; }
.timeline li.interno::before { background: #adb5bd; }

/* etapas na pagina publica */
.etapas { display: flex; justify-content: space-between; position: relative; margin: 1.5rem 0; }
.etapas::before { content: ""; position: absolute; top: 18px; left: 5%; right: 5%; height: 3px; background: #dee2e6; }
.etapa { position: relative; text-align: center; flex: 1; font-size: .8rem; color: #6c757d; }
.etapa .bola { width: 38px; height: 38px; border-radius: 50%; background: #dee2e6; margin: 0 auto .4rem; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; position: relative; }
.etapa.feita .bola { background: #198754; }
.etapa.atual .bola { background: #0d6efd; box-shadow: 0 0 0 5px rgba(13,110,253,.2); }
.etapa.feita, .etapa.atual { color: #212529; font-weight: 600; }

/* documentos para impressao */
.documento { background: #fff; max-width: 820px; margin: 0 auto; padding: 28px 34px; box-shadow: 0 1px 6px rgba(0,0,0,.1); font-size: 13.5px; }
.documento h1 { font-size: 1.25rem; margin: 0; }
.documento .cab { border-bottom: 2px solid #212529; padding-bottom: 10px; margin-bottom: 14px; }
.documento .bloco { border: 1px solid #ced4da; border-radius: 4px; padding: 8px 12px; margin-bottom: 10px; }
.documento .bloco h6 { font-size: .75rem; text-transform: uppercase; color: #6c757d; margin-bottom: 4px; letter-spacing: .03em; }
.documento .assinatura { border-top: 1px solid #212529; margin-top: 48px; padding-top: 4px; text-align: center; font-size: 12px; }
.documento .via { font-size: 11px; color: #6c757d; text-align: right; }
.corte { border-top: 1px dashed #999; margin: 22px 0; position: relative; }
.corte span { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: #fff; padding: 0 8px; font-size: 11px; color: #999; }

@media print {
    body { background: #fff; }
    .no-print { display: none !important; }
    .documento { box-shadow: none; padding: 0; max-width: 100%; }
    .card { box-shadow: none; border: 1px solid #ddd; }
    a[href]:after { content: none; }
    main { padding: 0 !important; }
}
