/* ============ 模板七 查询页：cmsBg 背景 + 主题色边框/标题/标签/按钮 ============ */

.query7-wrap {
    background-color: #f1f3f8;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 48px 0 48px;
    position: relative;
    z-index: 3;
    min-height: calc(100vh - 200px);
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.query7.query-warp {
    min-height: auto;
    height: auto;
    position: static;
    padding: 0;
    margin: 0;
    background: transparent;
    width: 100%;
}

.query7 .query-content {
    width: 900px;
    max-width: 96%;
    height: auto;
    margin: 0 auto;
    padding: 40px 48px 32px;
    background: #fff;
    border: 4px solid var(--idx7-theme, #1F3A91);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    box-sizing: border-box;
}

.query7 .content-top {
    height: auto;
    font-size: 22px;
    font-weight: 700;
    color: var(--idx7-theme, #1F3A91);
    border-bottom: 2px solid var(--idx7-theme, #1F3A91);
    padding-bottom: 20px;
    margin-bottom: 0;
    display: block;
    text-align: center;
    line-height: 1.6;
    font-family: inherit;
}

.query7 .content-top .tip {
    display: none;
}

.query7 .content-middle {
    padding: 36px 0 16px;
}

.query7 #query {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.query7 #query > br {
    display: none;
}

.query7 .query-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 520px;
    max-width: 100%;
    font-size: 15px;
    padding: 0;
    margin-bottom: 20px;
    gap: 12px;
}

.query7 .query-wrap .query-span {
    min-width: 4.5em;
    text-align: right;
    color: var(--idx7-theme, #1F3A91);
    font-weight: 700;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 学习中心等较长标签 */
.query7 .query-wrap .query-span:not(:empty) {
    min-width: max-content;
}

.query7 .query-wrap .query-span::after {
    content: '：';
}

.query7 .query-wrap input {
    flex: 1;
    width: auto;
    height: 40px;
    text-indent: 12px;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    outline: none;
    box-sizing: border-box;
    color: #333;
    background: #fff;
}

.query7 .query-wrap input:focus {
    border-color: var(--idx7-theme, #1F3A91);
}

.query7 .query-wrap input::placeholder {
    color: #bbb;
}

.query7 .btns,
.query7 #query-btn {
    width: 160px;
    height: 42px;
    margin: 16px auto 0;
    display: block;
    background: var(--idx7-theme, #1F3A91);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.query7 .btns:hover,
.query7 #query-btn:hover {
    background: color-mix(in srgb, var(--idx7-theme, #1F3A91) 75%, #000);
}

.query7 .content-footer {
    display: block;
    width: 100%;
    margin-top: 28px;
    padding-top: 8px;
    text-align: center;
    color: #999;
    font-size: 13px;
    line-height: 1.8;
}

.query7 .content-footer p {
    margin: 0;
}

.query7 .mobile-footer {
    display: none;
}

/* 查询结果区 */
.query7 #result {
    width: 100%;
}

.query7 .table-wrapper {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
}

.query7 .stuInfo_list {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    color: #333;
}

.query7 .stuInfo_list_lable {
    min-width: 90px;
    color: var(--idx7-theme, #1F3A91);
    font-weight: 600;
}

.query7 .stuInfo_list_center {
    color: #222;
}

.query7 .result_right {
    display: block;
    margin: 20px auto 0;
    max-width: 160px;
}

.query7 .footer_btn {
    display: block;
    text-align: center;
    margin-top: 24px;
}

.query7 .back_btn {
    min-width: 120px;
    height: 40px;
    background: var(--idx7-theme, #1F3A91);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
}

.query7 .back_btn:hover {
    background: color-mix(in srgb, var(--idx7-theme, #1F3A91) 75%, #000);
}

/* 闽南科技结业证查询（结构略不同） */
.query7-mn .query-content {
    width: 900px;
}

.query7-mn #query {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.query7-mn #query > br {
    display: none;
}

.query7-mn .query_name,
.query7-mn .query_id {
    display: inline-block;
    min-width: 5em;
    text-align: right;
    color: var(--idx7-theme, #1F3A91) !important;
    font-weight: 700;
    margin-right: 12px;
}

.query7-mn #query input {
    height: 40px;
    width: 280px;
    max-width: 60%;
    text-indent: 12px;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    background: #fff;
    outline: none;
    margin-bottom: 0;
}

.query7-mn #query input:focus {
    border-color: var(--idx7-theme, #1F3A91);
}

.query7-mn .sbt3,
.query7-mn #query-btn {
    width: 160px;
    height: 42px;
    margin-top: 8px;
    background: var(--idx7-theme, #1F3A91);
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.query7-mn .content-footer {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #ebeef5;
    color: #888;
    font-size: 13px;
    line-height: 1.7;
    text-align: left;
}

@media (max-width: 1023px) {
    .query7-wrap {
        padding: 24px 0 32px;
    }

    .query7 .query-content {
        padding: 28px 16px 24px;
        border-width: 3px;
    }

    .query7 .content-top {
        font-size: 18px;
        padding-bottom: 16px;
    }

    .query7 .query-wrap {
        width: 100%;
    }

    .query7 .query-wrap .query-span {
        min-width: 4em;
        font-size: 14px;
    }
}
