/* WEALTH MAPPING LIST STYLES */

.mapping-content {
  animation: fadeIn 0.4s ease-out;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: #334155;
}

.section-header i {
  color: #6366f1;
}

.section-header h6 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.mapping-collection {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mapping-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.mapping-item:hover {
  background: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.mapping-details {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.keyword-pill {
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.account-name {
  font-weight: 600;
  color: #1e293b;
}

.condition-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Fira Code', monospace;
  font-size: 0.85rem;
}

.cond-key { color: #6366f1; font-weight: 600; }
.cond-op { color: #94a3b8; }
.cond-val { color: #e11d48; font-weight: 600; }

.action-type {
  font-weight: 600;
  color: #059669;
}

.action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.action-type-pill {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.action-key {
  color: #64748b;
  font-weight: 500;
}

.action-val {
  color: #0f172a;
  font-weight: 600;
}

.mb-6 { margin-bottom: 24px !important; }

.delete-btn {
  color: #94a3b8;
  padding: 0 8px !important;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.delete-btn:hover {
  color: #ef4444;
  opacity: 1;
}

.mapping-actions {
  display: flex;
  gap: 4px;
}

.run-btn {
  color: #94a3b8;
  padding: 0 8px !important;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.run-btn:hover {
  color: #6366f1;
  opacity: 1;
}

.empty-mapping-state {
  padding: 30px;
  text-align: center;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
  color: #94a3b8;
}

.empty-mapping-state i {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
}

.border-radius-12 { border-radius: 12px !important; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
