
/*region Default base styles */
* {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    width: 100%;
    height: 100%;
    min-width: 500px;
    min-height: 800px;
}

body {
    width: 100%;
    height: 100%;
    font-size: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    background: var(--bg-color);
}

.blur {
    z-index: -100;
    max-width: 1400px;
    max-height: 1400px;
    width: 100%;
    height: 100%;
    border-radius: 1400px;
    position: fixed;
}

.left-blur {
    background: radial-gradient(50% 50% at 50% 50%, rgba(44, 149, 235, 0.32) 0%, rgba(44, 149, 235, 0.00) 100%);
    transform: translate(-50%, 30%);
}

.bottom-blur {
    background: radial-gradient(50% 50% at 50% 50%, rgba(82, 80, 226, 0.32) 0%, rgba(82, 80, 226, 0.00) 100%);
    transform: translate(10%, 30%);
}

.right-blur {
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 98, 230, 0.24) 0%, rgba(255, 98, 230, 0.00) 100%);
    transform: translate(60%, -20%);
}

.main {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex-grow: 1;
    margin-bottom: 8px;
    justify-content: center;
}

body.wifipdf, body.pdfwifi {
    width: 100%;
    height: 100%;
    font-size: 16px;
    text-align: center;
    background-color: #42474f;
    background-image: linear-gradient(234deg, #575e69, #42474f);
}

a {
    color: #2fa5ff;
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

.verification-container {
    /*position: relative;*/
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    box-sizing: border-box;
}
/*endregion*/


/*region Overlay styles */
.trans-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
}

.black-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1101;
}

.white-content {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 996px;
    height: 560px;
    margin: -280px 0 0 -498px;
    padding: 0;
    background-color: #3c3c40;
    z-index: 1102;
    -moz-opacity: 1;
    opacity: 1;
    filter: alpha(opacity=100);
    overflow: hidden;
}

#light_video iframe {
    width: 100%;
    height: 100%;
}
/*endregion*/

/*region Connection styles*/
#connection {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
    width: 500px;
    height: auto;
    min-height: 278px;
    margin: -154px 0 0 -250px;
    padding: 0 0 30px;
    border: solid 1px #e1e1e1;
    border-radius: 8px;
    background-color: #fafafa;
    box-shadow: 0 12px 35px 0 rgba(0, 0, 0, 0.25);
}

#connection .title {
    margin: 0;
    padding: 30px 20px 0;
    color: #424242;
    font-size: 1.75em;
    font-weight: 400;
    line-height: 100%;
}

#connection .text {
    margin: 0;
    padding: 42px 50px 0;
    color: #101010;
    font-size: 1.125em;
    font-weight: 400;
    line-height: 150%;
}

#connection .wifi_connect {
    position: relative;
    display: block;
    width: 150px;
    height: 150px;
    margin: 40px auto 0;
}

#connection .wifi_connect img, #connection .wifi_connect iframe {
    position: absolute;
    display: block;
    width: 150px;
    height: 150px;
}

#connection .close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 22px;
    height: 22px;
    opacity: 0.3;
}

#connection .close:hover {
    opacity: 1;
}

#connection .close:before, .close:after {
    position: absolute;
    left: 10px;
    content: ' ';
    height: 23px;
    width: 2px;
    background-color: #333;
}

#connection .close:before {
    transform: rotate(45deg);
}

#connection .close:after {
    transform: rotate(-45deg);
}
/*endregion*/

/*region Connection Error styles*/
#connection_error {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
    width: 500px;
    height: auto;
    min-height: 400px;
    margin: -220px 0 0 -250px;
    padding: 0 0 30px;
    border: solid 1px #e1e1e1;
    border-radius: 8px;
    background-color: #fafafa;
    box-shadow: 0 12px 35px 0 rgba(0, 0, 0, 0.25);
}

#connection_error .title {
    margin: 0;
    padding: 30px 20px 0;
    color: #424242;
    font-size: 1.75em;
    font-weight: 400;
    line-height: 100%;
}

#connection_error .text-1 {
    margin: 0;
    padding: 20px 20px 0;
    color: #101010;
    font-size: 1.125em;
    font-weight: 400;
    line-height: 150%;
}

#connection_error .text-1 span {
    font-weight: 600;
}

#connection_error .text-2 {
    margin: 0;
    padding: 20px 20px 0;
    color: #101010;
    font-size: 1.125em;
    font-weight: 400;
    line-height: 150%;
}

#connection_error .point {
    position: relative;
    min-height: 56px;
    margin: 30px 30px 0;
    padding: 0 0 0 80px;
    background: url("/img/blank.gif") no-repeat 0 center;
    background-size: 56px 56px;
}

#connection_error .point .dashed-line {
    position: absolute;
    bottom: -30px;
    left: 28px;
    width: 0;
    height: 30px;
    border-left: 1px dashed #ccc;
}

#connection_error .point.point-1 {
    background-image: url("/img/icon-usb.svg");
}

#connection_error .point.point-2 {
    background-image: url("/img/icon-connect.svg");
}

#connection_error .point .point-text {
    margin: 0;
    padding: 0;
    color: #101010;
    font-size: 1.125em;
    font-weight: 400;
    line-height: 140%;
    text-align: left;
}

#connection_error .point .point-text:nth-of-type(1) {
    padding: 4px 0 10px;
}

#connection_error .close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 22px;
    height: 22px;
    opacity: 0.3;
}

#connection_error .close:hover {
    opacity: 1;
}

#connection_error .close:before, .close:after {
    position: absolute;
    left: 10px;
    content: ' ';
    height: 23px;
    width: 2px;
    background-color: #333;
}

#connection_error .close:before {
    transform: rotate(45deg);
}

#connection_error .close:after {
    transform: rotate(-45deg);
}
/*endregion*/

/*region Connection Edge styles*/
#connection_edge {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
    width: 798px;
    height: auto;
    min-height: 350px;
    margin: -224px 0 0 -399px;
    padding: 0 0 30px;
    border: solid 1px #e1e1e1;
    border-radius: 2px;
    background-color: #fafafa;
    box-shadow: 0 12px 35px 0 rgba(0, 0, 0, 0.25);
}

#connection_edge .title {
    margin: 0;
    padding: 28px 50px 0;
    color: #424242;
    font-size: 2.25em;
    font-weight: 400;
    line-height: 100%;
}

#connection_edge .text {
    margin: 0;
    padding: 40px 50px 0;
    color: #101010;
    font-size: 1.125em;
    font-weight: 400;
    line-height: 150%;
}

#connection_edge .text span {
    font-weight: 600;
}

#connection_edge .subtitle {
    margin: 0;
    padding: 60px 50px 0;
    color: #101010;
    font-size: 1.5em;
    font-weight: 400;
    line-height: 125%;
}

#connection_edge .browser {
    display: inline-block;
    width: 30%;
    margin: 25px 0 0;
    text-decoration: none;
    vertical-align: top;
}

#connection_edge .browser:hover {
    text-decoration: none;
}

#connection_edge .browser .icon {
    display: block;
    width: 52px;
    height: auto;
    margin: 0 auto 10px;
}

#connection_edge .browser .name {
    margin: 0;
    font-size: 1.125em;
    color: #2fa5ff;
    font-weight: 400;
    line-height: 100%;
}

#connection_edge .close {
    position: absolute;
    right: 30px;
    top: 30px;
    width: 22px;
    height: 22px;
    opacity: 0.3;
}

#connection_edge .close:hover {
    opacity: 1;
}

#connection_edge .close:before, .close:after {
    position: absolute;
    left: 10px;
    content: ' ';
    height: 23px;
    width: 2px;
    background-color: #333;
}

#connection_edge .close:before {
    transform: rotate(45deg);
}

#connection_edge .close:after {
    transform: rotate(-45deg);
}
/*endregion*/

/*region Verification Content styles*/
.verification-content {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.logo {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    z-index: 2;
    position: absolute;
}

.title {
    margin: 0;
    color: var(--rd-label-color);
    font-size: 34px;
    font-weight: 700;
}

@media (max-width: 576px) {
    .title {
        font-size: 28px;
    }
}

@media (max-width: 320px) {
    .title {
        font-size: 22px;
    }
}

.secondary-label {
    color: var(--rd-secondary-label-color);
    font-size: 17px;
}

.subtitle {
    margin: 0;
    padding: 24px 0 16px;
    color: var(--rd-label-color);
    font-size: 1.5em;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/*endregion*/

/*region Footer */
.footer {;
    text-align: center;
    z-index: 1;
    width: 100%;
    border-top: 1px solid var(--rd-system-gray-color-10);
    display: flex;
    margin-top: auto;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-link-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: center;
    padding: 16px;
    font-size: 11px;
}

.footer a, span {
    color: var(--footer-link-color);
    text-decoration: none;
}

.footer-link-divider {
    color: var(--footer-link-divider-color);
}

/*region Additional Important styles */
.hidden {
    display: none !important;
}
/*endregion*/


@media only screen and (max-height : 840px) {

    /*region QR code styles*/
    .qr-code {
        bottom: 36px;
    }

    .qr-code:before {
        top: auto;
        bottom: -8px;
    }
    /*endregion*/

}

@media only screen and (max-width : 576px) {

    /*region Default base styles */
    html {
        min-width: auto;
    }
    /*endregion*/

    /*region Verification Content styles*/
    .verification-content {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        min-height: 340px;
        margin: 0;
        z-index: 1;
    }
    /*endregion*/

    /*region Connection styles */
    #connection {
        left: auto;
        width: 90%;
        margin: -200px 5% 0 5%;
    }
    /*endregion*/

    /*region Connection Error styles*/
    #connection_error {
        top: 5%;
        left: auto;
        width: 90%;
        margin: 0 5%;
    }

    #connection_error .title {
        font-size: 1.5em;
        padding: 20px 50px 0 20px
    }

    #connection_error .text-1 {
        padding: 20px 20px 0;
    }

    #connection_error .text-2 {
        padding: 20px 20px 0;
    }

    #connection_error .point {
        margin: 20px 20px 0;
        padding: 0;
        background: transparent;
    }

    #connection_error .point.point-1, #connection_error .point.point-2 {
        background: transparent;
    }

    #connection_error .close {
        right: 10px;
        top: 10px;
    }
    /*endregion*/

    /*region Connection Edge styles*/
    #connection_edge {
        top: 5%;
        left: auto;
        width: 90%;
        margin: 0 5%;
    }

    #connection_edge .title {
        font-size: 1.5em;
        padding: 20px 50px 0 20px
    }

    #connection_edge .text {
        padding: 20px 20px 0;
    }

    #connection_edge .subtitle {
        padding: 20px 20px 0;
    }

    #connection_edge .close {
        right: 10px;
        top: 10px;
    }
    /*endregion*/

}

@media (max-width: 320px) {
    .pin-code-container, .qr-code-container {
        gap: 10px;
    }

    .main {
        gap: 20px;
    }

    .verification-content {
        gap: 20px;
    }
}


@media (max-height: 700px) {
    .pin-code-container, .qr-code-container {
        gap: 10px;
    }

    .main {
        gap: 15px;
    }

    .verification-content {
        gap: 10px;
    }
}


@media (max-height: 550px) {
    .pin-code-container, .qr-code-container {
        gap: 0;
    }

    .main {
        gap: 0;
    }

    .verification-content {
        gap: 0;
    }
}



.divider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--divider-text-color);
}

.or-divider {
    color: var(--or-color);
}

.divider {
    mask: url(/img/divider.svg) no-repeat center;
    height: 2px;
    width: 111px;
    display: flex;
    background-color: var(--divider-bg-color);
}
