@import "../../var";
.camera-container {
    width: 100vw;
    height: 100vh;
    // padding-bottom: 75%; /* set the aspect ratio to 4:3 */
    // padding-bottom: 56.25%; /* set the aspect ratio to 16:9 */
    position: relative;
    video {
        width: 100vw;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        object-fit: cover;
      }

      .camera-bottom{
        position: absolute;
        right: 0;
        top: 0;
        width: 16%;        
        height: 100%;
        background: $color_iridium;
        height: 100vh;
        overflow: hidden;
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 16px;
      }

      .capture-photo,
      .close-button,
      .facing-mode{
        width: 50px;
        height: 50px;
        // position: absolute;
        border-radius: 50%;
      }
      .facing-mode{
        left: 50%;
        bottom: 88px;
        transform: translateX(-50%);
      }

      .capture-photo{
        background: transparent;
        // border-radius: 50%;       
        // left: 50%;
        // top: 50%;
        background: $white;
        // transform: translate(-50%,-50%);
        position: relative;
        &::after{
          content: "";
          width: 100%;
          height: 100%;
          border: solid 2px $color_iridium;
          display: block;
          border-radius: 50%;
          transform: scale(0.75);
        }
      }
      
      // .close-button{        
      //   left: 50%;
      //   bottom: 20px;
      //   transform: translateX(-50%);
      // }
      
      .navigation-arrow-container{
        width: 68px;
        height: 126px;
        // position: absolute;
        // left: 50%;
        // top: 20px;
        // transform: translateX(-50%);
      }
      .image-preview-list{
        height: 100vh;
        width: 16%;
        overflow-y: scroll;
        position: absolute;
        left: 0;
        top: 0;
        background: $color_iridium;
        border-right: solid 1px #9b9090;
        text-align: center;
        z-index: 3;
        .image-preview{
          width: 100%;
          height: 70px;
          padding: 10px;
          border-top: solid 1px #9b9090;
          // border-radius: 8px 8px 0 0;
          // background-color: black;
          display: flex;
          align-items: center;
          justify-content: center;
          margin-top: 5px;
          &:first-child{
            margin-top: 0;
            border-top: none;
          }
        }
      }

      .body-type-container{
        height: 100vh;
        width: calc(100% - 32%);
        position: absolute;
        left: 16%;
        top: 0;
        text-align: center;
        z-index: 3;        
        overflow: hidden;
        .body-type{
          height: 100%;
          width: 100%;
          display: flex;
          align-items: center;
          padding: 20px;
        }
      }

      .popup-container{
        position: fixed;
        height: 100%;
        width: 100%;
        z-index: 3;
        background-color: rgba(0, 0, 0, 0.5);

        .popup{
          width: 400px;
          background: $white;
          position: absolute;
          left: 50%;
          top: 50%;
          transform: translate(-50%,-50%);
          padding: 20px;
          border-radius: 8px;
        }

        h3{
          font-size: $fs-20;
        }
        p{
          padding-top: 16px;
          font-size: $fs-16;
        }
        .button-container{
          padding-top: 16px;
          display: flex;
          justify-content: flex-end;
          .upload{
            padding-left: 20px;
          }
        }
      }
  }
.loading{
  align-items: center;
  background: #fff;
  display: flex;
  position: fixed;
  justify-content: center;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}