@layer Rixun {
  .rx-gb {
    cursor: pointer;
  }

  /* ---- Modern Design CSS below ---- */

  .rx-gb-container {
    display: block;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.4rem;
    cursor: pointer;
    font-size: 22px;
  }

  /* Hide default radio button */
  .rx-gb-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }

  /* Custom radio button */
  .rx-custom-gb {
    position: absolute;
    /* top: 0; */
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
  }

  .rx-gb-container:hover input ~ .rx-custom-gb {
    background-color: #ccc;
  }
  .rx-gb-container input:checked ~ .rx-custom-gb {
    background-color: #2196f3;
  }

  /* White dot for custom radio button when checked */
  .rx-custom-gb:after {
    content: '';
    position: absolute;
    display: none;
  }
  /* Show the custom radio button white dot when checked */
  .rx-gb-container input:checked ~ .rx-custom-gb:after {
    display: block;
  }
  /* White dot styling */
  .rx-gb-container .rx-custom-gb:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
  }

  .rx-gb-container input:focus-visible + .rx-custom-gb {
    border: 1px solid #000;
  }
}
