.h7,h7{font-size:.7rem}

.div0 {margin:10px auto;border:1px solid #ff7846;border-radius:5px;background-color:#f6f6f6;box-shadow:#ff7846 0px 0px 4px;}
.div0 form {margin:0px;font-size:17}
.input0{width:93%;height:36px;margin-left:-25px;padding:7px;border:none;font-size:17px;border-radius:5px;box-shadow:#CCC 0px 0px 2px;}
.float-none{float:none;}



/* 选项容器 */
.radio-group {
    display: flex;
    justify-content: left;
}

/* 隐藏原生单选框 */
.radio-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* 自定义单选框样式 */
.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #a1887f;
    font-size: 18px;
    margin-right: 15px;
}

/* 未选中状态图标 */
.radio-label:before {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid #a1887f;
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s ease;
}

/* 选中状态样式 */
.radio-input:checked + .radio-label:before {
    background: #ff7846;
    border-color: #ff7846;
    box-shadow: inset 0 0 0 3px white;
}

/* 悬停效果 */
.radio-label:hover:before {
    border-color: #ff7846;
}

/* 文字选中状态 */
.radio-input:checked + .radio-label {
    color: #ff7846;
    font-weight: 500;
}

/* 阴阳符号装饰 */
.radio-label::after {
    margin-left: 6px;
    font-size: 16px;
}

.bz-info {
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.bz-info th {
    background-color: #f8f9fa;
    width: 30%;
    font-weight: 600;
}
.bz-info td {
    background-color: #fff;
}
.bz-info tr:last-child th, 
.bz-info tr:last-child td {
    border-bottom: none;
}

.bazi-table {
  width: 100%;
  table-layout: fixed;   /* 固定布局，列宽由第一行决定 */
}
.col-fixed {
  width: 20%;          /* 第一列固定宽度 */
}
.col-equal {
  width: auto;           /* 不设宽度，浏览器将剩余空间平分给这些列 */
}

.bazi-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.6;
}
.bazi-title {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}
.bazi-field {
    font-size: 14px;
    font-weight: 400;
    color: #000000;
}
.bazi-ganzhi {
    font-size: 18px;
    font-weight: 600;
}
.bazi-normal {
    font-size: 14px;
    font-weight: 400;
    color: #333333;
}
.bazi-canggan {
    font-size: 14px;
    font-weight: 400;
    color: #8a6c02;
}
.bazi-shensha {
    font-size: 13px;
    font-weight: 300;
    color: #8a6c02;
}

.c-jin  {color: #D4A84B;}
.c-mu   {color: #4CAF50;}
.c-shui {color: #2196F3;}
.c-huo  {color: #F44336;}
.c-tu   {color: #FF9800;}

.btn-check:checked + .btn {
    color: #fff !important;
}

/* 可选小屏适配 */
@media (max-width: 640px) {
    .col-fixed {
      width: 70px;          /* 第一列固定宽度 */
    }
    .bazi-heaven { font-size: 16px; }
    .bazi-earth { font-size: 14px; }
    .bazi-gender { font-size: 16px; }
}