body {
    min-height: 100dvh;
    margin: 0;
}

.page {
    height: 100dvh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.login-error {
    width: 80%;
    color: #fff;
    background-color: #c62828;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-align: center;
    box-sizing: border-box;
}

.login-box {
    background-color: #1a237e;
    width: 25%;
    min-width: 320px;
    margin: auto auto 0 auto;
    min-height: 300px;

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

    padding: 2rem;
    border-radius: 10px;
}

.input-group {
    position: relative;
    width: 80%;
    margin-bottom: 20px;
}

.login-input {
    height: 3rem;
    width: 100%;
    border-radius: 10px;
    border: none;
    padding: 0 12px;
    box-sizing: border-box;
}

.input-label {
    position: absolute;
    color: #303f9f;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease;
    pointer-events: none;
    border-radius: 10px;
}

.login-input:focus+.input-label,
.login-input:not(:placeholder-shown)+.input-label {
    top: 0;
    font-size: 12px;
    color: #5763ec;
    padding: 3px;
    background-color: #eafcff;
}

.show-password-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);

    background: none;
    border: none;
    cursor: pointer;

    color: #303f9f;
    font-size: 1rem;
}

.show-password-btn:hover {
    color: #5763ec;
}

.cta-glow {
    appearance: none;
    -webkit-appearance: none;

    background-color: #ffffff;
    color: #303f9f;
    padding: 12px 26px;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;

    border: none;
    outline: none;
    cursor: pointer;
    font: inherit;
}

.cta-glow:hover {
    background-color: #6677e4;
    color: #ffffff;
}

.service-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Making it wavey */
.wave-container {
    position: fixed;
    top: -160px;
    right: -260px;

    width: 1500px;
    height: 700px;

    overflow: hidden;
    pointer-events: none;

    transform: rotate(215deg) scaleX(1);
}

.wave-container2 {
    position: fixed;
    bottom: -280px;
    left: -190px;

    width:1500px;
    height: 700px;

    overflow: hidden;
    pointer-events: none;

    transform: rotate(35deg) scaleX(1);
}

.wave-svg {
    width: 100%;
    height: 100%;
    display: block;
}



/*Phone*/
@media screen and (max-width: 700px) {

    *{
        box-sizing: border-box;
    }

    body {
        overflow: hidden;
    }

    .page {
        height: 100dvh;
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    .login-box {
        min-height: 0;
    }
    
    .wave-container {
        position: fixed;
        top: -200px;
        right: -260px;

        width: 1500px;
        height: 400px;

        overflow: hidden;
        pointer-events: none;

        transform: rotate(215deg) scaleX(1);
    }

    .wave-container2 {
        position: fixed;
        bottom: -300px;
        left: -300px;

        width:1500px;
        height: 500px;

        overflow: hidden;
        pointer-events: none;

        transform: rotate(35deg) scaleX(1);
    }

    

}