/* 
 * RECAP.PRO - Lotes de Vulcanização
 * Gestão de lotes de produção
 */

.lotes-container {
    padding: 20px;
    height: 100%;
    overflow-y: auto;
}

.lotes-container .module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.lotes-container .module-header h2 {
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lotes-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.lotes-toolbar .filtros {
    display: flex;
    gap: 10px;
}

.lotes-stats {
    display: flex;
    gap: 20px;
}

.lotes-stats .stat {
    font-size: 13px;
    color: #666;
}

.lotes-stats .stat-value {
    font-weight: 700;
    font-size: 18px;
    color: #333;
    margin-right: 5px;
}

.lotes-grid {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.lotes-grid table {
    margin: 0;
}

.lotes-grid tbody tr:hover {
    background: #f8f9fa;
}

.lotes-grid tbody tr td:first-child {
    font-weight: 600;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-montando {
    background: #e3f2fd;
    color: #1976d2;
}

.status-vulcanizando {
    background: #fff3e0;
    color: #f57c00;
}

.status-finalizado {
    background: #e8f5e9;
    color: #388e3c;
}

/* Painel de Detalhes - usando modal overlay */
#lotes-detalhes-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

#lotes-detalhes-overlay.show {
    display: flex;
}

.detalhe-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
}

.detalhe-header h3 {
    margin: 0;
    font-size: 16px;
}

.detalhe-body {
    padding: 20px;
}

.detalhe-info {
    margin-bottom: 20px;
}

.detalhe-info p {
    margin: 5px 0;
    font-size: 14px;
}

.detalhe-itens {
    margin-bottom: 20px;
}

.detalhe-itens h4 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.detalhe-acoes {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.detalhe-acoes .btn {
    flex: 1;
    min-width: 140px;
}