:root {
  color-scheme: light;

  --auth-background-01: #ffffff;
  --auth-background-02: #f2f2f2;
  --auth-background-03: #e6e6e6;

  --auth-neutral-1000: #121212;
  --auth-neutral-900: #2b2b2b;
  --auth-neutral-800: #454545;
  --auth-neutral-700: #5e5e5e;
  --auth-neutral-600: #787878;
  --auth-neutral-500: #919191;
  --auth-neutral-400: #ababab;
  --auth-neutral-300: #c4c4c4;
  --auth-neutral-200: #dedede;
  --auth-neutral-150: #ebebeb;
  --auth-neutral-100: #f7f7f7;
  --auth-neutral-a040: #f6f6f6;

  --auth-primary-900: #571500;
  --auth-primary-800: #8a2100;
  --auth-primary-700: #bd2d00;
  --auth-primary-600: #fa3c00;
  --auth-primary-500: #ff5824;
  --auth-primary-400: #ff7f57;
  --auth-primary-300: #ffa68a;
  --auth-primary-200: #ffccbd;
  --auth-primary-150: #ffdbd0;
  --auth-primary-100: #fff3f0;

  --auth-white: #ffffff;
  --auth-white-alpha-60: rgba(255, 255, 255, 0.6);
  --auth-white-alpha-12: rgba(255, 255, 255, 0.12);
  --auth-black-alpha-60: rgba(0, 0, 0, 0.6);
  --auth-black-alpha-30: rgba(0, 0, 0, 0.3);
  --auth-black-alpha-12: rgba(0, 0, 0, 0.12);

  --auth-red-500: #f42f2f;
  --auth-red-300: #f98f8f;
  --auth-red-200: #fcc0c0;
  --auth-red-150: #fdd8d8;
  --auth-green-700: #09b32b;
  --auth-green-500: #2ff456;
  --auth-green-300: #8ffaa6;
  --auth-green-200: #c0fccd;
  --auth-green-150: #d8fde0;
  --auth-blue-500: #2f70f4;
  --auth-blue-150: #d8e4fd;

  --auth-text: var(--auth-neutral-1000);
  --auth-text-muted: var(--auth-neutral-600);
  --auth-border: var(--auth-neutral-200);
  --auth-focus-ring: rgba(255, 88, 36, 0.32);
  --auth-switch-track: #f2f2f2;
  --auth-switch-track-hover: #ebebeb;
  --auth-switch-thumb: #ffffff;
  --auth-switch-border: rgba(18, 18, 18, 0.04);
  --auth-switch-shadow: 0 1px 2px rgba(18, 18, 18, 0.08);
}

:root[data-auth-theme="dark"] {
  color-scheme: dark;

  --auth-background-01: #2b2b2b;
  --auth-background-02: #121212;
  --auth-background-03: #0a0a0a;

  --auth-neutral-1000: #ffffff;
  --auth-neutral-900: #dbdbdb;
  --auth-neutral-800: #c6c6c6;
  --auth-neutral-700: #b1b1b1;
  --auth-neutral-600: #9b9b9b;
  --auth-neutral-500: #878787;
  --auth-neutral-400: #717171;
  --auth-neutral-300: #5c5c5c;
  --auth-neutral-200: #4b4b4b;
  --auth-neutral-150: #414141;
  --auth-neutral-100: #363636;
  --auth-neutral-a040: #373737;

  --auth-primary-900: #fdbba6;
  --auth-primary-800: #fc9473;
  --auth-primary-700: #fb6b3d;
  --auth-primary-600: #ff4105;
  --auth-primary-500: #ed3800;
  --auth-primary-400: #b2360f;
  --auth-primary-300: #923315;
  --auth-primary-200: #71301c;
  --auth-primary-150: #592f22;
  --auth-primary-100: #402d27;

  --auth-white: #ffffff;
  --auth-white-alpha-60: rgba(255, 255, 255, 0.6);
  --auth-white-alpha-12: rgba(255, 255, 255, 0.12);
  --auth-black-alpha-60: rgba(0, 0, 0, 0.6);
  --auth-black-alpha-30: rgba(0, 0, 0, 0.4);
  --auth-black-alpha-12: rgba(0, 0, 0, 0.2);

  --auth-red-500: #f42f2f;
  --auth-red-300: #7c2d2d;
  --auth-red-200: #672c2c;
  --auth-red-150: #532b2b;
  --auth-green-700: #09b32b;
  --auth-green-500: #0bd032;
  --auth-green-300: #1e622b;
  --auth-green-200: #21542b;
  --auth-green-150: #24462b;
  --auth-blue-500: #3c7bfb;
  --auth-blue-150: #2e3b54;

  --auth-text: var(--auth-neutral-1000);
  --auth-text-muted: var(--auth-neutral-600);
  --auth-border: var(--auth-neutral-200);
  --auth-focus-ring: rgba(237, 56, 0, 0.4);
  --auth-switch-track: #0a0a0a;
  --auth-switch-track-hover: #0a0a0a;
  --auth-switch-thumb: #2b2b2b;
  --auth-switch-border: rgba(255, 255, 255, 0.08);
  --auth-switch-shadow: 0 1px 2px rgba(0, 0, 0, 0.24);
}

.auth-body {
  background: var(--auth-background-02);
  color: var(--auth-text);
}

.auth-shell {
  position: relative;
}

.auth-header {
  padding-left: 16px;
  padding-right: 16px;
}

.auth-header__inner {
  box-sizing: border-box;
  max-width: none;
  width: 100%;
}

.auth-header__brand {
  flex: 1 1 auto;
  max-width: min(280px, 24vw);
}

.auth-header__nav {
  flex: 0 1 auto;
  flex-wrap: nowrap;
}

.auth-header__dropdown {
  min-width: 0;
}

.auth-header__dropdown .auth-header__button {
  max-width: min(360px, 32vw);
  min-width: 0;
  overflow: hidden;
}

.auth-header__button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-floating-controls {
  align-items: center;
  display: flex;
  gap: 8px;
  position: fixed;
  right: 24px;
  top: 24px;
  z-index: 20;
}

.auth-theme-toggle {
  align-items: center;
  background: var(--auth-switch-track);
  border: 0;
  border-radius: 100px;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px var(--auth-switch-border), var(--auth-switch-shadow);
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: space-between;
  overflow: hidden;
  padding: 4px;
  position: relative;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
  width: 72px;
}

.auth-theme-toggle:hover {
  background: var(--auth-switch-track-hover);
}

.auth-theme-toggle:focus {
  outline: 0;
}

.auth-theme-toggle:focus-visible {
  box-shadow: 0 0 0 3px var(--auth-focus-ring);
}

.auth-theme-toggle__thumb {
  background: var(--auth-switch-thumb);
  border-radius: 100px;
  height: 32px;
  left: 4px;
  position: absolute;
  top: 4px;
  transition: transform .18s ease, background-color .18s ease;
  width: 32px;
  z-index: 1;
}

:root[data-auth-theme="dark"] .auth-theme-toggle__thumb {
  transform: translateX(32px);
}

.auth-theme-toggle__option {
  align-items: center;
  color: var(--auth-neutral-500);
  display: inline-flex;
  flex: 0 0 32px;
  height: 32px;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 32px;
  z-index: 2;
}

.auth-theme-toggle__icon {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 20px;
}

.auth-theme-toggle__icon--moon {
  transform: scaleX(-1);
  transform-origin: 50% 50%;
}

:root[data-auth-theme="light"] .auth-theme-toggle__option--light,
:root[data-auth-theme="dark"] .auth-theme-toggle__option--dark {
  color: var(--auth-neutral-1000);
}

.auth-header__inner,
.auth-card,
.auth-dashboard-tile {
  background: var(--auth-background-01);
  color: var(--auth-text);
}

.auth-card__title,
.auth-label,
.auth-remember,
.auth-password__toggle,
.auth-dashboard__title,
.auth-dashboard-tile,
.auth-dashboard__version,
.auth-header__brand,
.auth-header__brand:hover,
.auth-header__brand:focus {
  color: var(--auth-text);
}

.auth-card__subtitle,
.auth-card__text,
.auth-note,
.auth-check,
.auth-secondary-action,
.auth-dashboard__subtitle,
.auth-dashboard__version small,
.auth-dashboard__preferences label {
  color: var(--auth-text-muted);
}

.auth-card__header .auth-card__subtitle {
  text-align: center;
  width: 100%;
}

.forgot-password-confirmation-page {
  width: 500px;
}

.error-page,
.change-password-confirmation-page,
.reset-password-confirmation-page,
.logout-container {
  width: 500px;
}

.error-page .auth-card__header,
.change-password-confirmation-page .auth-card__header,
.reset-password-confirmation-page .auth-card__header,
.logout-container .auth-card__header {
  gap: 12px;
}

.change-password-confirmation-page .auth-button,
.reset-password-confirmation-page .auth-button,
.logout-container .auth-form {
  align-self: center;
  max-width: 100%;
  width: 375px;
}

.logout-container .auth-form {
  gap: 12px;
}

.auth-input,
.auth-header__button,
.auth-header__link,
.auth-provider,
.auth-dashboard__preferences .form-control {
  background: var(--auth-neutral-100);
  color: var(--auth-text);
}

.auth-select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--auth-neutral-100);
  background-image: none;
  color: var(--auth-text);
  display: block;
  padding-right: 44px;
  width: 100%;
}

.auth-select::-ms-expand {
  display: none;
}

.auth-select option {
  background: var(--auth-background-01);
  color: var(--auth-text);
}

.auth-select-wrap {
  display: block;
  line-height: 0;
  position: relative;
  width: 100%;
}

.auth-select-wrap__arrow {
  border-bottom: 2px solid var(--auth-neutral-600);
  border-right: 2px solid var(--auth-neutral-600);
  height: 9px;
  pointer-events: none;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-70%) rotate(45deg);
  width: 9px;
}

.auth-select-wrap:focus-within .auth-select-wrap__arrow {
  border-color: var(--auth-primary-500);
}

.auth-input {
  border-color: transparent;
}

.auth-input::placeholder {
  color: var(--auth-neutral-400);
}

.auth-input:focus,
.auth-dashboard__preferences .form-control:focus {
  border-color: var(--auth-primary-500);
  box-shadow: 0 0 0 3px var(--auth-focus-ring);
}

.auth-header__button:hover,
.auth-header__button:focus,
.auth-header__link:hover,
.auth-header__link:focus,
.auth-provider:hover,
.auth-policy__options,
.auth-dashboard__preferences .form-control:hover {
  background: var(--auth-neutral-150);
  color: var(--auth-text);
}

.auth-header__button--primary,
.auth-button,
.auth-dashboard-tile--primary {
  background: var(--auth-primary-500);
  color: var(--auth-white);
}

:root[data-auth-theme="dark"] .auth-header__button--primary,
:root[data-auth-theme="dark"] .auth-button,
:root[data-auth-theme="dark"] .auth-dashboard-tile--primary {
  color: var(--auth-white);
}

.auth-header__button--primary:hover,
.auth-header__button--primary:focus,
.auth-button:hover,
.auth-button:focus,
.auth-dashboard-tile--primary:hover,
.auth-dashboard-tile--primary:focus {
  background: var(--auth-primary-600);
}

.auth-button:disabled,
.auth-button:disabled:hover,
.auth-button:disabled:focus {
  background: var(--auth-primary-500);
  color: var(--auth-white);
  cursor: not-allowed;
  opacity: .4;
}

.auth-button--secondary,
:root[data-auth-theme="dark"] .auth-button--secondary {
  background: var(--auth-neutral-100);
  color: var(--auth-text);
}

.auth-button--secondary:hover,
.auth-button--secondary:focus {
  background: var(--auth-neutral-150);
  color: var(--auth-text);
}

.auth-status-heading__title {
  color: var(--auth-text);
}

img.auth-status-heading__icon {
  display: block;
  flex: 0 0 24px;
  height: 24px;
  width: 24px;
}

.auth-status-heading--success .auth-status-heading__icon,
.auth-status-heading--success .auth-status-heading__title {
  color: var(--auth-green-700);
}

.auth-status-heading--danger .auth-status-heading__icon,
.auth-status-heading--danger .auth-status-heading__title {
  color: var(--auth-red-500);
}

.auth-error-details {
  color: var(--auth-text-muted);
}

.auth-link,
.auth-link-button,
.auth-actions a:not(.auth-button) {
  color: var(--auth-primary-500);
}

.auth-link:hover,
.auth-link-button:hover,
.auth-actions a:not(.auth-button):hover {
  color: var(--auth-primary-600);
}

.forgot-password-page .auth-actions .auth-link,
.forgot-password-page .auth-actions .auth-link:hover,
.forgot-password-page .auth-actions .auth-link:focus {
  color: var(--auth-text);
}

.auth-remember__box {
  background: var(--auth-background-01);
  border-color: var(--auth-neutral-300);
}

.auth-remember__input:checked ~ .auth-remember__box {
  background: var(--auth-primary-500);
  border-color: var(--auth-primary-500);
}

.auth-remember__input:focus-visible ~ .auth-remember__box,
.auth-policy__input:focus-visible ~ .auth-policy__text,
.auth-password__toggle:focus-visible,
.auth-secondary-action:focus-visible {
  outline-color: var(--auth-primary-500);
}

.auth-policy__input:checked ~ .auth-policy__text {
  background: var(--auth-background-01);
  color: var(--auth-text);
}

.auth-field-validation,
.auth-input.input-validation-error {
  color: var(--auth-red-500);
}

.auth-input.input-validation-error {
  border-color: var(--auth-red-500);
}

.auth-divider {
  color: var(--auth-neutral-400);
}

.auth-divider:before,
.auth-divider:after,
.auth-dashboard__meta {
  border-color: var(--auth-border);
}

.auth-divider:before,
.auth-divider:after {
  background: var(--auth-border);
}

.auth-dashboard-tile:hover,
.auth-dashboard-tile:focus {
  border-color: var(--auth-primary-500);
  color: var(--auth-text);
}

.auth-header__menu {
  background: var(--auth-background-01);
  box-shadow: 0 12px 32px var(--auth-black-alpha-12);
}

.auth-header__menu-item {
  color: var(--auth-text);
}

.auth-header__menu-item:hover,
.auth-header__menu-item:focus {
  background: var(--auth-neutral-100);
  color: var(--auth-text);
}

.auth-language-selector {
  margin: 0;
  min-width: 0;
}

.auth-language-selector__label {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.auth-language-selector__select {
  font-size: 14px;
  height: 40px;
  line-height: 16px;
  padding-left: 14px;
}

.auth-language-selector__wrap {
  width: 184px;
}

.auth-language-selector__wrap .auth-select-wrap__arrow {
  right: 14px;
}

.auth-message--warning {
  background: var(--auth-primary-100);
  color: var(--auth-primary-800);
}

.auth-message--info {
  background: var(--auth-blue-150);
  color: var(--auth-blue-500);
}

.auth-message--success {
  background: var(--auth-green-150);
  color: var(--auth-green-700);
}

.auth-message--danger {
  background: var(--auth-red-150);
  color: var(--auth-red-500);
}

.auth-body .cc-window {
  background: var(--auth-background-01);
  box-shadow: 0 16px 40px var(--auth-black-alpha-12);
  color: var(--auth-text-muted);
}

.auth-body .cc-window .cc-message {
  color: var(--auth-text-muted);
}

.auth-body .cc-link,
.auth-body .cc-link:active,
.auth-body .cc-link:visited {
  color: var(--auth-primary-500);
}

.auth-body .cc-link:hover,
.auth-body .cc-link:focus {
  color: var(--auth-primary-600);
}

.auth-body .cc-btn {
  background: var(--auth-primary-500);
  color: var(--auth-white) !important;
}

:root[data-auth-theme="dark"] .auth-body .cc-btn {
  color: var(--auth-white) !important;
}

.auth-body .cc-btn:hover,
.auth-body .cc-btn:focus {
  background: var(--auth-primary-600);
}

@media (max-width: 720px) {
  .auth-floating-controls {
    right: 16px;
    top: 16px;
  }

  .auth-header__brand {
    max-width: none;
  }

  .auth-header__nav {
    flex-wrap: wrap;
  }

  .auth-header__nav .auth-theme-toggle {
    order: 1;
  }

  .auth-header__dropdown .auth-header__button {
    max-width: none;
  }

  .auth-header__nav .auth-language-selector {
    width: 100%;
  }

  .auth-header__nav .auth-language-selector__wrap {
    width: 100%;
  }

  .auth-header__nav .auth-language-selector__select {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .auth-floating-controls {
    margin: 0;
    position: fixed;
    right: 16px;
    top: 16px;
  }

  .auth-floating-controls .auth-language-selector__select {
    width: 168px;
  }

  .auth-floating-controls .auth-language-selector__wrap {
    width: 168px;
  }
}
