/* Scan screen layout */
.scan-container {
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Animated rings */
.scan-animation {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    border-top-color: var(--accent);
    border-right-color: var(--accent);
    animation: spin 2s linear infinite;
    opacity: 0.9;
}

.ring-2 {
    width: 150px;
    height: 150px;
    border-bottom-color: #a78bfa;
    border-left-color: #a78bfa;
    animation: spin-reverse 1.5s linear infinite;
    opacity: 0.7;
}

.ring-3 {
    width: 100px;
    height: 100px;
    border-top-color: #76b7b2;
    border-right-color: #76b7b2;
    animation: spin 1s linear infinite;
    opacity: 0.5;
}

.scan-icon {
    font-size: 36px;
    z-index: 1;
    animation: pulse 1.5s ease-in-out infinite;
}

.scan-paused-label {
    display: none;
    position: absolute;
    bottom: -8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
}

/* Paused state */
.scan-container.paused .scan-ring {
    animation-play-state: paused;
}

.scan-container.paused .scan-icon {
    animation-play-state: paused;
}

.scan-container.paused .scan-paused-label {
    display: block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

/* Stats */
.scan-stats {
    display: flex;
    gap: 40px;
}

.scan-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.scan-stat-value {
    font-size: 28px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.scan-stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Current path ticker */
.scan-current-path {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    max-width: 600px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-height: 20px;
}

/* Controls */
.scan-controls {
    display: flex;
    gap: 12px;
}
