/**
 * SD SEO Title & Description – Progress Bar Styles
 *
 * @package SD_SEO_Title_Description
 */

.sdstd-progress-bar {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
    position: relative;
}

.sdstd-progress-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.25s ease, background-color 0.25s ease;
    min-width: 0;
    max-width: 100%;
}

/* Status colors */
.sdstd-progress-bar.sdstd-status-empty .sdstd-progress-fill {
    background-color: #c3c4c7;
    width: 0;
}

.sdstd-progress-bar.sdstd-status-error .sdstd-progress-fill {
    background-color: #d63638;
}

.sdstd-progress-bar.sdstd-status-warning .sdstd-progress-fill {
    background-color: #dba617;
}

.sdstd-progress-bar.sdstd-status-good .sdstd-progress-fill {
    background-color: #00a32a;
}

/* Animated pulse for max exceeded */
.sdstd-progress-bar.sdstd-status-error .sdstd-progress-fill {
    animation: sdstd-pulse 1.5s ease-in-out infinite;
}

@keyframes sdstd-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}
