/**
 * PN_CUSTOMERS_MANAGER - Financial Management Styles
 *
 * @package PN_CUSTOMERS_MANAGER
 * @since 1.1.160
 */

.pn-cm-categories-manager {
  padding: 15px;
  background: #f9f9f9;
  border-radius: 4px;
  margin-top: 10px;
}

.pn-cm-categories-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pn-cm-category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.pn-cm-category-color {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  flex-shrink: 0;
}

.pn-cm-category-details {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pn-cm-category-name {
  font-weight: 600;
  color: #333;
}

.pn-cm-type-badge {
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.pn-cm-type-income {
  background: #d1fae5;
  color: #065f46;
}

.pn-cm-type-expense {
  background: #fee2e2;
  color: #991b1b;
}

.pn-cm-category-actions {
  display: flex;
  gap: 5px;
}

.pn-cm-edit-category,
.pn-cm-delete-category {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.pn-cm-edit-category:hover {
  background: #e3f2fd;
}

.pn-cm-delete-category:hover {
  background: #ffebee;
}

.pn-cm-edit-category i {
  font-size: 18px;
  color: #2196f3;
}

.pn-cm-delete-category i {
  font-size: 18px;
  color: #f44336;
}

.pn-cm-no-categories {
  padding: 20px;
  text-align: center;
  color: #666;
  font-style: italic;
}
