:host {
  --ion-color-base: var(--ion-color-primary, #3880ff);
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  user-select: none; }

:host(.radio-disabled) {
  pointer-events: none; }

.radio-icon {
  display: block;
  position: relative;
  width: var(--width);
  height: var(--height);
  contain: layout size style; }

input {
  left: 0;
  top: 0;
  margin: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  outline: none; }

.radio-icon,
.radio-inner {
  box-sizing: border-box; }

:host {
  --width: 16px;
  --height: 21px; }

.item-radio.item-ios ion-label {
  margin-left: 0; }

:host(.radio-checked) .radio-inner {
  left: 7px;
  top: 4px;
  position: absolute;
  width: 5px;
  height: 12px;
  transform: rotate(45deg);
  border-width: 2px;
  border-top-width: 0;
  border-left-width: 0;
  border-style: solid;
  border-color: var(--ion-color-base); }

:host(.radio-disabled) {
  opacity: 0.3; }

:host(.radio-key) .radio-icon::after {
  border-radius: 50%;
  left: -9px;
  top: -8px;
  display: block;
  position: absolute;
  width: 36px;
  height: 36px;
  background: var(--ion-color-primary-tint, #4c8dff);
  content: "";
  opacity: .2; }

:host(.in-item) {
  margin: 8px 11px 8px 8px;
  display: block;
  position: static; }

:host(.in-item[slot="start"]) {
  margin: 8px 21px 8px 3px; }
