:root {
    --login-red: #bf1d0b;
    --login-red-dark: #8e170c;
    --login-soft: #fff1ef;
    --login-text: #1f2430;
    --login-muted: #8c8f99;
}

body {
    overflow-x: hidden;
    background: #f3f4f5 !important;
}

.loader-bg {
    display: none !important;
}

.new-login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(420px, .82fr);
    background: #f4f5f5;
    font-family: Roboto, sans-serif;
}

.new-login-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #fee1de;
}

.new-login-hero::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 31%;
    background: linear-gradient(180deg, #b91506 0%, #d22313 100%);
    z-index: 1;
}

.new-login-hero::after {
    content: 'PMS';
    position: absolute;
    left: -8vw;
    top: -3vh;
    z-index: 2;
    font-size: clamp(180px, 26vw, 430px);
    line-height: .82;
    font-weight: 900;
    color: rgba(120, 16, 7, .18);
    letter-spacing: -.08em;
    pointer-events: none;
}

.new-login-bg {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image: url('login-building-bg.png');
    background-size: cover;
    background-position: left bottom;
    background-repeat: no-repeat;
}

.new-login-title {
    position: relative;
    z-index: 4;
    width: min(560px, 62%);
    margin-left: 45%;
    padding-top: 6vh;
    color: #bf1d0b;
    font-size: clamp(44px, 5.3vw, 88px);
    line-height: .95;
    font-weight: 800;
    letter-spacing: -.04em;
}

.new-login-feature-strip {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
    padding: 22px 9% 24px 17%;
    box-shadow: 0 -10px 30px rgba(33, 33, 33, .06);
}

.new-login-feature {
    display: flex;
    gap: 12px;
    padding: 0 28px;
    border-right: 2px solid rgba(191, 29, 11, .55);
}

.new-login-feature:last-child {
    border-right: 0;
}

.new-login-feature i {
    color: var(--login-red);
    font-size: 34px;
    line-height: 1;
    margin-top: 2px;
}

.new-login-feature h4 {
    color: var(--login-red);
    margin: 0 0 7px;
    font-size: 21px;
    font-weight: 800;
}

.new-login-feature p {
    color: #15171c;
    margin: 0;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;
}

.new-login-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 46px 42px;
    background: #f1f2f2;
}

.new-login-card {
    width: min(430px, 100%);
    text-align: center;
}

.new-login-logo img {
    width: 122px;
    max-height: 92px;
    object-fit: contain;
    margin-bottom: 14px;
}

.new-login-card h1 {
    color: var(--login-red);
    font-size: 31px;
    line-height: 1.05;
    margin: 0 0 8px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.new-login-card .intro {
    color: #111318;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 28px;
}

.new-login-alert {
    text-align: left;
    border-radius: 14px;
    font-size: 13px;
    margin-bottom: 15px;
}

.new-login-field {
    position: relative;
    margin-bottom: 16px;
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
}

.new-login-field .field-icon {
    color: var(--login-red);
    font-size: 25px;
    text-align: left;
}

.new-login-field input {
    height: 68px;
    border: 0;
    border-radius: 7px;
    background: #fff;
    color: var(--login-text);
    padding: 0 58px 0 24px;
    font-size: 15px;
    box-shadow: none;
}

.new-login-field input:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(191, 29, 11, .13);
}

.new-login-field input::placeholder {
    color: #aeb0b7;
    font-weight: 600;
}

.toggle-password {
    position: absolute;
    right: 19px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #b8bbc2;
    font-size: 20px;
    padding: 4px;
}

.new-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 6px 0 22px 42px;
    text-align: left;
}

.new-login-options label,
.new-login-options a {
    color: #999da5;
    font-size: 13px;
    font-weight: 600;
}

.new-login-options a:hover,
.new-login-mini-links a:hover,
.new-login-back-link:hover {
    color: var(--login-red);
}

.new-login-submit {
    margin-left: 42px;
    width: calc(100% - 42px);
    height: 68px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #c32617 0%, #8c1b11 100%);
    color: #fff;
    font-size: 31px;
    font-weight: 900;
    box-shadow: 0 6px 10px rgba(40, 40, 40, .2);
    transition: transform .15s ease, box-shadow .15s ease;
}

.new-login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(40, 40, 40, .2);
}

.new-login-mini-links {
    margin: 28px 0 38px 42px;
    text-align: right;
}

.new-login-mini-links a,
.new-login-back-link {
    display: block;
    color: #aaaeb5;
    font-size: 14px;
    line-height: 1.9;
    font-weight: 600;
}

.new-login-warning {
    margin: 0 0 44px 42px;
    color: #14171d;
    font-size: 12px;
    line-height: 1.28;
    font-weight: 600;
}

.new-login-help {
    margin-left: 42px;
    text-align: left;
    background: rgba(191, 29, 11, .08);
    border-top: 8px solid #c32617;
    border-bottom: 8px solid #c32617;
    border-radius: 5px;
    padding: 18px 38px 20px;
}

.new-login-help h3 {
    color: var(--login-red);
    font-size: 25px;
    font-weight: 900;
    margin: 0 0 10px;
}

.new-login-help a {
    display: block;
    color: #12151b;
    border-top: 2px solid rgba(191, 29, 11, .45);
    padding: 11px 0;
    font-size: 14px;
    font-weight: 700;
}

.new-login-help i {
    color: var(--login-red);
    margin-right: 8px;
}

.invalid-email,
.invalid-password {
    display: block;
    grid-column: 2;
    text-align: left;
    margin-top: 6px;
    font-size: 12px;
}

.new-login-recaptcha {
    margin-left: 42px;
    margin-bottom: 18px;
    text-align: left;
}

.new-login-card.is-forgot .intro {
    margin-bottom: 32px;
}

.new-login-card.is-forgot .new-login-warning {
    margin-top: 34px;
}

@media (max-width: 1280px) {
    .new-login-shell {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
    }

    .new-login-feature-strip {
        padding-left: 8%;
        padding-right: 6%;
    }

    .new-login-feature {
        padding: 0 18px;
    }
}

@media (max-width: 1100px) {
    .new-login-shell {
        grid-template-columns: 1fr;
    }

    .new-login-hero {
        min-height: 530px;
    }

    .new-login-panel {
        min-height: auto;
        padding: 42px 24px;
    }

    .new-login-title {
        margin-left: 42%;
        width: min(500px, 55%);
        font-size: clamp(44px, 8vw, 76px);
    }
}

@media (max-width: 768px) {
    body {
        background: #f1f2f2 !important;
    }

    .new-login-shell {
        display: block;
        min-height: 100vh;
    }

    .new-login-hero {
        min-height: 390px;
        border-bottom-left-radius: 28px;
        border-bottom-right-radius: 28px;
    }

    .new-login-hero::before {
        width: 44%;
    }

    .new-login-hero::after {
        left: -42px;
        top: 12px;
        font-size: 158px;
        opacity: .72;
    }

    .new-login-bg {
        background-size: auto 100%;
        background-position: left bottom;
    }

    .new-login-title {
        width: min(270px, 58%);
        margin-left: 38%;
        padding-top: 32px;
        font-size: clamp(33px, 10vw, 46px);
        line-height: .98;
    }

    .new-login-feature-strip {
        display: none;
    }

    .new-login-panel {
        min-height: auto;
        padding: 28px 18px 34px;
        background: #f1f2f2;
    }

    .new-login-card {
        width: 100%;
    }

    .new-login-logo img {
        width: 92px;
        max-height: 72px;
        margin-bottom: 8px;
    }

    .new-login-card h1 {
        font-size: 25px;
    }

    .new-login-card .intro {
        font-size: 13px;
        margin-bottom: 22px;
    }

    .new-login-field {
        grid-template-columns: 32px 1fr;
        margin-bottom: 13px;
    }

    .new-login-field .field-icon {
        font-size: 22px;
    }

    .new-login-field input {
        height: 56px;
        border-radius: 10px;
        padding-left: 18px;
        font-size: 14px;
    }

    .new-login-options {
        margin: 4px 0 18px;
        flex-wrap: wrap;
    }

    .new-login-submit,
    .new-login-help,
    .new-login-warning,
    .new-login-mini-links,
    .new-login-recaptcha {
        margin-left: 0;
        width: 100%;
    }

    .new-login-submit {
        height: 58px;
        font-size: 24px;
    }

    .new-login-mini-links {
        margin-top: 20px;
        margin-bottom: 26px;
        text-align: center;
    }

    .new-login-warning {
        margin-bottom: 26px;
        font-size: 11px;
    }

    .new-login-help {
        padding: 15px 22px 14px;
    }

    .new-login-help h3 {
        font-size: 21px;
    }
}

@media (max-width: 480px) {
    .new-login-hero {
        min-height: 310px;
    }

    .new-login-hero::before {
        width: 48%;
    }

    .new-login-bg {
        background-size: auto 96%;
        background-position: -38px bottom;
    }

    .new-login-title {
        width: 58%;
        margin-left: 37%;
        padding-top: 26px;
        font-size: clamp(29px, 10vw, 38px);
    }

    .new-login-panel {
        padding: 24px 15px 30px;
    }

    .new-login-field {
        grid-template-columns: 28px 1fr;
    }
}

@media (max-width: 380px) {
    .new-login-hero {
        min-height: 285px;
    }

    .new-login-bg {
        background-position: -58px bottom;
    }

    .new-login-title {
        font-size: 28px;
    }
}
