.action-icon {
  width: 35px;
  height: 35px;
  padding: 7px !important;
  border-radius: 9px;
  background: #f1f6f3;
  color: var(--green);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.action-icon:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-1px);
}
.action-icon[data-tooltip] {
  position: relative;
}
.action-icon[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 9px);
  z-index: 30;
  width: max-content;
  max-width: 220px;
  padding: 7px 9px;
  border-radius: 7px;
  background: #17231d;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .14s ease, transform .14s ease;
}
.action-icon[data-tooltip]::before {
  content: "";
  position: absolute;
  right: 10px;
  bottom: calc(100% + 4px);
  z-index: 31;
  border: 5px solid transparent;
  border-top-color: #17231d;
  opacity: 0;
  transition: opacity .14s ease;
}
.action-icon[data-tooltip]:hover::after,
.action-icon[data-tooltip]:hover::before,
.action-icon[data-tooltip]:focus-visible::after,
.action-icon[data-tooltip]:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}
.action-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.actions {
  align-items: center;
  gap: 5px !important;
}
.action-icon.danger-icon {
  color: #a83838;
  background: #fbeaea;
}
.action-icon.danger-icon:hover,
.danger-button {
  color: #fff;
  background: #b63b3b;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}
.credential-row {
  display: flex;
  gap: 8px;
}
.credential-row input {
  min-width: 0;
}
.credential-row button {
  flex: 0 0 auto;
  padding: 8px 12px;
}
.field-clear-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.field-clear-row input {
  min-width: 0;
}
.field-clear-row .clear-field {
  width: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #edcaca;
  background: #fff3f3;
  color: #a83838;
}
.field-clear-row .clear-field:hover {
  background: #b63b3b;
  border-color: #b63b3b;
  color: #fff;
}
.field-clear-row .clear-field svg {
  width: 18px;
  height: 18px;
}
.media-actions .delete-media {
  background: #fff0f0;
  color: #a83232;
}
.media-actions {
  flex-wrap: wrap;
}
.media-actions .delete-media:hover {
  background: #b63b3b;
  color: #fff;
}
