.check {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.07);

    .line {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px 10px;
        font-size: 13px;
        .dot {
            width: 8px;
            height: 8px;
            flex: 0 0 8px;
            border-radius: 50%;
            background-color: currentColor;
        }
        .text {
            font-weight: 600;
        }
        &.idle {
            color: #646970;
        }
        &.checking {
            color: $secondary_color;
            .dot {
                animation: checkPulse 1s ease-in-out infinite;
            }
        }
        &.passed {
            color: #1a7d43;
        }
        &.failed {
            color: #b32d2e;
        }
    }
    .time {
        color: #8c8f94;
        font-size: 12px;
    }
    .recheck {
        margin-left: auto;
        padding: 0;
        border: 0;
        background: none;
        font: inherit;
        font-size: 13px;
        font-weight: 600;
        color: $secondary_color;
        cursor: pointer;
        &:hover {
            text-decoration: underline;
        }
        &:disabled {
            opacity: 0.5;
            cursor: default;
            text-decoration: none;
        }
    }
    // Long messages wrap; very long ones scroll inside the box.
    .message {
        max-height: 180px;
        overflow-y: auto;
        padding: 12px 14px;
        border-radius: 12px;
        background-color: $white_color;
        border: 1px solid #f3c9c9;
        font-size: 13px;
        line-height: 1.55;
        color: #50575e;
        overflow-wrap: anywhere;
    }
}

@keyframes checkPulse {
    50% {
        opacity: 0.3;
    }
}
