/* Scoped KYC Step 2 styles */
.kyc-step-selfie #videoContainer {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 3 / 4; /* Portrait ratio */
    background: #000;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.kyc-step-selfie #video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* No distortion */
    display: block;
}

.kyc-step-selfie .overlay-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    clip-path: ellipse(28% 40% at 50% 50%); /* Vertical ellipse */
    pointer-events: none;
    z-index: 1;
}

.kyc-step-selfie .overlay-guide {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 55%; /* Narrower for upright shape */
    height: 80%; /* Taller height */
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}

.kyc-step-selfie .status-box {
    font-weight: 500;
    font-size: 14px;
    margin-top: 10px;
}

.kyc-step-selfie #capturedImage {
    max-width: 200px;
    border: 2px solid #ddd;
    border-radius: 10px;
}
