/*
    Document   : override
    Created on : <date>
    Author     : <author>
    Description:
        This is where any of your application specific styles should be included
*/
.back-to-table {
    position: fixed;
    top: 10rem;
    left: 0.2rem;
    border-radius: 20%;
    background: #ddd3d3;
    padding: 0.5rem;
    border: none;
    cursor: pointer;
    opacity: 50%;
    transition: opacity 0.1s;
    z-index: 20;
}

.hidden {
    opacity: 0%;
}

.back-to-table-icon {
    width: 3rem;
    height: 3rem;
    color: #ddd3d3;
}

.back-to-table:hover {
    opacity: 60%;
}

.page-header-size {
    height: 50px;
    margin: 5px;
}
.sendOffScreen {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.fullWidth {
    width: 1px;
    min-width: 100%;
}

.tabbarcontainer {
    padding: 0 0 .313rem 0;
}
a {
    text-decoration: none !important;
}


/*
    The Avatar Page
*/


body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;

}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    height: 570px;
    position: absolute;
    top: 18px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-style: solid;
    border-top-width: 3px;
    border-right-width: 2px;
    border-bottom-width: 7px;
    border-left-width: 7px;
    border-radius: 7%;
    background-color: rgb(183, 223, 231);
    z-index: 1;
    align-items: flex-end;
    /*background-image: url('images/background/07.png');
    background-image: url('images/background/new_backgrounds/6.jpg');
    b*/
    background-size: cover; /* Ensures the image covers the entire element */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: center; /* Centers the image */
}

.oj-sm-margin-4x-bottom{
    background-image: url('images/background.png');
    background-size: 100% 100%;;
    background-repeat: no-repeat;
    background-position: center;
    height: 600px;
    
}


.left-panel, .right-panel ,   .picker-frame{
    display: inline-block;
    text-align: center; /* Aligns items vertically */
}




.avatar-img {
    width: 90%;
    margin-bottom: 10px;
}

/*#avatar-body-img {
    width: 60% !important;
    margin-bottom: 10px;
}*/

.controls, .colors {
    display: flex;
    justify-content: space-around;
    margin-bottom: 10px;
}

.control-btn, .part-btn {
    padding: 5px 10px;
    margin: 0 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.color {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

.top-bar {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
}


@keyframes Gradient {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.middle-panel {

}

.right-panel {
    color: white;
    height: 570px;
    width: 100% !important;
    margin-left: 40px;
}
.right-panel div , .right-panel div h2, .right-panel div h4{
    color: white;
}

.image-responsive {
    width: 75%;
    height: auto;
    cursor: pointer; /* Indicates clickable items */
}


.hyper-image {
    overflow: hidden;
    display: ruby;
    border: 0px solid #ddd; /* Adds a light border around the image */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hyper-image img {
    display: block;
    transition: transform 0.3s ease;
}

.hyper-image:hover {
    transform: scale(0.90); /* Slightly enlarges the image */
    box-shadow: 0 8px 15px rgba(0,0,0,0.3); /* Adds depth with shadow */
}
.color-div:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}
.oj-tabbar-item.oj-selected {
    background-color: #132130; /* Example background color */
    color: white !important; /* Ensures text color change is applied */
    padding: 5px;
    border-radius: 15px;
    box-shadow: 6px 2px 4px rgba(0,0,0,0.4);
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}


@media (max-width: 768px) {
    .hyper-image:hover img {
        transform: scale(1.02); /* Less enlargement */
        box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Softer shadow */
    }

    .avatar-img {
        width: 40%;
        margin-bottom: 10px;
    }
}


/* Media query for small screens */
@media (max-width: 768px) {

    .tabbar-container {
        display: flex; /* Enables flexbox layout */
        flex-wrap: wrap; /* Allows items to wrap as needed */
        justify-content: center; /* Centers items horizontally */
        align-items: center; /* Centers items vertically */
    }

        .tabbar-container ul {
            display: flex; /* Enables flexbox layout */
            flex-wrap: wrap; /* Allows items to wrap as needed */
            justify-content: center; /* Centers items horizontally */
        }

            .tabbar-container ul li {
                display: flex; /* Changes list items to flex to align them horizontally */
                justify-content: center; /* Centers content of list items */
                align-items: center; /* Aligns items vertically */
            }

    .left-panel {
        dis-ms-flex: inherit;
        -webkit-flex: inherit;
        flex: inherit;
        -wrap: wrap; /* Allows items to wrap as needed */
    }

    .avatar-img,
    .controls,
    .colors {
        flex: auto; /* Allows each child to grow equally */
    }

    .controls, .colors {
        display: flex; /* Makes controls and colors use flexbox for their children */
        flex-direction: column; /* Stacks their children vertically */
        align-items: flex-end;
        letter-spacing: 60px;
    }

    .oj-button {
        display: contents;
    }

    .oj-toolbar {
        width: 47.4px;
        height: 27.4px;
    }
}

/*End of the Avatar Page*/



/*Drag and Drop Stickers*/
.sticker {
    cursor: grab;
}

.left-panel-draggable {
    position: relative !important;
    display: inline-block; /* Adjust as needed */
}

.overlay-sticker {
    position: absolute;
}

.showoff-panel {
    display: flex; /* or keep the existing display if it's different, like flex-wrap */
    flex-wrap: wrap; /* This is to ensure stickers wrap within the container */
    height: calc(100vh - 50px); /* Set a fixed height for the container */
    overflow-y: auto; /* This enables vertical scrolling */
    /* Optional: add some padding and margin for better appearance */
    padding: 10px;
    margin-bottom: 20px;
}



/* General styling for the camera icon */
.camera-icon {
    width: 100px;
    height: 100px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 48px;
    cursor: pointer;
    border-radius: 50%; /* Makes the icon circular */
    box-shadow: 0 2px 4px rgba(0,0,0,0.3); /* Adds a subtle shadow for depth */
}








/* Dialog box styling */

.dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 20px;
    border: 2px solid #ffab91;
    box-shadow: 0 0 15px rgba(255, 204, 128, 0.5);
    border-radius: 15px;
    z-index: 1000;
    display: none;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-width: 980px; /* Adjusted for better responsiveness */
    background-color: #fff0f6; /* Soft pink background */
}

.input-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.input-field, .select-field select {
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid #4fc3f7; /* Sky blue border */
    font-size: 16px;
    color: #5c6bc0; /* Indigo text for visibility */
}

.select-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .select-field label {
        margin-right: 10px;
        font-size: 16px;
        color: #333;
    }

.gender-select, .race-select {
    flex-grow: 1;
    background-color: #e3f2fd; /* Light blue background */
}


.section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

.video-section, .buttons-section, .qr-cartoon-section {
    flex: 1;
}

.div-title-container > .title {
    text-align: center;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.video-feed, .image-display, #qrcode {
    width: 325px;
    height: 250px;
    border: 3px solid #4dd0e1;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e1f5fe;
}

.close-button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.action-button, .upload-button {
    padding: 7px 7px;
    margin-top: 10px;
    border: none;
    border-radius: 20px;
    background: transparent;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.5s;
}

    

.upload-button {
    display: inline-block;
    width: auto;
}

.image-display, #qrcode {
    background-color: #f0f0f0;
    transition: transform 0.2s;
}

    .image-display:hover, #qrcode:hover {
        transform: scale(1.05);
    }





/*The new register dialog style*/


.register-dialog {
    position: fixed;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 0px;
    border: 2px solid #ffab91;
    box-shadow: 0 0 15px rgba(255, 204, 128, 0.5);
    border-radius: 15px;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-width: 1164px; /* Adjusted for better responsiveness */
    background-color: #fff0f6; /* Soft pink background */
}



.register-dialog,* {
        box-sizing: border-box;
    }

.register-dialog-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    /* height: 75vh; */
    display: flex;
    background: linear-gradient(-90deg,#20f5ba, #f1cad8, #fa8766, #0bb5f6);
    background-size: 400% 400%;
    animation: Gradient 15s ease infinite;
}

    .register-dialog-body h1 {
        font-weight: bold;
        margin: 0;
    }


.boujee-text {
    --bg-size: 400%;
    --color-one: hsl(10 90% 55%);
    --color-two: hsl(70 95% 55%);
    background: linear-gradient( 90deg, var(--color-one), var(--color-two), var(--color-one) ) 0 0 / var(--bg-size) 100%;
    color: transparent;
    background-clip: text;
    -webkit-text-stroke: 1px #ffffff;
}

@media (prefers-reduced-motion: no-preference) {
    .boujee-text {
        animation: move-bg 10s linear infinite;
    }

    @keyframes move-bg {
        to {
            background-position: var(--bg-size) 0;
        }
    }
}

.register-dialog-body h2 {
    text-align: center;
}

.register-dialog-body p {
    font-size: 16px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

.register-dialog-body a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

.register-dialog-body button {
    border-radius: 20px;
    border: 1px solid #FF7585;
    background-color: #ff7585;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
}

.register-dialog-body button:active {
    transform: scale(0.95);
}

    .register-dialog-body button:focus {
        outline: none;
    }

.register-dialog-body button.ghost {
    background-color: transparent;
    border-color: #FFFFFF;
}

.register-dialog-body form {
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 50px;
    height: 100%;
    text-align: center;
}

.register-dialog-body input {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}

    .register-dialog-body .register-dialog-container {
        background-color: #fff;
        border-radius: 10px;
        box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
        position: relative;
        overflow: hidden;
        width: 1068px;
        max-width: 100%;
        min-height: 480px;
    }

    .register-dialog-body .register-form-container {
        position: absolute;
        top: 0;
        height: 100%;
        transition: all 0.6s ease-in-out;
    }

    .register-dialog-body .sign-in-container {
        left: 0;
        width: 50%;
        z-index: 2;
    }

    .register-dialog-body .register-dialog-container.right-panel-active .sign-in-container {
        transform: translateX(100%);
    }

    .register-dialog-body .sign-up-container {
        left: 0;
        width: 50%;
        opacity: 0;
        z-index: 1;
    }

    .register-dialog-body .register-dialog-container.right-panel-active .sign-up-container {
        transform: translateX(100%);
        opacity: 1;
        z-index: 5;
        animation: show 0.6s;
    }

@keyframes show {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

.register-dialog-body .overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.register-dialog-container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.register-dialog-body .overlay {
    background: url(https://t3.ftcdn.net/jpg/06/33/58/04/360_F_633580478_nnmZcvm8ABzTKljmjTko4Sh7qp2H1rX3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.register-dialog-container.right-panel-active .overlay {
    transform: translateX(50%);
}

.register-dialog-body .overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.register-dialog-body .overlay-left {
    transform: translateX(-20%);
}

.register-dialog-container.right-panel-active .overlay-left {
    transform: translateX(0);
}

.register-dialog-body .overlay-right {
    right: 0;
    transform: translateX(0);
}

.register-dialog-body .register-dialog-container.right-panel-active .overlay-right {
    transform: translateX(20%);
}

.register-dialog-body .social-container {
    margin: 20px 0;
}

    .register-dialog-body .social-container a {
        border: 1px solid #DDDDDD;
        border-radius: 50%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        margin: 0 5px;
        height: 40px;
        width: 40px;
    }


























.sign-in-div {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7b7b7;
}

.card {
    width: 25rem;
    border-radius: 1rem;
    background: #20f5ba;
    box-shadow: 4px 4px 15px rgba(#000, 0.15);
    position: relative;
    color: #434343;
}
.oj-web-applayout-header{
    height: fit-content;
}
.card .card__container {
    padding: 2rem;
    width: 100%;
    height: 100%;
    background: #20f5ba;
    border-radius: 1rem;
    position: relative;
}

    .card .card__header {
        margin-bottom: 1rem;
        font-family: 'Playfair Display', serif;
    }

    .card .card__body {
        font-family: 'Roboto', sans-serif;
    }

    .card::before {
        position: absolute;
        top: 2rem;
        right: -0.5rem;
        content: '';
        background: #283593;
        height: 28px;
        width: 28px;
        transform: rotate(45deg);
    }

    .card::after {
        position: absolute;
        content: attr(data-label);
        top: 11px;
        right: -14px;
        padding: 0.5rem;
        width: 10rem;
        background: #3949ab;
        color: white;
        text-align: center;
        font-family: 'Roboto', sans-serif;
        box-shadow: 4px 4px 15px rgba(26, 35, 126, 0.2);
    }


.image-zoomed {
    transform-origin: top left; /* Zoom starts from the top left */
    transform: scale(2.5); /* Scale down to display only the zoomed-in top left quarter */
}

.image-container {
    overflow: hidden; /* Ensures only the zoomed-in portion is shown */
    position: relative; /* Positioning context */
}

.bottom-center-image-container {
    overflow: hidden;
    position: relative;
}
.center-image-container {
    overflow: hidden;
    position: relative;
}

.bottom-center-image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    transform-origin: bottom center;
    transform: scale(2.7);
}
.center-image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    transform-origin: center;
    transform: scale(2);
}


#stp4{
    size: 40px;
}
.picker-wrapper {
    position: relative;
    
  }


  .picker-frame {
    position: relative;
    width: 80px;
    height: 300px; 
    overflow-y: scroll;
    border-radius: 20px;
    text-align: center;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .picker-frame::-webkit-scrollbar {
    display: none;
  }

  .picker-content div {
    font-size: 24px;
    line-height: 50px;
    height: 50px;
    background-color: #ffffff;
  }

  .picker-content > div.selected {
    background-color: rgb(48, 178, 48);
    color: #333333;
    font-weight: bold;
  }
  
  .picker-content div.selected {
    font-weight: bold;
    color: #000; /* Full black */
  }
  
  /* Style for unselected items */
  .picker-content div.unselected {
    font-weight: normal;
    color: #000000; /* Dimmed text */
    opacity: 0.6;
  }
  
  

  .picker-content > div {
    padding: 8px;
    text-align: center;
    cursor: pointer;
    color: #000;
  }
  

  .highlight-line {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    height: 40px;
    width: 200px;
    border-top: 2px solid lightgreen;
    border-bottom: 2px solid lightgreen;
    pointer-events: none;
    z-index: 2;
  }

  .selected {
    color: #007aff;
    font-weight: bold;
  }


  .icon-bar {
    display: flex;
    justify-content: space-around;
    background-color: #fcf8e3bc;
    border-radius: 50px;
    height: 120px;
  }

  .icon-bar-gender {
    margin-top: 30px;
    height: 140px !important;
  }


  .icon-bar {
    display: flex;
    gap: 300px;
  }

  /* Hide radio buttons */
  .icon-bar input[type="radio"] {
    display: none;
  }

  .icon-label {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 110px;
    border-radius: 50%;
    font-size: 1.8rem;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }


  .text-label {
    width: 250px;
    height: 60px;
    border: 1px solid #0c5c1b;
    border-radius: 10%;
    font-size: 1.6rem;
    cursor: pointer;
    color: #000;
    margin: auto;
  }

  .icon-label span {
    font-size: 0.7rem;
    margin-top: 5px;
    
  }

  /* Highlight selected icon */
  #icon1:checked ~ .icon-bar label[for="icon1"],
  #icon2:checked ~ .icon-bar label[for="icon2"],
  #icon3:checked ~ .icon-bar label[for="icon3"] {
    background-color: rgb(48, 178, 48);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 115px;
    height: 115px;
  }

    /* Highlight selected icon */
  #icon1:checked ~ .icon-bar-gender label[for="icon1"],
  #icon2:checked ~ .icon-bar-gender label[for="icon2"],
  #icon3:checked ~ .icon-bar-gender label[for="icon3"] {
    background-color: rgb(48, 178, 48);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    width: 100px;
    height: 140px;
  }


  #stp0_button {
    margin-top: 250px;
    background-color: #1B5E20 ;
    border: none;
    border-radius: 50px;
    color: #FFFFFF;
    width: 350px;
    padding: 15px 32px;
    text-align: center;
    font-size: 30px;
  }



  mark {
    color: black ;
    background-color: transparent !important;
    border-radius: 15px;
  }


.div-title-container {
  display: -webkit-inline-box;
  align-items: center; /* vertical alignment */
  gap: 60px;
}

.div-title-container video{
    border-radius: 70px;
    padding: 5px;
}

#display-the-qr{
    background: none;
    border-radius: 70px;
    padding: 5px;
    margin-left: 50px;
}

#display-the-captured-image{
    background: rgb(17, 207, 96);
    border-radius: 70px;
    padding: 5px;
    margin-left: 50px;
}

#display-the-captured-image  > canvas{
    border-radius: 70px;
    width: 300px;
    border: #0bb5f6;
    
}



#capturePhotoFromVideo{
    background: none;
}

.icon_img {
    position: absolute;
    width: 60px; 
    background-color: rgb(6, 129, 6);
    border-radius: 20px;
    bottom: 0px;
}


.next_button {
    position: absolute;

    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-top: -90px;
    float: right; /* Add this line */
    right: 70px;
  }


.next_button img{
    width: 150px;

}


.button-bar{
    display: flex;
    justify-content: space-around;
    background-color: #fcf8e3bc;
    border-radius: 50px;
    height: 150px;
    display: flex;
    align-items: center;
}


.button-bar > button {
    border-radius: 30px;
    height: 90px;
    font-size: 23px;
    width: 200px;
    background-color: #2196f3;
}

.restart_button {
    
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    float: right; /* Add this line */
    right: 70px;
    margin-top: -20px;
  }


.restart_button img{
    width: 120px !important;
    
}


















/* voice */
/* Initial state of the indicator (not recording) */
/* Style for the indicator container */
.indicator-container {
    width: 100px;   /* Set your width here */
    height: 100px;  /* Set your height here */
    margin: 20px auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
#record-timer{
    font-size: 90px;
}
/* Hide the wave GIF initially */
.wave-gif {
    display: none;  /* Initially hide the GIF */
    width: 100%;    /* You can adjust this size based on your needs */
    height: auto;   /* Maintain aspect ratio */
}

/* Optional: Style buttons */
button[disabled] {
    background-color: #ccc;
}



/* Display Code page */
#screenshotButton{
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 70px;
    padding-bottom: 35px;
}

#printQRBtn{
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 150px;
}


#playBtn{
    background-color: #649ec5;
    width: 200px;
    font-size: 30px;
    height: 100px;
    border-radius: 50px;
}