text: import { registerStyles, css } from '@vaadin/vaadin-themable-mixin/register-styles.js';
  import '@vaadin/vaadin-material-styles/color.js';
  import '@vaadin/vaadin-material-styles/mixins/required-field.js';
  
  registerStyles(
    'vaadin-radio-group',
    css`
      :host {
        display: inline-flex;
        position: relative;
        padding-top: 8px;
        margin-bottom: 8px;
        outline: none;
        color: var(--material-body-text-color);
        font-size: var(--material-body-font-size);
        line-height: 24px;
        font-family: var(--material-font-family);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }
  
      :host::before {
        line-height: 32px;
      }
  
      :host([has-label]) {
        padding-top: 24px;
      }
  
      [part='label']:empty {
        display: none;
      }
  
      [part='label']:empty::before {
        content: '\\00a0';
        position: absolute;
      }
  
      :host([theme~='vertical']) [part='group-field'] {
        display: flex;
        flex-direction: column;
      }
  
      :host([disabled]) [part='label'] {
        color: var(--material-disabled-text-color);
        -webkit-text-fill-color: var(--material-disabled-text-color);
      }
  
      :host([focused]:not([invalid])) [part='label'] {
        color: var(--material-primary-text-color);
      }
  
      /* According to material theme guidelines, helper text should be hidden when error message is set and input is invalid */
      :host([has-helper][invalid][has-error-message]) [part='helper-text'] {
        display: none;
      }
  
      :host([has-helper]) [part='helper-text']::before {
        content: '';
        display: block;
        height: 6px;
      }
  
      [part='helper-text'],
      [part='helper-text'] ::slotted(*) {
        font-size: 0.75rem;
        line-height: 1;
        color: var(--material-secondary-text-color);
      }
    `,
    { include: ['material-required-field'], moduleId: 'material-radio-group' }
  );
  