.fr-save-opportunity-wrap {
  display: inline-flex;
  position: relative;
}

.fr-save-opportunity-wrap--card {
  left: 10px;
  position: absolute;
  top: 10px;
  z-index: 12;
}

.fr-save-opportunity-button {
  align-items: center;
  background: #111827;
  border: 0;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  text-decoration: none;
}

.fr-save-opportunity-button--card {
  width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.82);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.fr-save-opportunity-button--card:hover,
.fr-save-opportunity-button--card:focus-visible {
  background: #111827;
}

.fr-save-opportunity-label--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.fr-save-opportunity-button.is-saved {
  background: #137333;
}

.fr-save-opportunity-button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.fr-save-opportunity-message {
  color: #137333;
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  margin-top: 8px;
}

.fr-save-opportunity-wrap--card .fr-save-opportunity-message {
  position: absolute;
  left: 0;
  top: 42px;
  width: min(260px, calc(100vw - 40px));
  padding: 10px;
  border: 1px solid rgba(180, 35, 24, 0.2);
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.fr-save-opportunity-message.is-error {
  color: #b42318;
}

.fr-save-opportunity-message small {
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.fr-save-opportunity-cta {
  align-items: center;
  background: #ffc03d;
  color: #111111 !important;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  justify-content: center;
  min-height: 32px;
  padding: 7px 10px;
  text-decoration: none !important;
}

.franchise-detail-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}
