:root {
    --w: min(92vw, 720px);
}

body {
    background-color: #37517e !important;
}

.header {
    height: 37px;
    border-radius: 7px;
    display: flex;
    justify-content: space-around;
    margin-left: 1%;
    width: 98%;
    margin-top: 1%;
}

.header a {
    color: white;
}

.header button {
    color: white;
}

.header button:hover {
    color: #72e4fb;
}

.header-popup {
    display: flex;
    justify-content: center;
    border: none !important;
}
.header-popup h4 {
    font-size: 2em;
    font-weight: 700;
    margin-top: 16px;
    font-family: fangsong;
}

.login-button-section button {
    height: 3em;
}

.login-button-section button:hover {
    cursor: pointer;
}

#loader-spiner {
    position: absolute;
    right: 221px;
    bottom: 56px;
    font-size: 10px;
    display: none;
}

.link_app {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#close-Login-model {
    position: absolute;
    right: -30px;
    top: -52px;
    color: white;
    font-size: 1.5em;
    font-weight: 600;

}

.appname-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cw_logo {
    height: 41px;
    width: 45px;
    border-radius: 50%;
}



a:hover {
    color: #72e4fb !important;
}

.controls {
    position: absolute;
    left: 1%;
    display: flex;
    gap: .5rem;
    margin-bottom: .75rem;
    flex-direction: column;
    width: 200px;
    height: 200px;
}



.stage {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

video {
    width: 100%;
    object-fit: cover;
}

#overlayContainer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.result {
    position: absolute;
    top: 55px;
    height: 100%;
    width: 100%;
    font-size: 1.05rem;
    padding: .5rem;
    background: #00000000;
    border-radius: 6px;
}

.result span {
    font-size: 15px;
    color: green;
}

.controls {
    display: none;
}



.header_links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.cont-section {
    position: absolute;
    width: 98%;
    height: 85%;
    overflow: hidden;
    border-radius: 13px;
    margin-left: 1%;
    margin-top: 1%;
}

.a_link {
    color: #72e4fb !important;
}

.active_login {
    border: 2px solid #72e4fb !important;
    border-radius: 24px;
    padding: 9px 17px !important;
}

.att_info {
    display: flex;
    padding: 4em 1em;
    justify-content: center;
}

.info-section-1 {
    height: 249px;
    margin-top: 3%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
}

.info-section-1 h4 {
    color: white;
    font-size: 3em;
}

.info-section-1 span {
    color: #ffffffba;
    font-size: 15px;
    margin-top: 2%;
}

.info-section-1 a {
    margin-top: 5%;
}

.footer {
    width: 100%;
    height: 30px;
    position: absolute;
    bottom: 0;
    font-size: 11px;
    color: white;
    letter-spacing: 1px;
    word-spacing: 1px;
    display: flex;
    justify-content: center;
}

.sweetalert_my_popup {
    width: 70% !important;
    height: 500px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}


/*---------------------mobile -----------------------*/

@media (max-width: 768px) {

    .header {
        display: flex;
        justify-content: space-between;
        padding: 10px 10px;
        margin-top: 5%;
    }

    .info-section-1 h4 {
        color: white;
        font-size: 2em;
    }


    video {
        width: 100%;
        height: 96%;
        object-fit: cover;
    }

    .scan-region-highlight {
        position: absolute;
        pointer-events: none;
        transform: scaleX(-1);
        width: 264.625px !important;
        height: 252.475px !important;
        top: 101.667px;
        left: 84px !important;
    }


}