 /*弹框*/

.address-modal {
            display: none;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 38rem;
            background: white;
            border-radius: 8px;
            box-shadow: 0 0 20px rgba(0,0,0,0.2);
            z-index: 1000;
        }

 /*头部*/
.modal-header {
            padding: 0.5rem;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
        }

.tab-buttons {
            display: flex;
            gap: 10px;
        }

.tab-btn {
        padding: 8px 20px;
        border: none;
        background: none;
        cursor: pointer;
        font-size: 16px;
    }

.tab-btn.active {
        border-bottom: 2px solid #1890ff;
        color: #1890ff;
    }

/*搜索框*/
 .search-box{
    width:16rem;
     margin-right: 6rem;
    }
 .sear_input{
        width: 8rem;
        padding:0.5rem;
        border: 1.5px solid #ddd;
        border-radius: 4px;
    }
 .sear_enter{
        padding: 0.2rem 0.4rem;
        border: none;
        border-radius: 0.3rem;
        font-family: 'Segoe UI', sans-serif;
        font-weight: 600;
        cursor: pointer;

        /* 颜色渐变 */
        background-image: linear-gradient(135deg, #6B8DD6 0%, #8E37D7 100%);
        color: white;

        /* 阴影效果 */
        box-shadow: 0 0.3rem 1rem rgba(111, 78, 229, 0.2);

        /* 过渡动画 */
        transition: all 0.3s ease;

        /* 文字样式 */
        letter-spacing: 0.5px;
        font-size: 1rem;
    }
 /* 搜索框关闭和筛选按钮样式 */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}
.close-btn {
            /*position: sticky;*/
            /*top: 0px;*/
            margin-right: 0.5rem;
            color: #aaa;
            float: right;
            font-size: 2rem;
            font-weight: bold;
            cursor: pointer;
        }
.close-btn:hover,
.close-btn:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }
 /* 查询结果 */
.search-result {
    display: none;
    height: 20rem;
    overflow-y: auto;
}
.resulti{
    font-size:1rem;
    text-align: center;
    position: relative;
    cursor: pointer;
}
.resulti:hover {
    background-color: #f5f5f5;
}
 .search-result.show {
        display: block;
    }



 /*主要内容*/
.modal-body {
        padding: 15px;
        max-height: 25rem;
        /*overflow-y: auto;*/
    }
 .region-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
.region-item {
        /*padding: 0.4rem;*/
        /*border-radius: 4px;*/
        font-size: 1rem;
        height: 20rem;
        overflow-y: auto;
        border-right: 1px solid #eee;
    }

.selected {
        background-color: #f5f5f5;
        color: #1890ff;
        font-weight: bold;
        }
/*省市县*/
 .region1,.region2,.region3{
       cursor: pointer;
        /*background: #f5f5f5;*/
      border-radius: 4px;
 }
.region1:hover {
    background-color: #f5f5f5;;
}
.region2:hover {
    background-color:#f5f5f5;;
}
.region3:hover {
    background-color: #f5f5f5;;
}


/* 确认按钮 */
 .enter_btn {
    /* 基础样式 */
     text-align: center;
     width: 10rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0.3rem;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    cursor: pointer;

    /* 颜色渐变 */
    background-image: linear-gradient(135deg, #6B8DD6 0%, #8E37D7 100%);
    color: white;

    /* 阴影效果 */
    box-shadow: 0 0.3rem 1rem rgba(111, 78, 229, 0.2);

    /* 过渡动画 */
    transition: all 0.3s ease;

    /* 文字样式 */
    letter-spacing: 0.5px;
    font-size: 1rem;
}

/* 悬停效果 */
.enter_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.4rem 1.5rem rgba(111, 78, 229, 0.3);
    background-image: linear-gradient(135deg, #5a7bc7 0%, #7d2cc4 100%);
}

/* 点击效果 */
.enter_btn:active {
    transform: scale(0.98);
}

/* 禁用状态 */
.enter_btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


.hidden{
    display: none;
}
.show{
    display: block;
}
/*高亮效果*/
/*.highlight {*/
/*    transform: scale(1.05);*/
/*    box-shadow: 0 0 10px rgba(0,0,0,0.3);*/
/*    transition: all 0.3s;*/
/*  }*/

.zdy_hour_div{
    font-size: 1.2rem;
    color:#555555
}

/* 定义强调动画 */
  .highlight {
    animation: colorPulse 1.5s ease-out;
  }

@keyframes colorPulse {
  0% {
    color: #333; /* 原始颜色 */
  }
  30% {
    color: #ff4444; /* 亮红色 */
  }
  70% {
    color: #cc0000; /* 深红色 */
  }
  100% {
    color: #333; /* 恢复原色 */
  }
}

/*夏令时注释*/
.tk_note{
    position: absolute; /* 脱离文档流，不影响其他元素 */
      left: 0.8rem;         /* 距离左侧 10px */
      bottom: 0.8rem;       /* 距离底部 10px */
    color: #555555;
    font-size: 0.8rem;
}

.xls_qh{
    position: absolute; /* 脱离文档流，不影响其他元素 */
      right: 1.2rem;         /* 距离左侧 10px */
      bottom: 1rem;       /* 距离底部 10px */
    color: #555555;
    font-size: 1rem;
    cursor: pointer;
}
.selected_an{
    color:orange;
    font-weight: bold;
    font-size:1.2rem;
}
.action-btn-qrbz{
    cursor: pointer;
}


.checkbox_large {
  transform: scale(2);
    margin-left:1rem ;
    margin-right:0.4rem;
}
#input_address{
     cursor: pointer;
}

 #shouye3{
     color: orange;
 }
    #input_submit{
        width: 50%;
    }
.input_div_mf{
    position:relative;
    left:20%;
    width: 50%;
    margin:1em;
    font-size:1.5em;
    padding: 1em;
    background-color:wheat;
    line-height:2.5;
    text-align: left;

}
#bazi_check_gz{
    text-align:left;
    margin-left:1rem;
    font-size:1rem;
    display: none;
    line-height:1;
}