﻿/* 客製 radio */
  
  /* 隱藏默認的 radio 按鈕 */
  input[type="radio"] {
    display: none;
  }
  
  /* 自定義 radio 按鈕的容器 */
  .custom-radio {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-right: 10px;
  }
  
  /* 自定義的 radio 按鈕樣式 */
  .custom-radio-mark {
    position: relative;
    display: inline-block;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.2s;
    border: 1px solid #DBDADE;
  }
  
  /* 當 radio 按鈕被選中時的樣式 */
  input[type="radio"]:checked + .custom-radio-mark {
    background-color: orange;
    border: 0px;
  }
  
  /* 在自定義 radio 按鈕中顯示內部的圓點 */
  .custom-radio-mark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s;
  }
  
  /* 當 radio 按鈕被選中時顯示內部的圓點 */
  input[type="radio"]:checked + .custom-radio-mark::after {
    opacity: 1;
  }