/* Base style */
.ibk-radio { padding: 5px 0; }

.ibk-radio * { box-sizing: border-box; }

.ibk-radio__hidden { display: none; }

.ibk-radio__label {
  display: inline-flex;
  align-items: center;
  color: var(--grayText);
  cursor: pointer;
}

.ibk-radio__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  min-width: 18px;
  border: 2px solid var(--gray4);
  border-radius: 50%;
  margin-right: 7px;
  transition: var(--fast);
}

.ibk-radio__dot {
  display: block;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: var(--primaryGreen1);
  transform: scale(0);
  transition: var(--fast);
}

.ibk-radio__label:active { transform: translateY(1px); }

.ibk-radio__text {
  font-family: var(--fontGeometria);
  font-size: 14px;
  font-weight: 500;
}

.ibk-radio__text a {
  text-decoration: none;
  color: var(--primaryGreen1);
}

.ibk-radio__error-message {
  color: var(--extendedWatermelon1);
  font-size: 12px;
  font-family: var(--fontMontserrat);
  font-weight: 500;
  min-height: 15px;
  margin-top: 7px;
  display: block;
}

/* Selected */
.ibk-radio--selected .ibk-radio__icon { border-color: var(--primaryGreen1); }
.ibk-radio--selected .ibk-radio__dot { transform: scale(1); }

/* Disabled */
.ibk-radio--disabled { pointer-events: none; }
.ibk-radio--disabled .ibk-radio__icon {
  background-color: var(--gray4);
  border-color: var(--gray2);
}

/* Error */
.ibk-radio--error .ibk-radio__icon { border-color: var(--extendedWatermelon1); }

/* Icon right */
.ibk-radio--right .ibk-radio__label { justify-content: space-between; }
.ibk-radio--right .ibk-radio__icon {
  margin-right: 0;
  margin-left: 7px;
  order: 2;
}

/* Outline */
.ibk-radio--outline .ibk-radio__label {
  border: 1px solid var(--gray4);
  border-radius: 4px;
  padding: 10px;
}

/* Full */
.ibk-radio--full .ibk-radio__label { width: 100%; }

/* Focus */
.ibk-radio--focus .ibk-radio__icon { border-color: var(--primaryGreen1); }