.face-scan-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-text-primary);
}

.face-scan-container {
    width: 300px;
    height: 300px;
    position: relative;
    margin-bottom: 2rem;
}

.face-scan-frame {
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-accent-red);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--color-accent-red);
    top: 0;
    left: 0;
    animation: scan 2s linear infinite;
    box-shadow: 0 0 10px var(--color-accent-red);
}

.scan-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-top: 2px solid var(--color-accent-red);
    border-radius: 50%;
    animation: rotate 2s linear infinite;
}

.scan-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: center;
    animation: pulse 1.5s infinite;
}

.scan-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-accent-red);
    animation: progress 3s linear forwards;
}

.face-result {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.face-result.active {
    opacity: 1;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Responsive Design */
@media (max-width: 480px) {
    .face-scan-container {
        width: 250px;
        height: 250px;
    }

    .scan-text {
        font-size: 1rem;
    }
}

.identity-confirmation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9998;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-text-primary);
}

.identity-content {
    text-align: center;
    padding: 2rem;
    background-color: rgba(30, 30, 30, 0.9);
    border-radius: 10px;
    border: 1px solid var(--color-accent-red);
    box-shadow: 0 0 20px rgba(178, 34, 34, 0.3);
    max-width: 90%;
    width: 400px;
}

.identity-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--color-accent-red);
    box-shadow: 0 0 15px rgba(178, 34, 34, 0.5);
    overflow: hidden;
}

.identity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.identity-status {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.2rem;
    color: var(--color-accent-red);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.identity-details {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.identity-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.identity-info {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.continue-button {
    background-color: var(--color-accent-red);
    color: var(--color-text-primary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-family: 'Roboto Mono', monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.continue-button:hover {
    background-color: var(--color-accent-purple);
    transform: scale(1.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.identity-confirmation.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@media (max-width: 480px) {
    .identity-content {
        padding: 1.5rem;
    }

    .identity-image {
        width: 150px;
        height: 150px;
    }

    .identity-status {
        font-size: 1rem;
    }

    .identity-name {
        font-size: 1.2rem;
    }
} 