/* =========================================================
   GLOBAL RESET
========================================================= */

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

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.container {
    width: 430px;
    height: 932px;
    max-width: 100vw;
    max-height: 100dvh;

    overflow: hidden !important;
    position: relative;

    background: #031226;

    box-shadow: 0 15px 45px rgba(0, 0, 0, .30);
}


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

.bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}


/* =========================================================
   OVERLAY
========================================================= */

.overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(2, 12, 28, .15) 0%,
        rgba(2, 12, 28, .25) 20%,
        rgba(2, 12, 28, .55) 48%,
        rgba(2, 12, 28, .90) 72%,
        #031226 100%
    );
}


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

.content {
    position: relative;

    z-index: 10;

    width: 100%;
    height: 100%;

    padding: 28px;

    overflow: hidden;
}


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

.logo {
    width: 100%;

    display: flex;
    justify-content: center;

    margin-top: 8px;
}

.logo img {
    width: 255px;

    object-fit: contain;
}


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

.heading {
    margin-top: 180px;
}

.heading h1 {
    color: #fff;

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

    line-height: 1;
}

.heading p {
    margin-top: 8px;

    color: #efefef;

    font-size: 19px;
    font-weight: 400;
}


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

.login-form {
    margin-top: 280px;
}


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

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

    display: flex;
    align-items: center;

    padding: 0 15px;

    margin-bottom: 12px;

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

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

    border-radius: 12px;

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

    backdrop-filter: blur(10px);

    transition: all .2s ease;
}


/* =========================================================
   INPUT HOVER / FOCUS
========================================================= */

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

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

    box-shadow:
        0 0 0 2px rgba(47, 124, 255, .07),
        0 6px 18px rgba(0, 0, 0, .18);
}


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

.input-box i {
    width: 21px;

    flex-shrink: 0;

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

    font-size: 17px;

    text-align: center;
}


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

.input-box input {
    flex: 1;

    min-width: 0;
    height: 100%;

    border: none;
    outline: none;

    background: none;

    color: #fff;

    font-size: 14px;

    padding-left: 11px;
}

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


/* =========================================================
   PASSWORD EYE
========================================================= */

.input-box .eye,
.eye {
    flex-shrink: 0;

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

    cursor: pointer;

    font-size: 17px;
}


/* =========================================================
   FORGOT PASSWORD
========================================================= */

.forgot {
    display: inline-block;

    margin-top: 30px;

    color: #2f7bff;

    font-size: 18px;

    text-decoration: none;
}

.forgot:hover {
    text-decoration: underline;
}


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

.login-btn {
    width: 100%;
    height: 60px;

    margin-top: 35px;

    border: none;
    outline: none;

    border-radius: 18px;

    cursor: pointer;

    color: #fff;

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

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

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

    transition: .3s;
}

.login-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(29, 115, 255, .45);
}


/* =========================================================
   SIGNUP
========================================================= */

.signup {
    margin-top: 30px;
    margin-bottom: 30px;

    text-align: center;

    color: #e8e8e8;

    font-size: 18px;
}

.signup span {
    color: #e5e5e5;
}

.signup a {
    color: #2978ff;

    text-decoration: none;

    font-weight: 600;
}

.signup a:hover {
    text-decoration: underline;
}


/* =========================================================
   MOBILE
   Same design, only compact
========================================================= */

@media (max-width: 430px) {

    .container {
        width: 100vw;
        height: 100dvh;

        max-width: 100vw;
        max-height: 100dvh;

        box-shadow: none;
    }

    .content {
        padding: 24px 20px;
    }

    .logo {
        margin-top: 8px;
    }

    .logo img {
        width: 225px;
    }

    .heading {
        margin-top: 180px;
    }

    .heading h1 {
        font-size: 30px;
    }

    .heading p {
        font-size: 17px;
    }

    .login-form {
        margin-top: 280px;
    }

    .input-box {
        height: 50px;

        padding: 0 14px;

        margin-bottom: 11px;

        border-radius: 12px;
    }

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

    .input-box input {
        font-size: 14px;

        padding-left: 10px;
    }

    .eye {
        font-size: 16px;
    }

    .forgot {
        font-size: 16px;
    }

    .login-btn {
        height: 55px;

        margin-top: 30px;

        font-size: 18px;

        border-radius: 16px;
    }

    .signup {
        margin-top: 25px;
        margin-bottom: 20px;

        font-size: 15px;
    }
}

















/* =========================================================
   FINAL COMPACT LOGIN UI
   WELCOME -> SIGNUP SMALLER + UPPER
========================================================= */

/* Welcome */
.heading {
    margin-top: 145px !important;
}

.heading h1 {
    font-size: 28px !important;
    line-height: 1.1 !important;
}

.heading p {
    margin-top: 6px !important;
    font-size: 15px !important;
}


/* Login form - move everything upward */
.login-form {
    margin-top: 145px !important;
}


/* Input */
.input-box {
    height: 48px !important;

    margin-bottom: 10px !important;

    padding: 0 14px !important;

    border-radius: 11px !important;
}

.input-box i {
    font-size: 16px !important;
}

.input-box input {
    font-size: 13px !important;
    padding-left: 9px !important;
}

.input-box .eye,
.eye {
    font-size: 16px !important;
}


/* Forgot password */
.forgot {
    margin-top: 7px !important;

    font-size: 14px !important;
}


/* Login button - SMALL */
.login-btn {
    height: 48px !important;

    margin-top: 22px !important;

    border-radius: 13px !important;

    font-size: 16px !important;

    font-weight: 600 !important;

    box-shadow:
        0 6px 16px rgba(29, 115, 255, .28) !important;
}


/* Signup */
.signup {
    margin-top: 17px !important;

    margin-bottom: 0 !important;

    font-size: 13px !important;
}

.signup a {
    font-size: 13px !important;
}


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

@media (max-width: 430px) {

    .content {
        padding: 18px 20px !important;
    }

    /* Logo */
    .logo {
        margin-top: 3px !important;
    }

    .logo img {
        width: 205px !important;
    }


    /* Welcome */
    .heading {
        margin-top: 120px !important;
    }

    .heading h1 {
        font-size: 26px !important;
    }

    .heading p {
        margin-top: 5px !important;
        font-size: 14px !important;
    }


    /* Form */
    .login-form {
        margin-top: 120px !important;
    }


    /* Inputs */
    .input-box {
        height: 46px !important;

        margin-bottom: 9px !important;

        padding: 0 13px !important;

        border-radius: 11px !important;
    }

    .input-box i {
        font-size: 15px !important;
    }

    .input-box input {
        font-size: 13px !important;
        padding-left: 8px !important;
    }

    .eye {
        font-size: 15px !important;
    }


    /* Forgot */
    .forgot {
        margin-top: 5px !important;
        font-size: 13px !important;
    }


    /* Button */
    .login-btn {
        height: 46px !important;

        margin-top: 19px !important;

        border-radius: 12px !important;

        font-size: 15px !important;
    }


    /* Signup */
    .signup {
        margin-top: 14px !important;

        font-size: 12px !important;
    }

    .signup a {
        font-size: 12px !important;
    }
}


.login-btn {
    width: 88% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}