/* BOTOES E CONTROLES DO TOPO */
.linha-flex-controles {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-estoque-verde {
    background: #2ed573;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-estoque-verde:hover {
    background: #26af5f;
}

/* TABELAS */
.card-tabela-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.tabela-estoque {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.tabela-estoque th, 
.tabela-estoque td {
    padding: 12px 10px;
    text-align: left;
}

.tabela-estoque thead tr {
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
    color: #475569;
}

.tabela-estoque tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.tabela-estoque tbody tr:hover {
    background: #f8fafc;
}

/* BADGES DE REPOSIÇÃO E TIPO */
.badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-verde { background: #e6f4ea; color: #137333; }
.badge-vermelho { background: #fce8e6; color: #c5221f; }

/* BOTOES MINI DA TABELA */
.grupo-acoes-tabela {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.btn-mini-acao {
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-mini-acao:hover {
    opacity: 0.9;
}

.btn-mini-mov { background: #1e90ff; color: #ffffff; }
.btn-mini-edit { background: #f1f5f9; border: 1px solid #cbd5e1; color: #334155; }

/* MODAIS E FORMULÁRIOS */
.grid-form-estoque {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grid-duas-colunas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.campo-estoque {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.campo-estoque label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

.input-padrao-estoque,
.select-padrao-estoque {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.88rem;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.input-padrao-estoque:focus,
.select-padrao-estoque:focus {
    border-color: #ff6400;
}

.btn-confirmar-estoque {
    width: 100%;
    background: #ff6400;
    color: #ffffff;
    border: none;
    padding: 11px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}

.btn-confirmar-estoque:hover {
    background: #e05800;
}