/* Phase 1.5: action hierarchy, feedback clarity, and navigation consistency */

.rfPrimaryAction {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.rfSecondaryAction {
  opacity: 0.96;
}

.rfSecondaryAction:hover {
  opacity: 1;
}

form.rfFormBusy {
  cursor: progress;
}

form.rfFormBusy .rfIsSubmitting {
  opacity: 0.85;
  pointer-events: none;
}

button.rfIsSubmitting,
input.rfIsSubmitting {
  min-width: 110px;
}

.rfInvalidField {
  border-color: rgba(229, 9, 20, 0.88) !important;
  box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.16) !important;
}

.primaryNav a.isCurrent,
.nfNav a.isCurrent,
.rfSubnav a.isCurrent {
  box-shadow: inset 0 -2px 0 rgba(229, 9, 20, 0.95);
}

.rfSectionLabelSticky {
    position: sticky;
    top: calc(var(--rf-topbar-h, 56px) - 1px);
    z-index: 60;
    min-height: 34px;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.9);
    background: rgb(90 90 90 / 95%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    margin-top: -1px;
}

.rfSectionLabelSticky .rfSectionLabelInner {
  width: 100%;
  max-width: var(--rf-header-max, 1040px);
  margin: 0 auto;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 6px 16px;
  box-sizing: border-box;
}

.rfSectionLabelSticky .rfSectionBack {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  margin-right: 8px;
}

.rfSectionLabelSticky .rfSectionBack:hover {
  background: rgba(255, 255, 255, 0.18);
}

.rfSectionLabelSticky .rfSectionLabelText {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nfAccount.rfHasSectionBack .rfTopbar--simple .rfSimpleBack {
  display: none;
}

@media (max-width: 640px) {
  .rfSectionLabelSticky {
    font-size: 12px;
  }
  .rfSectionLabelSticky .rfSectionLabelInner {
    padding: 6px 12px;
  }
}
