:root {
  /* Colors - monochrome */
  --arm-color-black: #000;
  --arm-color-grey-1000: #333;
  --arm-color-grey-900: #474747;
  --arm-color-grey-800: #5c5c5c;
  --arm-color-grey-700: #707070;
  --arm-color-grey-600: #848484;
  --arm-color-grey-500: #999;
  --arm-color-grey-400: #adadad;
  --arm-color-grey-300: #c2c2c2;
  --arm-color-grey-200: #d6d6d6;
  --arm-color-grey-100: #ebebeb;
  --arm-color-white: #fff;

  /* Colors - status */
  --arm-color-positive: #27ae60;
  --arm-color-positive-secondary: #27ae5f2b;
  --arm-color-warning: #f78e52;
  --arm-color-warning-secondary: #f78f522b;
  --arm-color-negative: #eb5757;
  --arm-color-negative-secondary: #eb57572b;
  --arm-color-info: #3498d8;
  --arm-color-info-secondary: #3499d82b;

  /* Colors - brand */
  --arm-color-brand-primary: #cd3939;
  --arm-color-brand-secondary: #3d4144;

  /* Font sizes */
  --arm-font-size-xsmall: 0.875rem;
  --arm-font-size-small: 1rem;
  --arm-font-size-medium: 1.125rem;
  --arm-font-size-large: 1.25rem;
  --arm-font-size-xlarge: 1.5rem;
  --arm-font-size-xxlarge: 2rem;
  --arm-font-size-xxxlarge: 2.5rem;

  /** Font weights */
  --arm-font-weight-medium: 500;
  --arm-font-weight-bold: 700;

  /* Spacing */
  --arm-spacing-xxxsmall: 0.375rem;
  --arm-spacing-xxsmall: 0.5rem;
  --arm-spacing-xsmall: 0.625rem;
  --arm-spacing-small: 0.75rem;
  --arm-spacing-medium: 1rem;
  --arm-spacing-large: 1.25rem;
  --arm-spacing-xlarge: 1.5rem;
  --arm-spacing-xxlarge: 2rem;
  --arm-spacing-xxxlarge: 2.5rem;
  --arm-spacing-xxxxlarge: 3rem;

  /* Accessibility */
  --arm-focus-visible-color: var(--arm-color-grey-1000);

  /* Button */
  --arm-button-border-radius: 6px;
  --arm-button-primary-bg-color: var(--arm-color-grey-1000);
  --arm-button-primary-fg-color: var(--arm-color-white);
  --arm-button-secondary-bg-color: var(--arm-color-grey-100);
  --arm-button-secondary-fg-color: var(--arm-color-grey-1000);
  --arm-button-outline-stroke-color: var(--arm-button-primary-bg-color);
  --arm-button-outline-stroke-thickness: 2px;
  --arm-button-outline-bg-color: transparent;
  --arm-button-outline-fg-color: var(--arm-button-outline-stroke-color);

  /* Inputs */
  --arm-input-width: 23.4375rem;
  --arm-input-width-large: 26.25rem;
  --arm-input-height: 2.25rem;
  --arm-input-height-medium: 3rem;
  --arm-input-height-large: 3.5rem;

  /* Spinner */
  --arm-spinner-speed: 500ms;

  /* Form - shared */
  --arm-form-border-radius: 5px;
  --arm-form-border-thickness: 1px;
  --arm-form-border-thickness-highlight: 1px;
  --arm-form-border-color: var(--arm-color-grey-600);
  --arm-form-square-size: 25px;
  --arm-form-checked-bg-color: var(--arm-color-grey-600);
  --arm-form-checked-fg-color: var(--arm-color-white);
  --arm-form-input-max-width: 23.4375rem;

  /* Dropdown menu */
  --arm-dropdown-menu-bg-color: var(--arm-color-white);
  --arm-dropdown-menu-border-color: var(--arm-color-grey-200);
  --arm-dropdown-menu-arrow-size: 12px;

  /* Dialog */
  --arm-dialog-overlay-color: rgb(0 0 0 / 40%);
  --arm-dialog-overlay-animation: arm-overlay-show 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --arm-dialog-z-index: 1;
  --arm-dialog-border-radius: var(--arm-button-border-radius);
  --arm-dialog-box-shadow: hsl(206deg 22% 7% / 35%) 0 10px 38px -10px, hsl(206deg 22% 7% / 20%) 0 10px 20px -15px;
  --arm-dialog-width: 90vw;
  --arm-dialog-max-width: 450px;
  --arm-dialog-max-height: 85vh;
  --arm-dialog-content-animation: arm-content-show 150ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Expandable */
  --arm-expandable-transition-duration: 300ms;

  /* Progress bar */
  --arm-progress-bar-height: 12px;
  --arm-progress-bar-bg-color: var(--arm-color-grey-100);
  --arm-progress-bar-fg-color: var(--arm-color-grey-1000);
  --arm-progress-bar-animation-duration: 200ms;

  /* Range input */
  --arm-range-input-width: 600px;
  --arm-range-input-thumb-size: var(--arm-spacing-xlarge);
  --arm-range-input-track-height: calc(var(--arm-range-input-thumb-size) / 2);
  --arm-range-input-width-small: 400px;
  --arm-range-input-thumb-size-small: var(--arm-spacing-medium);
  --arm-range-input-width-large: 800px;
  --arm-range-input-thumb-size-large: var(--arm-spacing-xxlarge);

  /* Rating input */
  --arm-rating-part-size: 1.8rem;
  --arm-rating-part-size-small: 1.2rem;
  --arm-rating-part-size-large: 2.4rem;

  /* Switch input */
  --arm-switch-width: 2.5rem;
  --arm-switch-height: 1.5rem;
  --arm-switch-nub-size: 1.5rem;
  --arm-switch-width-small: 2rem;
  --arm-switch-nub-size-small: 1.2rem;
  --arm-switch-height-small: 1.2rem;
  --arm-switch-width-large: 4rem;
  --arm-switch-nub-size-large: 2rem;
  --arm-switch-height-large: 2rem;

  /* Toast */
  --arm-toast-viewport-padding: var(--arm-spacing-xlarge);
  --arm-toast-width: 390px;
  --arm-toast-max-width: 100vw;
  --arm-toast-z-index: 2;
  --arm-toast-border-radius: var(--arm-button-border-radius);
  --arm-toast-box-shadow: 0 4px 50px rgb(0 0 0 / 3%);
  --arm-toast-slide-speed: 150ms;
  --arm-toast-swipe-speed: 100ms;
  --arm-toast-hide-speed: 200ms;

  /* Tooltip */
  --arm-tooltip-bg-color: var(--arm-color-grey-800);
  --arm-tooltip-fg-color: var(--arm-color-white);
  --arm-tooltip-max-width: 300px;
  --arm-tooltip-animation-duration: 400ms;
}
@keyframes arm-slide-up-and-fade {
  from {
    opacity: 0;
    transform: translateY(2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arm-slide-right-and-fade {
  from {
    opacity: 0;
    transform: translateX(-2px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes arm-slide-down-and-fade {
  from {
    opacity: 0;
    transform: translateY(-2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes arm-slide-left-and-fade {
  from {
    opacity: 0;
    transform: translateX(2px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes arm-overlay-show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes arm-content-show {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hide {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes slide-in-right {
  from {
    transform: translateX(calc(100% + var(--arm-toast-viewport-padding)));
  }

  to {
    transform: translateX(0);
  }
}

@keyframes slide-in-left {
  from {
    transform: translateX(calc(-100% + var(--arm-toast-viewport-padding)));
  }

  to {
    transform: translateX(0);
  }
}

@keyframes swipe-out-right {
  from {
    transform: translateX(var(--radix-toast-swipe-end-x));
  }

  to {
    transform: translateX(calc(100% + var(--arm-toast-viewport-padding)));
  }
}

@keyframes swipe-out-left {
  from {
    transform: translateX(var(--radix-toast-swipe-end-x));
  }

  to {
    transform: translateX(calc(-100% + var(--arm-toast-viewport-padding)));
  }
}
/* stylelint-disable no-empty-source */
.arm-radio-group {
  display: flex;
  flex-direction: column;
  font-size: var(--arm-font-size-small);
  gap: var(--arm-spacing-small);
}

.arm-radio-group[data-mode='button'] {
  flex-direction: row;
  gap: 1px;
}

.arm-radio-group-item-container {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.arm-radio-group-item:focus {
  border-color: var(--arm-color-grey-1000);
}

.arm-radio-group[data-mode='radio'] .arm-radio-group-item {
  all: unset;
  background-color: white;
  width: var(--arm-spacing-xlarge);
  height: var(--arm-spacing-xlarge);
  border-radius: 100%;
  border: 1px solid var(--arm-color-grey-600);
}

.arm-radio-group[data-mode='button'] .arm-radio-group-item {
  all: unset;
  display: inline-flex;
  padding: var(--arm-spacing-small) var(--arm-spacing-xlarge);
  border: var(--arm-button-outline-stroke-thickness) solid transparent;
  align-items: center;
  font-size: var(--arm-font-size-small);
  background-color: var(--arm-color-grey-100);
}

.arm-radio-group[data-mode='button'] .arm-radio-group-item-container:first-of-type {
  border-top-left-radius: var(--arm-button-border-radius);
  border-bottom-left-radius: var(--arm-button-border-radius);
  overflow: hidden;
}

.arm-radio-group[data-mode='button'] .arm-radio-group-item-container:last-of-type {
  border-top-right-radius: var(--arm-button-border-radius);
  border-bottom-right-radius: var(--arm-button-border-radius);
  overflow: hidden;
}

.arm-radio-group-item-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.arm-radio-group-item-indicator[data-custom-icon='false']::after {
  content: '';
  display: block;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background-color: var(--arm-color-grey-1000);
}

.arm-radio-label {
  padding-inline-start: var(--arm-spacing-small);
}

.arm-radio-group-label {
  display: inline-block;
  margin-bottom: var(--arm-spacing-xxxsmall);
}

/* DISABLED */

.arm-radio-group[data-disabled='true'] {
  opacity: 0.6;
}

.arm-radio-group[data-disabled='true'] .arm-radio-group-item {
  cursor: not-allowed;
}

/** SIZES **/

.arm-radio-group[data-mode='radio'][data-size='small'] {
  font-size: var(--arm-font-size-xsmall);
  gap: var(--arm-spacing-xxsmall);
}

.arm-radio-group[data-mode='radio'][data-size='small'] .arm-radio-group-item {
  width: var(--arm-spacing-medium);
  height: var(--arm-spacing-medium);
}

.arm-radio-group[data-mode='radio'][data-size='large'] {
  font-size: var(--arm-font-size-medium);
  gap: var(--arm-spacing-medium);
}

.arm-radio-group[data-mode='radio'][data-size='large'] .arm-radio-group-item {
  width: var(--arm-spacing-xxlarge);
  height: var(--arm-spacing-xxlarge);
}

/** HOVER */

.arm-radio-group:not([data-disabled='true']) .arm-radio-group-item:hover {
  filter: brightness(85%);
}

/** BUTTON LIST **/

.arm-radio-group[data-mode='button'][data-size='small'] .arm-radio-group-item {
  padding: var(--arm-spacing-xxsmall) var(--arm-spacing-medium);
  font-size: var(--arm-font-size-xsmall);
}

.arm-radio-group[data-mode='button'][data-size='large'] .arm-radio-group-item {
  padding: var(--arm-spacing-medium) var(--arm-spacing-xxlarge);
  font-size: var(--arm-font-size-medium);
}

.arm-radio-group[data-mode='button'] .arm-radio-group-item:disabled {
  filter: none;
  opacity: 0.6;
}

.arm-radio-group[data-mode='button'] .arm-radio-group-item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 var(--arm-form-border-thickness-highlight) var(--arm-focus-visible-color);
}

.arm-radio-group[data-mode='button'] .arm-radio-group-item[data-checked='true'] {
  background-color: var(--arm-button-primary-bg-color);
  color: var(--arm-button-primary-fg-color);
}
.arm-label {
  color: var(--arm-color-grey-1000);
}

.arm-label-required-indicator {
  color: var(--arm-color-negative);
}

.arm-label[data-size='small'] {
  font-size: var(--arm-font-size-xsmall);
}

.arm-label[data-size='large'] {
  font-size: var(--arm-font-size-medium);
}
.arm-rating-input-inner {
  display: flex;
  align-items: center;
  width: max-content;
  gap: var(--arm-spacing-xsmall);
}

.arm-rating-input-label {
  display: inline-block;
  margin-bottom: var(--arm-spacing-xsmall);
  margin-inline-start: var(--arm-spacing-xxxsmall);
}

.arm-rating-part {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--arm-rating-part-size);
  height: var(--arm-rating-part-size);
  position: relative;
}

.arm-rating-part-filled {
  position: absolute;
  inset: 0;
  width: var(--rating-amount, 1);
  overflow: hidden;
  opacity: 0;
}

.arm-rating-part-empty {
  color: var(--arm-color-grey-200);
}

.arm-rating-part[data-part='true'] .arm-rating-part-filled,
.arm-rating-part[data-filled='true'] .arm-rating-part-filled {
  opacity: 1;
}

.arm-rating-part[data-filled='true'] .arm-rating-part-empty {
  opacity: 0;
}

.arm-rating-part-icon-wrapper {
  position: relative;
}

.arm-rating-part-icon {
  font-size: var(--arm-rating-part-size);
}

.arm-rating-part-buttons,
.arm-rating-part-radios {
  position: absolute;
  inset: 0;
  display: flex;
}

.arm-rating-parts {
  position: relative;
  display: flex;
  align-items: center;
  width: max-content;
  padding: 0;
  gap: var(--arm-spacing-xxsmall);
}

.arm-rating-range {
  position: absolute;
  inset: 0;
  cursor: pointer;
  opacity: 0;
}

.arm-rating-part-radio-wrapper {
  flex: 1;
  position: relative;
}

.arm-rating-part-radio {
  position: absolute;
  inset: 0;
  appearance: none;
  margin: 0;
  cursor: pointer;
}

.arm-rating-button {
  display: block;
  background-color: transparent;
  padding: 0;
  flex-grow: 1;
}

/* SIZES */

.arm-rating[data-size='small'] {
  --arm-rating-part-size: var(--arm-rating-part-size-small);
}

.arm-rating[data-size='large'] {
  --arm-rating-part-size: var(--arm-rating-part-size-large);
}
.arm-input-overlay-left,
.arm-input-overlay-right {
  display: flex;
  align-items: center;
}

.arm-input-overlay-left {
  padding-inline-start: var(--arm-spacing-small);
}

.arm-input-overlay-right {
  padding-inline-end: var(--arm-spacing-small);
}
/** OVERLAY **/

.arm-toast-viewport {
  position: fixed;
  display: flex;
  flex-direction: column;
  padding: var(--arm-toast-viewport-padding);
  gap: var(--arm-spacing-xsmall);
  width: var(--arm-toast-width, 390px);
  max-width: var(--arm-toast-max-width, 100vw);
  margin: 0;
  list-style: none;
  z-index: var(--arm-toast-z-index, 2);
  outline: none;
}

/** POSITIONS **/

.arm-toast-viewport[data-position='top-left'] {
  top: 0;
  left: 0;
}

.arm-toast-viewport[data-position='top-right'] {
  top: 0;
  right: 0;
}

.arm-toast-viewport[data-position='bottom-left'] {
  bottom: 0;
  left: 0;
}

.arm-toast-viewport[data-position='bottom-right'] {
  bottom: 0;
  right: 0;
}

/** TOAST ITEM **/

.arm-toast {
  position: relative;
  background-color: var(--arm-color-white);
  border: 1px solid var(--arm-color-grey-100);
  border-radius: var(--arm-toast-border-radius, var(--arm-button-border-radius));
  box-shadow: var(--arm-toast-box-shadow, 0 4px 50px rgb(0 0 0 / 3%));
  padding: var(--arm-spacing-medium);
}

/** TOAST ITEM CONTENTS **/

.arm-toast-close {
  all: unset;
  position: absolute;
  top: 0;
  right: 0;
  padding: var(--arm-spacing-xsmall);
  display: flex;
  cursor: pointer;
  color: var(--arm-color-grey-400);
}

.arm-toast-title {
  font-size: var(--arm-font-size-large);
  font-weight: var(--arm-font-weight-medium);
  margin-bottom: var(--arm-spacing-xxsmall);
}

.arm-toast-description {
  color: var(--arm-color-grey-700);
}

/** TOAST ITEM ANIMATIONS **/

.arm-toast[data-state='open'][data-position='top-right'],
.arm-toast[data-state='open'][data-position='bottom-right'] {
  animation: slide-in-right var(--arm-toast-slide-speed) cubic-bezier(0.16, 1, 0.3, 1);
}

.arm-toast[data-state='open'][data-position='top-left'],
.arm-toast[data-state='open'][data-position='bottom-left'] {
  animation: slide-in-left var(--arm-toast-slide-speed) cubic-bezier(0.16, 1, 0.3, 1);
}

.arm-toast[data-state='closed'] {
  animation: hide var(--arm-toast-swipe-speed) ease-in;
}

.arm-toast[data-swipe='move'] {
  transform: translateX(var(--radix-toast-swipe-move-x));
}

[dir='rtl'] .arm-toast[data-swipe='move'] {
  transform: translateX(calc(-1 * var(--radix-toast-swipe-move-x)));
}

.arm-toast[data-swipe='cancel'] {
  transform: translateX(0);
  transition: transform var(--arm-toast-hide-speed) ease-out;
}

.arm-toast[data-swipe='end'][data-position='top-right'],
.arm-toast[data-swipe='end'][data-position='bottom-right'] {
  animation: swipe-out-right var(--arm-toast-swipe-speed) ease-out;
}

.arm-toast[data-swipe='end'][data-position='top-left'],
.arm-toast[data-swipe='end'][data-position='bottom-left'] {
  animation: swipe-out-left var(--arm-toast-swipe-speed) ease-out;
}
.arm-range-input-root {
  position: relative;
  display: flex;
  align-items: center;
  user-select: none;
  touch-action: none;
  width: var(--arm-range-input-width);
  height: var(--arm-range-input-thumb-size);
}

.arm-range-input-track {
  background-color: var(--arm-color-grey-100);
  position: relative;
  flex-grow: 1;
  border-radius: 9999px;
  height: var(--arm-range-input-track-height);
}

.arm-range-input-range {
  position: absolute;
  background-color: var(--arm-color-grey-1000);
  border-radius: 9999px;
  height: 100%;
}

.arm-range-input-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--arm-range-input-thumb-size);
  height: var(--arm-range-input-thumb-size);
  background-color: var(--arm-color-white);
  border-radius: calc(var(--arm-range-input-thumb-size) / 2);
  border: 1px solid var(--arm-color-black);
}

.arm-range-input-thumb:focus {
  outline: none;
  box-shadow: 0 0 0 var(--arm-form-border-thickness-highlight) var(--arm-focus-visible-color);
}

.arm-range-input-label {
  display: inline-block;
  margin-bottom: var(--arm-spacing-xxxsmall);
  margin-inline-start: var(--arm-spacing-xxxsmall);
}

/** SIZES **/

.arm-range-input-root[data-size='small'] {
  --arm-range-input-width: var(--arm-range-input-width-small);
  --arm-range-input-thumb-size: var(--arm-range-input-thumb-size-small);
}

.arm-range-input-root[data-size='large'] {
  --arm-range-input-width: var(--arm-range-input-width-large);
  --arm-range-input-thumb-size: var(--arm-range-input-thumb-size-large);
}
/* CONTAINER */

.arm-switch-container {
  display: flex;
  align-items: center;
}

.arm-switch-container[data-disabled='true'] {
  filter: none;
  opacity: 0.6;
}

/* SWITCH */

.arm-switch {
  all: unset;
  width: var(--arm-switch-width);
  height: var(--arm-switch-height, 1.5rem);
  background-color: var(--arm-switch-background-color, var(--arm-color-grey-100));
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}

.arm-switch[data-disabled='true'] {
  cursor: not-allowed;
}

.arm-switch:focus-visible {
  box-shadow: 0 0 0 var(--arm-form-border-thickness-highlight) var(--arm-focus-visible-color);
  outline: none;
}

.arm-switch[data-state='checked'] {
  background-color: var(--arm-switch-background-checked, var(--arm-color-grey-1000));
}

/* NUB */

.arm-switch-nub {
  display: block;
  box-sizing: border-box;
  width: var(--arm-switch-nub-size);
  height: var(--arm-switch-nub-size);
  background-color: var(--arm-switch-nub-color, var(--arm-color-white));
  border: var(--arm-switch-border-width, 1px) var(--arm-switch-border-style, solid)
    var(--arm-switch-nub-border, var(--arm-color-grey-300));
  border-radius: 9999px;
  transition: transform var(--arm-switch-animation-time, 100ms);
  will-change: transform;
}

.arm-switch-nub[data-state='checked'] {
  transform: translateX(calc(var(--arm-switch-width) - var(--arm-switch-nub-size)));
}

[dir='rtl'] .arm-switch-nub[data-state='checked'] {
  transform: translateX(calc(-1 * (var(--arm-switch-width) - var(--arm-switch-nub-size))));
}

/* LABEL */

.arm-switch-label {
  margin-inline-start: var(--arm-switch-label-spacing, var(--arm-spacing-small));
}

.arm-switch-label[data-disabled='true'] {
  cursor: not-allowed;
}

/** SIZES **/

.arm-switch[data-size='small'] {
  --arm-switch-width: var(--arm-switch-width-small);
  --arm-switch-nub-size: var(--arm-switch-nub-size-small);
  --arm-switch-height: var(--arm-switch-height-small);
}

.arm-switch[data-size='large'] {
  --arm-switch-width: var(--arm-switch-width-large);
  --arm-switch-nub-size: var(--arm-switch-nub-size-large);
  --arm-switch-height: var(--arm-switch-height-large);
}
.arm-status[data-error] {
  color: var(--arm-color-negative);
}
/* stylelint-disable selector-class-pattern */

/* INPUT WRAPPER */

.arm-select-wrapper {
  width: var(--arm-input-width);
  max-width: var(--arm-form-input-max-width);
  position: relative;
  top: 0;
  left: 0;
}

.arm-select-label {
  display: inline-block;
  margin-inline-start: var(--arm-spacing-xxxsmall);
  margin-bottom: var(--arm-spacing-xxxsmall);
}

/* Fixes height change when not input is not searchable */
.arm-select__value-container *[inputmode='none'] {
  position: absolute;
}

/** NATIVE SPECIFIC **/

.arm-native-select {
  position: absolute;
  inset: 0;
  display: block;
  appearance: none;
  border: 0;
  outline: 0;
  font-size: inherit;
  line-height: 1.3em;
  width: 100%;
  background-color: transparent;
  padding: var(--arm-spacing-small) var(--arm-spacing-medium);
  padding-inline-end: 3.5rem;
}

.arm-native-select[data-left-overlay='true'] {
  padding-inline-start: 2.5rem;
}

.arm-native-select[data-right-overlay='true'] {
  padding-inline-end: 5.5rem;
}

.arm-native-indicators {
  display: flex;
  height: 100%;
  padding-inline-end: var(--arm-spacing-medium);
}

.arm-native-select-arrow {
  font-size: inherit;
  display: flex;
  align-items: center;
  border-inline-start: 1px solid var(--arm-color-grey-600);
  padding-inline-start: var(--arm-spacing-small);
  margin-inline-start: var(--arm-spacing-small);
}

/* MENU / OPTIONS */

.arm-select__menu {
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  margin-top: calc(var(--arm-spacing-small) - var(--arm-spacing-xsmall));
  border: var(--arm-form-border-thickness) solid var(--arm-color-grey-100);
  border-radius: var(--arm-form-border-radius);
  overflow: hidden;
  background-color: var(--arm-color-white);
  box-shadow: 0 4px 50px rgb(0 0 0 / 3%);
}

.arm-select__menu-list {
  background-color: inherit;
  overflow-y: auto;
  max-height: 250px;
}

.arm-select__option {
  padding: var(--arm-spacing-xsmall);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.arm-select__option--is-focused {
  background-color: var(--arm-color-grey-100);
}

.arm-select__option--is-disabled {
  color: var(--arm-color-grey-200);
}

.arm-select__group:not(:last-child) {
  border-bottom: var(--arm-form-border-thickness) solid var(--arm-color-grey-600);
}

.arm-select__group-heading {
  padding: var(--arm-spacing-xsmall);
  font-weight: bold;
}

.arm-select__no-options-message {
  padding-inline-start: var(--arm-spacing-small);
  margin: calc(var(--arm-spacing-small) - var(--arm-spacing-xsmall)) 0;
}

.arm-select__menu-notice--no-options {
  padding-inline-start: var(--arm-spacing-small);
  margin: calc(var(--arm-spacing-small) - var(--arm-spacing-xsmall)) 0;
}

.arm-select__value-container {
  width: 100%;
  padding: var(--arm-spacing-small) var(--arm-spacing-medium);
}

/* MULTI */

.arm-select-wrapper[data-multi='true'] {
  --arm-form-input-max-width: 31.25rem;

  width: var(--arm-input-width-large);
}

.arm-select__multi-value {
  display: inline-flex;
  align-items: center;
  background-color: var(--arm-color-grey-200);
  padding: var(--arm-spacing-xxxsmall) var(--arm-spacing-xsmall);
  border-radius: var(--arm-spacing-xxxsmall);
  font-size: var(--arm-font-size-xsmall);
}

.arm-select__multi-value__remove {
  display: flex;
  align-items: center;
  margin-inline-start: var(--arm-spacing-xxsmall);
}

.arm-select__value-container--is-multi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--arm-spacing-xxxsmall);
  padding-top: var(--arm-spacing-xxxsmall);
  padding-bottom: var(--arm-spacing-xxxsmall);
  -webkit-box-align: center;
  flex: 1 1 0%;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.arm-select__input-container {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
}

.arm-select__placeholder {
  color: var(--arm-color-grey-600);
}

.arm-select__value-container--is-multi .arm-select__input-container {
  position: static;
  visibility: visible;
  flex: 1 1 auto;
  display: inline-grid;
  grid-template-columns: 0 min-content;
  box-sizing: border-box;
}

.arm-select__value-container--is-multi .arm-select__input-container::after {
  content: attr(data-value) ' ';
  visibility: hidden;
  white-space: pre;
  grid-area: 1 / 2 / auto / auto;
  font: inherit;
  min-width: 2px;
  border: 0;
  margin: 0;
  outline: 0;
  padding: 0;
}

.arm-select__value-container--is-multi .arm-select__placeholder {
  position: absolute;
}

/* INPUT */

.arm-select-status {
  display: flex;
  align-items: center;
}

.arm-select__control {
  display: flex;
  border: var(--arm-form-border-thickness) solid var(--arm-color-grey-600);
  border-radius: var(--arm-form-border-radius);
  background-color: var(--arm-color-white);
  min-height: var(--arm-input-height);
}

.arm-select-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.arm-select-native-wrapper .arm-select-inner {
  border: var(--arm-form-border-thickness) solid var(--arm-color-grey-600);
  border-radius: var(--arm-form-border-radius);
  background-color: var(--arm-color-white);
  width: auto;
  position: relative;
  justify-content: flex-end;
  padding: var(--arm-spacing-small) 0;
  height: 1.5em;
  box-sizing: content-box;
}

.arm-select-native-wrapper .arm-select-inner[data-error-icon='left'] {
  justify-content: space-between;
}

.arm-select-native-wrapper .arm-select-inner[data-error-icon='left'] .arm-native-select {
  left: calc(1.5em + var(--arm-spacing-small));
  width: calc(100% - calc(1.5em + var(--arm-spacing-small)));
}

.arm-select__control--is-focused,
.arm-select-native-wrapper .arm-select-inner:focus-within {
  border-color: var(--arm-focus-visible-color);
  outline: none;
  box-shadow: 0 0 0 var(--arm-form-border-thickness-highlight) var(--arm-focus-visible-color);
}

.arm-select__indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--arm-font-size-xsmall);
  cursor: pointer;
  color: var(--arm-color-grey-1000);
  padding: var(--arm-spacing-small) var(--arm-spacing-medium) var(--arm-spacing-small) 0;
}

.arm-select__indicator {
  display: flex;
}

.arm-select__indicator-separator {
  background-color: var(--arm-color-grey-600);
  margin: 0 var(--arm-spacing-small);
  height: 100%;
  width: 1px;
}

/* DISABLED */

.arm-select--is-disabled .arm-select__control,
.arm-select-native-wrapper .arm-select-inner[data-disabled='true'] {
  border-color: var(--arm-color-grey-400);
  background-color: var(--arm-color-grey-100);
}

/* SIZES */

.arm-select-wrapper[data-size='small'] {
  font-size: var(--arm-font-size-xsmall);
}

.arm-select-wrapper[data-size='small'] .arm-select__value-container {
  padding: var(--arm-spacing-xsmall) var(--arm-spacing-small);
}

.arm-select-wrapper[data-size='small'] .arm-select__indicators {
  padding: var(--arm-spacing-xsmall) var(--arm-spacing-small);
}

.arm-select-wrapper[data-size='small'] .arm-select__option {
  padding: var(--arm-spacing-xxsmall);
}

.arm-select-wrapper[data-size='large'] {
  font-size: var(--arm-font-size-medium);
}

.arm-select-wrapper[data-size='large'] .arm-select__value-container {
  padding: var(--arm-spacing-medium) var(--arm-spacing-large);
}

.arm-select-wrapper[data-size='large'] .arm-select__indicators {
  padding: var(--arm-spacing-medium) var(--arm-spacing-large);
}

.arm-select-wrapper[data-size='large'] .arm-select__option {
  padding: var(--arm-spacing-medium);
}

/* ERROR */

.arm-select-status[data-position='left'] {
  padding-inline-start: var(--arm-spacing-small);
}

.arm-select-inner[data-error-icon='left'] .arm-select__value-container {
  padding-inline-start: var(--arm-spacing-small);
}

.arm-select-inner[data-error-icon='right'] .arm-select__value-container {
  padding-inline-end: var(--arm-spacing-small);
}

.arm-select-wrapper[data-error='true'] .arm-select__control,
.arm-select-native-wrapper[data-error='true'] .arm-select-inner {
  border-color: var(--arm-color-negative);
}

.arm-select-wrapper[data-error='true'] .arm-select__control--is-focused,
.arm-select-native-wrapper[data-error='true'] .arm-select-inner:focus-within {
  border-color: var(--arm-color-negative);
  box-shadow: 0 0 0 var(--arm-form-border-thickness-highlight) var(--arm-color-negative);
}

/** OVERLAYS **/

.arm-select-overlay-left,
.arm-select-overlay-right {
  display: flex;
  align-items: center;
}

.arm-select-overlay-left {
  padding-inline-start: var(--arm-spacing-small);
}

.arm-select-overlay-right {
  padding-inline-end: var(--arm-spacing-small);
}

.arm-select-native-wrapper .arm-select-overlay-left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.arm-spinner-inner {
  animation: spin var(--arm-spinner-speed) linear infinite;
  width: max-content;
  height: max-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arm-spinner-label {
  margin-top: var(--arm-spacing-small);
  font-size: var(--arm-font-size-xsmall);
}
.arm-validation-error-message {
  font-size: var(--arm-font-size-xsmall);
  margin-top: var(--arm-spacing-xxsmall);
  color: var(--arm-color-negative);
}
/* TEXT AREA */

.arm-text-area {
  width: var(--arm-input-width);
  min-height: var(--arm-text-area-height, 8rem);
  padding: 1em;
  background-color: var(--arm-color-white);
  border-radius: 6px;
  font-family: inherit;
  font-size: inherit;
  border: var(--arm-form-border-thickness) solid var(--arm-color-grey-600);
}

.arm-text-area:focus-within {
  border-color: var(--arm-focus-visible-color);
  outline: none;
  box-shadow: 0 0 0 var(--arm-form-border-thickness-highlight) var(--arm-focus-visible-color);
}

.arm-text-area-wrapper[data-disabled='true'] .arm-text-area {
  cursor: not-allowed;
  resize: none;
  border-color: var(--arm-color-grey-300);
  background-color: var(--arm-color-grey-100);
}

/** SIZES **/

.arm-text-area-wrapper[data-size='small'] .arm-text-area {
  min-height: var(--arm-text-area-small-height, 7rem);
  font-size: var(--arm-font-size-xsmall);
}

.arm-text-area-wrapper[data-size='large'] .arm-text-area {
  min-height: var(--arm-text-area-small-height, 9rem);
  font-size: var(--arm-font-size-medium);
}

/** LABEL **/

.arm-text-area-label {
  display: inline-block;
  margin-bottom: var(--arm-spacing-xxxsmall);
  margin-inline-start: var(--arm-spacing-xxxsmall);
}

.arm-text-area-wrapper[data-size='small'] .arm-text-area-label {
  font-size: var(--arm-font-size-xsmall);
}

.arm-text-area-wrapper[data-size='large'] .arm-text-area-label {
  font-size: var(--arm-font-size-medium);
}

/* ERROR */

.arm-text-area-wrapper[data-error] .arm-text-area {
  border-color: var(--arm-color-negative);
}

.arm-text-area-wrapper[data-error] .arm-text-area:focus-within {
  outline-color: var(--arm-color-negative);
}
.arm-checkbox-list {
  display: flex;
  flex-direction: column;
  font-size: var(--arm-font-size-small);
  gap: var(--arm-spacing-small);
}

.arm-checkbox-list-item {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.arm-checkbox-list-label {
  display: block;
  margin-bottom: var(--arm-spacing-small);
}
.arm-character-limit {
  display: flex;
  align-items: center;
  margin: var(--arm-spacing-xsmall) 0;
  min-height: 1.5rem;
}

.arm-character-limit-icon {
  margin-inline-start: var(--arm-spacing-xxxsmall);
  display: flex;
  align-items: center;
}

.arm-character-limit[data-exceeded='true'] .arm-character-limit-text,
.arm-character-limit[data-exceeded='true'] .arm-character-limit-icon {
  color: var(--arm-color-negative);
}
.arm-code-input {
  display: grid;
  grid-auto-flow: column;
  gap: var(--arm-spacing-xxsmall);
  align-items: center;
  justify-content: flex-start;
}

/* LABEL */

.arm-code-input-label {
  display: inline-block;
  margin-bottom: var(--arm-spacing-xxxsmall);
  margin-inline-start: var(--arm-spacing-xxxsmall);
}

/* INPUT */

.arm-code-input-part-input .arm-input-inner {
  width: auto;
  position: relative;
}

.arm-code-input-part-input .arm-input-base-input {
  --arm-input-size: calc(var(--arm-input-height-medium) - var(--arm-spacing-xlarge));

  padding: var(--arm-spacing-small);
  width: calc(var(--arm-input-size) + (var(--arm-code-input-length, 1) - 1) * var(--arm-spacing-medium));
  text-align: center;
  height: var(--arm-input-size);
}

/* SIZES */

.arm-code-input-part-input[data-size='small'] .arm-input-base-input {
  padding: var(--arm-spacing-xxsmall);
}

.arm-code-input-part-input[data-size='large'] .arm-input-base-input {
  padding: var(--arm-spacing-medium);
}
/* stylelint-disable selector-class-pattern */

.react-datepicker__input-container {
  height: 100%;
}

/* override inline library styles */
.react-datepicker-popper .react-datepicker__triangle {
  transform: unset !important;
  left: 50% !important;
  z-index: 1;
}

/** FROM PREV **/

.arm-date-time-input-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
}

.arm-date-time-input-header-button:first-of-type {
  padding-inline-start: var(--arm-spacing-xsmall);
}

.arm-date-time-input-header-button:last-of-type {
  padding-inline-end: var(--arm-spacing-xsmall);
}

.arm-date-time-input-header-icon {
  opacity: 0.5;
}

.arm-date-time-input-header.dropdown {
  justify-content: flex-end;
}

.arm-date-time-dropdown-select[data-size='small'] {
  width: unset;
}

.arm-date-time-dropdown-select[data-size='small'] .arm-select__control {
  margin: var(--arm-spacing-xxxsmall);
  border: none;
}

.arm-date-time-dropdown-select[data-size='small'] .arm-select__indicator-separator {
  display: none;
}

.arm-left-align-date {
  padding: var(--arm-spacing-small);
}

.arm-left-align-button {
  padding: var(--arm-spacing-small);
}

.react-datepicker {
  border: 1px solid var(--arm-color-grey-100);
  border-radius: var(--arm-spacing-xxxsmall);
  font-weight: normal;
  box-shadow: 0 4px 50px rgb(0 0 0 / 3%);
}

.react-datepicker__day--selected,
.react-datepicker__day--in-selecting-range,
.react-datepicker__day--in-range {
  background-color: var(--arm-color-grey-900) !important;
  color: var(--arm-color-white) !important;
}

.arm-date-time-input-day-contents {
  border: 2px solid transparent;
  border-radius: var(--arm-spacing-xxxsmall);
  width: var(--arm-spacing-large);
  line-height: var(--arm-spacing-large);
  margin: var(--arm-spacing-xxxsmall);
}

.react-datepicker__day--today .arm-date-time-input-day-contents,
.react-datepicker__month-text--today .arm-date-time-input-day-contents,
.react-datepicker__quarter-text--today .arm-date-time-input-day-contents,
.react-datepicker__year-text--today .arm-date-time-input-day-contents {
  border-color: var(--arm-color-grey-1000);
}

.react-datepicker__day--selected.react-datepicker__day--today .arm-date-time-input-day-contents,
.react-datepicker__day--in-selecting-range.react-datepicker__day--today .arm-date-time-input-day-contents,
.react-datepicker__day--in-range.react-datepicker__day--today .arm-date-time-input-day-contents {
  border-color: var(--arm-color-white);
}

.react-datepicker__day--today,
.react-datepicker__month-text--today,
.react-datepicker__quarter-text--today,
.react-datepicker__year-text--today {
  font-weight: inherit;
}

.react-datepicker__header {
  background-color: transparent;
  border: none;
  padding-inline-start: 0.4rem;
  padding-inline-end: 0.4rem;
}

.react-datepicker__day--outside-month {
  opacity: 0.25;
}

.react-datepicker__day-name,
.react-datepicker__day,
.react-datepicker__time-name {
  padding: 0;
  width: unset;
  height: unset;
  line-height: inherit;
}

.react-datepicker__day:hover,
.react-datepicker__month-text:hover,
.react-datepicker__quarter-text:hover,
.react-datepicker__year-text:hover {
  background-color: var(--arm-color-grey-6);
}

.react-datepicker__day--keyboard-selected,
.react-datepicker__month-text--keyboard-selected,
.react-datepicker__quarter-text--keyboard-selected,
.react-datepicker__year-text--keyboard-selected {
  background-color: transparent;
}

/* override internal library styles */
.react-datepicker__day:empty {
  background-color: transparent !important;
  padding: 10.65px;
  width: var(--arm-spacing-large);
  line-height: var(--arm-spacing-large);
  margin: 0;
}

.react-datepicker__day-name {
  border: 2px solid transparent;
  border-radius: var(--arm-spacing-xxxsmall);
  width: var(--arm-spacing-large);
  line-height: var(--arm-spacing-large);
  padding: var(--arm-spacing-xxxsmall);
  font-weight: bold;
  opacity: 0.5;
}

/* TRIANGLE */

.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::before {
  border-top-color: var(--arm-color-grey-100);
}

.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::before {
  border-bottom-color: var(--arm-color-grey-100);
}

.react-datepicker-popper[data-placement^='top'] .react-datepicker__triangle::after {
  border-top-color: var(--arm-color-white);
}

.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::after {
  border-bottom-color: var(--arm-color-white);
}

/** DATE AND TIME **/

.arm-date-and-time-inputs {
  display: flex;
}

.arm-date-and-time-input.arm-time-input {
  --arm-input-width: 150px;

  margin-inline-start: var(--arm-spacing-medium);
}

.arm-date-time-overlay-button {
  all: unset;
  display: flex;
  align-items: center;
}
/** CONTENT */

.arm-tooltip-content {
  border-radius: 4px;
  padding: var(--arm-spacing-xsmall) var(--arm-spacing-small);
  color: var(--arm-tooltip-fg-color);
  background-color: var(--arm-tooltip-bg-color);
  border: 1px solid var(--arm-color-grey-500);
  box-shadow: 0 4px 50px rgb(0 0 0 / 3%);
  user-select: none;
  animation-duration: var(--arm-tooltip-animation-duration);
  max-width: var(--arm-tooltip-max-width);
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.arm-tooltip-content[data-state='delayed-open'][data-side='top'] {
  animation-name: arm-slide-down-and-fade;
}

.arm-tooltip-content[data-state='delayed-open'][data-side='right'] {
  animation-name: arm-slide-left-and-fade;
}

.arm-tooltip-content[data-state='delayed-open'][data-side='bottom'] {
  animation-name: arm-slide-up-and-fade;
}

.arm-tooltip-content[data-state='delayed-open'][data-side='left'] {
  animation-name: arm-slide-right-and-fade;
}

.arm-tooltip-arrow {
  fill: var(--arm-tooltip-bg-color);
}
.arm-button {
  cursor: pointer;
  display: inline-flex;
  padding: var(--arm-spacing-small) var(--arm-spacing-xlarge);
  border: var(--arm-button-outline-stroke-thickness) solid transparent;
  border-radius: var(--arm-button-border-radius);
  align-items: center;
  font-size: var(--arm-font-size-small);
  background-color: var(--arm-button-primary-bg-color);
  color: var(--arm-button-primary-fg-color);
}

/* STATUSES */

.arm-button:active {
  filter: brightness(90%);
}

.arm-button:disabled {
  filter: none;
  opacity: 0.6;
}

.arm-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 var(--arm-form-border-thickness-highlight) var(--arm-focus-visible-color);
}

.arm-button[data-status='positive'] {
  background-color: var(--arm-color-positive);
}

.arm-button[data-status='negative'] {
  background-color: var(--arm-color-negative);
}

.arm-button[data-status='warning'] {
  background-color: var(--arm-color-warning);
}

.arm-button[data-status='info'] {
  background-color: var(--arm-color-info);
}

.arm-button[data-status='positive'][data-style='outline'] {
  color: var(--arm-color-positive);
  border-color: var(--arm-color-positive);
}

.arm-button[data-status='negative'][data-style='outline'] {
  color: var(--arm-color-negative);
  border-color: var(--arm-color-negative);
}

.arm-button[data-status='warning'][data-style='outline'] {
  color: var(--arm-color-warning);
  border-color: var(--arm-color-warning);
}

.arm-button[data-status='info'][data-style='outline'] {
  color: var(--arm-color-info);
  border-color: var(--arm-color-info);
}

.arm-button[data-status='positive'][data-style='blank'] {
  color: var(--arm-color-positive);
}

.arm-button[data-status='negative'][data-style='blank'] {
  color: var(--arm-color-negative);
}

.arm-button[data-status='warning'][data-style='blank'] {
  color: var(--arm-color-warning);
}

.arm-button[data-status='info'][data-style='blank'] {
  color: var(--arm-color-info);
}

.arm-button[data-status='positive'][data-style='secondary'] {
  background-color: var(--arm-color-positive-secondary);
}

.arm-button[data-status='negative'][data-style='secondary'] {
  background-color: var(--arm-color-negative-secondary);
}

.arm-button[data-status='warning'][data-style='secondary'] {
  background-color: var(--arm-color-warning-secondary);
}

.arm-button[data-status='info'][data-style='secondary'] {
  background-color: var(--arm-color-info-secondary);
}

/* STYLES */

.arm-button[data-style='secondary'] {
  background-color: var(--arm-button-secondary-bg-color);
  color: var(--arm-button-secondary-fg-color);
}

.arm-button[data-style='outline'] {
  background-color: var(--arm-button-outline-bg-color, transparent);
  border: var(--arm-button-outline-stroke-thickness) var(--arm-button-outline-stroke-color) solid;
  color: var(--arm-button-outline-fg-color, var(--arm-button-outline-stroke-color));
}

.arm-button[data-style='blank'] {
  background-color: transparent;
  border: none;
  color: var(--arm-button-outline-stroke-color);
}

.arm-button[data-size='small'] {
  padding: var(--arm-spacing-xxsmall) var(--arm-spacing-medium);
  font-size: var(--arm-font-size-xsmall);
}

.arm-button[data-size='large'] {
  padding: var(--arm-spacing-medium) var(--arm-spacing-xxlarge);
  font-size: var(--arm-font-size-medium);
}

/* ICONS */

.arm-button-left-icon {
  margin-inline-end: var(--arm-spacing-xsmall);
}

.arm-button-right-icon {
  margin-inline-start: var(--arm-spacing-xsmall);
}
/* CONTAINER */

.arm-checkbox-container {
  display: flex;
  align-items: center;
}

.arm-checkbox-container[data-disabled='true'] {
  opacity: 0.6;
}

/* CHECKBOX */

.arm-checkbox {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  height: var(--arm-form-square-size);
  width: var(--arm-form-square-size);
  border: var(--arm-form-border-thickness) solid var(--arm-form-border-color);
  border-radius: var(--arm-form-border-radius);
  cursor: pointer;
}

.arm-checkbox:disabled {
  cursor: not-allowed;
}

.arm-checkbox:focus-visible {
  outline: none;
  box-shadow: 0 0 0 var(--arm-form-border-thickness-highlight) var(--arm-focus-visible-color);
}

.arm-checkbox[data-state='unchecked'] {
  background-color: var(--arm-color-white);
}

.arm-checkbox[data-state='checked'] {
  background-color: var(--arm-color-grey-1000);
}

.arm-checkbox[data-state='indeterminate'] {
  background-color: var(--arm-grey-4);
}

.arm-checkbox:hover:not(:disabled) {
  filter: brightness(85%);
}

/* INDICATOR */

.arm-checkbox-indicator[data-state='checked'] {
  color: var(--arm-color-white);
}

/* LABEL */

.arm-checkbox-label {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline-start: var(--arm-spacing-xsmall);
  cursor: pointer;
}

.arm-checkbox-label[data-disabled='true'] {
  cursor: not-allowed;
}

/** SIZES **/

.arm-checkbox-container[data-size='small'] {
  font-size: var(--arm-font-size-xsmall);
}

.arm-checkbox-container[data-size='small'] .arm-checkbox {
  width: var(--arm-spacing-medium);
  height: var(--arm-spacing-medium);
}

.arm-checkbox-container[data-size='large'] {
  font-size: var(--arm-font-size-medium);
}

.arm-checkbox-container[data-size='large'] .arm-checkbox {
  width: var(--arm-spacing-xxlarge);
  height: var(--arm-spacing-xxlarge);
}
.arm-dialog-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--arm-dialog-overlay-color);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: var(--arm-dialog-overlay-animation);
  z-index: var(--arm-dialog-z-index);
}

.arm-dialog {
  position: relative;
  background-color: var(--arm-color-white);
  padding: var(--arm-spacing-medium);
  padding-bottom: 0;
  border-radius: var(--arm-dialog-border-radius);
  box-shadow: var(--arm-dialog-box-shadow);
  width: var(--arm-dialog-width);
  max-width: var(--arm-dialog-max-width);
  max-height: var(--arm-dialog-max-height);
  animation: var(--arm-dialog-content-animation);
}

.arm-dialog-close {
  display: flex;
  all: unset;
  position: absolute;
  top: 0;
  right: 0;
  padding: var(--arm-spacing-medium);
  cursor: pointer;
  border-radius: var(--arm-button-border-radius);
}

.arm-dialog-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 var(--arm-form-border-thickness-highlight) var(--arm-focus-visible-color);
}

.arm-dialog-title {
  margin: 0;
  font-weight: var(--arm-font-weight-bold);
  padding-bottom: var(--arm-spacing-medium);
}

.arm-dialog-description {
  margin: 0;
  padding-bottom: var(--arm-spacing-medium);
}

.arm-dialog-content {
  padding-bottom: var(--arm-spacing-medium);
}
.arm-dropdown-menu-content {
  min-width: var(--arm-dropdown-menu-min-width, 220px);
  border-radius: 6px;
  padding: var(--arm-spacing-xxsmall) 0;
  border: 1px solid var(--arm-dropdown-menu-border-color);
  background-color: var(--arm-dropdown-menu-bg-color);
  box-shadow: 0 4px 50px 0 rgb(0 0 0 / 3%);
  animation-duration: var(--arm-dropdown-menu-animation-duration, 400ms);
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.arm-dropdown-menu-arrow {
  position: absolute;
  background-color: var(--arm-dropdown-menu-bg-color);
  border-top: 1px solid var(--arm-dropdown-menu-border-color);
  border-inline-start: 1px solid var(--arm-dropdown-menu-border-color);
  width: var(--arm-dropdown-menu-arrow-size);
  height: var(--arm-dropdown-menu-arrow-size);
}

.arm-dropdown-menu-content[data-side='top'] {
  animation-name: var(--arm-dropdown-menu-animation-top, arm-slide-down-and-fade);
  margin-bottom: var(--arm-spacing-xxsmall);
}

.arm-dropdown-menu-content[data-side='top'][data-has-arrow='true'] {
  margin-bottom: var(--arm-spacing-medium);
}

.arm-dropdown-menu-content[data-side='top'][data-has-arrow='true'] .arm-dropdown-menu-arrow {
  bottom: calc(var(--arm-dropdown-menu-arrow-size) / 3 * 2 * -1);
  left: calc(50% - calc(var(--arm-dropdown-menu-arrow-size) / 2));
  transform: rotate(225deg);
}

.arm-dropdown-menu-content[data-side='right'] {
  animation-name: var(--arm-dropdown-menu-animation-right, arm-slide-left-and-fade);
  margin-inline-start: var(--arm-spacing-xxsmall);
}

.arm-dropdown-menu-content[data-side='right'][data-has-arrow='true'] {
  margin-inline-start: var(--arm-spacing-medium);
}

.arm-dropdown-menu-content[data-side='right'][data-has-arrow='true'] .arm-dropdown-menu-arrow {
  left: calc(var(--arm-dropdown-menu-arrow-size) / 3 * 2 * -1);
  top: calc(50% - calc(var(--arm-dropdown-menu-arrow-size) / 2));
  transform: rotate(-45deg);
}

.arm-dropdown-menu-content[data-side='bottom'] {
  animation-name: var(--arm-dropdown-menu-animation-bottom, arm-slide-up-and-fade);
  margin-top: var(--arm-spacing-xxsmall);
}

.arm-dropdown-menu-content[data-side='bottom'][data-has-arrow='true'] .arm-dropdown-menu-arrow {
  top: calc(var(--arm-dropdown-menu-arrow-size) / 3 * 2 * -1);
  left: calc(50% - calc(var(--arm-dropdown-menu-arrow-size) / 2));
  transform: rotate(45deg);
}

.arm-dropdown-menu-content[data-side='bottom'][data-has-arrow='true'] {
  margin-top: var(--arm-spacing-medium);
}

.arm-dropdown-menu-content[data-side='left'] {
  animation-name: var(--arm-dropdown-menu-animation-left, arm-slide-right-and-fade);
  margin-inline-end: var(--arm-spacing-xxsmall);
}

.arm-dropdown-menu-content[data-side='left'][data-has-arrow='true'] {
  margin-inline-end: var(--arm-spacing-medium);
}

.arm-dropdown-menu-content[data-side='left'][data-has-arrow='true'] .arm-dropdown-menu-arrow {
  right: calc(var(--arm-dropdown-menu-arrow-size) / 3 * 2 * -1);
  top: calc(50% - calc(var(--arm-dropdown-menu-arrow-size) / 2));
  transform: rotate(135deg);
}

.arm-dropdown-menu-item {
  padding: var(--arm-spacing-small) var(--arm-spacing-medium);
  font-size: var(--arm-font-size-xsmall);
  user-select: none;
  outline: none;
  transition: var(--arm-dropdown-menu-item-highlight-animation, background-color 0.2s);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: all;
}

.arm-dropdown-menu-item.arm-dropdown-menu-item-clickable {
  cursor: pointer;
}

.arm-dropdown-menu-item-label {
  flex: 1;
}

.arm-dropdown-menu-item-right-overlay {
  padding-inline-start: var(--arm-spacing-small);
  line-height: 0;
}

.arm-dropdown-menu-item-left-overlay {
  padding-inline-end: var(--arm-spacing-small);
  line-height: 0;
}

.arm-dropdown-menu-item[data-disabled='true'] {
  color: var(--arm-dropdown-menu-item-disabled-color, var(--arm-color-grey-200));
  pointer-events: none;
  cursor: initial;
}

.arm-dropdown-menu-item.arm-dropdown-menu-item-clickable:not([data-disabled='true'])[data-highlighted] {
  background-color: var(--arm-dropdown-menu-item-highlight-bg-color, var(--arm-color-grey-100));
}

.arm-dropdown-menu-separator {
  height: 1px;
  margin: var(--arm-spacing-xxsmall) 0;
  background-color: var(--arm-dropdown-menu-separator-color, var(--arm-color-grey-200));
}
.arm-input-base .arm-input-inner {
  width: var(--arm-input-width);
  min-height: var(--arm-input-height);
  display: flex;
  align-items: center;
  background-color: var(--arm-color-white);
  border: var(--arm-form-border-thickness) solid var(--arm-color-grey-600);
  border-radius: var(--arm-form-border-radius);
  overflow: hidden;
}

.arm-input-base-input {
  width: 100%;
  flex: 1;
  padding: var(--arm-spacing-small) var(--arm-spacing-medium);
  border: none;
  background-color: transparent;
  outline: none;
  font-size: inherit;
}

/** DISABLED **/

.arm-input-base[data-disabled='true'] .arm-input-inner {
  border-color: var(--arm-color-grey-300);
  background-color: var(--arm-color-grey-100);
}

.arm-input-base-input:disabled {
  cursor: not-allowed;
}

/** SIZES **/

.arm-input-base[data-size='small'] {
  font-size: var(--arm-font-size-xsmall);
}

.arm-input-base[data-size='large'] {
  font-size: var(--arm-font-size-medium);
}

.arm-input-base[data-size='small'] .arm-input-base-input {
  padding-top: var(--arm-spacing-xxsmall);
  padding-bottom: var(--arm-spacing-xxsmall);
}

.arm-input-base[data-size='large'] .arm-input-base-input {
  padding-top: var(--arm-spacing-medium);
  padding-bottom: var(--arm-spacing-medium);
}

/** LABEL **/

.arm-input-base-label {
  display: inline-block;
  margin-bottom: var(--arm-spacing-xxxsmall);
  margin-inline-start: var(--arm-spacing-xxxsmall);
}

/** OVERLAYS **/

.arm-input-base[data-left-overlay] .arm-input-base-input {
  padding-inline-start: var(--arm-spacing-small);
}

.arm-input-base[data-right-overlay] .arm-input-base-input {
  padding-inline-end: var(--arm-spacing-small);
}

/** FOCUS **/

.arm-input-base .arm-input-inner:focus-within {
  border-color: var(--arm-focus-visible-color);
  box-shadow: 0 0 0 var(--arm-form-border-thickness-highlight) var(--arm-focus-visible-color);
}

/** STATUS **/

.arm-input-base-status {
  display: flex;
  align-items: center;
}

.arm-input-base-status[data-position='right'] {
  padding-inline-end: var(--arm-spacing-small);
}

.arm-input-base-status[data-position='left'] {
  padding-inline-start: var(--arm-spacing-small);
}

/** ERROR **/

.arm-input-base[data-error] .arm-input-inner {
  border-color: var(--arm-color-negative);
}

.arm-input-base[data-error] .arm-input-inner:focus-within {
  box-shadow: 0 0 0 var(--arm-form-border-thickness-highlight) var(--arm-color-negative);
}
.arm-progress-bar {
  position: relative;
  overflow: hidden;
  background: var(--arm-progress-bar-bg-color);
  border-radius: 99999px;
  height: var(--arm-progress-bar-height);

  /* Fix overflow clipping in Safari - https://gist.github.com/domske/b66047671c780a238b51c51ffde8d3a0 */
  transform: translateZ(0);
}

.arm-progress-bar-indicator {
  background-color: var(--arm-progress-bar-fg-color);
  width: 100%;
  height: 100%;
  transition: transform var(--arm-progress-bar-animation-duration) cubic-bezier(0.65, 0, 0.35, 1);
  transform: translateX(calc(-1 * calc(100% - var(--arm-progress-bar-value))));
}

[dir='rtl'] .arm-progress-bar-indicator {
  transform: translateX(calc(100% - var(--arm-progress-bar-value)));
}
.arm-expandable {
  width: initial;
  overflow: hidden;
  height: var(--arm-expandable-height);
}

.arm-expandable[data-animate='true'] {
  transition-duration: var(--arm-expandable-transition-duration);
  transition-property: height;
}

.arm-expandable[data-is-open='false'] {
  height: 0;
}
