@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.placeholder-bar {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0, #d0d0d0, #f0f0f0);
    background-size: 200% 100%;
    animation: shimmer 1s linear infinite;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* SVG Link Container */
.svgLink {
    display: block;
    width: 100%;
    overflow: hidden;
}

/* Preflight Check Animation */
@keyframes preflight-scan {
    0% {
        top: 0;
    }
    100% {
        top: 46px;
    }
}

@keyframes preflight-dots {
    0% { content: ""; }
    25% { content: "."; }
    50% { content: ".."; }
    75% { content: "..."; }
}

.preflight-dots::after {
    content: "";
    animation: preflight-dots 1.5s steps(4, end) infinite;
}

/* Preview Generation Animation */
@keyframes preview-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Status Display Containers */
.preflight-status-display,
.preview-generation-display {
    width: 100%;
    box-sizing: border-box;
}

.preflight-status-display {
    background: linear-gradient(135deg, #f0ad4e 0%, #ec971f 100%);
}

.preview-generation-display {
    background: linear-gradient(135deg, #5bc0de 0%, #31b0d5 100%);
}

/* Scanner Line with Animation */
.preflight-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 8px #fff, 0 0 15px rgba(255,255,255,0.8);
    animation: preflight-scan 1s linear infinite;
}