/*
 * QPGOE MPC Member Portal
 * Customization, Hosting and Maintenance by WTECH Network Solutions FZC.
 * Proprietary project source maintained for the QPGOE MPC Member Portal.
 */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, .08), transparent 32%),
        linear-gradient(135deg, #f8fafc 0%, #eef4fb 100%);
    background-attachment: fixed;
    background-size: 100vw 100vh;
    background-position: center center;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    font-family: Roboto, Arial, Helvetica, sans-serif;
}

.login-cover-panel {
    width: 46%;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    flex: 0 0 46%;
    background-image:
        linear-gradient(135deg, rgba(8, 47, 120, .95), rgba(21, 101, 192, .82)),
        var(--login-cover-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.login-cover-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255, 255, 255, .22) 1.15px, transparent 1.15px);
    background-size: 18px 18px;
    opacity: .28;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 44%, transparent 56%, #000 100%);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 44%, transparent 56%, #000 100%);
}

.login-cover-panel::after {
    content: "";
    position: absolute;
    top: -8%;
    right: -290px;
    z-index: 2;
    width: 420px;
    height: 116%;
    border-radius: 50%;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, .08), transparent 32%),
        linear-gradient(135deg, #f8fafc 0%, #eef4fb 100%);
    background-attachment: fixed;
    background-size: 100vw 100vh;
    background-position: center center;
    box-shadow: -18px 0 0 rgba(147, 197, 253, .22);
    pointer-events: none;
}

.login-cover-overlay {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    width: 100%;
    padding: 72px 64px 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    color: #fff;
}

.cover-logo-section {
    width: 100%;
    margin-bottom: 32px;
}

.cover-logo-image {
    width: 118px !important;
    height: 118px !important;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .28));
}

.cover-logo-section .portal-seal {
    width: 118px;
    height: 118px;
}

.cover-brand-content {
    max-width: 560px;
}

.cover-brand-title {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 3vw, 48px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: .2px;
    text-shadow: 0 8px 20px rgba(0, 0, 0, .28);
}

.cover-brand-subtitle {
    margin-top: 18px;
    color: rgba(255, 255, 255, .96);
    font-size: clamp(17px, 1.35vw, 22px);
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: .1px;
    text-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}

.cover-brand-line {
    width: 72px;
    height: 3px;
    margin: 34px 0 28px;
    border-radius: 999px;
    background: rgba(147, 197, 253, .95);
}

.cover-brand-description {
    margin: 0;
    color: rgba(255, 255, 255, .96);
    font-size: clamp(18px, 1.25vw, 22px);
    line-height: 1.48;
    font-weight: 600;
}

.cover-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    width: 100%;
    max-width: 560px;
    margin-top: 72px;
}

.cover-feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    color: #fff;
}

.cover-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    color: #bfdbfe;
    line-height: 1;
}

.cover-feature-icon svg {
    display: block;
    width: 34px;
    height: 34px;
}

.cover-feature-item strong {
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
}

.cover-feature-item span:last-child {
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 400;
}

.login-panel.full-width-panel {
    width: 54%;
    min-height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1 1 auto;
    padding: 42px 32px 42px 74px;
    box-sizing: border-box;
    position: relative;
    z-index: 4;
    overflow: hidden;
}

.login-panel.full-width-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    width: 360px;
    height: 280px;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(37, 99, 235, .18) 1px, transparent 1.25px);
    background-size: 12px 12px;
    opacity: .28;
    -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 72%);
    mask-image: linear-gradient(135deg, #000 0%, transparent 72%);
}

.login-card-container {
    width: 100%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    position: relative;
    z-index: 2;
}

.login-card {
    width: 100%;
    max-width: 560px;
    min-height: 700px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(37, 99, 235, .08);
    border-radius: 28px;
    box-shadow:
        0 28px 70px rgba(15, 23, 42, .12),
        0 8px 18px rgba(37, 99, 235, .06);
    padding: 38px 42px 34px;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

.logo-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 0;
    border-bottom: none;
    box-sizing: border-box;
}

.environment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    margin: 0 auto 22px;
    padding: 8px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .25px;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}

.environment-badge--development {
    color: #0b57c7;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.environment-badge-icon {
    color: currentColor;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
}

.login-heading {
    width: 100%;
    text-align: center;
}

.login-heading h2 {
    margin: 0;
    color: #0f1f44;
    font-size: clamp(30px, 2.3vw, 42px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.2px;
}

.login-heading p {
    margin: 14px 0 0;
    color: #475569;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 400;
}

.login-divider {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 26px;
    color: #2563eb;
}

.login-divider span {
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .55));
}

.login-divider span:last-child {
    background: linear-gradient(90deg, rgba(37, 99, 235, .55), transparent);
}

.login-divider i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    color: #2563eb;
}

.login-divider i svg {
    width: 22px;
    height: 22px;
}

.login-error {
    margin: -8px 0 15px;
    padding: 10px 12px;
    border: 1px solid #efc2c2;
    border-radius: 8px;
    color: #8f2323;
    background: #fff0f0;
    font-size: 12px;
}

.server-selector-section {
    width: 100%;
    max-width: none;
    margin-bottom: 22px;
    box-sizing: border-box;
}

.login-field-label {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
}

.portal-access-control {
    width: 100%;
    min-height: 58px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    color: #334155;
    background: #fff;
    box-sizing: border-box;
    font-size: 15px;
    font-weight: 500;
}

.portal-access-control span {
    color: #667085;
    font-size: 12px;
}

.form-section {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.member-login-form {
    width: 100%;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
}

.material-login-field {
    width: 100%;
    height: 84px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.material-login-field:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}

.material-login-field + .material-login-field {
    margin-top: 36px;
}

.material-field-icon {
    width: 44px;
    display: grid;
    place-items: center;
    color: #475569;
}

.material-field-icon svg,
.password-toggle svg {
    width: 21px;
    height: 21px;
}

.material-field-body {
    min-width: 0;
    margin: 12px 0;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #eaf2ff;
}

.material-floating-label {
    color: #687386;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 500;
}

.material-field-body input {
    width: 100%;
    min-width: 0;
    height: 36px;
    padding: 0;
    border: 0;
    outline: 0;
    color: #0f172a;
    background: transparent;
    font-size: 15px;
    font-weight: 500;
}

.password-toggle {
    width: 50px;
    height: 82px;
    display: grid;
    place-items: center;
    border: 0;
    color: #475569;
    background: #fff;
}

.member-login-button {
    width: 100%;
    min-height: 42px;
    margin-top: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    box-sizing: border-box;
    color: #fff;
    background: linear-gradient(135deg, #1565c0 0%, #0b57c7 100%);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .1px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, .22);
}

.login-footer-note {
    margin-top: 0;
    padding: 0;
    border: none;
    text-align: center;
}

.login-footer-note a {
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
    letter-spacing: .1px;
    text-decoration: none;
    opacity: .94;
}

.login-footer-note a strong {
    color: #0b57c7;
    font-size: 15px;
    font-weight: 800;
}

/* Source responsive rules */
@media (max-width: 1500px) {
    .cover-feature-list {
        max-width: 500px;
        gap: 18px;
        margin-top: 56px;
        padding-right: 90px;
        box-sizing: border-box;
    }

    .cover-feature-item span:last-child {
        display: none;
    }

    .cover-feature-item strong {
        font-size: 13px;
    }
}

@media (max-width: 1180px) {
    .login-cover-overlay {
        padding: 56px 42px 46px;
    }

    .cover-feature-list {
        gap: 16px;
    }

    .login-card {
        max-width: 540px;
        padding: 34px 34px 30px;
    }
}

@media (max-width: 960px) {
    .login-wrapper {
        padding: 24px 14px;
        align-items: flex-start;
    }

    .login-cover-panel {
        display: none;
    }

    .login-panel.full-width-panel {
        width: 100%;
        min-height: auto;
        justify-content: center;
        padding: 0;
        overflow: visible;
    }

    .login-panel.full-width-panel::before {
        display: none;
    }

    .login-card-container {
        max-width: 560px;
    }

    .login-card {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .login-wrapper {
        padding: 20px 12px;
    }

    .login-card {
        max-width: 100%;
        border-radius: 18px;
        padding: 24px 20px 22px;
    }

    .environment-badge {
        margin-bottom: 18px;
        padding: 6px 14px;
        font-size: 10.5px;
    }

    .login-heading h2 {
        font-size: 30px;
    }

    .login-heading p {
        font-size: 15px;
    }

    .login-divider {
        margin-top: 20px;
        gap: 12px;
    }

    .material-login-field {
        height: 72px;
    }

    .material-login-field + .material-login-field {
        margin-top: 22px;
    }

    .member-login-button {
        margin-top: 28px;
    }

    .login-footer-note a {
        font-size: 11px;
    }

    .login-footer-note a strong {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .login-wrapper {
        padding: 14px 10px;
    }

    .login-card {
        padding: 20px 16px;
        border-radius: 16px;
    }

    .login-heading h2 {
        font-size: 27px;
    }

    .login-heading p {
        font-size: 13.5px;
    }

    .portal-access-control {
        font-size: 13px;
    }
}

@media (max-height: 900px) and (min-width: 961px) {
    .login-panel.full-width-panel {
        align-items: flex-start;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .login-cover-overlay {
        justify-content: flex-start;
        padding-top: 48px;
    }

    .cover-feature-list {
        margin-top: 44px;
    }
}

@media (max-height: 760px) and (min-width: 961px) {
    .login-card {
        min-height: auto;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .environment-badge {
        margin-bottom: 14px;
        padding: 5px 12px;
    }

    .login-heading h2 {
        font-size: 30px;
    }

    .login-heading p {
        margin-top: 10px;
        font-size: 15px;
    }

    .login-divider {
        margin-top: 18px;
    }

    .server-selector-section {
        margin-bottom: 14px;
    }

    .member-login-form {
        padding-top: 8px;
    }

    .material-login-field {
        height: 64px;
    }

    .material-login-field + .material-login-field {
        margin-top: 18px;
    }

    .member-login-button {
        margin-top: 22px;
    }

    .cover-logo-image {
        width: 104px !important;
        height: 104px !important;
    }

    .cover-logo-section {
        margin-bottom: 24px;
    }

    .cover-brand-line {
        margin: 22px 0 20px;
    }

    .cover-feature-list {
        margin-top: 30px;
    }
}

@media (max-height: 640px) and (min-width: 961px) {
    .login-card {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .environment-badge {
        margin-bottom: 10px;
        padding: 4px 10px;
        font-size: 9px;
    }

    .login-heading h2 {
        font-size: 26px;
    }

    .login-heading p {
        margin-top: 8px;
        font-size: 13px;
    }

    .login-divider {
        margin-top: 14px;
    }

    .server-selector-section {
        margin-bottom: 10px;
    }

    .material-login-field {
        height: 56px;
    }

    .material-login-field + .material-login-field {
        margin-top: 12px;
    }

    .member-login-button {
        margin-top: 16px;
    }

    .cover-feature-list {
        display: none;
    }

    .cover-logo-image {
        width: 86px !important;
        height: 86px !important;
    }

    .cover-logo-section {
        margin-bottom: 18px;
    }

    .cover-brand-title {
        font-size: 32px;
    }

    .cover-brand-subtitle {
        margin-top: 12px;
        font-size: 16px;
    }

    .cover-brand-description {
        font-size: 16px;
    }
}


/* v0.1.11 stable hotfix: unique static portal row, no selector collision */
.login-wrapper {
    font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cover-brand-title,
.cover-feature-item strong,
.login-heading h2,
.environment-badge {
    font-weight: 700;
}

.material-login-field + .material-login-field {
    margin-top: 21px;
}

.member-login-button {
    margin-top: 21px;
    font-size: 13px;
    font-weight: 700;
}

.login-card-container {
    transform: translateY(-2px);
}

.login-field-label {
    font-size: 13px;
    font-weight: 700;
}

.material-floating-label,
.material-field-body input {
    font-weight: 400;
}

.login-footer-note a {
    font-size: 11px;
    line-height: 1.45;
    font-weight: 400;
    opacity: .94;
}

.login-footer-note a strong {
    font-size: 13px;
    font-weight: 700;
}


@media (max-width: 1599px) and (min-width: 961px) {
    .material-login-field + .material-login-field {
        margin-top: 18px;
    }

    .member-login-button {
        margin-top: 20px;
    }

    .login-card-container {
        transform: translateY(-1px);
    }
}

@media (max-width: 960px) {
    .login-card-container {
        transform: none;
    }
}


/* =========================================================================
   Version 0.1.12-dev — Members Portal heading and simplified login card
   ========================================================================= */

/* Portal row removed: restore a compact card while preserving its location. */
.login-card {
    min-height: 570px;
    padding-top: 42px;
    padding-bottom: 34px;
}

/* Keep the login form aligned naturally after the divider. */
.form-section {
    margin-top: 0;
}

.member-login-form {
    padding-top: 12px;
}

/* Exact requested heading. */
.login-heading h2 {
    font-weight: 700;
}

/*
 * Match the original footer presentation:
 * slightly closer to the card, larger than v0.1.11, centered.
 */
.login-card-container {
    gap: 18px;
}

.login-footer-note {
    margin-top: 0;
    transform: translateY(-1px);
}

.login-footer-note a {
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 400;
    letter-spacing: 0;
    opacity: 1;
}

.login-footer-note a strong {
    color: #0b57c7;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

/* Normal laptop scaling. */
@media (max-width: 1599px) and (min-width: 961px) {
    .login-card {
        min-height: 545px;
        padding-top: 36px;
        padding-bottom: 30px;
    }

    .login-card-container {
        gap: 17px;
    }
}

/* Short desktop viewports. */
@media (max-height: 850px) and (min-width: 961px) {
    .login-card {
        min-height: 500px;
        padding-top: 28px;
        padding-bottom: 25px;
    }

    .member-login-form {
        padding-top: 8px;
    }

    .login-card-container {
        gap: 14px;
    }
}

/* Mobile: retain natural content height. */
@media (max-width: 960px) {
    .login-card {
        min-height: auto;
    }

    .login-footer-note {
        transform: none;
    }
}

/* =========================================================================
   Version 0.1.13-dev — dedicated Members Portal right-side interface
   The approved left cover remains unchanged.
   ========================================================================= */

.member-access-panel {
    width: 54%;
    min-height: 100vh;
    flex: 1 1 54%;
    padding: 36px 34px 34px 72px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 4;
    overflow: hidden;
    box-sizing: border-box;
}

.member-access-panel::before,
.member-access-panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 28px solid rgba(43, 103, 199, .035);
    pointer-events: none;
}

.member-access-panel::before {
    width: 270px;
    height: 270px;
    top: -150px;
    right: -95px;
}

.member-access-panel::after {
    width: 190px;
    height: 190px;
    bottom: -130px;
    right: 40px;
}

.member-access-stack {
    width: 100%;
    max-width: 610px;
    display: grid;
    justify-items: center;
    gap: 18px;
    position: relative;
    z-index: 2;
}

.member-access-card {
    width: 100%;
    max-width: 570px;
    padding: 32px 42px 30px;
    border: 1px solid rgba(43, 103, 199, .13);
    border-radius: 26px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .12), 0 9px 22px rgba(43, 103, 199, .07);
    box-sizing: border-box;
}

.member-access-header { text-align: center; }

.member-access-badge {
    width: max-content;
    margin: 0 auto 17px;
    padding: 7px 15px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #bcd5fb;
    border-radius: 999px;
    color: #1558b8;
    background: #f2f7ff;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .18px;
}

.member-access-badge-icon {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
}

.member-access-badge-icon svg { width: 18px; height: 18px; }

.member-access-badge small {
    padding-left: 7px;
    border-left: 1px solid #cbdcf5;
    color: #6a7f9e;
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
}

.member-access-header h2 {
    margin: 0;
    color: #0f1f44;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.35px;
}

.member-access-header p {
    margin: 12px 0 0;
    color: #52627c;
    font-size: 15px;
    line-height: 1.45;
}

.member-access-divider {
    width: 100%;
    margin: 21px 0 12px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    color: #2367dc;
}

.member-access-divider span {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(35, 103, 220, .45));
}

.member-access-divider span:last-child {
    background: linear-gradient(90deg, rgba(35, 103, 220, .45), transparent);
}

.member-access-divider i { display: inline-flex; font-style: normal; }
.member-access-divider svg { width: 20px; height: 20px; }

.member-access-illustration {
    height: 108px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.member-access-illustration svg {
    width: 100%;
    max-width: 410px;
    height: 145px;
    transform: translateY(-5px);
}

.member-access-error {
    margin: 0 0 13px;
    padding: 10px 12px;
    border: 1px solid #efc2c2;
    border-radius: 8px;
    color: #8f2323;
    background: #fff0f0;
    font-size: 12px;
}

.member-access-form { display: grid; gap: 15px; }

.member-access-field {
    display: grid;
    gap: 7px;
    color: #27364f;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
}

.member-access-input {
    min-height: 54px;
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr) auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid #cbd7e8;
    border-radius: 11px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.member-access-input:focus-within {
    border-color: #2b67c7;
    box-shadow: 0 0 0 4px rgba(43, 103, 199, .09);
}

.member-access-input-icon {
    width: 45px;
    height: 100%;
    display: grid;
    place-items: center;
    color: #536987;
}

.member-access-input-icon svg,
.member-access-password-toggle svg { width: 21px; height: 21px; }

.member-access-input input {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 0 11px;
    border: 0;
    outline: 0;
    color: #15223a;
    background: transparent;
    font-size: 14px;
    font-weight: 400;
}

.member-access-input input::placeholder { color: #94a5bc; }

.member-access-password-toggle {
    width: 48px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 0;
    color: #536987;
    background: transparent;
}

.member-access-options {
    margin-top: -2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    color: #43546f;
    font-size: 12px;
}

.member-remember-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.member-remember-option input {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: #1d63d5;
}

.member-access-options a { color: #135fc9; font-weight: 500; }

.member-access-submit {
    width: 100%;
    min-height: 54px;
    margin-top: 3px;
    padding: 0 8px 0 22px;
    display: grid;
    grid-template-columns: 1fr 38px;
    align-items: center;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, #1f6bdd 0%, #0757ca 100%);
    box-shadow: 0 10px 22px rgba(20, 93, 205, .22);
    font-size: 16px;
    font-weight: 700;
}

.member-access-submit span { padding-left: 38px; }

.member-access-submit i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1558b8;
    background: #fff;
    font-style: normal;
}

.member-access-submit i svg { width: 19px; height: 19px; }

.member-only-notice {
    margin-top: 20px;
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-top: 1px solid #e0e8f3;
    color: #73849d;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
}

.member-only-notice span {
    width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    color: #4d79ba;
}

.member-only-notice svg { width: 17px; height: 17px; }

.member-access-footer { text-align: center; }
.member-access-footer a { color: #64748b; font-size: 12px; line-height: 1.35; font-weight: 400; }
.member-access-footer strong { color: #0b57c7; font-size: 14px; font-weight: 700; }

@media (max-width: 1599px) and (min-width: 961px) {
    .member-access-panel { padding-left: 60px; }
    .member-access-stack { max-width: 560px; }
    .member-access-card { max-width: 530px; padding: 27px 34px 26px; }
    .member-access-header h2 { font-size: 36px; }
    .member-access-illustration { height: 92px; }
    .member-access-illustration svg { max-width: 370px; height: 132px; }
}

@media (max-height: 850px) and (min-width: 961px) {
    .member-access-panel { align-items: flex-start; padding-top: 22px; padding-bottom: 20px; }
    .member-access-card { padding-top: 22px; padding-bottom: 22px; }
    .member-access-badge { margin-bottom: 11px; }
    .member-access-header h2 { font-size: 33px; }
    .member-access-header p { margin-top: 8px; font-size: 13px; }
    .member-access-divider { margin-top: 15px; margin-bottom: 6px; }
    .member-access-illustration { height: 72px; margin-bottom: 3px; }
    .member-access-illustration svg { height: 112px; }
    .member-access-form { gap: 10px; }
    .member-access-input { min-height: 48px; }
    .member-access-input input,
    .member-access-password-toggle { min-height: 46px; height: 46px; }
    .member-access-submit { min-height: 46px; }
    .member-only-notice { margin-top: 13px; padding-top: 11px; }
}

@media (max-width: 960px) {
    .member-access-panel {
        width: 100%;
        min-height: auto;
        padding: 24px 14px 42px;
        justify-content: center;
        overflow: visible;
    }
    .member-access-panel::before,
    .member-access-panel::after { display: none; }
    .member-access-stack,
    .member-access-card { max-width: 570px; }
}

@media (max-width: 640px) {
    .member-access-panel { padding: 15px 10px 34px; }
    .member-access-card { padding: 25px 19px 23px; border-radius: 20px; }
    .member-access-header h2 { font-size: 31px; }
    .member-access-header p { font-size: 13px; }
    .member-access-badge small { display: none; }
    .member-access-illustration { height: 82px; }
    .member-access-illustration svg { height: 120px; }
}


/* =========================================================================
   Version 0.1.14-dev — complete Member ID illustration
   ========================================================================= */

/*
 * Show the complete illustration. In v0.1.13 the 145px SVG was placed inside
 * a 108px container with overflow hidden, which clipped the Member ID card,
 * coins, building and ground shadow.
 */
.member-access-illustration {
    width: 100%;
    height: 150px;
    margin: 0 auto 10px;
    overflow: visible;
}

.member-access-illustration svg {
    width: 100%;
    max-width: 420px;
    height: 150px;
    transform: none;
    overflow: visible;
}

/* Normal desktop/laptop sizing: keep the complete drawing visible. */
@media (max-width: 1599px) and (min-width: 961px) {
    .member-access-illustration {
        height: 132px;
        margin-bottom: 8px;
        overflow: visible;
    }

    .member-access-illustration svg {
        max-width: 390px;
        height: 132px;
        transform: none;
    }
}

/* Short screens use a smaller complete illustration instead of cropping it. */
@media (max-height: 850px) and (min-width: 961px) {
    .member-access-illustration {
        height: 112px;
        margin-bottom: 5px;
        overflow: visible;
    }

    .member-access-illustration svg {
        height: 112px;
        transform: none;
    }
}

/* Mobile keeps the whole illustration within the card width. */
@media (max-width: 640px) {
    .member-access-illustration {
        height: 120px;
        margin-bottom: 7px;
        overflow: visible;
    }

    .member-access-illustration svg {
        width: 100%;
        max-width: 390px;
        height: 120px;
        transform: none;
    }
}


/* =========================================================================
   Version 0.1.21-dev — approved Member Account Access right pane
   Customization, Hosting and Maintenance by WTECH Network Solutions FZC.
   ========================================================================= */

/*
 * The approved left-side QPGOE MPC cover remains unchanged.
 * These overrides refine only the member login card and right-side spacing.
 */
.member-access-stack {
    max-width: 625px;
    gap: 13px;
}

.member-access-card {
    max-width: 590px;
    padding: 30px 42px 28px;
}

.member-access-badge {
    margin-bottom: 15px;
}

.member-access-header h2 {
    font-size: 38px;
    letter-spacing: -.3px;
}

.member-access-header p {
    max-width: 430px;
    margin: 11px auto 0;
    font-size: 15px;
    line-height: 1.48;
}

.member-access-divider {
    margin-top: 20px;
    margin-bottom: 12px;
}

.member-access-illustration {
    width: 100%;
    height: 132px;
    margin: 0 auto 16px;
    overflow: visible;
}

.member-access-illustration svg {
    width: 100%;
    max-width: 420px;
    height: 132px;
    transform: none;
    overflow: visible;
}

.member-access-form {
    gap: 17px;
}

.member-access-field {
    gap: 8px;
}

.member-access-options {
    margin-top: -1px;
    color: #5f6f86;
    font-size: 11.5px;
}

.member-remember-option {
    gap: 7px;
}

.member-access-submit {
    margin-top: 4px;
}

.member-only-notice {
    min-height: 50px;
    margin-top: 20px;
    padding: 11px 15px;
    border: 1px solid #cfddf0;
    border-radius: 11px;
    color: #60738e;
    background: #f7faff;
    box-sizing: border-box;
}

.member-only-notice span {
    color: #2569cf;
}

.member-access-footer {
    margin-top: -1px;
}

.member-access-footer a {
    font-size: 11px;
    line-height: 1.35;
}

.member-access-footer strong {
    font-size: 13px;
}

/* Standard laptop sizing. */
@media (max-width: 1599px) and (min-width: 961px) {
    .member-access-stack {
        max-width: 575px;
    }

    .member-access-card {
        max-width: 550px;
        padding: 27px 36px 25px;
    }

    .member-access-header h2 {
        font-size: 35px;
    }

    .member-access-header p {
        font-size: 13.5px;
    }

    .member-access-illustration {
        height: 118px;
        margin-bottom: 13px;
    }

    .member-access-illustration svg {
        max-width: 390px;
        height: 118px;
    }

    .member-access-form {
        gap: 13px;
    }
}

/* Short desktop screens retain the complete illustration without crowding. */
@media (max-height: 850px) and (min-width: 961px) {
    .member-access-card {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .member-access-badge {
        margin-bottom: 9px;
    }

    .member-access-header h2 {
        font-size: 31px;
    }

    .member-access-header p {
        margin-top: 7px;
        font-size: 12.5px;
        line-height: 1.35;
    }

    .member-access-divider {
        margin-top: 12px;
        margin-bottom: 5px;
    }

    .member-access-illustration {
        height: 92px;
        margin-bottom: 6px;
    }

    .member-access-illustration svg {
        height: 92px;
    }

    .member-access-form {
        gap: 9px;
    }

    .member-only-notice {
        min-height: 42px;
        margin-top: 11px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
}

/* Tablet and mobile presentation. */
@media (max-width: 960px) {
    .member-access-stack,
    .member-access-card {
        max-width: 590px;
    }
}

@media (max-width: 640px) {
    .member-access-card {
        padding: 24px 18px 22px;
    }

    .member-access-header h2 {
        font-size: 29px;
    }

    .member-access-header p {
        max-width: 330px;
        font-size: 12.5px;
    }

    .member-access-illustration {
        height: 105px;
        margin-bottom: 10px;
    }

    .member-access-illustration svg {
        max-width: 360px;
        height: 105px;
    }

    .member-only-notice {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 10.5px;
    }
}

/* =========================================================================
   Version 0.1.48-dev — accepted New Applicant panel and readable login CTA
   Customization, Hosting and Maintenance by WTECH Network Solutions FZC.
   ========================================================================= */
.member-signup-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 13px;
    margin: 15px 0 11px;
    color: #60738e;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: lowercase;
}

.member-signup-divider span {
    height: 1px;
    background: linear-gradient(90deg, transparent, #d5e0ef);
}

.member-signup-divider span:last-child {
    background: linear-gradient(90deg, #d5e0ef, transparent);
}

.member-signup-divider b {
    font-weight: 700;
}

.member-applicant-panel {
    padding: 15px 16px 13px;
    border: 1px solid #9fc4f1;
    border-radius: 11px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    box-shadow: 0 7px 18px rgba(19, 91, 190, .08);
    text-align: center;
}

.member-applicant-panel h3 {
    margin: 0;
    color: #075abf;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.member-applicant-copy {
    margin: 5px 0 11px;
    color: #526984;
    font-size: 12.5px;
    line-height: 1.4;
}

.member-signup-button {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(90deg, #1f6bdd 0%, #0757ca 100%);
    box-shadow: 0 9px 20px rgba(20, 93, 205, .20);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    box-sizing: border-box;
}

.member-signup-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(20, 93, 205, .26);
    filter: brightness(1.02);
}

.member-signup-button:focus-visible,
.member-application-track-link:focus-visible {
    outline: 3px solid rgba(31, 107, 221, .28);
    outline-offset: 3px;
}

.member-signup-button-icon {
    width: 23px;
    height: 23px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 23px;
}

.member-signup-button-icon svg {
    width: 23px;
    height: 23px;
}

.member-application-track-link {
    display: inline-block;
    margin: 10px 0 0;
    color: #145dbf;
    text-decoration: none;
    font-size: 12.5px;
    line-height: 1.35;
    font-weight: 500;
}

.member-application-track-link strong {
    font-weight: 800;
}

.member-application-track-link:hover {
    text-decoration: underline;
}

.member-eligibility-login-note {
    margin: 9px 0 0;
    color: #6b7f98;
    font-size: 10.5px;
    line-height: 1.42;
    text-align: center;
}

.member-eligibility-login-note strong {
    color: #415a78;
    font-weight: 700;
}

/* The registered-member notice remains visually separate from public intake. */
.member-applicant-panel + .member-only-notice {
    margin-top: 14px;
}

@media (max-height: 850px) and (min-width: 961px) {
    .member-signup-divider {
        margin: 10px 0 8px;
    }

    .member-applicant-panel {
        padding: 10px 13px 9px;
    }

    .member-applicant-panel h3 {
        font-size: 13.5px;
    }

    .member-applicant-copy {
        margin: 3px 0 7px;
        font-size: 11.5px;
    }

    .member-signup-button {
        min-height: 41px;
        font-size: 13.5px;
    }

    .member-application-track-link {
        margin-top: 7px;
        font-size: 11.5px;
    }

    .member-eligibility-login-note {
        margin-top: 6px;
        font-size: 9.5px;
    }

    .member-applicant-panel + .member-only-notice {
        margin-top: 9px;
    }
}

@media (max-width: 640px) {
    .member-signup-divider {
        margin-top: 13px;
    }

    .member-applicant-panel {
        padding: 14px 12px 12px;
    }

    .member-applicant-panel h3 {
        font-size: 15px;
    }

    .member-applicant-copy,
    .member-application-track-link {
        font-size: 13px;
    }

    .member-signup-button {
        min-height: 48px;
        font-size: 15px;
    }

    .member-eligibility-login-note {
        font-size: 11px;
    }
}

/* =========================================================================
   Version 0.1.49-dev — Responsive Sign In and Apply Membership tabs
   Customization, Hosting and Maintenance by WTECH Network Solutions FZC.
   ========================================================================= */
.member-access-tabs {
    width: 100%;
    margin-top: 4px;
}

.member-access-tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid #dbe5f2;
    border-radius: 11px 11px 0 0;
    background: #f7f9fc;
    overflow: hidden;
}

.member-access-tab {
    position: relative;
    min-height: 50px;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-bottom: 3px solid transparent;
    background: transparent;
    color: #40546f;
    cursor: pointer;
    font: inherit;
    font-size: 14.5px;
    line-height: 1.25;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.member-access-tab + .member-access-tab {
    border-left: 1px solid #e2e9f3;
}

.member-access-tab span {
    width: 21px;
    height: 21px;
    display: inline-grid;
    place-items: center;
}

.member-access-tab svg {
    width: 21px;
    height: 21px;
}

.member-access-tab b {
    font-weight: 800;
}

.member-access-tab:hover {
    color: #075bc7;
    background: #f1f6fd;
}

.member-access-tab.active {
    color: #075bc7;
    background: #fff;
    border-bottom-color: #1267da;
}

.member-access-tab:focus-visible {
    z-index: 2;
    outline: 3px solid rgba(18, 103, 218, .23);
    outline-offset: -3px;
}

.member-access-tab-panel {
    padding: 18px 12px 0;
    border: 1px solid #dbe5f2;
    border-top: 0;
    border-radius: 0 0 11px 11px;
    background: #fff;
}

.member-access-tab-panel[hidden] {
    display: none !important;
}

.member-access-tab-panel .member-access-illustration {
    height: 92px;
    margin: -2px 0 12px;
}

.member-access-tab-panel .member-access-illustration svg {
    height: 92px;
    max-width: 340px;
}

.member-tab-switch-copy {
    margin: 13px 0 1px;
    color: #50647f;
    text-align: center;
    font-size: 12.5px;
    line-height: 1.4;
}

.member-tab-switch-copy button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #075bc7;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.member-tab-switch-copy button:hover {
    text-decoration: underline;
}

.member-tab-switch-copy button:focus-visible {
    outline: 3px solid rgba(18, 103, 218, .23);
    outline-offset: 3px;
    border-radius: 3px;
}

.member-apply-intro {
    margin-bottom: 13px;
    text-align: center;
}

.member-apply-intro h3 {
    margin: 0;
    color: #0f2d57;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 800;
}

.member-apply-intro p {
    margin: 5px auto 0;
    max-width: 390px;
    color: #5a6d87;
    font-size: 13px;
    line-height: 1.45;
}

.member-eligibility-panel {
    padding: 11px 12px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border: 1px solid #f1d59d;
    border-radius: 9px;
    background: #fff8e8;
    color: #5d4b2a;
}

.member-eligibility-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #a76c08;
    background: #ffedbd;
}

.member-eligibility-icon svg {
    width: 19px;
    height: 19px;
}

.member-eligibility-panel strong,
.member-eligibility-panel small {
    display: block;
}

.member-eligibility-panel strong {
    color: #4d3d1f;
    font-size: 12.5px;
    line-height: 1.35;
}

.member-eligibility-panel small {
    margin-top: 3px;
    color: #766343;
    font-size: 11px;
    line-height: 1.4;
}

.member-membership-options {
    display: grid;
    gap: 9px;
    margin-top: 12px;
}

.member-membership-option {
    min-height: 72px;
    padding: 10px 11px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    border: 1px solid #b9d2f4;
    border-radius: 10px;
    background: #f8fbff;
    color: #152b49;
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.member-membership-option.associate {
    border-color: #c8bcf4;
    background: #fbf9ff;
}

.member-membership-option:hover {
    transform: translateY(-1px);
    border-color: #1769d6;
    box-shadow: 0 8px 19px rgba(23, 105, 214, .11);
}

.member-membership-option:focus-visible,
.member-track-application-button:focus-visible {
    outline: 3px solid rgba(18, 103, 218, .23);
    outline-offset: 2px;
}

.member-membership-letter {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #1769d6;
    font-size: 17px;
    font-weight: 800;
}

.member-membership-option.associate .member-membership-letter {
    background: #7655da;
}

.member-membership-copy strong,
.member-membership-copy small,
.member-membership-copy em {
    display: block;
}

.member-membership-copy strong {
    color: #102a4e;
    font-size: 14px;
    line-height: 1.3;
}

.member-membership-copy small {
    margin-top: 1px;
    color: #48617f;
    font-size: 11.5px;
    line-height: 1.3;
}

.member-membership-copy em {
    margin-top: 4px;
    color: #6a7c93;
    font-size: 10.5px;
    line-height: 1.35;
    font-style: normal;
}

.member-membership-arrow {
    color: #1769d6;
    font-size: 27px;
    line-height: 1;
}

.member-track-application-button {
    min-height: 44px;
    margin-top: 11px;
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 21px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    border: 1px solid #b9d2f4;
    border-radius: 9px;
    background: #fff;
    color: #075bc7;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
}

.member-track-application-button span,
.member-track-application-button svg {
    width: 21px;
    height: 21px;
}

.member-track-application-button:hover {
    background: #f3f8ff;
}

/* Supersede the v0.1.48 stacked applicant panel on the tabbed page. */
.member-access-tabs ~ .member-signup-divider,
.member-access-tabs ~ .member-applicant-panel {
    display: none !important;
}

.member-access-tabs + .member-only-notice {
    margin-top: 13px;
}

@media (max-height: 900px) and (min-width: 961px) {
    .member-access-tab-panel {
        padding-top: 13px;
    }

    .member-access-tab-panel .member-access-illustration {
        display: none;
    }

    .member-apply-intro {
        margin-bottom: 9px;
    }

    .member-eligibility-panel {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .member-membership-option {
        min-height: 62px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .member-membership-copy em {
        margin-top: 2px;
    }
}

@media (max-width: 960px) {
    .member-access-tabs {
        margin-top: 2px;
    }

    .member-access-tab-panel {
        padding: 14px 10px 8px;
    }

    .member-access-tab-panel .member-access-illustration {
        display: none;
    }

    .member-access-tab {
        min-height: 48px;
        padding-left: 7px;
        padding-right: 7px;
        font-size: 14px;
    }

    .member-membership-option {
        min-height: 70px;
    }
}

@media (max-width: 480px) {
    .member-access-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .member-access-tab span {
        width: 19px;
        height: 19px;
    }

    .member-access-tab svg {
        width: 19px;
        height: 19px;
    }

    .member-access-tab {
        gap: 6px;
        font-size: 13.5px;
    }

    .member-apply-intro h3 {
        font-size: 18px;
    }

    .member-apply-intro p {
        font-size: 12.5px;
    }

    .member-eligibility-panel {
        grid-template-columns: 27px minmax(0, 1fr);
        gap: 8px;
        padding: 9px;
    }

    .member-eligibility-icon {
        width: 27px;
        height: 27px;
    }

    .member-eligibility-panel strong {
        font-size: 12px;
    }

    .member-eligibility-panel small {
        font-size: 10.5px;
    }

    .member-membership-option {
        grid-template-columns: 35px minmax(0, 1fr) 15px;
        gap: 8px;
        padding: 9px;
    }

    .member-membership-letter {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .member-membership-copy strong {
        font-size: 13.5px;
    }

    .member-membership-copy small {
        font-size: 11px;
    }

    .member-membership-copy em {
        font-size: 10px;
    }
}


/* =========================================================================
   Version 0.1.55.26-dev — standardized single-line login footer
   Customization, Hosting and Maintenance by WTECH Network Solutions FZC.
   ========================================================================= */
.member-access-stack {
    overflow: visible;
}

.member-access-footer {
    width: max-content;
    max-width: calc(100vw - 48px);
    margin: 0 auto;
    color: #64748b;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.member-access-footer .platform-footer-copy {
    flex-wrap: nowrap;
    white-space: nowrap;
}

.member-access-footer .platform-footer-link {
    font-size: inherit;
    line-height: inherit;
}

@media (max-width: 960px) {
    .member-access-footer {
        width: 100%;
        max-width: 100%;
    }

    .member-access-footer .platform-footer-copy {
        flex-wrap: wrap;
        white-space: normal;
    }
}

/* =========================================================================
   Version 0.1.55.35-dev — unified bottom-aligned Member login footer
   Customization, Hosting and Maintenance by WTECH Network Solutions FZC.
   ========================================================================= */
.member-access-panel {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.member-access-stack {
    width: 100%;
    max-width: 625px;
    min-height: 0;
    margin: 0 auto;
    padding: 18px 0 12px;
    display: flex !important;
    flex: 1 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.member-access-panel > .public-portal-footer {
    position: relative;
    z-index: 2;
    align-self: stretch;
}

/* The old card-relative footer is retired in favor of the shared page footer. */
.member-access-footer {
    display: none !important;
}

@media (max-height: 850px) and (min-width: 961px) {
    .member-access-stack {
        justify-content: flex-start;
        padding-top: 8px;
    }
}

@media (max-width: 960px) {
    .member-access-panel {
        min-height: 100vh !important;
        padding-bottom: 0 !important;
    }

    .member-access-stack {
        max-width: 590px;
        padding-top: 10px;
    }
}

/* =========================================================================
   Version 0.1.55.38-dev — accepted compact Member login footer baseline
   Customization, Hosting and Maintenance by WTECH Network Solutions FZC.
   ========================================================================= */
html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

body {
    min-height: 100vh;
    min-height: 100svh;
    overflow-y: auto !important;
}

@media (min-width: 961px) and (min-height: 720px) {
    .member-login-public-shell {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: minmax(0, 1fr) 46px !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100svh !important;
        min-height: 100vh !important;
        min-height: 100svh !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .member-login-public-shell > .login-wrapper {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .member-login-public-shell .login-cover-panel,
    .member-login-public-shell .member-access-panel {
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .member-login-public-shell .login-cover-panel {
        overflow: hidden !important;
    }

    .member-login-public-shell .login-cover-overlay {
        height: 100% !important;
        min-height: 0 !important;
    }

    .member-login-public-shell .member-access-panel {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        overflow: hidden !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
    }

    .member-login-public-shell .member-access-stack {
        width: 100% !important;
        max-width: 625px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: auto !important;
        padding: 10px 0 !important;
        flex: 0 1 625px !important;
        overflow: visible !important;
    }

    .member-login-public-shell > .public-portal-footer {
        grid-column: 1 !important;
        grid-row: 2 !important;
        position: static !important;
        inset: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        margin: 0 !important;
        padding: 0 24px !important;
        box-sizing: border-box !important;
        flex: none !important;
        align-self: stretch !important;
        overflow: hidden !important;
        background: #ffffff !important;
    }

    .member-login-public-shell > .public-portal-footer > *,
    .member-login-public-shell > .public-portal-footer p {
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 960px), (max-height: 719px) {
    .member-login-public-shell {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100vh !important;
        min-height: 100svh !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .member-login-public-shell > .login-wrapper,
    .member-login-public-shell .login-cover-panel,
    .member-login-public-shell .member-access-panel,
    .member-login-public-shell .login-cover-overlay {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .member-login-public-shell > .login-wrapper,
    .member-login-public-shell .member-access-panel {
        overflow: visible !important;
    }

    .member-login-public-shell > .public-portal-footer {
        position: static !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: auto !important;
        min-height: 54px !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 10px 16px !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
    }

    .member-login-public-shell > .public-portal-footer > * {
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}
