/* =================================
   BASIC RESET
================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {
    min-height: 100vh;

    background: #202124;

    color: #e8eaed;

    font-family: Arial, Helvetica, sans-serif;
}


/* =================================
   PAGE
================================= */

.page {
    min-height: 100vh;

    padding-top: 50px;
}


/* =================================
   LOGIN CARD
================================= */

.login-card {
    width: 90%;

    max-width: 1050px;

    min-height: 480px;

    margin: 0 auto;

    padding: 45px;

    background: #0f0f0f;

    border-radius: 30px;

    display: grid;

    grid-template-columns: 1fr 1fr;
}


/* =================================
   LEFT SIDE
================================= */

.left-content {
    padding-right: 30px;
}


/* GOOGLE LOGO */

.google-logo {
    width: 50px;

    height: 50px;

    margin-bottom: 28px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.google-logo span {
    font-size: 50px;

    font-weight: 600;

    background: conic-gradient(
        from -35deg,
        #4285f4 0deg 75deg,
        #34a853 75deg 150deg,
        #fbbc05 150deg 225deg,
        #ea4335 225deg 305deg,
        #4285f4 305deg 360deg
    );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}


/* HEADING */

h1 {
    font-size: 40px;

    font-weight: 400;

    margin-bottom: 20px;
}


/* DESCRIPTION */

.description {
    max-width: 420px;

    color: #e4e4e4;

    font-size: 17px;

    line-height: 1.55;
}


/* =================================
   RIGHT SIDE
================================= */

.right-content {
    padding-left: 25px;

    padding-top: 90px;
}


/* =================================
   INPUT
================================= */

.input-wrapper {
    position: relative;

    width: 100%;

    max-width: 450px;
}


.input-wrapper input {
    width: 100%;

    height: 62px;

    padding: 15px;

    background: transparent;

    color: white;

    border: 2px solid #a8c7fa;

    border-radius: 5px;

    outline: none;

    font-size: 17px;
}


.input-wrapper input:focus {
    border-color: #c0d7ff;
}


/* INPUT LABEL */

.input-wrapper label {
    position: absolute;

    top: -9px;

    left: 12px;

    padding: 0 6px;

    background: #0f0f0f;

    color: #a8c7fa;

    font-size: 14px;
}


/* =================================
   FORGOT EMAIL
================================= */

.forgot {
    display: inline-block;

    margin-top: 13px;

    color: #a8c7fa;

    font-size: 15px;

    font-weight: 500;

    text-decoration: none;
}


.forgot:hover {
    text-decoration: underline;
}


/* =================================
   GUEST INFORMATION
================================= */

.guest-info {
    margin-top: 50px;

    color: #c7c7c7;

    font-size: 14px;

    line-height: 1.5;
}


.guest-info p {
    margin-bottom: 3px;
}


.guest-info a {
    color: #a8c7fa;

    font-size: 15px;

    font-weight: 500;

    text-decoration: none;
}


.guest-info a:hover {
    text-decoration: underline;
}


/* =================================
   BUTTONS
================================= */

.actions {
    width: 100%;

    max-width: 450px;

    margin-top: 48px;

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 35px;
}


.actions button {
    border: none;

    font-family: inherit;

    font-size: 15px;

    font-weight: 500;

    cursor: pointer;
}


/* CREATE ACCOUNT */

.create-account {
    background: transparent;

    color: #a8c7fa;
}


.create-account:hover {
    text-decoration: underline;
}


/* NEXT BUTTON */

.next-button {
    min-width: 92px;

    height: 48px;

    padding: 0 22px;

    border-radius: 25px;

    background: #a8c7fa;

    color: #062e6f;
}


.next-button:hover {
    background: #b8d2ff;
}


/* =================================
   PASSWORD SCREEN
================================= */

/*
   We initially hide the password screen.
*/

.password-card {
    display: none;
}


/* =================================
   SELECTED EMAIL
================================= */

.selected-account {
    width: fit-content;

    margin-bottom: 28px;

    padding: 8px 13px;

    border: 1px solid #5f6368;

    border-radius: 20px;

    display: flex;

    align-items: center;

    gap: 8px;

    color: #e8eaed;

    font-size: 14px;
}


/* =================================
   SHOW PASSWORD
================================= */

.show-password {
    margin-top: 15px;

    display: flex;

    align-items: center;

    gap: 8px;

    color: #e8eaed;

    font-size: 14px;
}


.show-password input {
    width: 16px;

    height: 16px;

    accent-color: #a8c7fa;
}


/* =================================
   BACK BUTTON
================================= */

.back-button {
    padding: 10px 0;

    background: transparent;

    color: #a8c7fa;
}


.back-button:hover {
    text-decoration: underline;
}


/* =================================
   FOOTER
================================= */

.footer {
    width: 90%;

    max-width: 1050px;

    margin: 0 auto;

    padding: 24px 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.language {
    display: flex;

    align-items: center;

    gap: 12px;

    color: #e8eaed;

    font-size: 14px;
}


.arrow {
    width: 0;

    height: 0;

    border-left: 5px solid transparent;

    border-right: 5px solid transparent;

    border-top: 5px solid #9aa0a6;
}


.footer nav {
    display: flex;

    gap: 30px;
}


.footer nav a {
    color: #e8eaed;

    font-size: 14px;

    text-decoration: none;
}


.footer nav a:hover {
    text-decoration: underline;
}


/* =================================
   MOBILE
================================= */

@media (max-width: 750px) {

    .page {
        padding-top: 20px;
    }


    .login-card {
        width: 94%;

        min-height: auto;

        grid-template-columns: 1fr;

        padding: 35px 30px;

        border-radius: 25px;
    }


    .left-content {
        padding-right: 0;

        margin-bottom: 40px;
    }


    .right-content {
        padding: 0;
    }


    .input-wrapper,
    .actions {
        max-width: 100%;
    }


    .guest-info {
        margin-top: 40px;
    }


    .footer {
        width: 94%;
    }
}


@media (max-width: 500px) {

    .login-card {
        width: 100%;

        border-radius: 0;
    }


    h1 {
        font-size: 34px;
    }


    .description {
        font-size: 16px;
    }


    .footer {
        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }
}
