@font-face {
    font-family: Montserrat;
    src: url(../asset/Montserrat-Bold.ttf);
}

@font-face {
    font-family: Montserrat-Black;
    src: url(../asset/Montserrat-Black.ttf);
}

@font-face {
    font-family: Montserrat-ExtraBolt;
    src: url(../asset/Montserrat-ExtraBold.ttf);
}

@font-face {
    font-family: Montserrat-SemiBolt;
    src: url(../asset/Montserrat-SemiBold.ttf);
}

.setting-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: transparent;
    width: 130px;
    height: 130px;
    border-radius: 125px;
    border: none;
}

.gender-back-btn, .start-back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: transparent;
    width: 130px;
    height: 130px;
    border-radius: 125px;
    border: none;
}

.logout-btn,
.hidden-back-btn {
    position: absolute;
    top: 20px;
    left: 930px;
    background-color: transparent;
    width: 130px;
    height: 130px;
    border-radius: 125px;
    border: none;
}

.live-camera-feed {
    width: 876px;
    height: 493px;
    position: absolute;
    top: 613px;
    left: 103px;
    border-radius: 10px;
}

.container-background {
    width: 1080px;
    height: 1920px;
    /* background-image: radial-gradient(#3D5A6C 15%, #433A3F 65%); */
    background-image: url("{{ url_for('instance_file',filename=index_resource_folder ~ '/BG.jpg') }}");
    position: relative;
    overflow: hidden;
}

.cursor {
    cursor: pointer;
}

.ai-font-bold {
    font-family: Montserrat;
}

.ai-font-black {
    font-family: Montserrat-Black;
}

.ai-font-extrabolt {
    font-family: Montserrat-ExtraBolt;
}

.ai-font-semibolt {
    font-family: Montserrat-SemiBolt;
}

.welcome-text {
    font-size: 60px;
    color: #72A98F;
    position: absolute;
    top: 334px;
    left: 356px;
}

.ai-face-text {
    color: #EAE151;
    font-size: 85px;
    position: absolute;
    top: 458px;
    left: 203px;
}

.login-welcome {
    color: #EAE151;
    font-size: 85px;
    position: absolute;
    top: 458px;
    left: 285px;
}

.choose-gender-text {
    color: #EAE151;
    font-size: 60px;
    position: absolute;
    top: 0;
    left: 261px;
}

.camera-text {
    color: #EAE151;
    font-size: 60px;
    position: absolute;
    top: 474px;
    left: 402px;
}

/* .countdown {
    color: #FAFDF6;
    font-size: 65px;
    position: absolute;
    top: 1178px;
    left: 495px;
    display: none;
} */

#myAudio {
    display: none;
}

.start-btn {
    color: #FAFDF6;
    width: 590px;
    height: 80px;
    background-color: #433A3F;
    border: 3px solid #72A98F;
    font-size: 45px;
    border-radius: 40px;
    position: absolute;
    top: 1169px;
    left: 227px;
}

.eye-view,
.eye-hide {
    position: absolute;
    top: 740px;
    left: 775px;
    font-size: 33px;
    cursor: pointer;
    color: #FAFDF6;
}

.eye-hide {
    display: none;
}

.male-btn,
.female-btn {
    color: #FAFDF6;
    width: 331px;
    height: 80px;
    background-color: #433A3F;
    border: 3px solid #72A98F;
    font-size: 45px;
    border-radius: 40px;
}

.both-gender-male {
    position: absolute;
    top: 1169px;
    left: 175px;
}

.both-gender-female {
    position: absolute;
    top: 1169px;
    left: 574px;
}

.center-geneder-css {
    position: absolute;
    top: 1169px;
    left: 370px;
}

.take-photo-btn {
    color: #FAFDF6;
    width: 590px;
    height: 80px;
    background-color: #433A3F;
    border: 3px solid #72A98F;
    font-size: 45px;
    border-radius: 40px;
    position: absolute;
    top: 1169px;
    left: 227px;
}

.choose-photo-text {
    color: #EAE151;
    font-size: 60px;
    /* position: absolute; */
    top: 193px;
    left: 281px;
}

.photos-container {
    position: absolute;
    top: 280px;
    left: 80px;
}

.here-your-text {
    color: #EAE151;
    font-size: 60px;
    position: absolute;
    top: 474px;
    left: 185px;
}

/* .back-btn,
.share-btn,
.print-btn,
.qrcode-btn {
    color: #FAFDF6;
    width: 231px;
    height: 60px;
    background-color: #433A3F;
    border: 3px solid #72A98F;
    font-size: 35px;
    border-radius: 40px;
    position: absolute;
    top: 1628px;
}

.back-btn { left: 130px; }
.share-btn { left: 429px; }
.print-btn { left: 723px; }
.qrcode-btn { left: 429px; } */

.finel-img {
    /* position: absolute; */
    top: 613px;
    left: 208px;
    border-radius: 10px;
}

.p-finel-img {
    width: 876px;
    height: 976px;
}

.l-finel-img {
    width: 876px;
    height: 493px;
}

/* .spinner {
    display: none;
} */

/* .share-type {
    background-color: #433a3fc8;
    width: 876px;
    height: 493px;
    position: absolute;
    top: 613px;
    left: 103px;
    border: 1px solid #72A98F;
    display: none;
} */

.whatsapp-btn {
    color: #FAFDF6;
    width: 251px;
    height: 50px;
    background-color: #433A3F;
    border: 3px solid #72A98F;
    font-size: 30px;
    border-radius: 40px;
    position: absolute;
    top: 230px;
    left: 574px;
}

/* .cancle-btn {
    display: none;
    position: absolute;
    font-size: 50px;
    top: 555px;
    left: 974px;
    color: #72A98F;
} */

.mobile-num,
.user-id,
.password {
    background-color: #433A3F;
    border: 3px solid #72A98F;
    width: 590px;
    height: 80px;
    border-radius: 40px;
    color: rgb(179, 179, 179);
    font-size: 40px;
}

.mobile-num { position: absolute; top: 105px; left: 151px; }
.user-id { position: absolute; top: 625px; left: 235px; }
.password { position: absolute; top: 725px; left: 235px; }

/* .submit-btn,
.login-btn,
.go-home-btn,
.go-home-btn1 {
    color: #FAFDF6;
    width: 251px;
    height: 50px;
    background-color: #433A3F;
    border: 3px solid #72A98F;
    font-size: 30px;
    border-radius: 40px;
}

.submit-btn { position: absolute; top: 250px; left: 310px; }
.login-btn { position: absolute; top: 850px; left: 408px; }
.go-home-btn { position: absolute; top: 250px; left: 310px; }
.go-home-btn1 { position: absolute; top: 418px; left: 310px; } */

.setting-back,
.setting-male-back,
.setting-female-back {
    color: #FAFDF6;
    width: 251px;
    height: 50px;
    background-color: #433A3F;
    border: 3px solid #72A98F;
    font-size: 30px;
    border-radius: 40px;
    position: absolute;
    top: 40px;
    left: 20px;
}

.setting-alert {
    position: absolute;
    top: 110px;
    left: 40px;
    right: 40px;
    padding: 8px 14px;
    font-size: 14px;
    background: #6c4b1f;
    color: #fff7d1;
    border-radius: 10px;
    border: 1px solid #EAE151;
}

/* QR / WhatsApp */
.whatsapp-cont { display: none; }

.scanqr-text,
.whatsapp-txt {
    color: #EAE151;
    font-size: 30px;
    position: absolute;
    left: 180px;
}

.scanqr-text { top: 0; left: 240px; }
.whatsapp-txt { top: 105px; }

/* .qr-container { display: none; } */

/* .qr-code-img {
    width: 300px;
    position: absolute;
    top: 100px;
    left: 280px;
} */

/* SETTINGS – CHOOSE GENDER AREA AT BOTTOM */
.settings-gender-container {
    position: absolute;
    bottom: 140px;
    left: 0;
    width: 100%;
}

.setting-male-btn,
.setting-female-btn {
    color: #FAFDF6;
    width: 331px;
    height: 80px;
    background-color: #433A3F;
    border: 3px solid #72A98F;
    font-size: 45px;
    border-radius: 40px;
}

.setting-male-btn { position: absolute; top: 80px; left: 175px; }
.setting-female-btn { position: absolute; top: 80px; left: 574px; }

/* SETTINGS – IMAGES */
.setting-sorce-photo { position: relative; }

.add-btn,
.delete-btn {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15px;
    width: 127px;
    height: 30px;
    background-color: #433A3F;
    color: white;
    border-radius: 18px;
}

.setting-sorce-photo:hover .add-btn,
.setting-sorce-photo:hover .delete-btn {
    display: block;
}

.female-ref-img,
.male-ref-img {
    width: 272px;
    height: 354px;
}

.land-female-ref-img,
.land-male-ref-img {
    width: 272px;
    height: 154px;
}

.landscape-type-btn {
    transform: scale(1.5);
    margin-left: 10px;
    cursor: pointer;
}

.text-setting-lable { color: white; }

.setting-group .enable,
.setting-group .disable {
    font-size: 20px;
    margin-left: 10px;
    cursor: pointer;
    color: white;
}

/* SETTINGS PANELS */
.setting-group { min-width: 0; }

.optional-setting-container {
    position: absolute;
    top: 170px;
    left: 0;
    width: 100%;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    background: rgba(24, 33, 43, 0.9);
    border-radius: 18px 18px 0 0;
    border: 1px solid rgba(114, 169, 143, 0.6);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

.optional-setting-container2 {
    position: absolute;
    top: 260px;
    left: 0;
    width: 100%;
    padding: 10px 30px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    background: rgba(24, 33, 43, 0.9);
    border-radius: 0 0 18px 18px;
    border: 1px solid rgba(114, 169, 143, 0.6);
    border-top: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7);
}

.setting-buttons {
    display: flex;
    gap: 10px;
}

.option-save-btn,
.option-edit-btn,
.option-cancle-btn,
#option-save-btn {
    color: #FAFDF6;
    width: 131px;
    height: 40px;
    background-color: #433A3F;
    border: 3px solid #72A98F;
    border-radius: 40px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.option-save-btn:hover,
.option-edit-btn:hover,
.option-cancle-btn:hover,
#option-save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 10px rgba(114, 169, 143, 0.7);
    background-color: #2C3136;
}

.option-cancle-btn,
#option-save-btn { display: none; }

.server-fold-inp {
    color: #FAFDF6;
    width: 250px;
    height: 40px;
    background-color: #433A3F;
    border: 3px solid #72A98F;
    font-size: large;
    border-radius: 40px;
    padding: 0 12px;
}

.avatar-select {
    color: #FAFDF6;
    width: 250px;
    height: 40px;
    background-color: #433A3F;
    border: 3px solid #72A98F;
    border-radius: 40px;
    padding: 0 10px;
}

.logo-file {
    color: #FAFDF6;
    width: 450px;
    height: 40px;
    background-color: #433A3F;
    border: 3px solid #72A98F;
    font-size: large;
    border-radius: 40px;
    padding: 5px 12px;
}

/* LOGO PREVIEW CARD */
.setting-logo-preview {
    position: absolute;
    top: 360px;
    right: 60px;
    width: 340px;
    height: 160px;
    border-radius: 16px;
    border: 1px solid rgba(234, 225, 81, 0.7);
    background: radial-gradient(circle at center, #3D5A6C 0%, #1A1E24 80%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.setting-logo-img {
    width: 100%;
    object-fit: contain;
}

.logo-delete-btn {
    display: none;
    font-size: 15px;
    width: 127px;
    height: 30px;
    background-color: #433A3F;
    color: white;
    border-radius: 18px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    border: 1px solid #72A98F;
}

.setting-logo-preview:hover .logo-delete-btn {
    display: block;
}

/* TOP-RIGHT LOGO ON MAIN SCREENS */
.logo-img {
    position: absolute;
    top: 60px;
    left: 700px;
    width: 300px;
}

/* NETWORK CALIBRATION CARD */
.network-setting-container {
    position: absolute;
    top: 360px;
    left: 0;
    width: 100%;
    padding: 16px 30px 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    background: radial-gradient(circle at top left, rgba(61, 90, 108, 0.9), rgba(24, 33, 43, 0.98));
    border-radius: 18px;
    border: 1px solid rgba(114, 169, 143, 0.7);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

.network-left {
    max-width: 45%;
}

.network-title {
    font-size: 20px;
    color: #EAE151;
    letter-spacing: 2px;
}

.network-subtitle {
    font-size: 24px;
    margin-top: -6px;
    color: #FAFDF6;
    letter-spacing: 3px;
}

.network-help {
    margin-top: 8px;
    font-size: 13px;
    color: #e6f5ea;
    opacity: 0.9;
}

.network-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    max-width: 48%;
}

#network-calibrate-btn {
    color: #FAFDF6;
    width: 320px;
    height: 55px;
    background: linear-gradient(135deg, #433A3F 0%, #72A98F 60%, #EAE151 100%);
    border: 2px solid #EAE151;
    font-size: 20px;
    border-radius: 28px;
    cursor: pointer;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.8);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
    text-align: center;
}

#network-calibrate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(234, 225, 81, 0.9);
    filter: brightness(1.05);
}

#network-result {
    width: 320px;
    min-height: 70px;
    color: #FAFDF6;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 14px;
    background: radial-gradient(circle at top, rgba(30, 48, 63, 0.98), rgba(11, 16, 21, 0.98));
    border: 1px solid rgba(114, 169, 143, 0.7);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
}

#network-result strong {
    color: #EAE151;
}

.speed-bar-container {
    margin-top: 6px;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #1A1E24;
    overflow: hidden;
}

.speed-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #72A98F, #EAE151, #FFB347);
    box-shadow: 0 0 12px rgba(234, 225, 81, 0.8);
    transition: width 0.8s ease-out;
}

#network-status-output {
    margin-top: 8px;
    font-size: 13px;
}

/* DARK OVERLAY WHILE LOADING */
.loading-cont-untouch {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 1080px;
    height: 1920px;
    background-color: #000000a9;
}
