/* M-Reply brand theme for Login.aspx.
   Loaded after login.css; only overrides look and feel, no ids/classes renamed.

   Layout: white header strip with the logo, then one card split in two:
   navy brand panel on the left, sign-in form on the right. */

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    font-family: "Lato Regular", "Segoe UI", Tahoma, Arial, sans-serif;
    color: #2b3642;
    background: #eef2f7;
    background: linear-gradient(135deg, #e9eef5 0%, #f1f3f7 55%, #f2eeec 100%) fixed;
}

/* ---------- header strip ---------- */
.fliud-container > .subheaders {
    float: none;
    width: 100%;
    min-height: 0;
    height: 86px;
    margin: 0;
    padding: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 4px rgba(16, 42, 67, 0.10);
    box-shadow: 0 1px 4px rgba(16, 42, 67, 0.10);
}

.ico-newHeaderLogo {
    height: 78px;
    width: 232px;
    margin-left: 26px;
    margin-top: 4px;
    background: url(../Images/mreply/M-Reply_logo_horizontal.png) left center no-repeat;
    background-size: contain;
}

/* partner logo, right end of the header strip */
.ico-partnerLogo {
    display: inline-block;
    float: right;
    height: 60px;
    width: 135px;
    margin-right: 26px;
    margin-top: 13px;
    background: url(../Images/mreply/Partner_JustWalkin_Rooms_logo.png) right center no-repeat;
    background-size: contain;
}

/* ---------- card ---------- */
.setTop {
    width: auto;
    max-width: 1300px;
    padding-top: 10vh;
}

.mr-login-card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-width: 880px;
    min-height: 470px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 14px;
    overflow: hidden;
    -webkit-box-shadow: 0 24px 60px rgba(16, 42, 67, 0.16);
    box-shadow: 0 24px 60px rgba(16, 42, 67, 0.16);
}

/* ---------- left: brand panel ---------- */
.mr-login-brand {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 44%;
    flex: 0 0 44%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 44px 38px 38px;
    color: #fff;
    overflow: hidden;
    background: #1f4e79;
    background: linear-gradient(160deg, #1f4e79 0%, #1b4369 55%, #173556 100%);
}

    /* soft circle, top left */
    .mr-login-brand:before {
        content: "";
        position: absolute;
        top: -125px;
        left: -125px;
        width: 250px;
        height: 250px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.07);
    }

    /* ring, bottom right */
    .mr-login-brand:after {
        content: "";
        position: absolute;
        right: -135px;
        bottom: -180px;
        width: 330px;
        height: 330px;
        border-radius: 50%;
        border: 44px solid rgba(255, 255, 255, 0.05);
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .mr-login-brand > * {
        position: relative;
        z-index: 1;
    }

.mr-brand-logo {
    width: 240px;
    max-width: 100%;
    height: auto;
    /* the PNG has empty space on its left; pull it back so it lines up with the text */
    margin-left: -16px;
    -ms-flex-item-align: start;
    align-self: flex-start;
}

.mr-brand-title {
    margin: 30px 0 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
}

.mr-brand-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

    .mr-brand-list li {
        position: relative;
        margin-bottom: 14px;
        padding-left: 22px;
        font-size: 14px;
        line-height: 1.3;
        color: #fff;
    }

        .mr-brand-list li:before {
            content: "";
            position: absolute;
            left: 0;
            top: 5px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background-color: #e8792e;
        }

.mr-brand-foot {
    margin-top: auto;
    padding-top: 28px;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- right: sign-in form ---------- */
.loginBox {
    float: none !important;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin: 0 !important;
    padding: 46px 50px 34px;
    border: 0;
    background: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.mr-signin-title {
    margin: 0;
    font-size: 26px;
    font-weight: 600;
    color: #1f4e79;
}

.mr-signin-sub {
    margin: 8px 0 24px;
    font-size: 14px;
    color: #5b6b7b;
}

.form-group {
    margin-bottom: 14px;
}

    .form-group label {
        margin-bottom: 6px;
        font-size: 13px;
        font-weight: 600;
        color: #1c2733;
    }

.customInput,
.customInput:focus {
    height: 44px;
    padding: 8px 14px;
    font-size: 14px;
    color: #2b3642;
    border: 1px solid #d5dde5;
    border-radius: 6px;
    background-color: #f8fafc;
    -webkit-transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

    .customInput:focus {
        border-color: #1f4e79;
        background-color: #fff;
        -webkit-box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.15);
        box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.15);
    }

.form-check-label {
    float: none !important;
    display: block;
    width: 100%;
    margin-top: 0;
}

.btnlogin,
.btnlogin:focus {
    width: 100%;
    height: 46px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #e8792e;
    border: 1px solid #e8792e;
    border-radius: 6px;
    -webkit-box-shadow: 0 10px 22px rgba(232, 121, 46, 0.28);
    box-shadow: 0 10px 22px rgba(232, 121, 46, 0.28);
    -webkit-transition: background-color .15s ease, box-shadow .15s ease;
    transition: background-color .15s ease, box-shadow .15s ease;
}

    .btnlogin:hover,
    .btnlogin:active {
        color: #fff;
        background: #d2691f;
        border-color: #d2691f;
        -webkit-box-shadow: 0 12px 26px rgba(232, 121, 46, 0.38);
        box-shadow: 0 12px 26px rgba(232, 121, 46, 0.38);
    }

.errors {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.5;
    color: #c0392b;
    text-align: center;
}

    .errors a {
        color: #e8792e;
        font-weight: 600;
    }

/* ---------- footer ---------- */
.mr-login-footer {
    clear: both;
    padding: 22px 15px 20px;
    font-size: 13px;
    text-align: center;
    color: #8a97a6;
}

/* ---------- "already logged in" confirmation popup ---------- */
.modalBackground {
    background-color: #0f2437;
    opacity: 0.6;
}

.modalPopup {
    width: 620px;
    max-width: 94%;
    height: auto;
    padding: 6px 20px 26px;
    border: 0;
    border-top: 4px solid #e8792e;
    border-radius: 10px;
    -webkit-box-shadow: 0 18px 45px rgba(8, 24, 40, 0.35);
    box-shadow: 0 18px 45px rgba(8, 24, 40, 0.35);
}

    .modalPopup span {
        color: #2b3642;
    }

    .modalPopup .btnlogin {
        width: 100px;
        height: 40px;
        font-size: 15px;
    }

    .modalPopup .close {
        cursor: pointer;
        padding: 4px 6px;
    }

/* ---------- smaller screens ---------- */
@media (max-width: 860px) {
    .mr-login-card {
        display: block;
        max-width: 520px;
        min-height: 0;
    }

    .mr-login-brand {
        display: none;
    }

    .loginBox {
        padding: 40px 28px 34px;
    }
}
/* ---------- keep the page inside the window (no scrollbar) ---------- */

/* hidden helper button for the popup: still in the page, but takes no room */
#btnShow {
    position: absolute;
}

/* laptop-height windows: tighten the vertical spacing so everything fits */
@media (max-height: 760px) {
    .fliud-container > .subheaders {
        height: 64px;
    }

    .ico-newHeaderLogo {
        height: 58px;
        width: 172px;
        margin-top: 3px;
    }

    .ico-partnerLogo {
        height: 46px;
        width: 104px;
        margin-top: 9px;
    }

    .setTop {
        padding-top: 4vh;
    }

    .mr-login-card {
        min-height: 0;
    }

    .mr-login-brand {
        padding: 30px 34px 28px;
    }

    .mr-brand-title {
        margin-top: 22px;
    }

    .mr-brand-list {
        margin-top: 18px;
    }

    .loginBox {
        padding: 28px 46px 20px;
    }

    .mr-signin-sub {
        margin-bottom: 16px;
    }

    .form-group {
        margin-bottom: 8px;
    }

    .mr-login-footer {
        padding: 12px 15px 8px;
    }
}
