
/* Tabs de Cliente */
.cliente-tabs {
    border-bottom: 2px solid #e0e0e0;
    background: #f8f9fa;
    padding: 0 15px;
    margin: 0;
}

.cliente-tabs .nav-item {
    margin: 0;
}

.cliente-tabs .nav-link {
    color: #666666;
    font-weight: 600;
    font-size: 14px;
    padding: 15px 20px;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    transition: all 0.3s ease;
}

.cliente-tabs .nav-link i {
    margin-right: 8px;
    font-size: 16px;
}

.cliente-tabs .nav-link .badge {
    margin-left: 5px;
    font-size: 11px;
    padding: 3px 7px;
}

.cliente-tabs .nav-link:hover {
    color: #15a950;
    background: rgba(21, 169, 80, 0.05);
}

.cliente-tabs .nav-link.active {
    color: #15a950;
    border-bottom-color: #15a950;
    background: #ffffff;
}

.cliente-tab-content {
    background: #ffffff;
}

/* Tablas */
.beneficiarios-table,
.pagos-table {
    margin-bottom: 0;
    font-size: 14px;
}

.beneficiarios-table thead,
.pagos-table thead {
    background: linear-gradient(135deg, #15a950 0%, #719a0a 100%);
    color: #ffffff;
}

.beneficiarios-table thead th,
.pagos-table thead th {
    color: #ffffff;
    font-weight: 600;
    border: none;
    padding: 12px 15px;
    font-size: 13px;
}

.beneficiarios-table thead th i,
.pagos-table thead th i {
    margin-right: 5px;
}

.beneficiarios-table tbody tr,
.pagos-table tbody tr {
    transition: all 0.3s ease;
}

.beneficiarios-table tbody tr:hover,
.pagos-table tbody tr:hover {
    background: rgba(21, 169, 80, 0.05);
    transform: scale(1.01);
}

.beneficiarios-table tbody td,
.pagos-table tbody td {
    padding: 12px 15px;
    vertical-align: middle;
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

/* Badges personalizados */
.badge {
    font-weight: 600;
    padding: 5px 10px;
    font-size: 12px;
}

.badge-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

.badge-success {
    background: linear-gradient(135deg, #15a950 0%, #0a683d 100%);
}

.badge-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #333333;
}

.badge-info {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
}

.badge-dark {
    background: linear-gradient(135deg, #343a40 0%, #23272b 100%);
}

/* Alertas dentro de tabs */
.cliente-tab-content .alert {
    border-radius: 8px;
    padding: 15px 20px;
}

.cliente-tab-content .alert i {
    margin-right: 10px;
    font-size: 18px;
}

/* Responsive para tabs */
@media (max-width: 767px) {
    .cliente-tabs {
        padding: 0;
    }
    
    .cliente-tabs .nav-link {
        font-size: 12px;
        padding: 12px 10px;
    }
    
    .cliente-tabs .nav-link i {
        display: none;
    }
    
    .beneficiarios-table,
    .pagos-table {
        font-size: 12px;
    }
    
    .beneficiarios-table thead th,
    .pagos-table thead th {
        padding: 10px 8px;
        font-size: 11px;
    }
    
    .beneficiarios-table tbody td,
    .pagos-table tbody td {
        padding: 10px 8px;
    }
}

@media (max-width: 575px) {
    .cliente-tabs .nav-link {
        padding: 10px 5px;
        font-size: 11px;
    }
    
    .cliente-tabs .nav-link .badge {
        display: none;
    }
    
    .table-responsive {
        font-size: 11px;
    }
}
