/*
 * HC_ECO_CREDENTIAL_CENTER_STYLE_V1
 */

*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:#f5f7f4;
    color:#263128;
    font-family:
        "Microsoft YaHei",
        Arial,
        sans-serif;
}

.hc-credential{
    width:min(
        1120px,
        calc(100% - 28px)
    );
    margin:24px auto 100px;
}

.hc-credential-hero{
    padding:24px;
    margin-bottom:16px;
    color:#fff;
    border-radius:18px;
    background:
        linear-gradient(
            135deg,
            #25508b,
            #476fda
        );
}

.hc-credential-hero h1{
    margin:0 0 8px;
}

.hc-credential-hero p{
    margin:0;
    opacity:.9;
    line-height:1.7;
}

.hc-credential-card{
    padding:19px;
    margin-bottom:15px;
    border:1px solid #e1e8df;
    border-radius:14px;
    background:#fff;
}

.hc-credential-card h2{
    margin:0 0 14px;
    font-size:18px;
}

.hc-credential-grid{
    display:grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );
    gap:12px;
}

.hc-field label{
    display:block;
    margin-bottom:6px;
    color:#667069;
    font-size:12px;
    font-weight:700;
}

.hc-field input,
.hc-field select{
    width:100%;
    min-height:42px;
    padding:8px 10px;
    border:1px solid #dce3da;
    border-radius:9px;
    background:#fff;
    font:inherit;
}

.hc-field-full{
    grid-column:1/-1;
}

.hc-primary{
    padding:14px;
    border-radius:11px;
    background:#f4f7f3;
}

.hc-primary-ok{
    background:#edf8e9;
}

.hc-muted{
    color:#778079;
    font-size:12px;
    line-height:1.7;
}

.hc-actions{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:13px;
}

.hc-btn{
    min-height:40px;
    padding:0 15px;
    border:0;
    border-radius:8px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-weight:700;
}

.hc-btn-primary{
    color:#fff;
    background:#3e8736;
}

.hc-btn-secondary{
    color:#376d32;
    background:#edf3eb;
}

.hc-cert-list{
    display:grid;
    grid-template-columns:
        repeat(
            2,
            minmax(0,1fr)
        );
    gap:10px;
}

.hc-cert{
    padding:14px;
    border:1px solid #e2e8e0;
    border-radius:11px;
}

.hc-cert h3{
    margin:0 0 7px;
    font-size:15px;
}

.hc-status{
    display:inline-flex;
    margin-top:7px;
    padding:3px 8px;
    border-radius:999px;
    background:#edf3eb;
    font-size:11px;
    font-weight:700;
}

.hc-message{
    margin-top:10px;
    color:#617066;
    font-size:12px;
}

@media(max-width:760px){

    .hc-credential{
        width:calc(100% - 20px);
        margin-top:12px;
    }

    .hc-credential-grid,
    .hc-cert-list{
        grid-template-columns:1fr;
    }

    .hc-field-full{
        grid-column:auto;
    }
}
