html,
body.login-page {
    min-height: 100%;
}

body.login-page {
    background: #e8edf4;
    color: #1f2933;
    font-family: "Source Sans Pro", Arial, sans-serif;
}

body.login-page .login-box {
    width: 100%;
    min-height: 100vh;
    margin: 0;
}

body.login-page form {
    min-height: 100vh;
}

.mua-login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: #e8edf4;
}

.mua-login-frame {
    width: min(560px, 100%);
    min-height: 0;
    display: block;
    background: #ffffff;
    border: 1px solid #d9e0ea;
    border-top: 5px solid #f49937;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(31, 41, 51, 0.16);
    overflow: hidden;
}

.mua-login-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 48px 56px 38px;
}

.mua-login-header {
    margin-bottom: 28px;
    text-align: center;
}

.mua-login-logo {
    display: block;
    width: min(290px, 100%);
    height: auto;
    margin: 0 auto 20px;
}

.mua-login-accent {
    display: block;
    width: 84px;
    height: 5px;
    margin: 0 auto 22px;
    background: #f49937;
    border-radius: 999px;
}

.mua-login-header h1 {
    margin: 0;
    color: #20242b;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
}

.mua-login-header p {
    margin: 8px 0 0;
    color: #657080;
    font-size: 15px;
    line-height: 1.45;
}

.mua-login-alert {
    display: block;
    margin: 0 0 20px;
    padding: 12px 14px;
    color: #8f1f1f;
    background: #fff3f0;
    border: 1px solid #f0bbb1;
    border-radius: 6px;
    background-image: none;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.mua-login-alert:empty {
    display: none;
}

.mua-field {
    margin-bottom: 18px;
}

.mua-field label {
    display: block;
    margin: 0 0 7px;
    color: #2b333d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.mua-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 50px;
    background: #ffffff;
    border: 1px solid #cdd6e1;
    border-radius: 6px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mua-input-wrap:focus-within {
    border-color: #f49937;
    box-shadow: 0 0 0 3px rgba(244, 153, 55, 0.18);
}

.mua-input-wrap > .fa {
    width: 48px;
    color: #758193;
    text-align: center;
    font-size: 16px;
}

.mua-input {
    width: 100%;
    height: 50px;
    padding: 0 16px 0 0;
    color: #20242b;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: 16px;
    line-height: 50px;
}

.mua-input::placeholder {
    color: #909aaa;
}

.mua-input-wrap .mua-pass-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #758193;
    cursor: pointer;
}

.mua-input-wrap .mua-pass-toggle:hover,
.mua-input-wrap .mua-pass-toggle:focus {
    color: #20242b;
}

.mua-input-wrap .mua-pass-toggle + .mua-input,
.mua-input-wrap .mua-input[type="password"],
.mua-input-wrap .mua-input[type="text"]#MainContent_txtpassword,
.mua-input-wrap .mua-input[type="text"]#Main1_txtpassword {
    padding-right: 54px;
}

.mua-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 8px;
    padding: 14px 20px;
    color: #ffffff;
    background: #f49937;
    border: 1px solid #e18423;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(122, 73, 21, 0.18);
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.mua-login-button:hover,
.mua-login-button:focus {
    color: #ffffff;
    background: #dc842b;
    border-color: #c77625;
    text-decoration: none;
    transform: translateY(-1px);
}

.mua-login-help {
    margin-top: 18px;
    text-align: center;
}

.mua-forgot-link {
    color: #195a96;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.mua-forgot-link:hover,
.mua-forgot-link:focus {
    color: #123f69;
    text-decoration: underline;
}

.mua-login-footer {
    margin-top: 36px;
    padding-top: 20px;
    color: #687384;
    border-top: 1px solid #e5eaf1;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.mua-login-footer a {
    color: #195a96;
    font-weight: 700;
}

.mua-login-footer a:hover,
.mua-login-footer a:focus {
    color: #123f69;
}

.focus-input100,
.focus-input100::before,
.focus-input100::after {
    display: none;
}

@media (max-width: 760px) {
    .mua-login-shell {
        align-items: flex-start;
        padding: 18px;
    }

    .mua-login-card {
        padding: 34px 26px 30px;
    }

    .mua-login-logo {
        width: min(250px, 100%);
    }

    .mua-login-header h1 {
        font-size: 26px;
    }
}

@media (max-width: 420px) {
    .mua-login-shell {
        padding: 0;
        background: #ffffff;
    }

    .mua-login-frame {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .mua-login-card {
        padding: 30px 20px 24px;
    }
}
