:root { --ifx-font-family: "Source Sans 3"; font-family: var(--ifx-font-family, sans-serif); } :host { display: inline-flex; } .radioButton__container { box-sizing: border-box; display: inline-flex; flex-direction: row; align-items: center; padding: 0px; gap: 8px; cursor: pointer; font-family: var(--ifx-font-family); } .radioButton__container.m .radioButton__wrapper { width: 24px; height: 24px; } .radioButton__container .radioButton__wrapper { width: 20px; height: 20px; position: relative; display: block; border-radius: 50%; background-color: #FFFFFF; border: 1px solid #575352; } .radioButton__container .radioButton__wrapper:focus { outline: none; } .radioButton__container .radioButton__wrapper:focus::before { content: ""; position: absolute; width: calc(100% + 4px); height: calc(100% + 4px); top: 50%; left: 50%; transform: translate(-50%, -50%); border: 2px solid #0A8276; border-radius: 50%; } .radioButton__container .radioButton__wrapper .radioButton__wrapper-mark { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #0A8276; border-radius: 50%; display: flex; justify-content: center; align-items: center; border-color: transparent; } .radioButton__container .radioButton__wrapper:hover { background-color: #EEEDED; } .radioButton__container .radioButton__wrapper.disabled { background-color: #BFBBBB; border-color: #BFBBBB; } .radioButton__container .radioButton__wrapper.disabled.error:hover, .radioButton__container .radioButton__wrapper.disabled.error:focus-visible { border-color: #CD002F; } .radioButton__container .radioButton__wrapper.checked { border-color: #0A8276; } .radioButton__container .radioButton__wrapper.checked::after { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; background-color: #0A8276; border-radius: 50%; } .radioButton__container .radioButton__wrapper.checked.disabled::after { background-color: #BFBBBB; } .radioButton__container .radioButton__wrapper.checked:hover { border-color: #08665C; } .radioButton__container .radioButton__wrapper.checked:hover .radioButton__wrapper-mark { background-color: #08665C; } .radioButton__container .radioButton__wrapper.checked.disabled { background-color: #FFFFFF; border-color: #BFBBBB; } .radioButton__container .radioButton__wrapper.checked.disabled.disabled::after { background-color: #BFBBBB; } .radioButton__container .radioButton__wrapper.checked.disabled .radioButton__wrapper-mark { background-color: #BFBBBB; } .radioButton__container .radioButton__wrapper.error:not(.disabled) { border-color: #CD002F; } .radioButton__container .radioButton__wrapper.error:not(.disabled):hover, .radioButton__container .radioButton__wrapper.error:not(.disabled):focus-visible { border-color: #CD002F; } .radioButton__container .label { display: flex; align-items: center; height: 20px; font-style: normal; font-weight: 400; font-size: 0.875rem; line-height: 1.25rem; color: #1D1D1D; flex: none; order: 1; flex-grow: 0; } .radioButton__container .label.label-m { height: 24px; font-size: 1rem; line-height: 1.5rem; } .radioButton__container .label.disabled { color: #BFBBBB; } .radioButton__container .label:hover { cursor: pointer; }