/* --- Estilos específicos para Clientes --- */

.clients-forms-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 40px;
}

/* Tarjeta de Cliente Estilizada (CRM) */
.client-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.premium-client-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    padding: 25px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.premium-client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.premium-client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.client-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.client-avatar {
    width: 45px;
    height: 45px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.client-info-main h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin: 0;
}

.client-info-main p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.client-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--bg-main);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.detail-item i {
    width: 16px;
    color: var(--primary);
}

.client-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.client-action-btn {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-main);
    color: var(--text-muted);
}

.client-action-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.btn-delete:hover {
    background: #fee2e2;
    color: #ef4444;
}

@media (max-width: 1024px) {
    .clients-forms-grid { grid-template-columns: 1fr; }
}
