.icon-btn {
  all: unset;              /* removes all inherited styles */
  display: flex;    /* shrink-wrap the content */
  align-items: center;
  justify-content: center;
  width: 20px;             /* match your icon size */
  height: 20px;            /* match your icon size */
  cursor: pointer;
  color: rgb(62, 60, 60);
  transition: color 0.2s ease-in-out;
}

.icon-btn svg {
  width: 100%;
  height: 100%;
  display: block;          /* remove inline spacing */
}

.icon-btn:hover {
  color: rgb(68, 70, 190);
}

/* Red trash icon button (no background) */
.icon-delete {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgb(190, 60, 60);
  padding: 4px;
  transition: color 0.2s ease;
  vertical-align: middle;
}

.icon-delete svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.8;
}

.icon-delete:hover {
  color: rgb(230, 90, 90);
}

.icon-add {
    width:25px;
    height:25px;
    cursor: pointer;
    color: rgb(62, 60, 60); /* default color */
    transition: color 0.2s ease-in-out;
}

.icon-add:hover {
  color: rgb(68, 70, 190);
}


.customer-row {
  display: grid;
  grid-template-columns: 1fr auto; /* left content grows, right stays fixed */
  align-items: center;
  padding: 6px 12px;
  font-size: 14px;
  color: #333;
  border-radius: 4px;
  gap: 12px;
  max-width: 100%;
  overflow: hidden;
}

.customer-row:hover {
  background-color: #f0f0f0;
}

.customer-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  display: block;
  /* keep on one line */
}

/* Arrow button stays fixed on the right */
.customer-item-btn {
  all: unset;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px; /* fixed width keeps arrow locked in position */
  height: 30px;
}

.chevron-icon {
  width: 18px;
  height: 18px;
  color: rgb(120, 120, 120);
  transition: color 0.2s;
}

.customer-item-btn:hover .chevron-icon {
  color: rgb(68, 70, 190);
}