.edit-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  padding: 8px 16px;
  white-space: nowrap;
  text-decoration: none;
}

.edit-btn img {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}

.edit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.edit-btn.edit-btn--primary {
  background: #00658f;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.edit-btn.edit-btn--primary img {
  filter: brightness(0) invert(1);
}

.edit-btn.edit-btn--primary:hover:not(:disabled) {
  background: #005577;
}

.edit-btn.edit-btn--inline {
  margin-left: auto;
  padding: 6px 10px;
  font-size: 13px;
}

.edit-btn.edit-btn--icon-only {
  width: 32px;
  height: 32px;
  padding: 0;
  background: #ffffff;
  border: 1px solid #d8dde2;
  color: #00658f;
  box-shadow: none;
}

.edit-btn.edit-btn--icon-only img {
  width: 16px;
  height: 16px;
  filter: none;
}

.edit-btn.edit-btn--icon-only:hover:not(:disabled) {
  background: #eef6fb;
  border-color: #2f94c3;
}

.edit-btn.edit-btn--outline-block {
  width: 100%;
  height: auto;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid #c0c7cc;
  border-radius: 12px;
  background: #ffffff;
  color: #00658f;
  box-shadow: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.edit-btn.edit-btn--outline-block img {
  filter: none;
}

.edit-btn.edit-btn--outline-block:hover:not(:disabled) {
  border-color: #00658f;
  background: rgba(173, 222, 247, 0.15);
}

.edit-btn.edit-btn--card {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  background: #f8fafc;
  box-shadow: none;
}

.edit-btn.edit-btn--card img {
  width: 18px;
  height: 18px;
  filter: none;
}

.edit-btn.edit-btn--card:hover:not(:disabled) {
  background: #eef6fb;
  border-color: #2f94c3;
}

@media (max-width: 768px) {
  .edit-btn.edit-btn--primary {
    min-height: 42px;
    padding: 0 20px;
  }

  [class*="modal__footer"] .edit-btn,
  [class*="modal__footer-actions"] .edit-btn {
    width: 100%;
    justify-content: center;
  }
}
