/* Radioset component styles and tokens */
@import (optional) url('../variables/radioset.variant.less');

.app-radioset {
  color: var(--wm-radiobutton-color);
}

.app-radioset-text {
  color: var(--wm-radiobutton-label-color);
}

.app-radioset-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.app-radioset-group-title {
  background-color: var(--wm-radiobutton-background-color);
  font-size: var(--wm-radiobutton-label-font-size);
  line-height: var(--wm-radiobutton-label-line-height);
  padding-left: var(--wm-radiobutton-gap);
  padding-right: var(--wm-radiobutton-gap);
  font-family: var(--wm-radiobutton-label-font-family);
}

.app-radioset-item {
  display: flex;
  flex-direction: row;
  align-content: center;
  margin-right: var(--wm-radiobutton-set-item-column-gap);
  margin-top: var(--wm-radiobutton-set-item-row-gap);
}

.app-radioset-selected-item {
  /* Selected item styles - handled by variant */
}

.app-radioset-label {
  align-self: center;
  font-size: var(--wm-radiobutton-label-font-size);
  font-family: var(--wm-radiobutton-label-font-family);
  font-weight: var(--wm-radiobutton-label-font-weight);
  line-height: var(--wm-radiobutton-label-line-height);
  letter-spacing: var(--wm-radiobutton-label-letter-spacing);
  color: var(--wm-radiobutton-label-color);
  margin-left: var(--wm-radiobutton-gap);
}

.app-radioset-skeleton {
  width: 100%;
  height: 16px;
  border-radius: 4px;
}

.app-radioset-checked-icon {
  width: var(--wm-radiobutton-size);
  height: var(--wm-radiobutton-size);
  border-style: solid;
  border-radius: 50%;
  background-color: var(--wm-radiobutton-background-color);
  border-color: var(--wm-radiobutton-border-color);
  color: var(--wm-radiobutton-label-color);
  font-size: var(--wm-radiobutton-icon-size);
}

.app-radioset-checked-icon.icon {
  padding: 0;
}

.app-radioset-unchecked-icon {
  width: var(--wm-radiobutton-size);
  height: var(--wm-radiobutton-size);
  border-style: solid;
  border-radius: 50%;
  border-color: var(--wm-radiobutton-border-color);
}

.app-radioset-unchecked-icon.root {
  background-color: var(--wm-radiobutton-background-color);
  border-color: var(--wm-radiobutton-border-color);
  border-radius: 50%;
  width: var(--wm-radiobutton-size);
  height: var(--wm-radiobutton-size);
}

.app-radioset-selected-label {
  /* Selected label styles - handled by variant */
}

.app-radioset-disabled-root {
  color: var(--wm-radiobutton-color);
  opacity: 0.8;
}
