/* Face ID Biometric HUD & 360° Surroundings Radar Styles */

.faceid-container {
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #070a11;
}

.faceid-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.faceid-subtitle {
    font-size: 13px;
    color: var(--snap-subtext);
    margin-bottom: 32px;
}

.faceid-viewfinder {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
    border: 3px solid #1e293b;
    background: #000;
}

.faceid-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
}

.faceid-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    pointer-events: none;
    transition: border-color 0.3s;
}

.faceid-ring.scanning {
    border-color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
    animation: ringPulse 1.5s infinite;
}

.faceid-ring.verified {
    border-color: #10b981;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.8);
}

.faceid-ring.failed {
    border-color: #f59e0b;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.8);
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.03); opacity: 1; }
}

.faceid-laser {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #38bdf8, transparent);
    box-shadow: 0 0 10px #38bdf8;
    top: 0;
    opacity: 0;
    pointer-events: none;
}

.faceid-laser.scanning {
    opacity: 1;
    animation: laserScan 2s infinite ease-in-out;
}

@keyframes laserScan {
    0% { top: 10%; }
    50% { top: 90%; }
    100% { top: 10%; }
}

.faceid-status {
    font-size: 14px;
    font-weight: 600;
    color: #38bdf8;
    min-height: 24px;
}

/* 360° Low Light Calibration Radar Honeypot */
.trap360-modal {
    position: absolute;
    inset: 0;
    background: rgba(7, 10, 17, 0.98);
    backdrop-filter: blur(20px);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    text-align: center;
}

.trap-badge {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid #f59e0b;
    color: #fbbf24;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.trap-title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.trap-instruction {
    font-size: 13px;
    color: #94a3b8;
    max-width: 340px;
    margin-bottom: 32px;
    line-height: 1.5;
}

.radar-compass-wrapper {
    width: 220px;
    height: 220px;
    position: relative;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(245, 158, 11, 0.4);
}

.radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(245, 158, 11, 0.3) 0deg, transparent 60deg);
    animation: radarRotate 2.5s linear infinite;
}

@keyframes radarRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.compass-needle {
    width: 4px;
    height: 90px;
    background: linear-gradient(to top, transparent, #fbbf24);
    position: absolute;
    bottom: 50%;
    transform-origin: bottom center;
    border-radius: 2px;
    transition: transform 0.4s ease;
    box-shadow: 0 0 10px #fbbf24;
}

.radar-center-info {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0f141c;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid #334155;
}

.trap-angle-display {
    font-size: 24px;
    font-weight: 800;
    color: #fbbf24;
}

.radar-sublabel {
    font-size: 10px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: bold;
}

.trap-progress-text {
    font-size: 14px;
    font-weight: 600;
    color: #f1f5f9;
}
