.api-key-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    align-items:center;
}
.credential-current{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    padding:13px 15px;
    border:1px solid #b7ebcd;
    border-radius:13px;
    background:#ecfdf3;
}
.credential-current span{
    display:block;
    color:#067647;
    font-size:11px;
    font-weight:800;
}
.credential-current strong{
    display:block;
    margin-top:4px;
}
.credential-status{
    padding:7px 10px;
    border-radius:999px;
    background:#d1fadf;
}
.credential-test-box{
    border:1px solid #d9d6fe;
    border-radius:16px;
    background:#fbfaff;
    padding:17px;
}
.credential-test-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
}
.credential-test-head h3{
    margin:3px 0 0;
    font-size:18px;
}
.credential-test-kicker{
    color:#5b45e0;
    font-size:10px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}
.credential-test-badge{
    padding:7px 10px;
    border-radius:999px;
    background:#f2f4f7;
    color:#475467;
    font-size:10px;
    font-weight:850;
}
.credential-test-badge.running{
    background:#fef0c7;
    color:#b54708;
}
.credential-test-badge.success{
    background:#d1fadf;
    color:#067647;
}
.credential-test-badge.error{
    background:#fee4e2;
    color:#b42318;
}
.credential-test-help{
    margin:11px 0;
    font-size:12px;
}
.credential-test-message{
    padding:11px 12px;
    border-radius:10px;
    background:#f2f4f7;
    font-size:12px;
}
.credential-test-message.running{
    background:#fffaeb;
    color:#b54708;
}
.credential-test-message.success{
    background:#ecfdf3;
    color:#067647;
}
.credential-test-message.error{
    background:#fef3f2;
    color:#b42318;
}
.credential-test-metrics{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
    margin-top:12px;
}
.credential-test-metrics>div{
    min-width:0;
    padding:11px;
    border:1px solid #e5e7eb;
    border-radius:11px;
    background:#fff;
}
.credential-test-metrics span{
    display:block;
    color:#667085;
    font-size:9px;
    font-weight:850;
    text-transform:uppercase;
}
.credential-test-metrics strong{
    display:block;
    margin-top:6px;
    overflow:hidden;
    text-overflow:ellipsis;
}
.credential-test-actions{
    margin-top:12px;
}
@media(max-width:760px){
    .credential-test-metrics{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .credential-test-head{
        display:grid;
    }
}
@media(max-width:520px){
    .api-key-row{
        grid-template-columns:1fr;
    }
    .credential-test-metrics{
        grid-template-columns:1fr;
    }
}
