html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.content-wrapper {
    flex: 1;
    display: flex;
}

.authentication-wrapper {
    display: flex;
    width: 100%;
    min-height: 80svh;
    min-height: 100dvh;
}

.authentication-wrapper.authentication-cover {
    justify-content: center;
}

.authentication-inner {
    width: 100%;
}

.authentication-bg {
    background: #fff;
    border-radius: 20px;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, .08),
        0 4px 12px rgba(0, 0, 0, .05);
    transition: .25s ease;
}

.authentication-cover-img {
    max-width: 100%;
    opacity: .95;
    margin-bottom: 1rem;
}

.app-brand {
    display: flex;
    justify-content: center;
    width: 90%;
    margin-bottom: -10px;
}

.app-brand-logo img {
    display: flex;
    max-width: 100%;
}

.form-control {
    border-radius: 12px;
    height: 46px;
    transition: .2s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(0, 102, 255, .15);
    border-color: var(--blue-shibata);
}

#btn-login {
    border-radius: 14px;
    height: 52px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: .2s ease;
}

#btn-login:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

#btn-login:active {
    transform: translateY(0);
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        background: linear-gradient(180deg,
                #eef2f7 0%,
                #ffffff 100%);
    }

    .authentication-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        padding:
            calc(env(safe-area-inset-top) + 16px) 14px calc(env(safe-area-inset-bottom) + 12px);
    }

    .authentication-inner {
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .authentication-bg {
        width: 100%;
        max-width: 420px;
        margin-top: 8px;
        padding: 24px 20px !important;
        border-radius: 18px;
        backdrop-filter: blur(8px);
        transform: translateY(-6vh);
        box-shadow:
            0 6px 18px rgba(0, 0, 0, .06),
            0 2px 6px rgba(0, 0, 0, .04);
    }

    .app-brand {
        margin-top: -4px;
        margin-bottom: 16px;
    }

    .app-brand-logo img {
        width: clamp(280px, 48vw, 240px);
    }

    .form-control {
        height: 56px;
        font-size: 16px;
        border-radius: 14px;
    }

    #btn-login {
        height: 60px;
        font-size: 17px;
        border-radius: 16px;
    }

    h4 {
        font-size: 30px;
        margin-bottom: 6px;
    }

    p {
        font-size: 18px;
    }
    
}

@media (max-width: 768px) {

    #btn-login {
        margin-bottom: clamp(16px, 4vw, 28px);
    }

    #captcha {
        margin-top: clamp(10px, 3vw, 20px);
    }

}

.light-style .authentication-wrapper .authentication-bg {
    background-color: #fff;
}

.dark-style .authentication-wrapper .authentication-bg {
    background-color: #283144;
}

.content-footer {
    margin-top: auto;
    color: white;
    width: 100%;
    text-align: center;
    background-color: #192635;
    padding: 8px 0;
}