/* 优化后的 CSS - 现代兼容性更强，代码结构更清晰 */
body {
    background-color: #FAEFF2;
    background-image: url(bg6.jpg);
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
    color: #333;
}

td {
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
    font-size: 12pt;
    height: 35px;
    color: #333;
}

select {
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
    font-size: 12pt;
    background-color: #F9F3F5;
    border: 1px solid #D9A7B5;
    border-radius: 4px;
    padding: 4px 8px;
    color: #333;
}

p {
    font-size: 12pt;
    line-height: 1.6;
}

/* 链接样式 */
a:link,
a:visited {
    color: #985478;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #333333;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* 文字阴影效果类 */
.jnfont1 {
    font-size: 12pt;
    text-shadow: 1px 1px 2px #cccccc;
    color: #666666;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

.jnfont2 {
    font-size: 12pt;
    text-shadow: 1px 1px 2px #e1e2ff;
    color: #4F4F00;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

.jnfont3 {
    font-size: 12pt;
    text-shadow: 1px 1px 2px #cccccc;
    color: #985478;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

.jnfont4 {
    font-size: 12pt;
    text-shadow: 1px 1px 2px #000000;
    color: #FFFFFF;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

.jnfont5 {
    font-size: 12pt;
    color: #985478;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

.jnfont6 {
    font-size: 12pt;
    text-shadow: 1px 1px 2px #999999;
    color: #636093;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
}

.jnfont7 {
    font-size: 12pt;
    color: #D23C09;
    text-shadow: 0 0 8px rgba(210, 60, 9, 0.5);
}

/* 表格样式 */
.table001 {
    font-size: 12pt;
    background-color: #F8D8E0;
    border-collapse: collapse;
}

.table002 {
    font-size: 12pt;
    background-color: #F8E9EE;
    border-collapse: collapse;
}

.table003 {
    font-size: 12pt;
    background-color: #FFCAD3;
    border-collapse: collapse;
}

.table004 {
    border: 1px dashed #666666;
    word-break: break-all;
    padding: 8px;
    border-radius: 4px;
}

/* 输入框样式 */
.input1,
.input2 {
    font-size: 12pt;
    border: 1px solid #D9A7B5;
    background-color: #F9F3F5;
    border-radius: 4px;
    padding: 6px 10px;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
    transition: border-color 0.3s ease;
}

.input1 {
    min-height: 30px;
}

.input2 {
    height: 30px;
}

.input1:focus,
.input2:focus,
select:focus,
.testarea1:focus {
    border-color: #985478;
    outline: none;
    box-shadow: 0 0 5px rgba(152, 84, 120, 0.3);
}

/* 文本域样式 */
.testarea1 {
    border: 1px solid #D9A7B5;
    font-size: 12pt;
    background-color: #F9F3F5;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
    border-radius: 4px;
    padding: 8px;
    resize: vertical;
    min-height: 80px;
}

/* 按钮样式（可添加） */
.button {
    background-color: #985478;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 12pt;
    font-family: "Microsoft YaHei", "SimHei", sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #7A4162;
}

/* 响应式建议 */
@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
    
    td, select, p, .jnfont1, .jnfont2, .jnfont3, .jnfont4, 
    .jnfont5, .jnfont6, .jnfont7, .input1, .input2, .testarea1 {
        font-size: 11pt;
    }
}