.identification-wrap {
    width: 100%;
    max-width: 680px;
    background: rgba(14, 14, 26, 0.85);
    border: 0.5px solid rgba(168, 85, 247, 0.2);
    backdrop-filter: blur(12px);
    box-shadow:
        0 0 0 1px rgba(168, 85, 247, 0.05),
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(168, 85, 247, 0.08),
        0 0 120px rgba(168, 85, 247, 0.04);
}

.identification-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.identification-logo-sub {
    font-size: 11px;
    color: #7c3aed;
    letter-spacing: 0.3em;
    font-weight: 400;
}

[data-identification-scan-section] {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.identification-circle-timer {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.identification-circle-timer svg {
    transform: rotate(-90deg);
    width: 100%;
    height: auto;
}

.identification-circle-bg {
    fill: none;
    stroke: rgba(168, 85, 247, 0.1);
    stroke-width: 4;
}

.identification-circle-fill {
    fill: none;
    stroke: #a855f7;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 502.655;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear, stroke 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.7));
}

.identification-circle-fill--urgent {
    stroke: #f1416c;
    filter: drop-shadow(0 0 8px rgba(241, 65, 108, 0.7));
}

.identification-circle-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.identification-timer__label {
    font-size: 11px;
    color: rgba(168, 85, 247, 0.35);
    letter-spacing: 0.2em;
}

.identification-timer__value {
    font-size: 52px;
    font-weight: 700;
    color: #a855f7;
    letter-spacing: 0.05em;
    line-height: 1;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.identification-timer__value--urgent {
    color: #f1416c;
    text-shadow: 0 0 20px rgba(241, 65, 108, 0.5);
    animation: identTimerUrgent 0.5s ease-in-out infinite alternate;
}

@keyframes identTimerUrgent {
    from { opacity: 1; }
    to   { opacity: 0.6; }
}

.identification-progress-bar {
    height: 2px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.identification-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #7c3aed, #a855f7);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.identification-data-grid {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    column-gap: 10px;
    row-gap: 10px;
    width: 100%;
    max-width: 480px;
}

.identification-data-label {
    font-size: 13px;
    color: rgba(168, 85, 247, 0.35);
    letter-spacing: 0.08em;
    white-space: nowrap;
    align-self: center;
}

.identification-data-val {
    font-size: 13px;
    color: rgba(168, 85, 247, 0.75);
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    align-self: center;
}

.identification-captcha {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.identification-result {
    animation: identBadgePulse 1.2s ease-in-out infinite;
}

@keyframes identBadgePulse {
    0%, 100% { box-shadow: 0 0 8px  rgba(168, 85, 247, 0.2); }
    50%       { box-shadow: 0 0 24px rgba(168, 85, 247, 0.5); }
}

.identification-result--block {
    color: #f1416c !important;
    border-color: #f1416c !important;
    animation: identBlockPulse 1.2s ease-in-out infinite;
}

@keyframes identBlockPulse {
    0%, 100% { box-shadow: 0 0 8px  rgba(241, 65, 108, 0.2); }
    50%       { box-shadow: 0 0 24px rgba(241, 65, 108, 0.6); }
}

/* Overlay */
#identification-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: opacity 0.6s ease;
}

#identification-overlay.is-hiding {
    opacity: 0;
    pointer-events: none;
}

#identification-overlay.is-hidden {
    display: none;
}

@media (max-width: 480px) {
    .identification-wrap {
        padding: 1.5rem !important;
    }

    [data-identification-scan-section] {
        gap: 12px;
    }

    .identification-circle-timer {
        width: 160px;
        height: 160px;
    }

    .identification-timer__value {
        font-size: 38px;
    }

    .identification-data-grid {
        grid-template-columns: auto 1fr;
    }
}
