* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", SimHei, sans-serif;
}
body {
    background-color: #f5f7fa;
}
.container {
    max-width: 750px;
    margin: 0 auto;
}
.header {
    padding-top: 40px;
    text-align: center;
}

.main-title {
    font-size: 24pt;
    font-weight: bold;
    color: #d11010;
}
.sub-title {
    font-size: 20pt;
    font-weight: bold;
    color: #222;
    padding:10px;
}
.query-card {
    margin-top: 20px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.07);
    padding: 50px 60px;
}
/* 表单每一行 */
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}
.label-text {
    width: 140px;
    font-size: 18px;
    color: #444;
    text-align: right;
    font-weight: 500;
    flex-shrink: 0;
}
.input-wrap {
    flex: 1;
    display: flex;
    gap: 12px;
    align-items: center;
}
input {
    flex: 1;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border 0.2s;
}
input:focus {
    border-color: #1a76e3;
}
.code-img {
    width: 180px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    letter-spacing: 6px;
    user-select: none;
    color: #666;
    cursor: pointer;
}

.code-img img{
    width: 150px;
}
/* 查询按钮 */
.submit-btn {
    width: 100%;
    height: 56px;
    background-color: #1a76e3;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: bold;
}
.submit-btn:hover {
    background-color: #1466c8;
}
.submit-btn:active {
    background-color: #0f58b0;
}

.submit-btn:disabled{
   color: #cccccc;
}

/* 结果卡片容器 */
.result-card {
    margin-top: 20px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.07);
    padding: 30px 50px;
}

/* 两列成绩表格 */
.score-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #333;
}

.score-table tr th{
    background-color: #f5f7fa;
    font-size: 16px;
    padding: 10px;
    text-align: center;
    border:1px solid #ccc;
}

.score-table tr td {
    padding: 10px;
    font-size: 16px;
    text-align: center;
    border:1px solid #ccc;
}
.total-score {
    color: #d11010;
    font-weight: bold;
}

.ksxx-table{
    width: 100%;
    border-collapse: collapse;
    border-width: 0px;
}

.ksxx-table tr td{
    padding: 10px;
    font-size: 16px;
    text-align: center;
    border-width: 0px;
}
/* 返回按钮 */
.back-btn {
    display: block;
    width: 100%;
    margin: 0 auto;
    height: 56px;
    line-height: 56px;
    text-align: center;
    background-color: #1a76e3;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.back-btn:hover {
    background-color: #1466c8;
}
.back-btn:active {
    background-color: #0f58b0;
}

.error-msg{
    text-align: center;
    line-height: 1.5;
    font-size: 20px;
    color: #cc0000;
    min-height: 100px;
}
.fwm{
    text-align: center;
    font-size: 14px;
   font-weight: bold;
    color:#555;
    padding: 10px;
}
.tips{
    padding: 10px;
    font-size: 14px;
    color: #cc0000;
}
.copyright {
    padding: 10px;
    text-align: center;
    color: #999;
    font-size: 15px;
    line-height: 1.5;
}
/* 移动端适配样式（屏幕小于768px手机端） */
@media screen and (max-width: 768px) {
    body {
        padding: 15px;
    }
    .header {
        padding-top: 10px;
        text-align: center;
    }

    .main-title {
        font-size: 22pt;
    }
    .sub-title {
        font-size: 16pt;
    }
    .query-card {
        margin-top: 10px;
        padding: 20px 20px;
    }
    .form-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
        gap: 8px;
    }
    .label-text {
        width: auto;
        font-size: 16px;
    }
    input {
        height: 45px;
    }
    .input-wrap {
        width: 100%;
    }
    .submit-btn {
        height: 45px;
        line-height: 45px;
    }

    .back-btn {
        height: 45px;
        line-height: 45px;
    }
    .tips{
        line-height: 20px;
        font-size: 12px;
    }

    .result-card {
        margin-top: 10px;
        padding: 20px 20px;
    }
    .score-table td {
        padding: 12px 10px;
        font-size: 16px;
    }
    .fwm{
        font-size: 7pt;
        padding: 5px;
    }
    .copyright {
        margin-top: 10px;
        font-size: 12px;
        line-height: 1.5;
    }
}