﻿
html {
    scroll-behavior: smooth; /* Enables smooth scrolling */
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    gap: 10px;
    height: 56px;
    background-color: #fff;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 8px 12px -2px rgba(0, 0, 0, 0.06), 0px 4px 6px rgba(0, 0, 0, 0.04);
    z-index: 1200;
}

.logo-wide {
    display: none;
}

.nav-left, .nav-center, .nav-right {
    height: 24px;
    width: 24px;
}

.nav-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #242E30;
}

    .nav-center .page-title {
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.nav-back img {
    width: 24px;
    height: 24px;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-color: #fff;
    min-height: 100vh;
    padding-top: 56px;
}

.main-container {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 24px 16px 88px 16px;
}

.main-container-inner {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.top-bar {
    display: none;
}

@media (max-width: 958px) {
    .bottom-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 16px;
        background-color: #fff;
        box-shadow: 0px 4px 6px rgba(27, 35, 36, 0.08), 0px 2px 12px -2px rgba(27, 35, 36, 0.32), 0px 3px 6px rgba(27, 35, 36, 0.24);
        z-index: 1;
    }

        .bottom-bar button {
            display: flex;
            max-width: 400px;
            margin-left: auto;
            margin-right: auto;
        }
}

@media (min-width: 959px) {
    .main-container-inner-compact {
        margin-top: -70px;
    }

    .nav {
        height: 80px;
        padding: 20px 32px;
    }

        .nav .nav-back {
            display: none;
        }

        .nav .logo-wide {
            display: block;
        }

        .nav .logo-small {
            display: none;
        }

    .nav-left, .nav-center, .nav-right {
        height: auto;
        width: auto;
    }

        .nav-center .page-title {
            display: none;
        }

    .app {
        min-height: 100vh;
        background: url(/assets/images/background2.jpg) no-repeat center center;
        background-size: cover;
    }

    .main {
        width: 50%;
        margin-left: auto;
        justify-content: center;
        padding-top: 80px;
    }

    .main-container {
        padding: 120px 16px 16px 16px;
    }

    .top-bar {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        width: 100%;
        display: flex;
        align-items: center;
        height: 72px;
    }
}


.fa-eye {
    position: absolute;
    top: 50%;
    right: 10px; /* Adjust this to move the icon slightly left/right */
    transform: translateY(-50%);
    cursor: pointer;
    color: black;
    font-size: 18px; /* Adjust size as needed */
}
.fa-eye-slash {
    position: absolute;
    top: 50%;
    right: 10px; /* Adjust this to move the icon slightly left/right */
    transform: translateY(-50%);
    cursor: pointer;
    color: black;
    font-size: 18px; /* Adjust size as needed */
}

.fa-map-marker {
    position: absolute;
    top: 50%;
    right: 10px; /* Adjust this to move the icon slightly left/right */
    transform: translateY(-50%);
    cursor: pointer;
    color: black;
    font-size: 18px; /* Adjust size as needed */
}
.fa-refresh {
    position: absolute;
    top: 50%;
    right: 10px; /* Adjust this to move the icon slightly left/right */
    transform: translateY(-50%);
    cursor: pointer;  
    color: black;
    font-size: 18px; /* Adjust size as needed */
    background-color: #009FE3;
}

.fa-circle-plus {
    position: absolute;
    top: 50%;
    right: 10px; /* Adjust this to move the icon slightly left/right */
    transform: translateY(-50%);
    cursor: pointer;
    color: black;
    font-size: 18px; /* Adjust size as needed */
}
.form-group {
    margin-bottom: 20px;
}

#uxtype {
    display: block;
    width: 100%;
    height: 48px;
    border: 1px solid #797876;
    border-radius: 12px;
    background: #FFFFFF;
    padding: 12px 16px;
    color: #425457;
}

#uxuploadid {
    display: block;
    width: 100%;
    height: 48px;
    border: 1px solid #797876;
    border-radius: 12px;
    background: #FFFFFF;
    padding: 12px 16px;
    color: #425457;
}

.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    background-color: #fbc01a;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
    bottom: 20px;
    right: 20px; /*Adjust for distance from the right */
    z-index: 1000; /*Ensure it appears above other elements */
    background-color: #fbc01a; /*Optional: Background color */
    border: 1px solid #ccc; /* Optional: Border styling */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .back-to-top i {
        font-size: 28px;
        color: #fff;
        line-height: 0;
    }

    .back-to-top:hover {
        background-color: #009FE3
    }

    .back-to-top.active {
        visibility: visible;
        opacity: 1;
    }


.captcha-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.captcha-display {
    font-family: "Courier New", monospace;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    letter-spacing: 3px;
    background: linear-gradient(45deg, #f06, #4a90e2);
    padding: 5px 10px;
    border-radius: 5px;
    transform: rotate(-2deg);
    user-select: none; /* Prevents copying the text */
}

.captcha-input-container {
    display: flex;
    align-items: center;
    position: relative;
}

.captcha-input {
    width: 200px;
    padding: 8px 12px;
    border: 1px solid #797876;
    border-radius: 12px;
    font-size: 16px;
}

    .captcha-input:focus {
        border-color: black;
        outline: none;
    }

.fa-refresh {
    font-size: 18px;
    color: #242E30;
    cursor: pointer;
    margin-left: 8px;
    transition: transform 0.3s;
    background-color: #fff;
}

    .fa-refresh:hover {
        color: #0056b3;
    }
/* Default checkbox styling */
#uxterms {
    width: 18px;
    height: 18px;
    border: 2px solid #ccc; /* Default border color */
    border-radius: 4px; /* Optional for rounded corners */
    cursor: pointer;
    appearance: none; /* Removes the default browser styling */
}

    /* When hovered */
    #uxterms:hover {
        border-color: #007bff; /* Change border color on hover */
    }

    /* When checked */
    #uxterms:checked {
        border-color: #009FE3; /* Green border when checked */
        background-color: #009FE3; /* Green background */
        position: relative;
    }

        /* Optional: Add a checkmark symbol when checked */
        #uxterms:checked::after {
            color: white;
            font-size: 14px;
            font-weight: bold;
            position: absolute;
            top: 2px;
            left: 4px;
        }

.text-center {
    text-align: center; /* Centers the text horizontally */
}


