.score-breadcrumb {
    margin-left: 40px;
    font-size: 1rem;
}

.score-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(60vh);
    padding: 0 15px;
}

.score-query-box {
    width: 500px;
    max-width: 100%;
    background: #fff;
    padding: 40px 30px;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.score-query-box h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.score-query-box .form-group {
    margin-bottom: 20px;
}

.score-query-box .form-group label {
    font-weight: normal;
    color: #555;
    font-size: 1rem;
}

.score-query-box .captcha-row .form-control {
    display: inline-block;
    width: 55%;
}

.score-query-box .captcha-row .captcha-img {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    margin-bottom: 5px;
    cursor: pointer;
    height: 38px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.score-query-box .btn-query {
    width: 100%;
    padding: 10px 0;
    font-size: 1rem;
}

/* 顶部小弹窗提示 */
.score-toast {
    display: none;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: #fcf8e3;
    color: #8a6d3b;
    border: 1px solid #faebcc;
    padding: 8px 24px;
    border-radius: 4px;
    font-size: 1rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: -80px;
}

.ej-main {
    padding: 70px 0 40px;
}

/* 提示文字 */
.score-hint {
    font-size: .875rem;
    color: #999;
    margin-top: 4px;
}

/* ========== 结果页 - 左右栏布局 ========== */
.score-result-box {
    display: none;
    width: 100%;
    max-width: 1270px;
    margin: 0 auto;
    padding: 0 25px;
}
.score-result-layout {
    display: flex;
    gap: 25px;
    width: 100%;
}
/* 左侧栏 */
.score-sidebar {
    width: 190px;
    flex-shrink: 0;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 20px 0;
    text-align: center;
    align-self: flex-start;
}
.score-sidebar .sidebar-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 40px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}
.score-sidebar .sidebar-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.score-sidebar .sidebar-name {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding: 0 10px;
    word-break: break-all;
}
.score-sidebar .sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.score-sidebar .sidebar-nav li {
    padding: 10px 15px;
    font-size: 1rem;
    color: #666;
    cursor: default;
}
.score-sidebar .sidebar-nav li.active {
    background: #d9534f;
    color: #fff;
    font-weight: bold;
}
.score-sidebar .sidebar-nav li.logout-item {
    cursor: pointer;
}

/* 右侧内容 */
.score-content {
    flex: 1;
    min-width: 0;
    min-height: 700px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
}
.score-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}
.score-tab {
    display: inline-block;
    background: #d9534f;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px 4px 0 0;
    font-size: 1rem;
    margin-bottom: 15px;
    cursor: pointer;
    user-select: none;
    margin-right: 5px;
}
.score-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 0;
}
.score-tab:not(.active) {
    background: #f0f0f0;
    color: #666;
    border-radius: 4px;
}
.score-tab:not(.active):hover {
    background: #e0e0e0;
}
.score-tab-content {
    display: none;
}

/* 手风琴 */
.score-accordion-item {
    margin-bottom: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}
.score-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f9f9f9;
    cursor: pointer;
    transition: background 0.2s;
}
.score-accordion-header:hover {
    background: #f0f0f0;
}
.score-accordion-header.active {
    background: #e8e8e8;
}
.score-accordion-date {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}
.score-accordion-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.score-accordion-type {
    font-size: .85rem;
    color: #fff;
    background: #cfa972;
    padding: 3px 10px;
    border-radius: 3px;
    font-weight: bold;
}
.score-accordion-icon {
    font-size: 1.1rem;
    color: #999;
}
.score-accordion-body {
    display: none;
    padding: 0;
    background: #fafafa;
}

/* ========== 证书式报告单 ========== */
.score-cert {
    border-top: 5px solid #cfa972;
    padding: 0;
    position: relative;
    overflow: hidden;
    background: #fff;
}
.cert-watermark {
    position: absolute;
    top: 50px;
    right: 40px;
    width: 180px;
    opacity: .08;
    pointer-events: none;
}
.cert-watermark img {
    width: 100%;
}
.cert-head {
    text-align: center;
    padding: 35px 30px 20px;
    border-bottom: 1px solid #eee;
}
.cert-head h2 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px;
}
.cert-head h3 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #cfa972;
    margin: 0 0 4px;
}
.cert-head h4 {
    font-size: 1.2rem;
    color: #999;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    margin: 0;
}
.cert-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 50px 15px;
    font-size: 1.3rem;
    color: #333;
    line-height: 2.2;
    position: relative;
    gap: 30px;
}
.cert-info-left {
    flex: 1;
    min-width: 0;
}
.cert-info-left p {
    margin: 0;
    white-space: nowrap;
}
.cert-info-right {
    flex-shrink: 0;
}
.cert-score-table {
    margin-bottom: 0;
    min-width: 180px;
}
.cert-score-table td {
    padding: 10px 14px;
    vertical-align: middle;
    text-align: center;
    font-size: 1rem;
}
.cert-score-table td h2 {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 2px;
}
.cert-score-table td h3 {
    font-size: .85rem;
    color: #999;
    font-family: Arial, sans-serif;
    margin: 0;
}
.cert-score-table td.tt {
    min-width: 150px;
}
.cert-score-table td.cj {
    font-size: 1.5rem;
    color: #333;
    font-weight: normal;
    background: #fdfaf4;
    min-width: 90px;
}
.cert-desc {
    padding: 15px 50px 20px;
    font-size: .85rem;
    color: #999;
    line-height: 1.8;
    text-align: justify;
    border-top: 1px solid #f0f0f0;
}
.cert-footer {
    float: right;
    font-size: 1rem;
    color: #333;
    font-weight: bold;
    border-top: 2px solid #333;
    padding-top: 8px;
    margin: 0 50px 15px;
}
/* 下载证书按钮 */
.cert-btn-wrap {
    padding: 15px 50px 30px;
    text-align: center;
    clear: both;
}
.cert-download-btn {
    display: inline-block;
    padding: 10px 36px;
    font-size: 1.05rem;
    font-weight: bold;
    color: #fff;
    background: #3a7bd5;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
.cert-download-btn:hover:not(.disabled) {
    background: #2b62b0;
}
.cert-download-btn.disabled {
    background: #ccc;
    color: #999;
    cursor: not-allowed;
}

/* ========== 手机H5适配 ========== */
@media (max-width: 768px) {
    .ej-main {
        padding: 25px 0 20px;
    }
    .score-wrapper {
        padding: 0 5px;
    }
    .score-result-box {
        padding: 0 10px;
    }
    .score-query-box {
        padding: 25px 20px;
    }
    .score-query-box h2 {
        font-size: 1.25rem;
    }
    .score-query-box .captcha-row .form-control {
        width: 50%;
    }
    .score-result-layout {
        flex-direction: column;
    }
    .score-sidebar {
        width: 100%;
        display: flex;
        align-items: center;
        padding: 12px 15px;
        gap: 12px;
    }
    .score-sidebar .sidebar-logo {
        width: 48px;
        height: 48px;
        margin: 0;
        flex-shrink: 0;
    }
    .score-sidebar .sidebar-name {
        margin-bottom: 0;
        flex: 1;
        text-align: left;
    }
    .score-sidebar .sidebar-nav {
        display: flex;
        gap: 8px;
    }
    .score-sidebar .sidebar-nav li {
        padding: 6px 12px;
        border-radius: 4px;
        font-size: .875rem;
    }
    .score-content {
        padding: 20px 15px;
    }
    .score-accordion-header {
        padding: 10px 12px;
    }
    .score-accordion-date {
        font-size: .9rem;
    }
    .score-accordion-type {
        font-size: .75rem;
        padding: 2px 8px;
    }
    .score-accordion-body {
        padding: 0;
    }
    /* 证书样式适配 */
    .cert-watermark {
        right: 15px;
        width: 100px;
        top: 30px;
    }
    .cert-head {
        padding: 25px 15px 15px;
    }
    .cert-head h2 {
        font-size: 1.05rem;
    }
    .cert-head h3 {
        font-size: 1.3rem;
    }
    .cert-head h4 {
        font-size: 1rem;
    }
    .cert-info {
        padding: 20px 20px 12px;
        font-size: 1rem;
        line-height: 2;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .cert-info-left p {
        white-space: normal;
    }
    .cert-score-table td.cj {
        font-size: 1.3rem;
    }
    .cert-desc {
        padding: 12px 20px 15px;
        font-size: .8rem;
    }
    .cert-footer {
        margin: 0 20px 15px;
        font-size: .9rem;
    }
    .cert-btn-wrap {
        padding: 12px 20px 25px;
    }
    .cert-download-btn {
        font-size: .95rem;
        padding: 8px 28px;
    }
}
