/* Conferência do Packing - coletor */

.rf-set {
    border: 1px solid #EA8521;
    border-radius: 6px;
    padding: 8px 12px 12px;
    margin: 0 0 12px;
    background: #fff;
    min-width: 0;
}

.rf-set legend {
    width: auto;
    margin-bottom: 0;
    padding: 0 6px;
    font-size: 14px;
    color: #5f6b76;
}

.rf-lbl {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 500;
    color: #212529;
}

.rf-input {
    min-height: 46px;
    font-size: 16px;
    text-align: center;
}

.rf-input:focus {
    border-color: #EA8521;
    box-shadow: 0 0 0 2px rgba(234, 133, 33, .25);
}

[data-tela-packing] .btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    margin-top: 8px;
}

.rf-botoes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.rf-botoes .btn-block {
    margin-top: 0;
}

.rf-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rf-card {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 9px 10px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 13px;
}

.rf-card-acao {
    cursor: pointer;
}

.rf-card.sel {
    border-color: #01345F;
    background: #eef4fb;
}

.rf-card-bloco {
    display: block;
}

.rf-grow {
    flex: 1;
    min-width: 0;
}

.rf-titulo {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rf-titulo-longo {
    white-space: normal;
    font-size: 13px;
}

.rf-card .status-badge {
    flex: none;
    padding: 3px 8px;
    font-size: 11px;
}

.rf-sub {
    font-size: 12px;
    line-height: 1.35;
    color: #5f6b76;
}

.rf-cont {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.rf-num {
    padding: 6px 4px;
    text-align: center;
    background: #f4f6f9;
    border-radius: 6px;
}

.rf-num strong {
    display: block;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    color: #01345F;
}

.rf-num span {
    font-size: 11px;
    color: #5f6b76;
}

.rf-retorno {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.35;
}

.rf-retorno i {
    margin-top: 2px;
}

.rf-ok {
    color: #1e6b43;
    background: #e3f4ea;
}

.rf-aviso {
    color: #6d4c00;
    background: #fff3cd;
}

.rf-erro {
    color: #8c2730;
    background: #fae1e4;
}

.rf-check {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 2px solid #8a96a3;
    border-radius: 4px;
    background: #fff;
    color: #fff;
}

.rf-card.sel .rf-check {
    border-color: #01345F;
    background: #01345F;
}

.rf-seg {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 10px;
    border: 1px solid #01345F;
    border-radius: 6px;
    overflow: hidden;
}

.rf-seg button {
    min-height: 44px;
    border: 0;
    background: #fff;
    color: #01345F;
    font-weight: 500;
}

.rf-seg button.on {
    background: #01345F;
    color: #fff;
}

.rf-grupo {
    margin: 10px 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: #212529;
}

.rf-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.rf-acoes .btn {
    min-height: 40px;
    font-size: 12px;
    padding: 6px 10px;
}

.rf-gelox {
    display: flex;
    gap: 8px;
}

.rf-gelox .rf-input {
    flex: 1;
}

.rf-gelox .btn {
    min-width: 104px;
}

.rf-qtd-caixa {
    width: 72px;
    flex: none;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.status-badge--secondary {
    background-color: #e9ecef; color: #495057;
}

.status-badge--info {
    background-color: #d6f0f7; color: #0a7bbf;
}

.status-badge--warning {
    background-color: #fdecd2; color: #b5760a;
}

.status-badge--success {
    background-color: #d7f2e4; color: #1e7e50;
}

.status-badge--danger {
    background-color: #fbdcdf; color: #c0392b;
}

[data-tela-packing] .btn-outline-primary:disabled,
[data-tela-packing] .btn-outline-primary:disabled:hover {
    color: #ea8521;
    background-color: transparent;
    border-color: #ea8521;
}

[data-tela-packing] .btn-outline-secondary:disabled,
[data-tela-packing] .btn-outline-secondary:disabled:hover {
    color: #01345f;
    background-color: transparent;
    border-color: #01345f;
}

[data-tela-packing] .btn-outline-danger:disabled,
[data-tela-packing] .btn-outline-danger:disabled:hover {
    color: #ff6c6a;
    background-color: transparent;
    border-color: #ff6c6a;
}
