/* =========================================================
   EUASEAN
   Login Landing Page
   Compact access gateway
   Updated: 2026-05-26
   ========================================================= */

:root {
    --euasean-blue-gray: #4A557A;
    --euasean-orange: #E68632;
    --euasean-charcoal: #2F2F2F;
    --euasean-warm: #F4F1EA;
    --euasean-border: #D8D3CA;
    --euasean-white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body.login-landing-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 34%, rgba(230,134,50,0.08), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, var(--euasean-warm) 100%);
    color: var(--euasean-charcoal);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.45;
    overflow-x: hidden;
}

body.login-landing-body a {
    color: inherit;
    text-decoration: none;
}

.gateway-page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 52px;
    padding: 0 clamp(28px, 4.8vw, 72px);
    background: #2F2F2F;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.gateway-header-brand {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.gateway-header-brand span {
    color: var(--euasean-orange);
}

.gateway-header-brand strong {
    color: #ffffff;
}

.gateway-header-brand em {
    margin-left: 9px;
    color: rgba(255,255,255,0.62);
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.gateway-header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.gateway-header-link {
    color: rgba(255,255,255,0.86);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.7px;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.gateway-header-link:hover {
    color: var(--euasean-orange);
}

.login-landing-shell {
    min-height: 100vh;
    padding: 52px 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gateway-compact-panel {
    width: min(1120px, calc(100vw - 72px));
    display: grid;
    grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
    gap: 28px;
    align-items: stretch;
}

.gateway-visual-card,
.gateway-action-card {
    background: rgba(255,255,255,0.84);
    border: 1px solid var(--euasean-border);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(47,47,47,0.08);
}

.gateway-visual-card {
    min-height: 430px;
    padding: clamp(30px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gateway-logo-wrap {
    width: min(270px, 76%);
    margin-bottom: 26px;
}

.gateway-logo-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.gateway-label,
.gateway-action-head span {
    color: var(--euasean-orange);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2.4px;
    line-height: 1;
    text-transform: uppercase;
}

.gateway-visual-card h1 {
    max-width: 520px;
    margin: 13px auto 14px;
    color: var(--euasean-charcoal);
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: -0.8px;
}

.gateway-visual-card p {
    max-width: 560px;
    color: #4F4F4F;
    font-size: 14.5px;
    line-height: 1.65;
}

.gateway-action-card {
    padding: clamp(26px, 3.2vw, 42px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gateway-action-head {
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--euasean-border);
}

.gateway-action-head h2 {
    margin-top: 9px;
    color: var(--euasean-charcoal);
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.gateway-choice-list {
    display: grid;
    gap: 14px;
}

.gateway-choice-card {
    min-height: 116px;
    padding: 18px 18px 18px 20px;
    border: 1px solid var(--euasean-border);
    border-radius: 14px;
    background: #ffffff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}

.gateway-choice-card-secondary {
    background: rgba(244,241,234,0.58);
}

.gateway-choice-copy h3 {
    margin-bottom: 6px;
    color: var(--euasean-charcoal);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
}

.gateway-choice-copy p {
    max-width: 470px;
    color: #555555;
    font-size: 13px;
    line-height: 1.5;
}

.gateway-action-button,
.gateway-secondary-button {
    min-width: 178px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.gateway-action-button {
    background: var(--euasean-orange);
    border: 1px solid var(--euasean-orange);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(230,134,50,0.20);
}

.gateway-secondary-button {
    background: #ffffff;
    border: 1px solid rgba(74,85,122,0.35);
    color: var(--euasean-charcoal);
}

.gateway-action-button:hover,
.gateway-secondary-button:hover {
    transform: translateY(-1px);
}

.gateway-compact-note {
    margin-top: 18px;
    padding: 13px 15px;
    border-left: 3px solid var(--euasean-orange);
    background: rgba(244,241,234,0.72);
    color: #555555;
    font-size: 12.5px;
    line-height: 1.5;
}

.gateway-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    height: 50px;
    padding: 0 clamp(28px, 4.8vw, 72px);
    background: #2F2F2F;
    color: rgba(255,255,255,0.82);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    line-height: 1.2;
    text-transform: uppercase;
}

.gateway-footer div:last-child {
    color: rgba(255,255,255,0.64);
}

@media (max-height: 760px) and (min-width: 901px) {
    .gateway-compact-panel {
        width: min(1060px, calc(100vw - 60px));
        gap: 22px;
    }

    .gateway-visual-card,
    .gateway-action-card {
        min-height: 390px;
        padding: 28px;
    }

    .gateway-logo-wrap {
        width: min(220px, 70%);
        margin-bottom: 18px;
    }

    .gateway-visual-card h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .gateway-visual-card p {
        font-size: 13px;
        line-height: 1.5;
    }

    .gateway-choice-card {
        min-height: 102px;
        padding: 15px 16px;
    }

    .gateway-compact-note {
        margin-top: 14px;
    }
}

@media (max-width: 900px) {
    body.login-landing-body {
        overflow-y: auto;
    }

    .login-landing-shell {
        min-height: auto;
        padding: 82px 0 82px;
        align-items: flex-start;
    }

    .gateway-compact-panel {
        width: calc(100vw - 36px);
        grid-template-columns: 1fr;
    }

    .gateway-visual-card {
        min-height: auto;
    }

    .gateway-page-header,
    .gateway-footer {
        position: fixed;
        padding-left: 20px;
        padding-right: 20px;
    }

    .gateway-header-brand em {
        display: none;
    }
}

@media (max-width: 620px) {
    .gateway-page-header {
        height: auto;
        min-height: 56px;
        padding-top: 12px;
        padding-bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .gateway-header-nav {
        gap: 14px;
    }

    .login-landing-shell {
        padding-top: 116px;
    }

    .gateway-visual-card,
    .gateway-action-card {
        border-radius: 15px;
        padding: 22px;
    }

    .gateway-logo-wrap {
        width: min(220px, 82%);
    }

    .gateway-choice-card {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .gateway-action-button,
    .gateway-secondary-button {
        width: 100%;
    }

    .gateway-footer {
        height: auto;
        min-height: 58px;
        padding-top: 10px;
        padding-bottom: 10px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 5px;
    }
}
