@charset "utf-8";

/* =========================
   国债收益计算器 - 精简稳定版
   ========================= */

/* 主容器 */
.jsp_center {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-sizing: border-box;
}

/* 表单区域 */
.jsp_center_nub,
.jsp_center_nub1 {
    padding: 20px;
}

/* 内容宽度控制 */
.dkjsp_centop,
.dkjsp_centop1 {
    max-width: 520px;
    margin: 0 auto;
}

/* =========================
   表单行（核心对齐）
   ========================= */
.dkjsp_conee {
    display: flex;
    align-items: center;   /* ⭐关键：全部垂直居中 */
    margin-bottom: 18px;
}

/* 左侧文字 */
.dkjsp_tleft {
    width: 150px;
    text-align: right;
    padding-right: 12px;
    font-size: 14px;
    color: #555;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 右侧 */
.dkjsp_inpright,
.dkjsp_inpright1 {
    display: flex;
    align-items: center;   /* ⭐关键 */
    gap: 8px;
    flex: 1;
}

/* =========================
   输入框统一
   ========================= */
.wd01,
.wd02,
.input01 {
    height: 38px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: all 0.2s ease;
}

/* select 特殊处理（防止不对齐） */
.wd01 {
    width: 180px;
    appearance: none;
    background-color: #fff;
    cursor: pointer;
}

/* input 宽度 */
.wd02,
.input01 {
    width: 180px;
}

/* focus效果 */
.wd01:focus,
.wd02:focus,
.input01:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 2px rgba(22,119,255,0.1);
}

/* 结果框 */
.input01[readonly] {
    background: #f5f7fa;
    color: #ff4d4f;
    font-weight: bold;
}

/* 单位文字 */
.dkjsp_inpright span,
.dkjsp_inpright1 span {
    font-size: 14px;
    color: #666;
}

/* =========================
   按钮
   ========================= */


.jsp_cetpbutma input,
.jsp_cetpbutmb input {
    min-width: 110px;
    height: 38px;
    padding: 0 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.pt4 {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    margin-bottom: 5px;
}

.jsp_center_nub1 {
    padding: 10px 20px;
}

/* 计算按钮 */
.jsp_cetpbutma input {
    background: #1677ff;
    color: #fff;
}

.jsp_cetpbutma input:hover {
    background: #4096ff;
}

/* 重置按钮 */
.jsp_cetpbutmb input {
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #666;
}

.jsp_cetpbutmb input:hover {
    border-color: #1677ff;
    color: #1677ff;
}

/* ===== 说明区样式优化 ===== */

/* 标题 */
.xiaoshuomingkuang_neirong h3 {
    font-size: 14px;   /* 你要的大小 */
    font-weight: 600;
    color: #333;
    margin: 10px 15px 10px;
}

/* 去掉列表圆点 */
.xiaoshuomingkuang_neirong ul {
    list-style: none;   /* ⭐关键 */
    padding-left: 24px;    /* 去掉默认缩进 */
    margin: 0;
}

/* 每一项 */
.xiaoshuomingkuang_neirong li {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 6px;
}

/* =========================
   移动端适配
   ========================= */
@media screen and (max-width: 768px) {

    .jsp_center_nub,
    .jsp_center_nub1 {
        padding: 15px;
    }

    .nry_bt h1{font-size:36px;}

    /* 改为上下结构 */
    .dkjsp_conee {
        flex-direction: column;
        align-items: flex-start;
    }

    .dkjsp_tleft {
        width: auto;
        text-align: left;
        margin-bottom: 6px;
    }

    .dkjsp_inpright,
    .dkjsp_inpright1 {
        width: 100%;
    }

    /* 输入框全宽 */
    .wd01,
    .wd02,
    .input01 {
        width: 100%;
        height: 36px;
        font-size: 14px; /* 防止iOS放大 */
    }

    /* 按钮竖排 */
    .pt4 {
        flex-direction: column;
        width: 100%;
    }

    .jsp_cetpbutma,
    .jsp_cetpbutmb {
        width: 100%;
    }

    .jsp_cetpbutma input,
    .jsp_cetpbutmb input {
        width: 100%;
        height: 36px;
    }
}