button.cancel-btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: auto;
  min-height: 40px;
  min-width: 88px;
  width: auto;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: normal;
  padding: 8px 16px;
  white-space: nowrap;
}

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

button.cancel-btn.cancel-btn--ghost {
  border: 1px solid #c0c7cc;
  background: #ffffff;
  color: #191c1d;
  box-shadow: none;
}

button.cancel-btn.cancel-btn--ghost:hover:not(:disabled) {
  border-color: #00658f;
  background: #f5fbff;
  color: #00658f;
}

@media (max-width: 768px) {
  [class*="modal__footer"] .cancel-btn,
  [class*="modal__footer-actions"] .cancel-btn {
    width: 100%;
    justify-content: center;
  }
}
