.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

// .modal {
//     width: 100vw !important;
//     height: 100dvh !important;
//     margin: 0 !important;
//     padding: 0 !important;
//     max-width: none !important;
//     background: transparent !important;
// }

.cameraContainer {
    width: 100%;
    height: 100dvh;
    position: relative;
    overflow: hidden;
}

.camera {
    width: 100%;
    height: 100dvh;
    object-fit: cover;
}

.shutterButton {
    position: fixed;
    bottom: calc(0dvh + 22px);
    left: 50%;
    opacity: 0.5;
    width: 70px;
    height: 70px;
    transform: translate(-50%, 0);
    background: #fff;
    border-radius: 50%;

    &::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% + 6px);
        height: calc(100% + 6px);
        border-radius: 50%;
        border: 3px solid rgba(129, 169, 245, 1);
    }
}

.handIcon {
    position: absolute;
    height: calc(100dvh - 140px);
    left: 50%;
    top: 20px;
    transform: translate(-50%) scale(-1, 1);
    width: auto;
    z-index: 9;
}

.torchButton {
    position: fixed;
    bottom: calc(0dvh + 22px);
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;

    &:active {
        transform: scale(0.95);
    }

    &>.torchIconContainer {
        display: block;
        z-index: 10;
        width: 38px;
        height: 38px;
    }

    &.torchButtonActive {
        background-color: #fff;

        &.torchIcon>path {
            fill: #000;

            &:last-child {
                transform: translate(0, -64px);
            }
        }
    }
}