body{
    background-image: url("../assets/TESDA Building Graphics.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: Helvetica, Arial, sans-serif;
}
.container{
    padding: 0; margin: 0
}

#loader-container{
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    padding: 0; margin: 0;
    width: 100%; height: 100%; z-index: 19;
    display: flex;
    align-items: center; 
    justify-content: center;
    text-align: center; 
    /* min-height: calc(100% - 1rem); */
    backdrop-filter: blur(20px); 
    background-color: rgba(255, 255, 255, 0.3); /*Glass-like background*/
    transition: 0.4s ease;
}

#wait{
    align-items: center; justify-content: center;
    left: 5px;
}

#gear{
    width: 50% ; height: auto;
    align-items: center; 
    justify-content: center;
    text-align: center;
}


.container-fluid .loader{
    color: white;
    word-wrap: break-word;
    white-space: normal;
    margin: 0;
}



.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center; 
    min-height: calc(100% - 1rem);

}


#PAALALAModal{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 17; /*Example z-index for modal */
}



/* Target all class row */
.row{
    color: white;
}

/* Row 1 */
#row1{
    margin-top: 1em; margin-bottom: 2em;
}

/* The Office name header */
#TESDANVPO{
    color: white;
    margin: 0; padding: 0;
}

/* Sidebar toggle Logo */
.menu{
    filter: invert(100%);
}

/* TESDA Logo */
#row1-col2{
    padding-left: 0; padding-right: 0;
}


#form-title{
    text-align: center; font-weight: bold;
    padding-bottom: 1em;
}

/* Labels in the form */
.input-group-text{
    min-width: 9em;

}

/* Boxes containing the label and input box in the form */
.input-group.mb-3{
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
}


/* Label boxes only*/
.container .input-group-text{
    background-color: blue;
    /* border-style:outset; */
    /* border-right: 1cap;
    border-color: gray; */
    font-weight: 600;
    color: white;
}


/* #displayArea{ */
    /* width: 20%; height: auto; */
    /* scale: 20%; */
/* } */

#my_camera{
    width: 10%; height: auto;
}

#start_webcam,#take_snapshot,#stop_webcam,#saveSnap,#switch-btn,#submit-btn{
    font-size: 2em;
    font-weight: 600;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5);
    border-radius: 2cap;
    border-color: white;
    margin: 0; padding: 0.5em;
    white-space: wrap;
    overflow: hidden;
    width: fit-content;
    line-height: 1.5cap;
    
}


#start_webcam{
background-color: blue; color: white;
min-width: 4em;
transition: 1s ease;
position: relative;
overflow: hidden;
}

/*/This is the  camera icon*/
#camera1{
width: 1.5em; height: auto;

}

/* Create the shine effect using the ::before pseudo-element */
#start_webcam:before{
    content: ''; /* Empty content for the pseudo-element*/
    position: absolute; /*Position it absolutely on top of the button*/
    top: 0;
    left: -100%; /* Start the shine off-screen to the left */
    width: 100%; /* Span the full width of the button */
    height: 100%; /* Span the full height of the button */
    background-image: linear-gradient(to right, rgba(255,255,255, 0) 30%, rgba(255,255,255, .8), rgba(255,255,255, 0) 70%); /* Create the shine gradient */
    transform:skew(-30deg);
    animation: shine 7s ease infinite; /*Animate the shine movement */

  }


/* Define the shine animation */
@keyframes shine {
    from { left: -100%; } /* Start from off-screen left */
    to { left: 50em; } /* Move to off-screen right */
  }

#stop_webcam{
background-color: red;
color: white;
/* display: grid; */
transition: 1s ease;
}

#camera2{
    width: 3em; height: auto;
}

#take_snapshot{
background-color: blue;
color: white;
font-weight: bold;
min-width: 8em;
border-radius: 3cap;
transition: 1s ease;
}

#switch-btn{
    min-width: 1em;
    transition: 1s ease;
}

#submit-btn{
background-color: green;
color: white;
font-size: 4em;
padding-right: 0.8em ;padding-left: 0.8em;
height: 3em;
border-radius: 3cap;
position: relative; bottom: 3em;
transition: 1s ease;
}


#container-row2, #container-row3{
    margin: 0; padding: 0;
/* display: none; */
visibility:hidden;
}

.container .col-4{
    margin: 0; padding: 0;
}

/* Correct the orientation of the Output Image, make sure it's not tilted when using the front cam in landscape mode */
img.after_capture_frame {
    transform: rotateY(180deg);
}
  
.modal-backdrop {
    display: none;
}

.modal::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: -1;  /* Ensures it stays behind the modal */
}

.modal-content {
    position: relative; /* To ensure the content sits above the backdrop */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.2);
}


#progress-wrapper { 
    display:none;
    position: fixed;
    align-items: center; justify-content: center; text-align: center;
    top: 80%; left: 50%; 
    height: 2cm;
    transform: translate(-50%, -50%); 
    z-index: 20; /* Higher z-index to be above loading screen */ 
}

#progress-bar { 
    width: 300px; /* Adjust the width as needed */ 
    height: 40px; /* Adjust the height as needed */
}


#orientationOutputContainer{
    position: relative;
    /* top: 5em; */
    /* padding: 1px; */
    background-color: white;
    border-radius: 12px;
    /* width: 15em; */

    justify-content: center;
    align-items: center;
    text-align: center;
}