* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* =========================================================
   BODY
========================================================= */

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background: #dce3eb;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}


/* =========================================================
   MAIN MOBILE FRAME
========================================================= */

.main {
    width: 420px;
    height: 100dvh;
    max-height: 930px;

    position: relative;
    overflow: hidden;

    background: #04142b;
    border-radius: 28px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .30);
}


/* =========================================================
   BACKGROUND
========================================================= */

.building {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 350px;

    object-fit: cover;
    object-position: right top;

    opacity: .95;
}

.overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, .10) 0%,
            rgba(4, 20, 43, .30) 25%,
            rgba(4, 20, 43, .78) 48%,
            rgba(4, 20, 43, .96) 68%,
            #04142b 100%
        );
}


/* =========================================================
   CONTENT
========================================================= */

.content {
    position: relative;
    z-index: 10;

    height: 100%;
    padding: 18px 22px;

    overflow: hidden;
}


/* =========================================================
   TOP HEADER
========================================================= */

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 0;
}

.back-btn {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .08);

    color: #fff;
    font-size: 17px;

    text-decoration: none;

    transition: .2s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, .14);
}

.language {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 6px 11px;

    border-radius: 20px;

    background: rgba(255, 255, 255, .08);

    color: #fff;
    font-size: 12px;
}

.language i {
    font-size: 13px;
}


/* =========================================================
   LOGO
========================================================= */

.logo-box {
    display: flex;
    align-items: center;

    margin-top: 92px;
    margin-bottom: 18px;
}

.logo-box img {
    width: 48px;
    height: 48px;

    object-fit: contain;

    margin-right: 9px;
}

.logo-text h1 {
    color: #fff;

    font-size: 27px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: .3px;
}

.logo-text h1 span {
    color: #2f7cff;
    font-weight: 500;
}

.logo-text p {
    margin-top: 4px;

    color: #dce3ef;

    font-size: 9px;
}


/* =========================================================
   HEADING
========================================================= */

.heading {
    margin-bottom: 16px;
}

.heading h2 {
    color: #fff;

    font-size: 25px;
    font-weight: 700;

    line-height: 1.2;
}

.heading h2 span {
    color: #2f7cff;
}

.heading p {
    margin-top: 5px;

    color: #cbd4e3;

    font-size: 12px;
}


/* =========================================================
   REGISTER FORM
========================================================= */

.register-form {
    margin-top: 0;
}


/* =========================================================
   INPUT
========================================================= */

.input-box {
    width: 100%;
    height: 48px;

    display: flex;
    align-items: center;

    padding: 0 14px;

    margin-bottom: 10px;

    border-radius: 11px;

    background: rgba(7, 25, 49, .90);

    border: 1px solid rgba(255, 255, 255, .09);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .025),
        0 5px 15px rgba(0, 0, 0, .12);

    backdrop-filter: blur(10px);

    transition: .2s;
}

.input-box:hover {
    border-color: rgba(47, 124, 255, .45);
}

.input-box:focus-within {
    border-color: rgba(47, 124, 255, .80);

    box-shadow:
        0 0 0 2px rgba(47, 124, 255, .06),
        0 5px 15px rgba(0, 0, 0, .16);
}

.input-box i {
    width: 20px;

    color: rgba(255, 255, 255, .88);

    font-size: 16px;
}

.input-box input {
    flex: 1;

    width: 100%;
    height: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: #fff;

    font-size: 13px;

    padding-left: 10px;
}

.input-box input::placeholder {
    color: rgba(255, 255, 255, .60);
}

.eye {
    color: rgba(255, 255, 255, .78);

    cursor: pointer;

    font-size: 16px;
}


/* =========================================================
   CAPTCHA
========================================================= */

.captcha-box {
    margin-top: 13px;

    padding: 13px;

    border-radius: 14px;

    background: rgba(255, 255, 255, .035);

    border: 1px solid rgba(255, 255, 255, .08);

    backdrop-filter: blur(10px);
}

.captcha-box h3 {
    color: #fff;

    font-size: 15px;
    font-weight: 600;

    margin-bottom: 3px;
}

.captcha-box p {
    color: #cbd3df;

    font-size: 10px;

    margin-bottom: 10px;
}


/* CAPTCHA IMAGE */

.captcha-image-box {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 10px;
}

.captcha-image-box img {
    width: calc(100% - 50px);
    height: 42px;

    object-fit: cover;

    border-radius: 7px;

    border: 1px solid rgba(255, 255, 255, .10);
}

.refresh-btn {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;
    border-radius: 8px;

    background: #1565ff;

    color: #fff;

    cursor: pointer;

    font-size: 12px;

    transition: .2s;
}

.refresh-btn:hover {
    background: #0d4fd3;
}

.refresh-btn i {
    margin: 0;
}


/* CAPTCHA INPUT */

.captcha-input {
    margin-bottom: 0;
}


/* =========================================================
   TERMS
========================================================= */

.terms {
    margin: 12px 0;
}

.terms label {
    display: flex;
    align-items: flex-start;

    gap: 7px;

    color: #cbd3df;

    font-size: 10px;

    line-height: 15px;
}

.terms input {
    width: 14px;
    height: 14px;

    flex-shrink: 0;

    accent-color: #1565ff;

    margin-top: 1px;
}

.terms a {
    color: #2f7bff;

    text-decoration: none;
}


/* =========================================================
   REGISTER BUTTON
========================================================= */

.register-btn {
    width: 100%;
    height: 48px;

    border: none;
    border-radius: 12px;

    background:
        linear-gradient(
            90deg,
            #1b73ff,
            #083891,
            #1b73ff
        );

    color: #fff;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(29, 115, 255, .25);

    transition: .2s;
}

.register-btn:hover {
    transform: translateY(-1px);

    box-shadow:
        0 9px 22px rgba(29, 115, 255, .35);
}


/* =========================================================
   DIVIDER
========================================================= */

.divider {
    display: flex;
    align-items: center;

    margin: 13px 0;
}

.divider span {
    flex: 1;

    height: 1px;

    background: rgba(255, 255, 255, .10);
}

.divider p {
    margin: 0 10px;

    color: #aeb8c8;

    font-size: 10px;
}


/* =========================================================
   GOOGLE BUTTON
========================================================= */

.google-btn {
    width: 100%;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border: 1px solid rgba(255, 255, 255, .10);

    border-radius: 11px;

    background: rgba(255, 255, 255, .035);

    color: #fff;

    cursor: pointer;

    font-size: 12px;

    transition: .2s;
}

.google-btn:hover {
    background: rgba(255, 255, 255, .07);
}

.google-btn img {
    width: 20px;
    height: 20px;

    object-fit: contain;
}


/* =========================================================
   LOGIN LINK
========================================================= */

.login-link {
    margin-top: 13px;

    padding-bottom: 10px;

    text-align: center;

    color: #bfc8d6;

    font-size: 11px;
}

.login-link a {
    color: #2f7bff;

    text-decoration: none;

    font-weight: 600;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 430px) {

    body {
        padding: 0;
    }

    .main {
        width: 100%;
        height: 100dvh;

        max-height: none;

        border-radius: 0;
    }

    .content {
        padding: 16px 20px;
    }

    .logo-box {
        margin-top: 88px;
    }

    .heading h2 {
        font-size: 24px;
    }

    .input-box {
        height: 47px;
    }

    .captcha-box {
        padding: 12px;
    }

    .register-btn {
        height: 47px;
    }

    .google-btn {
        height: 45px;
    }
}


/* =========================================================
   SMALL HEIGHT DEVICES
========================================================= */

@media (max-height: 750px) {

    .logo-box {
        margin-top: 55px;
        margin-bottom: 14px;
    }

    .heading {
        margin-bottom: 12px;

    }

    .input-box {
        height: 43px;
        margin-bottom: 8px;
    }

    .captcha-box {
        margin-top: 9px;
        padding: 10px;
    }

    .captcha-image-box img {
        height: 36px;
    }

    .refresh-btn {
        width: 35px;
        height: 35px;
    }

    .terms {
        margin: 8px 0;
    }

    .register-btn {
        height: 43px;
    }

    .divider {
        margin: 9px 0;
    }

    .google-btn {
        height: 42px;
    }

    .login-link {
        margin-top: 8px;
    }
}


/* =========================================================
   NO PAGE SCROLL
========================================================= */

html,
body,
.main {
    overflow: hidden !important;
}



.logo {
    width: 100%;

    display: flex;
    justify-content: center;

    margin-top: 8px;
}

.logo img {
    width: 255px;

    object-fit: contain;
}




/* =========================================================
   FINAL REGISTER FIX
========================================================= */

/* Page horizontal scroll completely OFF */
html,
body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}


/* =========================================================
   MAIN FRAME
========================================================= */

.main {
    position: relative;

    width: 420px;
    height: 100dvh;

    max-height: 930px;

    overflow: hidden !important;
}


/* =========================================================
   CONTENT SCROLL
========================================================= */

.content {
    position: relative;
    z-index: 10;

    width: 100%;
    height: 100%;

    padding: 18px 22px;

    overflow-x: hidden !important;
    overflow-y: auto !important;

    /*
       Scrollbar hidden but scrolling works
    */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.content::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   INPUTS - SAME GAP
========================================================= */

.input-box {
    width: 100%;
    height: 48px;

    margin-top: 0 !important;
    margin-bottom: 10px !important;
}


/*
   Last input ke baad unnecessary extra gap nahi
   captcha agar immediately baad aa raha hai
*/

.input-box:last-child {
    margin-bottom: 0 !important;
}


/* =========================================================
   CAPTCHA
========================================================= */

.captcha-box {
    margin-top: 10px !important;
}


/* CAPTCHA ke andar input ka gap same */

.captcha-box .input-box {
    margin-bottom: 0 !important;
}


/* =========================================================
   TERMS
========================================================= */

.terms {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}


/* =========================================================
   REGISTER BUTTON
========================================================= */

.register-btn {
    margin-top: 0 !important;
}


/* =========================================================
   DIVIDER
========================================================= */

.divider {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
}


/* =========================================================
   GOOGLE
========================================================= */

.google-btn {
    margin-top: 0 !important;
}


/* =========================================================
   LOGIN
========================================================= */

.login-link {
    margin-top: 10px !important;
    padding-bottom: 20px !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 430px) {

    body {
        padding: 0;
    }

    .main {
        width: 100%;
        height: 100dvh;
        max-height: none;

        border-radius: 0;
    }

    .content {
        padding: 16px 20px;

        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .input-box {
        height: 47px;
        margin-bottom: 10px !important;
    }

}


/* =========================================================
   SMALL HEIGHT MOBILE
========================================================= */

@media (max-height: 750px) {

    .content {
        padding-top: 14px;
    }

    .logo-box {
        margin-top: 55px;
        margin-bottom: 14px;
    }

    .input-box {
        height: 43px;
        margin-bottom: 10px !important;
    }

    .captcha-box {
        margin-top: 10px !important;
    }

    .terms {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }

    .register-btn {
        height: 43px;
    }

    .divider {
        margin: 10px 0 !important;
    }

    .google-btn {
        height: 42px;
    }

    .login-link {
        margin-top: 8px !important;
        padding-bottom: 20px !important;
    }
}


/* =========================================================
   CAPTCHA BOX
========================================================= */

.captcha-box {
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;

    background: rgba(7, 25, 49, .90);
    border: 1px solid rgba(255, 255, 255, .09);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 5px 15px rgba(0,0,0,.12);

    backdrop-filter: blur(10px);
}


/* CAPTCHA TITLE */

.captcha-box h3 {
    margin: 0 0 3px;

    color: #fff;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}


/* CAPTCHA DESCRIPTION */

.captcha-box p {
    margin: 0 0 10px;

    color: rgba(255,255,255,.58);

    font-size: 10px;
    line-height: 1.4;
}


/* =========================================================
   CAPTCHA IMAGE + REFRESH
========================================================= */

.captcha-image-box {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 10px;
}


/* CAPTCHA IMAGE */

.captcha-image-box img {
    flex: 1;

    width: 0;
    height: 42px;

    object-fit: cover;

    border-radius: 8px;

    border: 1px solid rgba(255,255,255,.10);

    display: block;
}


/* =========================================================
   REFRESH BUTTON
========================================================= */

.refresh-btn {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;

    background: linear-gradient(
        135deg,
        #1b73ff,
        #083891
    );

    color: #fff;

    cursor: pointer;

    font-size: 14px;

    box-shadow:
        0 5px 12px rgba(29,115,255,.20);

    transition: .2s;
}


/* Icon */

.refresh-btn i {
    margin: 0;
    font-size: 14px;
}


/* Hover */

.refresh-btn:hover {
    transform: translateY(-1px);

    box-shadow:
        0 7px 16px rgba(29,115,255,.30);
}


/* =========================================================
   CAPTCHA INPUT
========================================================= */

.captcha-input {
    width: 100%;

    height: 47px;

    margin-bottom: 0;
}


/* CAPTCHA INPUT ICON */

.captcha-input i {
    font-size: 16px;
}


/* CAPTCHA INPUT TEXT */

.captcha-input input {
    font-size: 13px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 430px) {

    .captcha-box {
        margin-top: 10px;
        padding: 11px;
        border-radius: 13px;
    }

    .captcha-box h3 {
        font-size: 13px;
    }

    .captcha-box p {
        font-size: 9px;
        margin-bottom: 9px;
    }

    .captcha-image-box {
        gap: 7px;
        margin-bottom: 9px;
    }

    .captcha-image-box img {
        height: 40px;
    }

    .refresh-btn {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .captcha-input {
        height: 46px;
    }
}



/* =========================================================
   CAPTCHA
========================================================= */

.captcha-box {
    width: 100%;
    margin-top: 10px;
    padding: 12px;

    border-radius: 14px;

    background: rgba(7, 25, 49, .90);
    border: 1px solid rgba(255,255,255,.09);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 5px 15px rgba(0,0,0,.12);

    backdrop-filter: blur(10px);
}

.captcha-box h3 {
    margin: 0 0 3px;

    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.captcha-box p {
    margin: 0 0 10px;

    color: rgba(255,255,255,.58);
    font-size: 10px;
}


/* =========================================================
   ALL CAPTCHA ITEMS IN ONE LINE
========================================================= */

.captcha-row {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 7px;
}


/* CAPTCHA CODE */

.captcha-badge {
    width: 78px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
    color: #071a34;

    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;

    cursor: pointer;

    user-select: none;

    box-shadow:
        inset 0 1px 3px rgba(0,0,0,.12);
}


/* =========================================================
   REFRESH BUTTON
========================================================= */

.refresh-btn {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 8px;

    background: linear-gradient(
        135deg,
        #1b73ff,
        #083891
    );

    color: #fff;

    cursor: pointer;

    font-size: 14px;
}


/* =========================================================
   CAPTCHA INPUT
========================================================= */

.captcha-input {
    flex: 1;

    width: auto;

    height: 42px;

    min-width: 0;

    margin: 0 !important;

    padding: 0 12px !important;

    border-radius: 8px !important;
}

.captcha-input i {
    width: 18px !important;
    font-size: 15px !important;
}

.captcha-input input {
    font-size: 12px !important;
    padding-left: 8px !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 430px) {

    .captcha-box {
        padding: 10px;
    }

    .captcha-row {
        gap: 6px;
    }

    .captcha-badge {
        width: 70px;
        height: 40px;
        font-size: 16px;
        letter-spacing: 3px;
    }

    .refresh-btn {
        width: 40px;
        height: 40px;
    }

    .captcha-input {
        height: 40px;
    }
}