.nfc-image-optimizer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 8px 0 2px;
    padding: 8px 10px;
    border: 1px solid rgba(18, 74, 89, 0.14);
    border-radius: 10px;
    background: rgba(59, 138, 158, 0.07);
    color: #124a59;
    font-size: 13px;
    line-height: 1.35;
    box-sizing: border-box;
}

.nfc-image-optimizer-status[hidden] {
    display: none !important;
}

.nfc-image-optimizer-status.is-working::before {
    content: '';
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border: 2px solid rgba(18, 74, 89, 0.22);
    border-top-color: #124a59;
    border-radius: 50%;
    animation: nfc-image-optimizer-spin .75s linear infinite;
}

.nfc-image-optimizer-status.is-done::before {
    content: '✓';
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 50%;
    background: #124a59;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.nfc-image-optimizer-status.is-warning::before {
    content: '!';
    display: inline-grid;
    place-items: center;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border-radius: 50%;
    background: #9a6a12;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

@keyframes nfc-image-optimizer-spin {
    to { transform: rotate(360deg); }
}
