.jumbotron {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start !important;
    width: 400px;
    height: 350px;
    padding: 22px 30px 20px;
    margin: auto;
    background: linear-gradient(to top, rgba(220, 220, 220, 0.35) 0%, rgba(245, 245, 245, 0.25) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.signin-form {
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 auto;
}

.signin-logo {
    margin-bottom: 10px;
}

.signin-input {
    margin-top: 14px;
}

.signin-message-wrap {
    min-height: 34px;
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.signin-message {
    width: 100%;
    font-size: 0.9rem;
    line-height: 1.3;
    text-align: center;
}

.signin-message-error {
    color: #B83900;
}

.signin-message-success {
    color: #1F8026;
}

.signin-submit {
    align-self: center;
    width: auto;
    min-width: 110px;
    margin-top: 0;
}

.signin-links {
    min-height: 32px;
    margin-top: 8px;
}

.signin-links-placeholder {
    visibility: hidden;
}

.signin-otp-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.signin-otp-row .signin-input {
    margin-top: 14px;
    margin-bottom: 0;
}

.signin-otp-timer {
    margin-top: 14px;
    font-weight: bold;
    white-space: nowrap;
}

#card_title {
    font-size: 14px;
    color: black;
    margin-top: 12px;
}

#card_logo {
    margin: 0;
    max-width: 300px;
    max-height: 80px;
}

#lb_header {
    margin-top: 20px;
}

.op-reset {
    color: #0e5cae;
    margin-top: 0;
}

.signin-links .op-reset + .op-reset {
    margin-top: 4px;
}

#bt_login,
#bt_reset,
#btn-send-otp,
#bt_login.btn,
#bt_reset.btn,
#btn-send-otp.btn,
#bt_login.btn-primary,
#bt_reset.btn-primary,
#btn-send-otp.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: .55rem 1rem;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: .2px;
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    background: linear-gradient(90deg, #1e62e6, #0eb5e9) !important;
    background-size: 200% 200%;
    box-shadow: 0 6px 14px rgba(14,181,233,.25);
    position: relative;
    overflow: hidden;
    transition: background-position .4s ease, transform .08s ease, box-shadow .2s ease, filter .2s ease;
}

#bt_login::before,
#bt_reset::before,
#btn-send-otp::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

#bt_login:hover,
#bt_reset:hover,
#btn-send-otp:hover {
    background-position: 100% 0;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(14,181,233,.32);
}

#bt_login:hover::before,
#bt_reset:hover::before,
#btn-send-otp:hover::before {
    animation: btn-shine .8s forwards;
}

@keyframes btn-shine {
    to {
        left: 150%;
    }
}

#bt_login:focus-visible,
#bt_reset:focus-visible,
#btn-send-otp:focus-visible,
#bt_login:active,
#bt_reset:active,
#btn-send-otp:active {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34,211,238,.25), 0 8px 20px rgba(14,181,233,.35);
    filter: saturate(1.05);
}

#bt_login:disabled,
#bt_reset:disabled,
#btn-send-otp:disabled {
    opacity: .8;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

@media screen and (max-width: 850px) {
    .jumbotron {
        width: min(400px, calc(100vw - 32px));
        height: 350px;
        padding: 22px 20px 20px;
    }

    .signin-form {
        max-width: 100%;
    }

    .signin-input {
        height: calc(1.5em + .5rem + 2px);
    }

    #lb_header {
        font-size: 1.5rem;
    }

    #card_logo {
        max-width: 200px;
        max-height: 60px;
        margin-bottom: 2px;
    }

    #bt_login,
    #bt_reset,
    #btn-send-otp {
        min-height: 38px;
        padding: .5rem .9rem;
        font-size: .95rem;
        line-height: 1.5;
        border-radius: .6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #bt_login,
    #bt_reset,
    #btn-send-otp,
    #bt_login::before,
    #bt_reset::before,
    #btn-send-otp::before {
        transition: none !important;
        animation: none !important;
    }
}
