﻿@media (max-width: 600px) {
    .photo-upload-container {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }

    p {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .camera-icon::before {
        font-size: 24px;
    }
}


.small {
    font-size:12px
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


.small {
    font-size: 12px
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


.pb-3 {
    max-width: 600px;
    margin: 0 auto;
}


html {
    position: relative;
    min-height: 100%;
}

#uploadSection {
    padding-top: 0px
}

body {
    margin-bottom: 60px;    
}

p {
    font-size: 0.9em; /* 90% of the current font size */
}

h1 {
    font-size: 1.9em; /* 90% of the current font size */
}

.welcomeMain {
    display: flex;
    justify-content: center; /* Horizontally centers content */
    align-items: center; /* Vertically centers content */
    height: 70vh; /* Ensure the main div takes up the full viewport height */
}

#welcomeSection, #loginSection {
    max-width: 100%; /* Ensure it doesn't overflow horizontally */
}


#loadingSection {
    max-width: 100%; /* Ensure it doesn't overflow horizontally */
    padding: 50px;
    background-color: #f5f5f5;
    border-radius: 10px;
}


.photo-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-upload-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    background-color: #e9e8e8;
    cursor: pointer;
    margin-bottom: 20px;
    border-color: #dddcdc;
    border-style: solid;
    border-width: 0.4px
}

    .photo-upload-box img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* This makes sure the image covers the container without distortion */
        border-radius: inherit; /* This ensures that if the container has rounded corners, the image will too */
    }



    .camera-icon,
    .photo-upload-box span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2; /* this ensures that the icon and text are above the image */
    }


    .photo-upload-box i.fas.fa-camera,
    .photo-upload-box span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2; /* Ensure they're above the image */
        color: darkgray
    }

    .photo-upload-box span {
        top: calc(50% + 20px); /* Adjust this value to move the "Add photo" text below the camera icon */
    }



.camera-icon::before {
    content: '📷';
    font-size: 40px;
    margin-bottom: 10px;
}

#nextButton, #startUploadButton, #confirmButton {
    width: 100%;
    background-color: #1f256c;
    border: none;
    margin-top: -10px; /* Adjust this value to your preference */
}

.registration-input {
    margin-bottom: 20px; /* Adjust this value to your preference */
    width: 100%;
    background-color: #fff;
    padding: 5px; /* Adjusts the padding inside the input */
    border-radius: 10px; /* Creates rounded corners */
    border: 1px solid #ccc; /* Optional: Adds a border */
    outline: none; /* Removes the default focus outline */
}

.registration-input:focus {
    border-color: blue; /* Optional: Changes border color on focus */
}

#uploadedImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit; /* Ensures rounded corners */
    z-index: 1; /* Below the icon and text */
}


#welcomeSection, #loginSection {
    padding: 50px;
    padding-top:20px!important;
    background-color: #f5f5f5;
    border-radius: 10px;
}

    #welcomeSection h1 {
        margin-bottom: 20px;
    }

    #welcomeSection p {
        margin-bottom: 20px;
    }

.fas.fa-camera {
    font-size: 24px; /* Adjust as needed */
    color: #cbc6c6; /* Adjust as needed */
    padding-bottom: 15px
}

/* no script */
.noscript-message {
    color: red;
    background-color: white;
    padding: 20px;
    text-align: center;
}

/* Full-page overlay style */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: white;
    text-align: center;
}




#reviewSection {
    padding-top: 30px
}

#welcomeSection {
    text-align: left !important
}

    #welcomeSection h4 {
        font-weight: bold
    }

.uploadSectionImage {
    max-width: 100%;
    height: auto;
}

#errorMsg {
    color: red;
    font-size: 12px
}


html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

p {
    font-size: 0.9em; /* 90% of the current font size */
}

h1 {
    font-size: 1.9em; /* 90% of the current font size */
}

.welcomeMain {
    display: flex;
    justify-content: center; /* Horizontally centers content */
    align-items: center; /* Vertically centers content */
    height: 70vh; /* Ensure the main div takes up the full viewport height */
}

#welcomeSection {
    max-width: 100%; /* Ensure it doesn't overflow horizontally */
}


.photo-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.photo-upload-box {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    background-color: #e9e8e8;
    cursor: pointer;
    margin-bottom: 20px;
    border-color: #dddcdc;
    border-style: solid;
    border-width: 0.4px
}

    .photo-upload-box img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* This makes sure the image covers the container without distortion */
        border-radius: inherit; /* This ensures that if the container has rounded corners, the image will too */
    }



    .camera-icon,
    .photo-upload-box span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2; /* this ensures that the icon and text are above the image */
    }


    .photo-upload-box i.fas.fa-camera,
    .photo-upload-box span {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 2; /* Ensure they're above the image */
        color:darkgray
    }

    .photo-upload-box span {
        top: calc(50% + 20px); /* Adjust this value to move the "Add photo" text below the camera icon */
    }



.camera-icon::before {
    content: '📷';
    font-size: 40px;
    margin-bottom: 10px;
}

#nextButton, #startUploadButton {
    width: 100%;
    background-color: #1f256c;
    border: none;
    margin-top: -10px; /* Adjust this value to your preference */
}

#uploadedImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit; /* Ensures rounded corners */
    z-index: 1; /* Below the icon and text */
}


#welcomeSection {
    padding: 50px;
    background-color: #f5f5f5;
    border-radius: 10px;
}

    #welcomeSection h1 {
        margin-bottom: 20px;
    }

    #welcomeSection p {
        margin-bottom: 20px;
    }

.fas.fa-camera {
    font-size: 24px; /* Adjust as needed */
    color: #cbc6c6; /* Adjust as needed */
    padding-bottom:15px
}

/* no script */
.noscript-message {
    color: red;
    background-color: white;
    padding: 20px;
    text-align: center;
}

/* Full-page overlay style */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: white;
    text-align: center;
}




#reviewSection {
    padding-top: 30px
}

#welcomeSection {
    text-align: left !important
}

    #welcomeSection h4 {
        font-weight: bold
    }

.uploadSectionImage {
    max-width: 100%; 
    height: auto;
}

#errorMsg {
    color: red;
    font-size: 12px
}

/*loader*/
.loader {
    border: 3px solid #1E99B7;
    border-top: 3px solid #F5A705;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: spin 2s linear infinite;
    margin: auto; /* Centers the loader horizontally */
    display: block; /* Ensures the loader is a block-level element */
    margin-bottom:15px
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#reviewSectionImages {
    padding-top:20px
}

/*.test-banner {
    background-color: red;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

body.banner-visible {
    padding-top: 100px;*/ /* Adjust if needed to prevent overlap with banner */
/*}*/

.test-rectangle {
    background-color: rgba(255, 0, 0, 0.5)!important; /* Red with transparency */
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    top: 10px; /* Padding from the top edge */
    right: 10px; /* Padding from the right edge */
    border-radius: 8px; /* Rounded corners */
    z-index: 1000;
    font-size: 12px; /* Small text */
    
}