.login-body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    background-color: rgb(242, 242, 242);
}

.login-body header {
    width: 100%;
    background-color: rgb(0, 0, 70);
    height: 64px;
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-body header a {
    margin-top: 14px;
    display: inline-block;
}

.login-body header a img {
    height: 36px;
    width: auto;
    display: block;
}

.login-body .card-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    height: auto;
    padding-left: 18%;
    padding-top: 100px;
    padding-bottom: 100px;
    background-image: url('/static/clients/saintjohnenergy/bg-login.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    flex: 1;
}

@media (max-width: 768px) {
    .login-body .card-wrap {
        background-image: url('/static/clients/saintjohnenergy/bg-login-mobile.png');
        background-position: center;
        padding-bottom: 500px;
    }
}

.login-body .reveal-button {
    display: inline-block;
    position: absolute;
    top: 56px;
    right: 10px;
    width: 24px;
    height: 24px;
    padding: 0;
    text-indent: -9999px;
    background-color: transparent;
    background-image: url('/static/clients/saintjohnenergy/eye.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    transform: translateY(-50%);
    transition: opacity 0.15s ease;
    cursor: pointer;
    opacity: 0.5;
}

.login-body .reveal-button.is-active {
    background-image: url('/static/clients/saintjohnenergy/eye-off.svg');
}

.login-body .card-design {
    background-color: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: rgba(16, 24, 40, 0.08) 0px 12px 16px -4px, rgba(16, 24, 40, 0.03) 0px 4px 6px -2px;
    width: 100%;
    max-width: 438px;
    padding: 48px;
    display: block;
    align-items: initial;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .login-body .card-wrap {
        justify-content: center;
        padding: 20px;
        background-image: url('/static/clients/saintjohnenergy/bg-login-mobile.png');
        background-position: center;
        padding-bottom: 300px;
    }

    .login-body .card-design {
        padding: 30px 20px;
        margin: 0 10px;
    }
}

#login-form {
    margin-top: 20px;
}

#login-form .form-wrap {
    width: 100%;
}


#login-form .form-group {
    display: flex;
    flex-flow: column;
    margin-bottom: 20px;
}

#login-form .form-group > label {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    color: rgb(77, 77, 77);
}

#login-form .form-group > input {
    display: block;
    font-size: 1.6rem;
    height: 48px;
    border-radius: 6px;
    background: #fff;
    outline: none;
    color: #333;
    border: 1px solid #ccc;
    padding: 12px 16px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

#login-form .form-group > input:focus {
    border-color: rgb(77, 77, 77);
    box-shadow: none;
}

#login-form .form-group.mt-sm {
    position: relative;
}

#login-form .form-group.mt-sm > input {
    padding-right: 48px;
}

#login-form .button--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: 1.4px;
    text-align: center;
    text-transform: uppercase;
    border-radius: 9999px;
    transition: all 0.2s ease-in-out;
    padding: 15px 24px;
    height: 48px;
    width: auto;
    max-width: 115px;
    color: rgb(255, 255, 255);
    background-color: rgb(125, 157, 6);
    border: 2px solid rgb(125, 157, 6);
    appearance: none;
    user-select: none;
    column-gap: 8px;
    row-gap: 8px;
    margin-top: 22px;
    margin-right: auto;
}

#login-form .button--primary:hover {
    background-color: rgb(105, 137, 0);
    border-color: rgb(105, 137, 0);
}

#login-form .button--primary:focus {
    outline: 2px solid rgb(125, 157, 6);
    outline-offset: 2px;
}

#login-form .link-wrapper {
    margin-top: 16px;
    text-align: left;
}

#login-form .link-wrapper a {
    color: rgb(77, 77, 77);
    text-decoration: underline;
    font-size: 1.5rem;
}

.login-body footer {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: rgb(242, 242, 242);
    padding: 40px 48px;
}

.login-body footer .footer-top {
    margin-bottom: 24px;
}

.login-body footer .footer-top a {
    color: rgb(0, 0, 70);
    text-decoration: none;
    font-size: 1.5rem;
}

.login-body footer .footer-top a:hover {
    text-decoration: underline;
}

.login-body footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-body footer p {
    margin: 0;
    color: rgb(77, 77, 77);
    font-size: 1.4rem;
}

.login-body footer .social {
    display: flex;
    gap: 16px;
    align-items: center;
}

.login-body footer .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    transition: opacity 0.2s ease;
}

.login-body footer .social svg {
    width: 24px;
    height: 24px;
}

.login-body footer .social svg path {
    fill: rgb(77, 77, 77);
}

@media (max-width: 768px) {
    .login-body footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}
