/* RG COMPANY — V20.8.1
   Keep the ORIGINAL Material field animation.
   Only remove the painted background behind a floating outlined label. */

/* Original controls remain responsible for every position, scale, timing and padding.
   These selectors change only the label background. */
html body.cabinet-body .rg-md-field.rg-md-outlined:is(.has-value, .is-focused, .is-open) > .rg-md-hint,
html body.cabinet-body .md-control-field.md-variant-outlined:is(.is-focused, .has-value, .is-open) > .md-control-label,
html body.cabinet-body .md-control-field:is(.is-focused, .has-value, .is-select) > .md-control-label {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Never draw a rectangular patch behind labels in dialogs either. */
html body.cabinet-body #modal-root .rg-md-field.rg-md-outlined:is(.has-value, .is-focused, .is-open) > .rg-md-hint,
html body.cabinet-body #modal-root .md-control-field.md-variant-outlined:is(.is-focused, .has-value, .is-open) > .md-control-label,
html body.cabinet-body [role="dialog"] .rg-md-field.rg-md-outlined:is(.has-value, .is-focused, .is-open) > .rg-md-hint,
html body.cabinet-body [role="dialog"] .md-control-field.md-variant-outlined:is(.is-focused, .has-value, .is-open) > .md-control-label {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Keep the real download link visibly active without touching form controls. */
html body.cabinet-body .trial-program-download,
html body.cabinet-body .trial-program-card .trial-program-download,
html body.cabinet-body .trial-key-card > .trial-program-download,
html body.cabinet-body .trial-existing-card > .trial-program-download {
  opacity: 1 !important;
  filter: none !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  border-color: var(--cab-text) !important;
  background: var(--cab-text) !important;
  color: var(--cab-bg) !important;
  box-shadow: 0 8px 20px color-mix(in srgb, #000 10%, transparent) !important;
  transition:
    transform 150ms cubic-bezier(.2,0,0,1),
    box-shadow 150ms cubic-bezier(.2,0,0,1),
    opacity 150ms ease !important;
}
html body.cabinet-body .trial-program-download *,
html body.cabinet-body .trial-program-download span,
html body.cabinet-body .trial-program-download svg {
  color: currentColor !important;
  stroke: currentColor !important;
  opacity: 1 !important;
}
html body.cabinet-body .trial-program-download:hover {
  opacity: .91 !important;
  transform: translateY(-1px) !important;
}
html body.cabinet-body .trial-program-download:active {
  opacity: .84 !important;
  transform: translateY(0) scale(.985) !important;
}
