/**
 * ViGo Nexus - ViGGi AI Neural Scanner Transition Overlay (iOS 18 Edition)
 * Dedicated Micro-Asset for Futuristic Agent Assignment HUD.
 *
 * @package ViGo_Nexus
 */

.vn-scanner-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 50;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 20px;
    border-radius: 32px;
    box-sizing: border-box;
}

.vn-scanner-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #1A56DB;
    background: rgba(26, 86, 219, 0.08);
    border: 1px solid rgba(26, 86, 219, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.vn-scanner-badge.vn-badge-connected {
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
}

.vn-scanner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1A56DB;
    box-shadow: 0 0 8px rgba(26, 86, 219, 0.6);
    animation: vnPulseDot 1.2s infinite ease-in-out;
}

.vn-scanner-dot.green {
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
}

@keyframes vnPulseDot {
    0%, 100% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.2); }
}

.vn-siri-orb.large {
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    transition: filter 0.4s ease;
}

.vn-siri-orb.vn-orb-matched {
    filter: hue-rotate(60deg) brightness(1.1);
}

.vn-scanner-text {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    transition: opacity 0.25s ease;
}

.vn-scanner-sub {
    font-size: 12.5px;
    color: #64748b;
    max-width: 270px;
    line-height: 1.45;
    margin-bottom: 14px;
}

.vn-scanner-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #1A56DB;
    background: rgba(26, 86, 219, 0.08);
    border: 1px solid rgba(26, 86, 219, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    animation: vnPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes vnPopIn {
    0% { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}