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

@import url(
    'https://fonts.googleapis.com/css2?family=Pacifico&display=swap'
);


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

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

}


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

body {

    min-height: 100vh;

    background:

        linear-gradient(
            rgba(3, 25, 34, 0.88),
            rgba(3, 25, 34, 0.92)
        ),

        url("money-image.png");

    background-size: cover;

    background-position: center;

    background-attachment: fixed;

    color: white;

}


/* =========================================
   NAVIGATION BAR
========================================= */

.navbar {

    height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 7%;

}


/* =========================================
   BRAND
========================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 22px;

    font-weight: bold;

}


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

.logo {

    width: 40px;

    height: 40px;

    border-radius: 50%;

    background: #12b5cf;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    font-size: 13px;

    box-shadow:
        0 0 15px
        rgba(18,181,207,0.5);

}


/* =========================================
   NAVIGATION LINKS
========================================= */

nav {

    display: flex;

    gap: 35px;

}


nav a {

    color: white;

    text-decoration: none;

    font-size: 15px;

    transition: 0.3s;

}


nav a:hover {

    color: #15c1da;

}


/* =========================================
   MAIN PAGE
========================================= */

.page {

    min-height:
        calc(100vh - 75px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        30px 20px 70px;

}


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

.login-card {

    width: 900px;

    max-width: 95%;

    min-height: 500px;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    background: white;

    color: #222;

    overflow: hidden;

    border-radius: 4px;

    box-shadow:

        0 25px 70px
        rgba(0,0,0,0.55);

}


/* =========================================
   LEFT PANEL
========================================= */

.welcome-panel {

    position: relative;

    min-height: 500px;

    overflow: hidden;

    background:

        linear-gradient(
            135deg,
            #042f3c,
            #07566a,
            #06343f
        );

}


/* =========================================
   MONEY ANIMATION CONTAINER
========================================= */

.money-animation {

    position: absolute;

    inset: 0;

    overflow: hidden;

}


/* =========================================
   MONEY COINS
========================================= */

.money {

    position: absolute;

    width: 55px;

    height: 55px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 28px;

    font-weight: bold;

    color: #614d00;

    background:

        linear-gradient(
            145deg,
            #fff4a3,
            #d9ad22,
            #fff0a0
        );

    border:
        3px solid #f7d95c;

    box-shadow:

        0 0 18px
        rgba(255,215,70,0.5),

        inset 0 0 10px
        rgba(255,255,255,0.7);

    opacity: 0.85;

    animation:
        floatMoney 7s
        infinite
        ease-in-out;

}


/* =========================================
   COIN POSITIONS
========================================= */

.coin1 {

    left: 8%;

    top: 15%;

    animation-delay:
        0s;

}


.coin2 {

    left: 75%;

    top: 10%;

    animation-delay:
        1.5s;

}


.coin3 {

    left: 50%;

    top: 65%;

    animation-delay:
        2.5s;

}


.coin4 {

    left: 18%;

    top: 75%;

    animation-delay:
        4s;

}


.coin5 {

    left: 85%;

    top: 70%;

    animation-delay:
        3s;

}


.coin6 {

    left: 42%;

    top: 8%;

    animation-delay:
        5s;

}


/* =========================================
   CURRENCY SYMBOLS
========================================= */

.money-symbol {

    position: absolute;

    font-size: 45px;

    font-weight: bold;

    color:
        rgba(255,220,80,0.30);

    animation:
        symbolFloat 9s
        infinite
        ease-in-out;

    user-select: none;

}


/* Currency positions */

.symbol1 {

    left: 20%;

    top: 35%;

    animation-delay:
        1s;

}


.symbol2 {

    left: 70%;

    top: 45%;

    animation-delay:
        3s;

}


.symbol3 {

    left: 45%;

    top: 82%;

    animation-delay:
        5s;

}


/* =========================================
   GLOWING CIRCLES
========================================= */

.glow {

    position: absolute;

    border-radius: 50%;

    background:
        rgba(21,193,218,0.12);

    filter: blur(3px);

    animation:
        pulseGlow 5s
        infinite
        ease-in-out;

}


.glow1 {

    width: 180px;

    height: 180px;

    left: -70px;

    top: 40px;

}


.glow2 {

    width: 250px;

    height: 250px;

    right: -100px;

    bottom: 20px;

    animation-delay:
        2s;

}


.glow3 {

    width: 120px;

    height: 120px;

    left: 40%;

    top: 35%;

    animation-delay:
        1s;

}


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

.overlay {

    position: relative;

    z-index: 10;

    height: 100%;

    min-height: 500px;

    padding: 45px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background:

        linear-gradient(
            rgba(0,0,0,0.12),
            rgba(0,0,0,0.20)
        );

}


/* =========================================
   EW ICON
========================================= */

.brand-icon {

    width: 55px;

    height: 55px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 15px;

    background: #15c1da;

    color: white;

    font-size: 18px;

    font-weight: bold;

    box-shadow:

        0 0 25px
        rgba(21,193,218,0.5);

    animation:
        logoPulse 3s
        infinite
        ease-in-out;

}


/* =========================================
   EXPENSEWISE - PACIFICO
========================================= */

.overlay h1 {

    font-family:
        'Pacifico',
        cursive;

    font-size: 42px;

    font-weight: 400;

    color: white;

    margin-bottom: 15px;

    letter-spacing: 1px;

    text-shadow:

        0 3px 10px
        rgba(0,0,0,0.6);

}


/* =========================================
   TAGLINE
========================================= */

.tagline {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #20d2e9;

    font-size: 19px;

    font-weight: bold;

    line-height: 1.5;

    margin-bottom: 45px;

    text-shadow:

        0 2px 10px
        rgba(0,0,0,0.7);

}


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

.overlay h2 {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 26px;

    font-weight: 700;

    margin-bottom: 12px;

    color: white;

    text-shadow:

        0 2px 8px
        rgba(0,0,0,0.7);

}


/* =========================================
   DESCRIPTION
========================================= */

.subtext {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    max-width: 330px;

    line-height: 1.6;

    font-size: 15px;

    color: #e9faff;

    text-shadow:

        0 2px 6px
        rgba(0,0,0,0.8);

}


/* =========================================
   RIGHT LOGIN PANEL
========================================= */

.form-panel {

    position: relative;

    padding:
        55px 48px;

    background: white;

}


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

.form-panel h2 {

    text-align: center;

    font-size: 25px;

    margin-bottom: 30px;

    color: #222;

}


/* =========================================
   CLOSE BUTTON
========================================= */

.close-btn {

    position: absolute;

    right: 18px;

    top: 12px;

    border: none;

    background: transparent;

    color: #999;

    font-size: 28px;

    cursor: pointer;

    transition: 0.3s;

}


.close-btn:hover {

    color: #12b5cf;

    transform:
        rotate(90deg);

}


/* =========================================
   LABELS
========================================= */

label {

    display: block;

    margin-top: 15px;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: bold;

    color: #333;

}


/* =========================================
   INPUTS
========================================= */

input {

    width: 100%;

    padding: 14px;

    border:
        1px solid #bbb;

    outline: none;

    font-size: 14px;

    transition: 0.3s;

}


input:focus {

    border-color:
        #12b5cf;

    box-shadow:

        0 0 5px
        rgba(18,181,207,0.3);

}


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

.password-box {

    position: relative;

}


.password-box input {

    padding-right: 45px;

}


#togglePassword {

    position: absolute;

    right: 10px;

    top: 50%;

    transform:
        translateY(-50%);

    border: none;

    background: transparent;

    cursor: pointer;

    font-size: 16px;

}


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

.forgot {

    display: inline-block;

    margin:
        12px 0 20px;

    color:
        #08aec8;

    text-decoration: none;

    font-size: 13px;

}


.forgot:hover {

    text-decoration:
        underline;

}


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

.login-btn {

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 2px;

    background:
        linear-gradient(
            135deg,
            #12b5cf,
            #08a2bb
        );

    color: white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;

    box-shadow:

        0 5px 15px
        rgba(18,181,207,0.25);

}


.login-btn:hover {

    background:
        linear-gradient(
            135deg,
            #079eb6,
            #087f95
        );

    transform:
        translateY(-2px);

    box-shadow:

        0 8px 20px
        rgba(18,181,207,0.35);

}


/* =========================================
   SIGN UP
========================================= */

.signup-text {

    text-align: center;

    margin-top: 22px;

    font-size: 13px;

    color: #444;

}


.signup-text a {

    color:
        #08aec8;

    text-decoration: none;

    font-weight: bold;

}


.signup-text a:hover {

    text-decoration:
        underline;

}


/* =========================================
   MESSAGE
========================================= */

.message {

    text-align: center;

    margin-top: 15px;

    font-size: 13px;

    color:
        #0a8a4a;

}


/* =========================================
   COIN ANIMATION
========================================= */

@keyframes floatMoney {

    0% {

        transform:
            translateY(0)
            rotate(0deg);

    }

    25% {

        transform:
            translateY(-25px)
            rotate(90deg);

    }

    50% {

        transform:
            translateY(-5px)
            rotate(180deg);

    }

    75% {

        transform:
            translateY(-35px)
            rotate(270deg);

    }

    100% {

        transform:
            translateY(0)
            rotate(360deg);

    }

}


/* =========================================
   SYMBOL ANIMATION
========================================= */

@keyframes symbolFloat {

    0% {

        transform:
            translateY(20px)
            rotate(-10deg);

        opacity: 0.1;

    }

    50% {

        transform:
            translateY(-45px)
            rotate(10deg);

        opacity: 0.4;

    }

    100% {

        transform:
            translateY(20px)
            rotate(-10deg);

        opacity: 0.1;

    }

}


/* =========================================
   GLOW ANIMATION
========================================= */

@keyframes pulseGlow {

    0% {

        transform:
            scale(1);

        opacity:
            0.4;

    }

    50% {

        transform:
            scale(1.25);

        opacity:
            0.8;

    }

    100% {

        transform:
            scale(1);

        opacity:
            0.4;

    }

}


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

@keyframes logoPulse {

    0% {

        transform:
            scale(1);

    }

    50% {

        transform:
            scale(1.08);

        box-shadow:

            0 0 35px
            rgba(21,193,218,0.8);

    }

    100% {

        transform:
            scale(1);

    }

}


/* =========================================
   RESPONSIVE DESIGN
========================================= */

@media (max-width: 720px) {


    .navbar {

        padding:
            0 25px;

    }


    nav {

        display: none;

    }


    .login-card {

        grid-template-columns:
            1fr;

    }


    .welcome-panel {

        min-height:
            430px;

    }


    .overlay {

        min-height:
            430px;

        padding:
            35px;

    }


    .overlay h1 {

        font-size:
            36px;

    }


    .form-panel {

        padding:
            40px 28px;

    }

}