/* ========================================
   ESTILOS - CONTAS A PAGAR
   ======================================== */

/* Container das Abas */
.tabs-container {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
    margin-bottom: 20px;
}

/* Botões de Aba */
.tab-btn {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #757575;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-btn:hover {
    color: #1e88e5;
    background: rgba(30, 136, 229, 0.05);
}

.tab-btn.active {
    color: #1e88e5;
    border-bottom-color: #1e88e5;
    background: rgba(30, 136, 229, 0.08);
}

.tab-btn i {
    font-size: 16px;
}

/* Badges com cores sólidas */
.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

/* Cores específicas de badges */
.badge-success {
    background: #4caf50;
    color: white;
}

.badge-warning {
    background: #ff9800;
    color: white;
}

.badge-danger {
    background: #f44336;
    color: white;
}

.badge-info {
    background: #2196f3;
    color: white;
}

/* Células de ações */
.table-actions-cell {
    white-space: nowrap;
    text-align: center;
}

/* Botões de ação */
.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-icon:active {
    transform: translateY(0);
}

/* Cores dos botões */
.btn-success {
    background: #4caf50;
    color: white;
}

.btn-success:hover {
    background: #388e3c;
}

.btn-primary {
    background: #2196f3;
    color: white;
}

.btn-primary:hover {
    background: #1976d2;
}

.btn-danger {
    background: #f44336;
    color: white;
}

.btn-danger:hover {
    background: #d32f2f;
}

/* Texto em destaque */
.text-danger {
    color: #f44336 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .tabs-container {
        overflow-x: auto;
        padding-bottom: 0;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .badge {
        padding: 4px 10px;
        font-size: 12px;
    }
    
    .btn-icon {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .table-actions-cell {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        flex: 1;
        justify-content: center;
        padding: 8px 12px;
    }
    
    .tab-btn i {
        display: none;
    }
}
