.input-row { display: flex; gap: 8px; }
input[type=text] {
    flex: 1;
    box-shadow: 0px 0px 2px 0px #0000003b;
}
.card {
    overflow: hidden;
    line-height: normal;
}
.card-header {
    border-bottom: 1px solid #e4e4e0;
    padding: 0 0 15px 0;
    margin-top: 20px;
    text-align: center;
}
.score-circle {
    width: 54px; 
    height: 54px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 20px; font-weight: 500; flex-shrink: 0;
    margin: 0 auto 10px auto;
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 15px 0;
}
.metric {
    background: #f8f8f6;
    border-radius: 5px;
    padding: 10px 12px;
}
.metric-label {
    font-size: 16px;
    color: #6b6b67;
    margin-bottom: 8px;
    font-weight: 300;
}
.metric-val {
    font-size: 23px;
    font-weight: 600;
}
.check-list {
    padding: 0;
}
.check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #e4e4e0;
}
.check-item:last-child {
    border-bottom: none;
}
.check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    margin-top: 1px;
}
.icon-pass {
    background: #eaf3de;
    color: #27500a;
    border: 1px solid #b8d8a1;
}
.icon-fail {
    background: #fcebeb;
    color: #791f1f;
    border: 1px solid #fdbfbf;
}
.icon-warn {
    background: #faeeda;
    color: #633806;
    border: 1px solid #ffcd93;
}

.check-label {
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 0;
    font-size: 17px;
    line-height: normal;
}
.check-detail {
    font-size: 15px;
    color: #6b6b67;
    line-height: normal;
    margin: 8px 0 0 0;
    font-weight: 300;
}
.tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px 5px 0 0;
}
.tag-green {
    background: #eaf3de;
    color: #27500a;
    border: 1px solid #b7cba9;
}
.tag-amber {
    background: #faeeda;
    color: #633806;
    border: 1px solid #ffd697;
}
.tag-red   {
    background: #fcebeb;
    color: #791f1f;
    border: 1px solid #ffcaca;
}
.tag-blue  {
    background: #e6f1fb;
    color: #0c447c;
    border: 1px solid #d0e8ff;
}
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e4e4e0;
    border-top-color: #6b6b67;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.empty {
    text-align: center;
    padding: 0;
    color: #a0a0a0;
    margin-top: 30px;
    font-weight: 300;
}
.empty-icon {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.3;
}
.error-box {
    background: #fcebeb;
    color: #791f1f;
    border: 1px solid #f7c1c1;
    border-radius: 5px;
    padding: 12px 16px; font-size: 14px;
}
.domain-name{
    font-size: 20px;
    line-height: normal;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
}
.info-domain{
    font-size: 17px;
    color: #828282;
}
.img-tools img{
    width: 300px;
    margin: 0 0 0 auto;
}

@media (max-width: 480px) {
    .input-row {
        flex-direction: column;
    }
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991.98px) {
    .img-tools img{
        width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 767.98px) {
    .input-row{
        display: inline-block;
        width: 100%;
    }
    .input-row .btn{
        margin-top: 10px;
        width: 100%;
    }
    .img-tools img{
        width: 150px;
        margin: 0 auto;
    }
}