.capture-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 640px;
    aspect-ratio: 4 / 3;
    background: #000;
    border-radius: 2rem;
    overflow: hidden;
    border: 4px solid var(--glass-border);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

#webcam {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1); /* Mirror effect */
}

.countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    font-size: 10rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 0 30px rgba(0,0,0,0.5);
    z-index: 10;
}

.flash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    z-index: 20;
    pointer-events: none;
}

.controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.shots-preview {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.shot-thumb {
    width: 120px;
    aspect-ratio: 4/3;
    background: var(--glass-bg);
    border-radius: 1rem;
    border: 2px solid var(--glass-border);
    overflow: hidden;
    position: relative;
}

.shot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shot-number {
    position: absolute;
    top: 5px;
    left: 5px;
    background: var(--primary);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

@keyframes flash {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.btn-capture {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    border: 8px solid var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-capture:hover {
    transform: scale(1.1);
}

.btn-capture:active {
    transform: scale(0.9);
}

.inner-circle {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
}

.status-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
