/*
 * GoGymio — Register Page
 *
 * Shared form, button, dropdown, calendar/date-picker and
 * conversion-input styles below are copied from the current
 * user.css so this page follows the existing design system.
 *
 * Registration-specific styles are kept after the shared blocks.
 */

/* =========================================================
   SHARED GOGYMIO USER COMPONENT STYLES
   Copied from the current user.css source.
   ========================================================= */

.button {
  min-height: 2.75rem;

  padding: 0.625rem 1rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: var(--space-2);

  box-sizing: border-box;

  border-radius: 0.75rem;

  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    opacity 120ms ease;
}

/* ---------------------------------------------------------
   PRIMARY
   --------------------------------------------------------- */

.button-primary {
  background: rgb(175 36 36);

  color: rgb(255 255 255);

  /*
   * Embossed red surface.
   */
  border-top: 2px solid rgb(245 55 55);
  border-left: 2px solid rgb(245 55 55);

  border-right: 2px solid rgb(150 20 20);
  border-bottom: 2px solid rgb(150 20 20);

  box-shadow:
    6px 7px 12px rgb(0 0 0 / 75%),
    -3px -3px 7px rgb(255 255 255 / 4%);
}

/* ---------------------------------------------------------
   PRIMARY PRESSED
   --------------------------------------------------------- */

.button-primary:active {
  transform: translateY(1px);

  box-shadow:
    inset 3px 3px 7px rgb(120 0 0 / 55%),
    inset -2px -2px 5px rgb(255 255 255 / 4%);
}

/* ---------------------------------------------------------
   SECONDARY
   --------------------------------------------------------- */

.button-secondary {
  background: rgb(29 29 29);

  color: rgb(235 235 235);

  /*
   * 2px gray embossed border.
   */
  border-top: 2px solid rgb(62 62 62);
  border-left: 2px solid rgb(62 62 62);

  border-right: 1px solid rgb(25 25 25);
  border-bottom: 1px solid rgb(25 25 25);

  box-shadow:
    6px 7px 12px rgb(0 0 0 / 75%),
    -3px -3px 7px rgb(255 255 255 / 4%);
}

/* ---------------------------------------------------------
   SECONDARY PRESSED
   --------------------------------------------------------- */

.button-secondary:active {
  transform: translateY(1px);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%);
}

/* ---------------------------------------------------------
   OUTLINE
   --------------------------------------------------------- */

.button-outline {
  background: rgb(24 24 24);

  color: rgb(175 36 36);

  /*
   * 2px red border.
   */
  border-top: 2px solid rgb(239 48 48);
  border-left: 2px solid rgb(239 48 48);

  border-right: 2px solid rgb(150 20 20);
  border-bottom: 2px solid rgb(150 20 20);

  box-shadow:
    6px 7px 12px rgb(0 0 0 / 75%),
    -3px -3px 7px rgb(255 255 255 / 4%);
}

/* ---------------------------------------------------------
   OUTLINE PRESSED
   --------------------------------------------------------- */

.user-form {
  display: flex;

  flex-direction: column;

  gap: var(--space-4);
}

.user-form-field {
  display: flex;

  flex-direction: column;

  gap: var(--space-1);
}

.user-form-field label {
  color: rgb(170 170 170);

  font-size: 0.75rem;

  font-weight: 500;
}

/* --------------------------------------------------------
   INPUT / SELECT / TEXTAREA
   -------------------------------------------------------- */

.user-input,
.user-select,
.user-textarea {
  width: 100%;

  box-sizing: border-box;

  border: 1px solid rgb(58 58 58);

  border-radius: 0.75rem;

  background: rgb(23 23 23);

  color: rgb(235 235 235);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%);

  outline: none;

  font-family: inherit;
}

/* --------------------------------------------------------
   INPUT / SELECT
   -------------------------------------------------------- */

.user-input,
.user-select {
  min-height: 3rem;

  padding: 0 1rem;
}

/* --------------------------------------------------------
   SELECT
   -------------------------------------------------------- */

.user-select {
  appearance: none;

  -webkit-appearance: none;

  padding-right: 3rem;

  cursor: pointer;

  background-color: rgb(23 23 23);

  background-image: none;
}

/* --------------------------------------------------------
   TEXTAREA
   -------------------------------------------------------- */

.user-textarea {
  min-height: 7rem;

  padding: 0.875rem 1rem;

  resize: vertical;
}

/* --------------------------------------------------------
   PLACEHOLDER
   -------------------------------------------------------- */

.user-input::placeholder,
.user-textarea::placeholder {
  color: rgb(105 105 105);
}

/* --------------------------------------------------------
   SELECT OPTIONS
   -------------------------------------------------------- */

.user-select option {
  background: rgb(36 36 36);

  color: rgb(225 225 225);
}

/* --------------------------------------------------------
   SELECT WRAPPER
   -------------------------------------------------------- */

.user-select-wrapper {
  position: relative;

  width: 100%;
}

/* --------------------------------------------------------
   SELECT CHEVRON
   -------------------------------------------------------- */

.user-select-icon {
  position: absolute;

  top: 50%;
  right: 0.875rem;

  width: 1rem;
  height: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: translateY(-50%);

  color: var(--color-text-muted);

  pointer-events: none;
}

.user-select-icon svg {
  width: 1rem;
  height: 1rem;

  stroke-width: 2.2;
}

/* --------------------------------------------------------
   FOCUS
   -------------------------------------------------------- */

.user-input:focus,
.user-select:focus,
.user-textarea:focus {
  border-color: rgb(175 36 36);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%),
    0 0 0 2px rgb(175 36 36 / 12%);
}

/* --------------------------------------------------------
   DISABLED
   -------------------------------------------------------- */

.user-input:disabled,
.user-select:disabled,
.user-textarea:disabled {
  background: rgb(29 29 29);

  color: rgb(105 105 105);

  border-color: rgb(48 48 48);

  cursor: not-allowed;

  opacity: 1;

  box-shadow:
    inset 1px 1px 3px rgb(0 0 0 / 45%),
    inset -1px -1px 2px rgb(255 255 255 / 1%);
}

/* --------------------------------------------------------
   DISABLED PLACEHOLDER
   -------------------------------------------------------- */

.user-input:disabled::placeholder,
.user-textarea:disabled::placeholder {
  color: rgb(85 85 85);
}

/* --------------------------------------------------------
   DISABLED INPUT
   -------------------------------------------------------- */

.user-input:disabled {
  background: rgb(29 29 29);

  color: rgb(105 105 105);

  border-color: rgb(48 48 48);
}

/* --------------------------------------------------------
   DISABLED TEXTAREA
   -------------------------------------------------------- */

.user-textarea:disabled {
  background: rgb(29 29 29);

  color: rgb(105 105 105);

  border-color: rgb(48 48 48);
}

/* --------------------------------------------------------
   DISABLED SELECT
   -------------------------------------------------------- */

.user-select:disabled {
  appearance: none;

  -webkit-appearance: none;

  min-height: 3rem;

  padding: 0 3rem 0 1rem;

  box-sizing: border-box;

  background: rgb(29 29 29);

  color: rgb(105 105 105);

  border: 1px solid rgb(48 48 48);

  border-radius: 0.75rem;

  box-shadow:
    inset 1px 1px 3px rgb(0 0 0 / 45%),
    inset -1px -1px 2px rgb(255 255 255 / 1%);

  opacity: 1;

  cursor: not-allowed;
}

/* --------------------------------------------------------
   DISABLED SELECT CHEVRON
   -------------------------------------------------------- */

.user-select-wrapper:has(.user-select:disabled) .user-select-icon {
  color: rgb(75 75 75);
}

/* ========================================================
   CUSTOM DROPDOWN
   ======================================================== */

.user-dropdown {
  position: relative;

  width: 100%;
}

/* --------------------------------------------------------
   NATIVE SELECT
   -------------------------------------------------------- */

.user-dropdown-native {
  position: absolute;

  width: 1px;
  height: 1px;

  margin: -1px;
  padding: 0;

  overflow: hidden;

  clip: rect(0 0 0 0);

  white-space: nowrap;

  border: 0;
}

/* --------------------------------------------------------
   DROPDOWN TRIGGER
   -------------------------------------------------------- */

.user-dropdown-trigger {
  width: 100%;

  min-height: 3rem;

  padding: 0 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: var(--space-3);

  box-sizing: border-box;

  border-top: 2px solid rgb(62 62 62);
  border-left: 2px solid rgb(62 62 62);

  border-right: 1px solid rgb(25 25 25);
  border-bottom: 1px solid rgb(25 25 25);

  border-radius: 0.75rem;

  background: rgb(23 23 23);

  color: rgb(235 235 235);

  font-family: inherit;

  font-size: 0.875rem;

  font-weight: 500;

  text-align: left;

  box-shadow:
    5px 6px 11px rgb(0 0 0 / 70%),
    -3px -3px 7px rgb(255 255 255 / 4%);

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}

/* --------------------------------------------------------
   DROPDOWN CHEVRON
   -------------------------------------------------------- */

.user-dropdown-trigger svg {
  width: 1rem;
  height: 1rem;

  flex-shrink: 0;

  color: var(--color-text-muted);

  stroke-width: 2.2;

  transition: transform 120ms ease;
}

/* --------------------------------------------------------
   DROPDOWN OPEN STATE
   -------------------------------------------------------- */

.user-dropdown-open .user-dropdown-trigger {
  border-color: rgb(175 36 36);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%),
    0 0 0 2px rgb(175 36 36 / 12%);
}

.user-dropdown-open .user-dropdown-trigger svg {
  transform: rotate(180deg);
}

/* --------------------------------------------------------
   DROPDOWN MENU
   -------------------------------------------------------- */

.user-dropdown-menu {
  position: absolute;

  top: calc(100% + 0.375rem);
  left: 0;

  width: 100%;

  box-sizing: border-box;

  padding: 0.375rem;

  z-index: 20;

  background: rgb(28 28 28);

  border-top: 2px solid rgb(58 58 58);
  border-left: 2px solid rgb(58 58 58);

  border-right: 1px solid rgb(22 22 22);
  border-bottom: 1px solid rgb(22 22 22);

  border-radius: 0.75rem;

  box-shadow:
    7px 8px 14px rgb(0 0 0 / 78%),
    -3px -3px 7px rgb(255 255 255 / 4%);

  overflow: hidden;
}

/* --------------------------------------------------------
   DROPDOWN OPTION
   -------------------------------------------------------- */

.user-dropdown-option {
  width: 100%;

  min-height: 2.75rem;

  padding: 0.625rem 0.75rem;

  display: flex;
  align-items: center;

  box-sizing: border-box;

  border: 0;

  border-radius: 0.5rem;

  background: transparent;

  color: rgb(210 210 210);

  font-family: inherit;

  font-size: 0.875rem;

  font-weight: 400;

  text-align: left;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;
}

/* --------------------------------------------------------
   SELECTED OPTION
   -------------------------------------------------------- */

.user-dropdown-option[aria-selected="true"] {
  background: rgb(65 25 25);

  color: rgb(240 240 240);

  font-weight: 500;

  box-shadow:
    inset 2px 2px 4px rgb(0 0 0 / 35%),
    inset -1px -1px 3px rgb(255 255 255 / 2%);
}

.user-dropdown-trigger.user-dropdown-trigger-selected {
  background: rgb(65 25 25);

  border: none;

  color: rgb(240 240 240);

  box-shadow:
    inset 2px 2px 4px rgb(0 0 0 / 35%),
    inset -1px -1px 3px rgb(255 255 255 / 2%);
}

/* --------------------------------------------------------
   OPTION PRESSED
   -------------------------------------------------------- */

.user-dropdown-option:active {
  transform: translateY(1px);

  background: rgb(65 25 25);
}

/* --------------------------------------------------------
   DROPDOWN KEYBOARD FOCUS
   -------------------------------------------------------- */

.user-dropdown-trigger:focus-visible,
.user-dropdown-option:focus-visible {
  outline: 2px solid rgb(175 36 36);

  outline-offset: 2px;
}

/* =========================================================
   CHECKBOX / RADIO
   ========================================================= */

.selection-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);

  margin: 0;
  padding: 0;
  border: 0;
}

.selection-control {
  min-height: 2.75rem;

  display: flex;
  align-items: center;
}

.user-calendar-card {
  width: 100%;
}

/* ---------------------------------------------------------
   CALENDAR SURFACE
   --------------------------------------------------------- */

.user-calendar {
  width: 100%;

  padding: var(--space-4);

  box-sizing: border-box;

  border-top: 2px solid rgb(58 58 58);
  border-left: 2px solid rgb(58 58 58);

  border-right: 1px solid rgb(20 20 20);
  border-bottom: 1px solid rgb(20 20 20);

  border-radius: 1rem;

  background: rgb(24 24 24);

  box-shadow:
    7px 8px 14px rgb(0 0 0 / 78%),
    -3px -3px 8px rgb(255 255 255 / 4%);
}

/* ---------------------------------------------------------
   CALENDAR HEADER
   --------------------------------------------------------- */

.user-calendar-header {
  width: 100%;

  display: grid;

  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;

  align-items: center;

  gap: var(--space-2);

  margin-bottom: var(--space-4);
}

/* ---------------------------------------------------------
   CALENDAR BODY
   --------------------------------------------------------- */

.user-calendar-body {
  width: 100%;
  height: 22rem;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.user-calendar-day-view,
.user-calendar-selection {
  grid-column: 1;
  grid-row: 1;

  width: 100%;
  min-width: 0;
}

/* ---------------------------------------------------------
   MONTH TITLE
   --------------------------------------------------------- */

.user-calendar-month {
  min-width: 0;

  color: rgb(235 235 235);

  font-size: 1rem;
  font-weight: 600;

  line-height: 1.2;

  text-align: center;

  white-space: nowrap;
}

/* ---------------------------------------------------------
   NAVIGATION BUTTON
   --------------------------------------------------------- */

.user-calendar-nav {
  width: 2.75rem;
  height: 2.75rem;

  padding: 0;

  display: flex;

  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border-top: 2px solid rgb(58 58 58);
  border-left: 2px solid rgb(58 58 58);

  border-right: 1px solid rgb(22 22 22);
  border-bottom: 1px solid rgb(22 22 22);

  border-radius: 0.625rem;

  background: rgb(27 27 27);

  color: rgb(190 190 190);

  box-shadow:
    4px 5px 9px rgb(0 0 0 / 72%),
    -2px -2px 5px rgb(255 255 255 / 4%);

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}

.user-calendar-nav svg {
  width: 1rem;
  height: 1rem;

  stroke-width: 2.2;
}

.user-calendar-nav:active {
  transform: translateY(1px);

  box-shadow:
    inset 3px 3px 6px rgb(0 0 0 / 72%),
    inset -2px -2px 4px rgb(255 255 255 / 3%);
}

.user-calendar-nav:focus-visible {
  outline: 2px solid rgb(175 36 36);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   WEEKDAY HEADER
   --------------------------------------------------------- */

.user-calendar-weekdays {
  display: grid;

  grid-template-columns: repeat(7, minmax(0, 1fr));

  gap: var(--space-1);

  margin-bottom: 0.375rem;
}

.user-calendar-weekdays span {
  min-height: 2rem;

  display: flex;

  align-items: center;
  justify-content: center;

  color: rgb(105 105 105);

  font-size: 0.6875rem;
  font-weight: 600;

  line-height: 1;

  text-transform: uppercase;
}

/* ---------------------------------------------------------
   DATE GRID
   --------------------------------------------------------- */

.user-calendar-grid {
  display: grid;

  grid-template-columns: repeat(7, minmax(0, 1fr));

  gap: var(--space-1);
}

/* ---------------------------------------------------------
   DATE BUTTON
   --------------------------------------------------------- */

.user-calendar-day {
  width: 100%;
  min-height: 2.75rem;

  padding: 0.25rem;

  display: flex;

  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border-top: 1px solid rgb(52 52 52);
  border-left: 1px solid rgb(52 52 52);

  border-right: 1px solid rgb(22 22 22);
  border-bottom: 1px solid rgb(22 22 22);

  border-radius: 0.625rem;

  background: rgb(27 27 27);

  color: rgb(210 210 210);

  font-family: inherit;

  font-size: 0.8125rem;
  font-weight: 500;

  line-height: 1;

  box-shadow:
    3px 4px 7px rgb(0 0 0 / 62%),
    -2px -2px 4px rgb(255 255 255 / 3%);

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}

/* ---------------------------------------------------------
   DATE PRESSED
   --------------------------------------------------------- */

.user-calendar-day:active {
  transform: translateY(1px);

  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 70%),
    inset -1px -1px 3px rgb(255 255 255 / 3%);
}

/* ---------------------------------------------------------
   MUTED DATE
   --------------------------------------------------------- */

.user-calendar-day-muted {
  color: rgb(70 70 70);

  background: rgb(21 21 21);

  border-color: rgb(30 30 30);

  box-shadow: inset 2px 2px 4px rgb(0 0 0 / 55%);
}

/* ---------------------------------------------------------
   TODAY
   --------------------------------------------------------- */

.user-calendar-day-today {
  border: 2px solid rgb(120 35 35);
  color: rgb(240 240 240);
}

/* ---------------------------------------------------------
   SELECTED DATE
   --------------------------------------------------------- */

.user-calendar-day-selected {
  background: rgb(175 36 36);

  color: rgb(255 255 255);

  border-top: 2px solid rgb(245 55 55);
  border-left: 2px solid rgb(245 55 55);

  border-right: 1px solid rgb(145 18 18);
  border-bottom: 1px solid rgb(145 18 18);

  font-weight: 600;

  box-shadow:
    4px 5px 8px rgb(0 0 0 / 72%),
    -2px -2px 5px rgb(255 255 255 / 5%);
}

/* ---------------------------------------------------------
   SELECTED + PRESSED
   --------------------------------------------------------- */

.user-calendar-day-selected:active {
  box-shadow:
    inset 3px 3px 6px rgb(120 15 15 / 65%),
    inset -2px -2px 4px rgb(255 255 255 / 5%);
}

/* =========================================================
   CALENDAR MONTH / YEAR SELECTION
   ========================================================= */

/* ---------------------------------------------------------
   MONTH + YEAR BUTTON
   --------------------------------------------------------- */

.user-calendar-month {
  width: 100%;
  height: 2.75rem;

  min-width: 0;
  padding: 0 0.75rem;

  display: flex;

  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border-top: 2px solid rgb(58 58 58);
  border-left: 2px solid rgb(58 58 58);

  border-right: 1px solid rgb(22 22 22);
  border-bottom: 1px solid rgb(22 22 22);

  border-radius: 0.625rem;

  background: rgb(27 27 27);

  color: rgb(190 190 190);

  box-shadow:
    4px 5px 9px rgb(0 0 0 / 72%),
    -2px -2px 5px rgb(255 255 255 / 4%);

  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;

  line-height: 1.2;

  text-align: center;
  white-space: nowrap;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}

/* ---------------------------------------------------------
   MONTH + YEAR BUTTON — PRESSED
   --------------------------------------------------------- */

.user-calendar-month:active {
  transform: translateY(1px);

  box-shadow:
    inset 3px 3px 6px rgb(0 0 0 / 72%),
    inset -2px -2px 4px rgb(255 255 255 / 3%);
}

/* ---------------------------------------------------------
   MONTH + YEAR BUTTON — FOCUS
   --------------------------------------------------------- */

.user-calendar-month:focus-visible {
  outline: 2px solid rgb(175 36 36);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   SELECTION VIEW
   --------------------------------------------------------- */

.user-calendar-selection {
  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.2fr);

  gap: var(--space-2);
}

.user-calendar-selection-button {
  grid-column: 1 / -1;

  width: 100%;
  height: 2.75rem;

  padding: 0 0.75rem;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border-top: 2px solid rgb(58 58 58);
  border-left: 2px solid rgb(58 58 58);
  border-right: 1px solid rgb(22 22 22);
  border-bottom: 1px solid rgb(22 22 22);

  border-radius: 0.625rem;

  background: rgb(27 27 27);
  color: rgb(190 190 190);

  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  box-shadow:
    4px 5px 9px rgb(0 0 0 / 72%),
    -2px -2px 5px rgb(255 255 255 / 4%);

  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}

.user-calendar-selection-button:active {
  transform: translateY(1px);

  box-shadow:
    inset 3px 3px 6px rgb(0 0 0 / 72%),
    inset -2px -2px 4px rgb(255 255 255 / 3%);
}

.user-calendar-selection-button:focus-visible {
  outline: 2px solid rgb(175 36 36);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   SELECTION COLUMN
   --------------------------------------------------------- */

.user-calendar-selection-column {
  min-width: 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border-top: 1px solid rgb(52 52 52);
  border-left: 1px solid rgb(52 52 52);

  border-right: 1px solid rgb(22 22 22);
  border-bottom: 1px solid rgb(22 22 22);

  border-radius: 0.75rem;

  background: rgb(21 21 21);

  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 58%),
    inset -1px -1px 3px rgb(255 255 255 / 2%);
}

/* ---------------------------------------------------------
   SELECTION HEADING
   --------------------------------------------------------- */

.user-calendar-selection-heading {
  min-height: 2.25rem;

  padding: 0.5rem 0.75rem;

  display: flex;

  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border-bottom: 1px solid rgb(42 42 42);

  color: rgb(105 105 105);

  font-size: 0.6875rem;
  font-weight: 600;

  line-height: 1;

  text-transform: uppercase;
}

.user-calendar-selection[hidden] {
  display: none;
}

/* ---------------------------------------------------------
   YEAR / MONTH SCROLL AREAS
   --------------------------------------------------------- */

.user-calendar-year-list,
.user-calendar-month-list {
  min-width: 0;

  height: 16rem;

  padding: var(--space-2);

  box-sizing: border-box;

  overflow-y: auto;
  overflow-x: hidden;

  overscroll-behavior: contain;

  scrollbar-width: thin;
  scrollbar-color: rgb(70 70 70) rgb(25 25 25);
}

/* ---------------------------------------------------------
   SCROLLBAR
   --------------------------------------------------------- */

.user-calendar-year-list::-webkit-scrollbar,
.user-calendar-month-list::-webkit-scrollbar {
  width: 0.35rem;
}

.user-calendar-year-list::-webkit-scrollbar-track,
.user-calendar-month-list::-webkit-scrollbar-track {
  background: rgb(25 25 25);
}

.user-calendar-year-list::-webkit-scrollbar-thumb,
.user-calendar-month-list::-webkit-scrollbar-thumb {
  background: rgb(70 70 70);

  border-radius: 999px;
}

/* ---------------------------------------------------------
   YEAR / MONTH BUTTON BASE
   --------------------------------------------------------- */

.user-calendar-year-button,
.user-calendar-month-button {
  width: 100%;
  min-height: 2.75rem;

  padding: 0.5rem 0.625rem;

  display: flex;

  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border-top: 1px solid rgb(52 52 52);
  border-left: 1px solid rgb(52 52 52);

  border-right: 1px solid rgb(22 22 22);
  border-bottom: 1px solid rgb(22 22 22);

  border-radius: 0.625rem;

  background: rgb(27 27 27);

  color: rgb(190 190 190);

  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;

  line-height: 1.2;

  text-align: center;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 120ms ease,
    background 120ms ease,
    color 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.user-calendar-year-button + .user-calendar-year-button,
.user-calendar-month-button + .user-calendar-month-button {
  margin-top: var(--space-1);
}

/* ---------------------------------------------------------
   YEAR / MONTH PRESSED
   --------------------------------------------------------- */

.user-calendar-year-button:active,
.user-calendar-month-button:active {
  transform: translateY(1px);

  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 70%),
    inset -1px -1px 3px rgb(255 255 255 / 3%);
}

/* ---------------------------------------------------------
   SELECTED YEAR / MONTH
   --------------------------------------------------------- */

.user-calendar-year-button[aria-selected="true"],
.user-calendar-month-button[aria-selected="true"] {
  background: rgb(65 25 25);

  color: rgb(240 240 240);

  border-top-color: rgb(95 35 35);
  border-left-color: rgb(95 35 35);

  border-right-color: rgb(42 18 18);
  border-bottom-color: rgb(42 18 18);

  box-shadow:
    inset 2px 2px 4px rgb(0 0 0 / 35%),
    inset -1px -1px 3px rgb(255 255 255 / 2%);
}

/* ---------------------------------------------------------
   SELECTED PRESSED
   --------------------------------------------------------- */

.user-calendar-year-button[aria-selected="true"]:active,
.user-calendar-month-button[aria-selected="true"]:active {
  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 70%),
    inset -1px -1px 3px rgb(255 255 255 / 3%);
}

/* ---------------------------------------------------------
   FOCUS
   --------------------------------------------------------- */

.user-calendar-year-button:focus-visible,
.user-calendar-month-button:focus-visible {
  outline: 2px solid rgb(175 36 36);
  outline-offset: 2px;
}

/* =========================================================
   CALENDAR MONTH / YEAR SELECTION
   ========================================================= */

/* ---------------------------------------------------------
   SELECTION VIEW
   --------------------------------------------------------- */

.user-calendar-selection {
  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.2fr);

  gap: var(--space-2);
}

/* ---------------------------------------------------------
   SELECTION COLUMN
   --------------------------------------------------------- */

.user-calendar-selection-column {
  min-width: 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border-top: 1px solid rgb(52 52 52);
  border-left: 1px solid rgb(52 52 52);

  border-right: 1px solid rgb(22 22 22);
  border-bottom: 1px solid rgb(22 22 22);

  border-radius: 0.75rem;

  background: rgb(21 21 21);

  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 58%),
    inset -1px -1px 3px rgb(255 255 255 / 2%);
}

/* ---------------------------------------------------------
   SELECTION HEADING
   --------------------------------------------------------- */

.user-calendar-selection-heading {
  min-height: 2.25rem;

  padding: 0.5rem 0.75rem;

  display: flex;

  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border-bottom: 1px solid rgb(42 42 42);

  color: rgb(105 105 105);

  font-size: 0.6875rem;
  font-weight: 600;

  line-height: 1;

  text-transform: uppercase;
}

/* ---------------------------------------------------------
   YEAR / MONTH SCROLL AREAS
   --------------------------------------------------------- */

.user-calendar-year-list,
.user-calendar-month-list {
  min-width: 0;

  height: 16rem;

  padding: var(--space-2);

  box-sizing: border-box;

  overflow-y: auto;
  overflow-x: hidden;

  overscroll-behavior: contain;

  scrollbar-width: thin;
  scrollbar-color: rgb(70 70 70) rgb(25 25 25);
}

/* ---------------------------------------------------------
   SCROLLBAR
   --------------------------------------------------------- */

.user-calendar-year-list::-webkit-scrollbar,
.user-calendar-month-list::-webkit-scrollbar {
  width: 0.35rem;
}

.user-calendar-year-list::-webkit-scrollbar-track,
.user-calendar-month-list::-webkit-scrollbar-track {
  background: rgb(25 25 25);
}

.user-calendar-year-list::-webkit-scrollbar-thumb,
.user-calendar-month-list::-webkit-scrollbar-thumb {
  background: rgb(70 70 70);

  border-radius: 999px;
}

/* ---------------------------------------------------------
   YEAR / MONTH BUTTON BASE
   --------------------------------------------------------- */

.user-calendar-year-button,
.user-calendar-month-button {
  width: 100%;
  min-height: 2.75rem;

  padding: 0.5rem 0.625rem;

  display: flex;

  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border-top: 1px solid rgb(52 52 52);
  border-left: 1px solid rgb(52 52 52);

  border-right: 1px solid rgb(22 22 22);
  border-bottom: 1px solid rgb(22 22 22);

  border-radius: 0.625rem;

  background: rgb(27 27 27);

  color: rgb(190 190 190);

  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;

  line-height: 1.2;

  text-align: center;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 120ms ease,
    background 120ms ease,
    color 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}

.user-calendar-year-button + .user-calendar-year-button,
.user-calendar-month-button + .user-calendar-month-button {
  margin-top: var(--space-1);
}

/* ---------------------------------------------------------
   YEAR / MONTH PRESSED
   --------------------------------------------------------- */

.user-calendar-year-button:active,
.user-calendar-month-button:active {
  transform: translateY(1px);

  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 70%),
    inset -1px -1px 3px rgb(255 255 255 / 3%);
}

/* ---------------------------------------------------------
   SELECTED YEAR / MONTH
   --------------------------------------------------------- */

.user-calendar-year-button[aria-selected="true"],
.user-calendar-month-button[aria-selected="true"] {
  background: rgb(65 25 25);

  color: rgb(240 240 240);

  border-top-color: rgb(95 35 35);
  border-left-color: rgb(95 35 35);

  border-right-color: rgb(42 18 18);
  border-bottom-color: rgb(42 18 18);

  box-shadow:
    inset 2px 2px 4px rgb(0 0 0 / 35%),
    inset -1px -1px 3px rgb(255 255 255 / 2%);
}
/* ---------------------------------------------------------
   SELECTED PRESSED
   --------------------------------------------------------- */

.user-calendar-year-button[aria-selected="true"]:active,
.user-calendar-month-button[aria-selected="true"]:active {
  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 70%),
    inset -1px -1px 3px rgb(255 255 255 / 3%);
}

/* ---------------------------------------------------------
   FOCUS
   --------------------------------------------------------- */

.user-calendar-year-button:focus-visible,
.user-calendar-month-button:focus-visible {
  outline: 2px solid rgb(175 36 36);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   KEYBOARD FOCUS
   --------------------------------------------------------- */

.user-calendar-day:focus-visible {
  outline: 2px solid rgb(175 36 36);

  outline-offset: 2px;
}

/* ---------------------------------------------------------
   CALENDAR TODAY BUTTON
   --------------------------------------------------------- */
.user-calendar-today-button {
  display: block;

  margin: 0.45rem auto 0;
  padding: 0.2rem 1rem;

  box-sizing: border-box;

  background: rgb(24 24 24);
  color: rgb(175 36 36);

  border-top: 2px solid rgb(239 48 48);
  border-left: 2px solid rgb(239 48 48);
  border-right: 2px solid rgb(150 20 20);
  border-bottom: 2px solid rgb(150 20 20);

  border-radius: 0.625rem;

  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;

  box-shadow:
    6px 7px 12px rgb(0 0 0 / 75%),
    -3px -3px 7px rgb(255 255 255 / 4%);

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 120ms ease,
    background 120ms ease,
    box-shadow 120ms ease;
}

.user-calendar-today-button:active {
  transform: translateY(1px);

  background: rgb(24 10 10);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%);
}

.user-calendar-today-button:focus-visible {
  outline: 2px solid rgb(175 36 36);
  outline-offset: 3px;
}

/* =========================================================
   CALENDAR VIEW VISIBILITY
   ========================================================= */

.user-calendar-day-view[hidden],
.user-calendar-selection[hidden] {
  display: none !important;
}

.user-date-picker {
  position: relative;
  width: 100%;
}

.user-date-picker-input-wrapper {
  position: relative;
  width: 100%;
}

.user-date-picker-input {
  width: 100%;
  padding-right: 3.25rem;
}

.user-date-picker-button {
  position: absolute;

  top: 50%;
  right: 0.5rem;

  width: 2.25rem;
  height: 2.25rem;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  transform: translateY(-50%);

  border: 0;
  border-radius: 0.5rem;

  background: transparent;
  color: rgb(170 170 170);

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    color 120ms ease,
    background 120ms ease;
}

.user-date-picker-button svg {
  width: 1.125rem;
  height: 1.125rem;

  stroke-width: 2;
}

.user-date-picker-button:active {
  color: rgb(175 36 36);
}

.user-date-picker-button:focus-visible {
  outline: 2px solid rgb(175 36 36);
  outline-offset: 2px;
}

.user-date-picker-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.user-date-picker-calendar {
  width: 100%;
  margin-top: var(--space-3);
}

.user-date-picker-calendar[hidden] {
  display: none !important;
}

.user-date-picker-input-invalid {
  color: rgb(175 36 36);
}

.conversion-input {
  width: 100%;

  display: flex;
  flex-direction: column;

  gap: var(--space-1);
}

/* =========================================================
   LABEL
   ========================================================= */

.conversion-input-label {
  display: block;

  color: rgb(170 170 170);

  font-size: 0.75rem;
  font-weight: 500;
}

/* =========================================================
   INPUT AREA
   ========================================================= */

.conversion-input-area {
  width: 100%;

  display: flex;
  align-items: center;

  gap: var(--space-3);
}

/* =========================================================
   INPUT FIELDS
   ========================================================= */

.conversion-input-fields {
  min-width: 0;
  flex: 1;

  display: flex;
  align-items: center;
}

/* =========================================================
   CONVERSION INPUT
   Same visual treatment as .user-input
   ========================================================= */

.conversion-input-field {
  width: 100%;
  min-width: 0;

  min-height: 3rem;

  padding: 0 1rem;

  box-sizing: border-box;

  border: 1px solid rgb(58 58 58);
  border-radius: 0.75rem;

  background: rgb(23 23 23);

  color: rgb(235 235 235);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%);

  outline: none;

  font-family: inherit;

  font-size: 1rem;
}

/* =========================================================
   PLACEHOLDER
   ========================================================= */

.conversion-input-field::placeholder {
  color: rgb(105 105 105);
}

/* =========================================================
   FOCUS
   ========================================================= */

.conversion-input-field:focus {
  border-color: rgb(175 36 36);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%),
    0 0 0 2px rgb(175 36 36 / 12%);
}

/* =========================================================
   DISABLED
   ========================================================= */

.conversion-input-field:disabled {
  opacity: 1;

  cursor: not-allowed;

  background: rgb(20 20 20);

  color: rgb(105 105 105);

  border-color: rgb(45 45 45);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 75%),
    inset -2px -2px 5px rgb(255 255 255 / 2%);
}

/* =========================================================
   UNIT TOGGLE CONTAINER
   ========================================================= */

.conversion-input-unit {
  flex-shrink: 0;

  display: flex;
  align-items: center;
}

/* =========================================================
   HEIGHT — FT / IN
   ========================================================= */

/* =========================================================
   HEIGHT — FT / IN
   Matches the normal conversion input / weight field.
   The roller remains overlaid on the right.
   ========================================================= */

.conversion-input-height-imperial {
  width: 100%;
  min-width: 0;
  min-height: 3rem;

  box-sizing: border-box;

  position: relative;

  display: flex;
  align-items: center;

  border: 1px solid rgb(58 58 58);
  border-radius: 0.75rem;

  background: rgb(23 23 23);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%);
}

/*
 * Match the normal .conversion-input-field focus state.
 */
.conversion-input-height-imperial:focus-within {
  border-color: rgb(175 36 36);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%),
    0 0 0 2px rgb(175 36 36 / 12%);
}

/*
 * The combined FT / IN value is a real editable input.
 */
.conversion-input-height-display {
  width: 100%;
  min-width: 0;

  box-sizing: border-box;

  padding: 0 4.75rem 0 1rem;

  border: 0;
  outline: none;

  background: transparent;

  color: rgb(235 235 235);

  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;

  text-align: left;

  appearance: none;
  -webkit-appearance: none;
}

.conversion-input-height-display::placeholder {
  color: rgb(105 105 105);
}

.conversion-input-height-display:focus {
  border: 0;
  outline: none;
}

/*
 * Disabled state — match normal conversion input.
 */
.conversion-input-height-imperial:has(
  .conversion-input-height-display:disabled
) {
  background: rgb(20 20 20);

  border-color: rgb(45 45 45);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 75%),
    inset -2px -2px 5px rgb(255 255 255 / 2%);
}

.conversion-input-height-display:disabled {
  opacity: 1;

  color: rgb(105 105 105);

  cursor: not-allowed;
}

/*
 * Invalid state — same red treatment as weight.
 */
.conversion-input-height-imperial:has(
  .conversion-input-height-display.conversion-input-invalid
) {
  border-color: rgb(175 36 36);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%),
    0 0 0 2px rgb(175 36 36 / 12%);
}

/*
 * Internal feet/inches inputs remain available to the
 * conversion logic but are not visible.
 */
.conversion-input-height-hidden-inputs {
  position: absolute;

  width: 1px;
  height: 1px;

  margin: -1px;
  padding: 0;

  overflow: hidden;

  clip: rect(0 0 0 0);
  clip-path: inset(50%);

  white-space: nowrap;
}

/*
 * The feet/inches inputs remain in the DOM so the existing
 * conversion and validation logic continues to work. They
 * are not part of the visible UI because the value roller
 * is the user-facing control.
 */
.conversion-input-height-hidden-inputs {
  position: absolute;

  width: 1px;
  height: 1px;

  margin: -1px;
  padding: 0;

  overflow: hidden;

  clip: rect(0 0 0 0);
  clip-path: inset(50%);

  white-space: nowrap;
}

/*
 * Keep the roller beside the combined display instead of
 * allowing it to shrink or move underneath it.
 */
.register-value-roller-mount {
  flex: 0 0 auto;
  margin-left: 0.75rem;
}

.conversion-input-height-field {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: 0.375rem;
}

.conversion-input-height-field:first-child {
  flex: 0 0 5.25rem;
}

.conversion-input-height-field:last-child {
  flex: 1 1 auto;
  min-width: 8rem;
}

.conversion-input-height-field .conversion-input-field {
  flex: 1;
}

.conversion-input-suffix {
  flex-shrink: 0;

  color: rgb(150 150 150);

  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1rem;
}

/* =========================================================
   UNIT TOGGLE
   ========================================================= */

.conversion-input-unit .selection-unit-toggle {
  width: 4.25rem;
  height: 2.5rem;

  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  box-sizing: border-box;

  background: rgb(29 29 29);
  color: rgb(235 235 235);

  border: 2px solid rgb(62 62 62);

  border-radius: 0.75rem;

  box-shadow:
    5px 6px 11px rgb(0 0 0 / 75%),
    -3px -3px 7px rgb(255 255 255 / 4%);

  cursor: pointer;

  overflow: hidden;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 120ms ease,
    box-shadow 120ms ease;
}

/* =========================================================
   SLIDING THUMB
   ========================================================= */

.conversion-input-unit .selection-unit-toggle-thumb {
  width: 1.875rem;
  height: 1.875rem;

  position: absolute;

  top: 50%;
  left: 0.1875rem;

  box-sizing: border-box;

  transform: translateY(-50%);

  border-radius: 0.5rem;

  background: linear-gradient(145deg, rgb(215 50 50), rgb(150 20 20));

  border: 1px solid rgb(150 20 20);

  box-shadow:
    2px 2px 5px rgb(0 0 0 / 60%),
    -1px -1px 3px rgb(255 255 255 / 12%);

  transition: transform 150ms ease;
}

/* =========================================================
   LABEL
   ========================================================= */

.conversion-input-unit .selection-unit-toggle-label {
  position: relative;

  z-index: 1;

  color: rgb(235 235 235);

  font-size: 0.775rem;
  font-weight: 600;
  line-height: 1rem;

  pointer-events: none;

  transition: transform 150ms ease;
}

/* =========================================================
   LEFT POSITION
   KG / CM / KM
   Thumb left, label right
   ========================================================= */

.conversion-input-unit
  .selection-unit-toggle:not(.is-right)
  .selection-unit-toggle-thumb {
  transform: translateY(-50%);
}

.conversion-input-unit
  .selection-unit-toggle:not(.is-right)
  .selection-unit-toggle-label {
  transform: translateX(0.875rem);
}

/* =========================================================
   RIGHT POSITION
   LB / IN / MI
   Thumb right, label left
   ========================================================= */

.conversion-input-unit
  .selection-unit-toggle.is-right
  .selection-unit-toggle-thumb {
  transform: translateY(-50%) translateX(1.6rem);
}

.conversion-input-unit
  .selection-unit-toggle.is-right
  .selection-unit-toggle-label {
  transform: translateX(-0.875rem);
}

/* =========================================================
   PRESSED
   ========================================================= */

.conversion-input-unit .selection-unit-toggle:active:not(:disabled) {
  transform: translateY(1px);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%);
}

/* =========================================================
   FOCUS
   ========================================================= */

.conversion-input-unit .selection-unit-toggle:focus-visible {
  outline: 2px solid rgb(175 36 36);
  outline-offset: 3px;
}

/* =========================================================
   DISABLED
   ========================================================= */

.conversion-input-unit .selection-unit-toggle:disabled {
  opacity: 0.38;

  cursor: not-allowed;

  transform: none;

  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 65%),
    inset -1px -1px 3px rgb(255 255 255 / 2%);
}

/* =========================================================
   INVALID INPUT
   ========================================================= */

.conversion-input-field.conversion-input-invalid {
  color: rgb(175 36 36);

  border-color: rgb(175 36 36);
}

/* =========================================================
   MOBILE
   ========================================================= */

/* =========================================================
   REGISTRATION PAGE
   ========================================================= */

.register-page {
  min-height: 100vh;
  min-height: 100dvh;

  box-sizing: border-box;
  background: rgb(0 0 0 / 65%);
  color: var(--color-text-primary);

  padding: 1.5rem 1rem 3rem;
}

.register-shell {
  width: 100%;
  max-width: 32rem;

  margin: 0 auto;
}

.register-brand {
  display: flex;
  justify-content: center;

  margin-bottom: var(--space-6);
}

.register-brand-logo {
  width: 20rem;
  height: auto;

  object-fit: fill;

  border-top: 2px solid rgb(62 62 62);
  border-left: 2px solid rgb(62 62 62);

  border-radius: 0.75rem;

  background: rgb(23 23 23);

  box-shadow:
    5px 6px 11px rgb(0 0 0 / 70%),
    -3px -3px 7px rgb(255 255 255 / 4%);
}

.register-card {
  width: 100%;
  max-width: 30rem;
  padding: 1rem 0.5rem;
}

.register-heading {
  position: relative;

  margin: 0 0 var(--space-6);
  padding-left: var(--space-4);
}

.register-heading::before {
  content: "";
  position: absolute;
  top: 0rem;
  left: 0;

  width: 0.3rem;
  height: 4.25rem;

  border-radius: 999px;

  background: linear-gradient(180deg, rgb(245 55 55), rgb(150 20 20));

  box-shadow:
    2px 3px 6px rgb(0 0 0 / 55%),
    -1px -1px 3px rgb(255 255 255 / 4%);
}

.register-heading h1 {
  margin: 0;

  color: var(--color-text-primary);

  font-size: 2rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.register-heading p {
  max-width: 22rem;

  margin: var(--space-3) 0 0;

  color: var(--color-text-secondary);

  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.45;
}

#register-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* =========================================================
   GROUP BOXES
   ========================================================= */

.register-group-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: 1rem;
  box-sizing: border-box;
  border-top: 4px solid rgb(153 27 27 / 0.45);
  border-left: 4px solid rgb(153 27 27 / 0.45);
  border-right: 2px solid rgb(153 27 27 / 0.18);
  border-bottom: 2px solid rgb(153 27 27 / 0.18);
  border-radius: 1rem;
  background: rgb(22 22 22);
  box-shadow:
    5px 6px 12px rgb(0 0 0 / 65%),
    -3px -3px 7px rgb(255 255 255 / 3%);
}

.register-labeled-field {
  width: 100%;

  display: flex;
  flex-direction: column;

  gap: var(--space-1);
}

.register-field-label {
  color: rgb(170 170 170);

  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
}

/* =========================================================
   CALENDAR DISABLED DATE STATE
   ========================================================= */

.register-page .user-calendar-day:disabled {
  opacity: 0.28;

  color: rgb(80 80 80);

  background: rgb(20 20 20);

  border-color: rgb(32 32 32);

  box-shadow: inset 2px 2px 4px rgb(0 0 0 / 55%);

  cursor: not-allowed;

  transform: none;
}

.register-page .user-calendar-day:disabled:active {
  transform: none;

  box-shadow: inset 2px 2px 4px rgb(0 0 0 / 55%);
}

/* =========================================================
   DATE / DROPDOWN INVALID STATE
   ========================================================= */

.register-labeled-field .register-invalid {
  border-color: rgb(175 36 36) !important;

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%),
    0 0 0 2px rgb(175 36 36 / 12%) !important;
}

.register-labeled-field .user-dropdown-trigger.register-invalid {
  color: rgb(235 235 235);
}

/* =========================================================
   TEXT INPUT INVALID STATE
   ========================================================= */

.register-page .user-input.register-invalid,
.register-page .user-input.is-error {
  border-color: rgb(175 36 36);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%),
    0 0 0 2px rgb(175 36 36 / 12%);
}

/* =========================================================
   CONVERSION INPUT + VALUE ROLLER
   ========================================================= */

.register-page .conversion-input-fields {
  position: relative;
}

.register-page .conversion-input-fields > .conversion-input-field {
  padding-right: 4.75rem;
}

.register-value-roller-mount {
  position: absolute;

  top: 50%;
  right: 0.5rem;

  width: 3.25rem;
  height: 2.25rem;

  transform: translateY(-50%);

  z-index: 3;
}

.register-value-roller-mount .value-roller {
  width: 100%;
  height: 100%;
}

/* Established GoGymio value-roller visual treatment. */

.register-page .value-roller {
  --value-roller-width: 3.25rem;
  --value-roller-height: 2.25rem;

  position: relative;

  width: var(--value-roller-width);
  height: var(--value-roller-height);

  flex: 0 0 var(--value-roller-width);

  box-sizing: border-box;

  overflow: hidden;

  border-radius: 0.3rem;

  background: rgb(24 24 24);

  border: 1px solid rgb(58 58 58);

  box-shadow:
    4px 5px 9px rgb(0 0 0 / 72%),
    -2px -2px 5px rgb(255 255 255 / 4%);

  cursor: ns-resize;

  touch-action: none;

  -webkit-user-select: none;
  user-select: none;

  -webkit-tap-highlight-color: transparent;

  outline: none;
}

.register-page .value-roller:focus-visible {
  outline: 2px solid rgb(220 38 38);
  outline-offset: 2px;
}

.register-page .value-roller-cylinder {
  position: absolute;
  inset: 0;

  overflow: hidden;

  border-radius: inherit;

  background: linear-gradient(
    90deg,
    rgb(9 9 9) 0%,
    rgb(29 29 29) 18%,
    rgb(25 25 25) 50%,
    rgb(29 29 29) 82%,
    rgb(9 9 9) 100%
  );

  box-shadow:
    inset 5px 0 7px rgb(0 0 0 / 68%),
    inset -5px 0 7px rgb(0 0 0 / 68%);
}

.register-page .value-roller-track {
  position: absolute;

  top: -0.35rem;
  bottom: -0.35rem;
  left: 0.4rem;
  right: 0.4rem;

  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  padding: 0.12rem 0;

  box-sizing: border-box;

  transform: translate3d(0, 0, 0);

  will-change: transform;

  pointer-events: none;
}

.register-page .value-roller-tick {
  display: block;

  flex: 0 0 auto;

  width: 78%;
  height: 0.18rem;

  border-radius: 999px;

  background: rgb(178 178 178);

  box-shadow: 0 1px 1px rgb(0 0 0 / 85%);
}

.register-page .value-roller-tick-edge,
.register-page .value-roller-tick-secondary {
  width: 78%;
}

.register-page .value-roller-tick-center {
  width: 78%;
  height: 0.2rem;

  background: rgb(235 235 235);

  opacity: 0.96;

  box-shadow:
    0 1px 2px rgb(0 0 0 / 90%),
    0 0 4px rgb(255 255 255 / 8%);
}

.register-page .value-roller-center-indicator {
  position: absolute;

  left: 0.25rem;
  right: 0.25rem;
  top: 50%;

  z-index: 6;

  height: 0.16rem;

  transform: translateY(-50%);

  border-radius: 999px;

  background: rgb(220 38 38);

  box-shadow:
    0 0 5px rgb(220 38 38 / 65%),
    0 1px 2px rgb(0 0 0 / 90%);

  pointer-events: none;
}

.register-page .value-roller-top-shade,
.register-page .value-roller-bottom-shade {
  position: absolute;

  left: 0;
  right: 0;

  z-index: 4;

  height: 0.32rem;

  pointer-events: none;
}

.register-page .value-roller-top-shade {
  top: 0;

  background: linear-gradient(to bottom, rgb(0 0 0 / 60%), rgb(0 0 0 / 0%));
}

.register-page .value-roller-bottom-shade {
  bottom: 0;

  background: linear-gradient(to top, rgb(0 0 0 / 64%), rgb(0 0 0 / 0%));
}

.register-page .value-roller-left-shade,
.register-page .value-roller-right-shade {
  position: absolute;

  top: 0;
  bottom: 0;

  z-index: 5;

  width: 0.38rem;

  pointer-events: none;
}

.register-page .value-roller-left-shade {
  left: 0;

  border-radius: 0.72rem 0 0 0.72rem;

  background: linear-gradient(90deg, rgb(0 0 0 / 65%), rgb(0 0 0 / 0%));
}

.register-page .value-roller-right-shade {
  right: 0;

  border-radius: 0 0.72rem 0.72rem 0;

  background: linear-gradient(270deg, rgb(0 0 0 / 65%), rgb(0 0 0 / 0%));
}

.register-page .value-roller-at-min .value-roller-center-indicator,
.register-page .value-roller-at-max .value-roller-center-indicator {
  opacity: 0.58;
}

.register-page .value-roller.is-dragging {
  cursor: grabbing;
}

.register-page .value-roller.is-dragging .value-roller-track {
  transition: none;
}

.register-page .value-roller.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.register-page .register-value-roller-mount.register-invalid .value-roller {
  border-color: rgb(175 36 36);
}

/* =========================================================
   USERNAME STATUS / INFORMATION
   ========================================================= */

.register-username-input-wrapper {
  position: relative;

  width: 100%;
}

.register-username-input-wrapper .user-input {
  width: 100%;

  padding-right: 3.75rem;
}

.register-username-status {
  position: absolute;

  top: 50%;
  right: 0.75rem;

  width: 1.75rem;
  height: 1.75rem;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  box-sizing: border-box;

  transform: translateY(-50%);

  border: 0;
  border-radius: 50%;

  background: transparent;

  color: rgb(170 170 170);

  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 120ms ease,
    color 120ms ease,
    opacity 120ms ease;
}

/* ---------------------------------------------------------
   STATUS — INFORMATION
   --------------------------------------------------------- */

.register-username-status-info {
  color: rgb(170 170 170);

  animation: register-username-status-pulse 1.8s ease-in-out infinite;
}

/* ---------------------------------------------------------
   STATUS — CHECKING
   --------------------------------------------------------- */

.register-username-status-checking {
  color: rgb(190 190 190);

  animation: none;
}

/* ---------------------------------------------------------
   STATUS — ERROR / TAKEN / INVALID
   --------------------------------------------------------- */

.register-username-status-error {
  background: transparent;

  color: rgb(170 170 170);

  box-shadow: none;
}

/* ---------------------------------------------------------
   STATUS — AVAILABLE
   --------------------------------------------------------- */

.register-username-status-available {
  border-color: rgb(175 36 36);

  background: rgb(38 20 20);

  color: rgb(235 65 65);

  animation: none;
}

/* ---------------------------------------------------------
   STATUS BUTTON — PRESSED
   --------------------------------------------------------- */

.register-username-status:active {
  transform: translateY(-50%) scale(0.9);
}

/* ---------------------------------------------------------
   STATUS BUTTON — KEYBOARD FOCUS
   --------------------------------------------------------- */

.register-username-status:focus-visible {
  outline: 2px solid rgb(175 36 36);

  outline-offset: 2px;
}

/* ---------------------------------------------------------
   STATUS PULSE
   --------------------------------------------------------- */

@keyframes register-username-status-pulse {
  0%,
  100% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }

  50% {
    opacity: 0.72;
    transform: translateY(-50%) scale(0.96);
  }
}

/* ---------------------------------------------------------
   INFORMATION PANEL
   --------------------------------------------------------- */

.register-username-info {
  width: 100%;

  margin-top: var(--space-2);

  padding: 0.625rem 0.75rem;

  box-sizing: border-box;

  border-top: 1px solid rgb(58 58 58);
  border-left: 1px solid rgb(58 58 58);

  border-right: 1px solid rgb(22 22 22);
  border-bottom: 1px solid rgb(22 22 22);

  border-radius: 0.625rem;

  background: rgb(28 28 28);

  color: rgb(190 190 190);

  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 48%),
    inset -1px -1px 3px rgb(255 255 255 / 2%);

  font-size: 0.75rem;
  line-height: 1.4;
}

.register-username-info[hidden] {
  display: none;
}

/* ---------------------------------------------------------
   INFORMATION TITLE
   --------------------------------------------------------- */

.register-username-info-title {
  display: block;

  margin: 0;

  color: rgb(220 220 220);

  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------------------------------------------------------
   INFORMATION MESSAGE
   --------------------------------------------------------- */

.register-username-info-message {
  margin: 0.25rem 0 0;

  color: rgb(155 155 155);

  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.45;
}

/* ---------------------------------------------------------
   USERNAME SUGGESTIONS
   --------------------------------------------------------- */

.register-username-suggestions {
  width: 100%;

  margin-top: var(--space-2);

  padding: 0.625rem;

  box-sizing: border-box;

  border-top: 1px solid rgb(58 58 58);
  border-left: 1px solid rgb(58 58 58);

  border-right: 1px solid rgb(22 22 22);
  border-bottom: 1px solid rgb(22 22 22);

  border-radius: 0.625rem;

  background: rgb(28 28 28);

  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 48%),
    inset -1px -1px 3px rgb(255 255 255 / 2%);
}

/* ---------------------------------------------------------
   SUGGESTION LABEL
   --------------------------------------------------------- */

.register-username-suggestions-label {
  display: block;

  margin: 0 0 0.5rem;

  color: rgb(145 145 145);

  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------------------------------------------------------
   SUGGESTION BUTTON
   --------------------------------------------------------- */

.register-username-suggestion {
  width: 100%;

  min-height: 2.75rem;

  padding: 0.625rem 0.75rem;

  display: flex;
  align-items: center;

  box-sizing: border-box;

  border: 0;

  border-radius: 0.5rem;

  background: transparent;

  color: rgb(210 210 210);

  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;

  text-align: left;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    background 120ms ease,
    color 120ms ease,
    transform 120ms ease;
}

/* ---------------------------------------------------------
   SUGGESTION SEPARATOR
   --------------------------------------------------------- */

.register-username-suggestion + .register-username-suggestion {
  margin-top: 0.125rem;

  border-top: 1px solid rgb(48 48 48);

  border-radius: 0;
}

/* ---------------------------------------------------------
   SUGGESTION HOVER / FOCUS
   --------------------------------------------------------- */

.register-username-suggestion:hover {
  background: rgb(38 38 38);

  color: rgb(235 235 235);
}

.register-username-suggestion:focus-visible {
  outline: 2px solid rgb(175 36 36);

  outline-offset: -2px;

  background: rgb(48 25 25);

  color: rgb(240 240 240);
}

/* ---------------------------------------------------------
   SUGGESTION PRESSED
   --------------------------------------------------------- */

.register-username-suggestion:active {
  transform: translateY(1px);

  background: rgb(65 25 25);
}

/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .register-username-status-info,
  .register-username-status-checking,
  .register-username-status-error {
    animation: none;
  }

  .register-username-status-checking svg {
    animation: none;
  }
}

.register-username-status-checking {
  color: rgb(170 170 170);
}

.register-username-status svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
}

.register-username-status-checking svg {
  width: 1.4rem;
  height: 1.4rem;

  animation: register-username-spinner 0.9s linear infinite;
}

@keyframes register-username-spinner {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   PASSWORD HELPER
   ========================================================= */

.register-password-helper {
  min-height: 1.15rem;

  margin: 0rem 0 0;

  padding: 0.45rem 0.65rem;

  box-sizing: border-box;

  border-radius: 0.5rem;

  background: rgb(28 28 28);

  color: rgb(145 145 145);

  font-size: 0.6875rem;
  font-weight: 500;

  line-height: 1.35;

  transition:
    color 120ms ease,
    background 120ms ease,
    border-color 120ms ease;
}

.register-password-helper[hidden] {
  display: none;
}

.register-password-helper.is-info {
  border-left: 2px solid rgb(70 70 70);
}

.register-password-helper.is-error {
  border-left: 2px solid rgb(175 36 36);

  background: rgb(38 20 20);

  color: rgb(235 80 80);
}

/* =========================================================
   FORM ERROR
   ========================================================= */

.register-form-error {
  min-height: 1.25rem;

  margin: 0;

  color: rgb(235 65 65);

  font-size: 0.75rem;
  line-height: 1.4;
}

/* =========================================================
   SUBMIT
   ========================================================= */

.register-submit-target {
  display: flex;
  justify-content: center;

  margin-top: var(--space-1);
}

.register-submit-target .button {
  width: auto;
  min-width: 11rem;
}

.register-submit-target .button:disabled {
  opacity: 0.45;

  cursor: not-allowed;

  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 65%),
    inset -1px -1px 3px rgb(255 255 255 / 2%);

  transform: none;
}

/* ---------------------------------------------------------
   SUBMIT LOADING
   --------------------------------------------------------- */

.register-submit-target .button.button-loading svg {
  width: 1rem;
  height: 1rem;

  flex-shrink: 0;

  animation: register-submit-spinner 0.8s linear infinite;
}

@keyframes register-submit-spinner {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   LOGIN LINK
   ========================================================= */

.register-login {
  display: flex;
  justify-content: center;
  gap: var(--space-1);

  margin-top: var(--space-5);

  color: var(--color-text-muted);

  font-size: 0.9rem;
  line-height: 1.4;

  text-align: center;
}

.register-login .text-link {
  color: rgb(175 36 36);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.register-login .text-link:focus-visible {
  outline: 2px solid rgb(175 36 36);
  outline-offset: 3px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (min-width: 40rem) {
  .register-page {
    padding: 2rem 1.5rem 4rem;
  }

  .register-card {
    padding: 1rem 0.5rem;
  }
}

@media (max-width: 26rem) {
  .register-page .value-roller {
    --value-roller-width: 3rem;
    --value-roller-height: 2.25rem;
  }

  .register-value-roller-mount {
    right: 0.4rem;
    width: 3rem;
  }

  .register-page .conversion-input-fields > .conversion-input-field {
    padding-right: 4.45rem;
  }

  .register-page .value-roller-track {
    left: 0.36rem;
    right: 0.36rem;
  }

  .register-page .value-roller-center-indicator {
    left: 0.22rem;
    right: 0.22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .register-page *,
  .register-page *::before,
  .register-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .register-page .register-username-status-checking svg {
    animation: register-username-spinner 0.9s linear infinite !important;
  }

  .register-page .register-submit-target .button.button-loading svg {
    animation: register-submit-spinner 0.8s linear infinite !important;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 30rem) {
  .conversion-input-height-imperial {
    padding-left: 0.75rem;
  }

  .conversion-input-height-display {
    padding-right: 4.75rem;
    font-size: 0.9375rem;
  }

  .register-value-roller-mount {
    margin-left: 0.5rem;
  }
}
/* =========================================================
   DATE OF BIRTH PICKER
   Matches the Date Picker Year / Month selection styling
   ========================================================= */

/* ---------------------------------------------------------
   PICKER ROOT
   --------------------------------------------------------- */

.register-page .user-dob-picker {
  position: relative;
  width: 100%;
}

/* ---------------------------------------------------------
   INPUT
   --------------------------------------------------------- */

.register-page .user-dob-picker-input-wrapper {
  position: relative;
  width: 100%;
}

.register-page .user-dob-picker-input {
  width: 100%;
  padding-right: 3.25rem;
  cursor: pointer;
}

/* ---------------------------------------------------------
   CALENDAR ICON BUTTON
   --------------------------------------------------------- */

.register-page .user-dob-picker-input-button {
  position: absolute;

  top: 50%;
  right: 0.5rem;

  width: 2.25rem;
  height: 2.25rem;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  transform: translateY(-50%);

  border: 0;
  border-radius: 0.5rem;

  background: transparent;
  color: rgb(170 170 170);

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    color 120ms ease,
    background 120ms ease;
}

.register-page .user-dob-picker-input-button svg {
  width: 1.125rem;
  height: 1.125rem;

  stroke-width: 2;
}

.register-page .user-dob-picker-input-button:active {
  color: rgb(175 36 36);
}

.register-page .user-dob-picker-input-button:focus-visible {
  outline: 2px solid rgb(175 36 36);
  outline-offset: 2px;
}

.register-page .user-dob-picker-input-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------------------------------------------------------
   PICKER SURFACE
   --------------------------------------------------------- */

.register-page .user-dob-picker-surface {
  position: absolute;

  z-index: 30;

  top: calc(100% + 0.75rem);
  left: 50%;

  width: 22rem;
  max-width: calc(100vw - 2rem);

  max-height: min(32rem, calc(100dvh - 2rem));

  box-sizing: border-box;

  overflow: hidden;

  transform: translateX(-50%);

  border-top: 4px solid rgb(62 62 62);
  border-left: 4px solid rgb(62 62 62);

  border-right: 4px solid rgb(62 62 62);
  border-bottom: 4px solid rgb(62 62 62);

  border-radius: 1rem;

  background: rgb(18 18 18);

  box-shadow:
    8px 10px 22px rgb(0 0 0 / 78%),
    -3px -3px 8px rgb(255 255 255 / 4%);
}

.register-page .user-dob-picker-surface[hidden] {
  display: none !important;
}

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */

.register-page .user-dob-picker-header {
  position: relative;

  padding: 1rem 3.25rem 0.875rem;

  border-bottom: 1px solid rgb(45 45 45);

  text-align: center;
}

/* ---------------------------------------------------------
   HEADER DATE
   --------------------------------------------------------- */

.register-page .user-dob-picker-header-date {
  min-height: 2.75rem;

  width: calc(100% - 2.75rem);

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  margin-right: auto;

  padding: 0.5rem 1rem;

  border-top: 2px solid rgb(62 62 62);
  border-left: 2px solid rgb(62 62 62);

  border-right: 1px solid rgb(18 18 18);
  border-bottom: 1px solid rgb(18 18 18);

  border-radius: 0.75rem;

  background: rgb(24 24 24);

  color: rgb(225 225 225);

  font-size: 1rem;
  font-weight: 600;

  line-height: 1.2;

  letter-spacing: 0.02em;

  text-align: center;

  box-shadow:
    4px 5px 9px rgb(0 0 0 / 72%),
    -2px -2px 5px rgb(255 255 255 / 4%),
    inset 1px 1px 2px rgb(255 255 255 / 2%);
}

/* ---------------------------------------------------------
   HEADER HINT
   --------------------------------------------------------- */

.register-page .user-dob-picker-header-hint[hidden] {
  display: none;
}

/* ---------------------------------------------------------
   CLOSE BUTTON
   --------------------------------------------------------- */

.register-page .user-dob-picker-close {
  position: absolute;

  top: 1rem;
  right: 0.75rem;

  width: 2.8rem;
  height: 2.8rem;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  box-sizing: border-box;

  border-top: 2px solid rgb(62 62 62);
  border-left: 2px solid rgb(62 62 62);

  border-right: 1px solid rgb(18 18 18);
  border-bottom: 1px solid rgb(18 18 18);

  border-radius: 0.5rem;

  background: rgb(27 27 27);

  color: rgb(190 190 190);

  box-shadow:
    4px 5px 9px rgb(0 0 0 / 72%),
    -2px -2px 5px rgb(255 255 255 / 4%);

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease,
    color 120ms ease;
}

.register-page .user-dob-picker-close svg {
  width: 1.125rem;
  height: 1.125rem;

  stroke-width: 2.2;
}

.register-page .user-dob-picker-close:active {
  transform: translateY(1px);

  background: rgb(22 22 22);

  box-shadow:
    inset 3px 3px 6px rgb(0 0 0 / 72%),
    inset -2px -2px 4px rgb(255 255 255 / 3%);
}

.register-page .user-dob-picker-close:focus-visible {
  outline: 2px solid rgb(175 36 36);
  outline-offset: 3px;
}

/* ---------------------------------------------------------
   DOB WHEELS
   Same visual treatment as Date Picker selection columns
   --------------------------------------------------------- */

.register-page .user-dob-picker-wheels {
  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.2fr)
    minmax(0, 1fr);

  gap: 0.5rem;

  padding: 0.75rem;

  box-sizing: border-box;
}

/* ---------------------------------------------------------
   WHEEL COLUMN
   --------------------------------------------------------- */

.register-page .user-dob-wheel-column {
  min-width: 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  border: 2px solid rgb(52 52 52);

  border-radius: 0.75rem;

  background: rgb(21 21 21);

  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 58%),
    inset -1px -1px 3px rgb(255 255 255 / 2%);
}

/* ---------------------------------------------------------
   WHEEL HEADING
   --------------------------------------------------------- */

.register-page .user-dob-wheel-heading {
  min-height: 2.25rem;

  padding: 0.5rem 0.75rem;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border-bottom: 1px solid rgb(42 42 42);

  color: rgb(105 105 105);

  font-size: 0.6875rem;
  font-weight: 600;

  line-height: 1;

  letter-spacing: 0.03em;

  text-transform: uppercase;
}

/* ---------------------------------------------------------
   WHEEL VIEWPORT
   --------------------------------------------------------- */

.register-page .user-dob-wheel-viewport {
  position: relative;

  min-width: 0;

  height: 16rem;

  padding: 0.5rem;

  box-sizing: border-box;

  overflow-y: auto;
  overflow-x: hidden;

  overscroll-behavior: contain;

  scrollbar-width: thin;
  scrollbar-color: rgb(70 70 70) rgb(25 25 25);

  -webkit-overflow-scrolling: touch;

  touch-action: pan-y;
}

/* ---------------------------------------------------------
   SCROLLBAR
   --------------------------------------------------------- */

.register-page .user-dob-wheel-viewport::-webkit-scrollbar {
  width: 0.35rem;
}

.register-page .user-dob-wheel-viewport::-webkit-scrollbar-track {
  background: rgb(25 25 25);
}

.register-page .user-dob-wheel-viewport::-webkit-scrollbar-thumb {
  background: rgb(70 70 70);

  border-radius: 999px;
}

/* ---------------------------------------------------------
   WHEEL LIST
   --------------------------------------------------------- */

.register-page .user-dob-wheel-list {
  width: 100%;
}

/* ---------------------------------------------------------
   WHEEL SPACER
   --------------------------------------------------------- */

.register-page .user-dob-wheel-spacer {
  width: 100%;
  height: 0.5rem;

  box-sizing: border-box;

  pointer-events: none;
}

/* ---------------------------------------------------------
   WHEEL ITEM
   Same raised card style as Date Picker options
   --------------------------------------------------------- */

.register-page .user-dob-wheel-item {
  width: 100%;
  min-height: 2.75rem;

  padding: 0.5rem 0.625rem;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  border-top: 1px solid rgb(52 52 52);
  border-left: 1px solid rgb(52 52 52);

  border-right: 1px solid rgb(22 22 22);
  border-bottom: 1px solid rgb(22 22 22);

  border-radius: 0.625rem;

  background: rgb(27 27 27);

  color: rgb(190 190 190);

  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;

  line-height: 1.2;

  text-align: center;

  scroll-snap-align: center;

  cursor: pointer;

  -webkit-tap-highlight-color: transparent;

  transition:
    transform 120ms ease,
    background 120ms ease,
    color 120ms ease,
    border-color 120ms ease,
    box-shadow 120ms ease;
}

/* ---------------------------------------------------------
   WHEEL ITEM SPACING
   --------------------------------------------------------- */

.register-page .user-dob-wheel-item + .user-dob-wheel-item {
  margin-top: 0.25rem;
}

/* ---------------------------------------------------------
   PRESSED
   --------------------------------------------------------- */

.register-page .user-dob-wheel-item:active {
  transform: translateY(1px);

  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 70%),
    inset -1px -1px 3px rgb(255 255 255 / 3%);
}

/* ---------------------------------------------------------
   SELECTED
   Same dark-red selection as Date Picker
   --------------------------------------------------------- */

.register-page .user-dob-wheel-item.is-selected {
  background: rgb(65 25 25);

  color: rgb(240 240 240);

  border-top-color: rgb(95 35 35);
  border-left-color: rgb(95 35 35);

  border-right-color: rgb(42 18 18);
  border-bottom-color: rgb(42 18 18);

  box-shadow:
    inset 2px 2px 4px rgb(0 0 0 / 35%),
    inset -1px -1px 3px rgb(255 255 255 / 2%);
}

.register-page .user-dob-wheel-item.is-selected:active {
  box-shadow:
    inset 2px 2px 5px rgb(0 0 0 / 70%),
    inset -1px -1px 3px rgb(255 255 255 / 3%);
}

.register-page .user-dob-wheel-item:focus-visible {
  outline: 2px solid rgb(175 36 36);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */

.register-page .user-dob-picker-footer {
  padding: 0.75rem;

  border-top: 1px solid rgb(45 45 45);
}

/* ---------------------------------------------------------
   SELECT BUTTON
   --------------------------------------------------------- */

.register-page .user-dob-picker-select-mount {
  width: 100%;
}

.register-page .user-dob-picker-select-button,
.register-page .user-dob-picker-select-button.button {
  width: 100%;

  min-height: 2.75rem;

  margin: 0;
}

/* ---------------------------------------------------------
   INVALID INPUT
   --------------------------------------------------------- */

.register-page .user-dob-picker-input.user-dob-picker-input-invalid {
  border-color: rgb(175 36 36);

  box-shadow:
    inset 3px 3px 7px rgb(0 0 0 / 70%),
    inset -2px -2px 5px rgb(255 255 255 / 3%),
    0 0 0 2px rgb(175 36 36 / 12%);
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 30rem) {
  .register-page .user-dob-picker-surface {
    width: calc(100vw - 3rem);
    max-width: calc(100vw - 3rem);
  }

  .register-page .user-dob-picker-wheels {
    gap: 0.375rem;
    padding: 0.625rem;
  }

  .register-page .user-dob-wheel-item {
    min-height: 2.75rem;
    font-size: 0.8125rem;
  }
}

/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .register-page .user-dob-picker-close,
  .register-page .user-dob-wheel-item {
    transition: none;
  }
}
