﻿
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
    --hlx-ink: #101828;
    --hlx-navy: #0E2148;
    --hlx-navy-deep: #081530;
    --hlx-blue: #2454E8;
    --hlx-blue-dark: #17359C;
    --hlx-teal: #0EA5A0;
    --hlx-bg: #F5F7FB;
    --hlx-panel-border: #E4E9F2;
    --hlx-muted: #6B7488;
    --hlx-muted-2: #98A2B8;
    --hlx-danger: #D14343;
    --hlx-line: #E7EBF3;
    --hlx-font: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --hlx-display: 'Manrope', 'Inter', system-ui, sans-serif;
}

* {
    box-sizing: border-box;
}

html, body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: var(--hlx-font);
    background: var(--hlx-bg);
}

button, input {
    font: inherit;
}

.hlx-login-page {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vw, 56px) 24px;
    background: var(--hlx-bg);
    background-image: url("/assets/img/hublix-bg-login.jpg");
}

.hlx-route-motif {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .5;
}

.hlx-shell-glow {
    position: relative;
    z-index: 2;
    width: min(100%, 1120px);
    height: clamp(660px, calc(100vh - 64px), 748px);
    border-radius: 23px;
    padding: 2px;
    background: linear-gradient(135deg, #2454E8 0%, #6E8CFF 32%, #0EA5A0 68%, #2454E8 100%);
    background-size: 220% 220%;
    animation: hlxBorderFlow 10s ease-in-out infinite alternate;
    box-shadow: 0 32px 80px rgba(36, 84, 232, .24), 0 10px 30px rgba(16, 24, 40, .16), 0 0 0 1px rgba(36, 84, 232, .08);
}

@keyframes hlxBorderFlow {
    0% {
        background-position: 0% 30%;
    }

    100% {
        background-position: 100% 70%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hlx-shell-glow {
        animation: none;
    }
}

.hlx-shell {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
    gap: 0;
    border-radius: 21px;
    overflow: hidden;
    background: #fff;
}

    .hlx-shell > form {
        display: contents;
    }


.hlx-left-panel {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--hlx-panel-border);
}

.hlx-left-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: clamp(28px, 3.2vw, 38px) clamp(40px, 4.4vw, 56px) 0;
    display: flex;
    flex-direction: column;
}

.hlx-badge {
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    border-radius: 8px;
    background: #EEF3FF;
    border: 1px solid #D9E3FC;
    color: var(--hlx-blue-dark);
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: clamp(18px, 2.6vh, 26px);
    letter-spacing: .01em;
}

    .hlx-badge svg {
        width: 14px;
        height: 14px;
    }

.hlx-headline {
    margin: 0;
    max-width: 480px;
    color: var(--hlx-ink);
    font-family: var(--hlx-display);
    font-size: clamp(28px, 3.4vw, 38px);
    line-height: 1.2;
    letter-spacing: -.5px;
    font-weight: 800;
}

    .hlx-headline .accent {
        color: var(--hlx-blue);
    }

.hlx-lede {
    margin: 14px 0 22px;
    max-width: 440px;
    color: var(--hlx-muted);
    font-size: 15px;
    font-weight: 450;
    line-height: 1.65;
}

.hlx-feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
    max-width: 440px;
}

.hlx-feature {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 3px 0;
}

.hlx-feature-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #EEF3FF;
    border: 1px solid #D9E3FC;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--hlx-blue);
}

    .hlx-feature-icon svg {
        width: 16px;
        height: 16px;
    }

.hlx-feature b {
    display: block;
    color: var(--hlx-ink);
    font-size: 13.5px;
    line-height: 1.35;
    font-weight: 700;
}

.hlx-feature small {
    display: block;
    margin-top: 2px;
    color: var(--hlx-muted);
    font-size: 12.5px;
    line-height: 1.4;
    font-weight: 450;
}

.hlx-hero-art {
    position: relative;
    flex: 1 1 auto;
    min-height: 220px;
    margin: 8px calc(clamp(40px, 4.4vw, 56px) * -1) 0;
    overflow: hidden;
    /*background-image: url('../../assets/img/hubliximg_n.png');*/
    background-image: url('../../assets/img/hublix_login_banner_top_transparent.webp');
    background-size: 100% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hlx-right-panel {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 15% 0%, rgba(36, 84, 232, .38), transparent 42%), radial-gradient(circle at 100% 100%, rgba(14, 165, 160, .22), transparent 46%), linear-gradient(165deg, var(--hlx-navy) 0%, var(--hlx-navy-deep) 100%);
    display: flex;
}

    .hlx-right-panel::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255,255,255,.05) 0%, transparent 30%);
        pointer-events: none;
    }

.hlx-login-card {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    padding: clamp(36px, 4.2vw, 50px) clamp(34px, 4vw, 48px) clamp(22px, 2.8vw, 30px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hlx-brand {
    text-align: center;
    margin-bottom: 22px;
}

.hlx-brand-line {
    position: relative;
    width: 90%;
    height: 1px;
    margin: 0 auto 20px;
    background: linear-gradient(90deg, transparent 0%, rgba(120, 150, 210, .55) 15%, rgba(150, 180, 230, .7) 50%, rgba(120, 150, 210, .55) 85%, transparent 100%);
}

.hlx-form-spacer {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: clamp(14px, 3vh, 34px);
}

.hlx-logo {
    height: 58px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.hlx-members {
    text-align: center;
    margin: 0 0 30px;
    color: rgba(255,255,255,.56);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
}

.hlx-validation {
    min-height: 0;
    margin-bottom: 8px;
    color: #FF9B9B;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

    .hlx-validation ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

.hlx-field {
    margin-bottom: 16px;
}

.hlx-input-label {
    display: block;
    margin-bottom: 7px;
    color: rgba(255,255,255,.72);
    font-size: 12.5px;
    font-weight: 650;
    letter-spacing: .02em;
}

.hlx-float-label {
    position: absolute;
    left: 46px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    padding: 0 5px;
    color: rgba(255,255,255,.5);
    font-family: var(--hlx-font);
    font-size: 14.5px;
    font-weight: 500;
    pointer-events: none;
    background: transparent;
    transition: top .16s ease, left .16s ease, font-size .16s ease, color .16s ease, background .16s ease;
    z-index: 3;
}

.hlx-input-wrap:focus-within .hlx-float-label,
.hlx-input:not(:placeholder-shown) ~ .hlx-float-label {
    top: -9px;
    left: 22px;
    transform: none;
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;  
    border-radius: 4px;
}

.hlx-input-wrap {
    position: relative;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    /* overflow: hidden;*/
    overflow: visible;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    transition: border-color .16s ease, background .16s ease;
}

    .hlx-input-wrap:focus-within {
        border-color: var(--hlx-blue);
        background: rgba(255,255,255,.09);
    }

.hlx-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    z-index: 2;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: rgba(255,255,255,.5);
    pointer-events: none;
}

.hlx-input {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
    min-height: 50px;
    padding: 0 46px 0 46px !important;
    border: 0 !important;
    border-radius: 10px !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    caret-color: var(--hlx-blue);
    font-family: var(--hlx-font);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 50px;
}

    .hlx-input::placeholder {
        color: rgba(255,255,255,.36);
        opacity: 1;
        font-weight: 450;
    }

    .hlx-input:focus,
    .hlx-input:active,
    .hlx-input:-webkit-autofill,
    .hlx-input:-webkit-autofill:hover,
    .hlx-input:-webkit-autofill:focus {
        border: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        background-color: transparent !important;
        -webkit-text-fill-color: #FFFFFF !important;
        caret-color: var(--hlx-blue) !important;
        box-shadow: 0 0 0 1000px rgba(14,33,72,.94) inset !important;
        transition: background-color 9999s ease-in-out 0s;
    }

.hlx-eye {
    position: absolute;
    right: 14px;
    top: 50%;
    z-index: 3;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: rgba(255,255,255,.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    cursor: pointer;
    line-height: 0;
    transition: color .16s ease;
}

    .hlx-eye:hover {
        color: rgba(255,255,255,.9);
    }

    .hlx-eye svg {
        width: 18px;
        height: 18px;
        display: block;
    }

.hlx-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4px 0 24px;
}

.hlx-remember {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.72);
    font-size: 13px;
    font-weight: 550;
    cursor: pointer;
    user-select: none;
}

    .hlx-remember input {
        appearance: none;
        -webkit-appearance: none;
        width: 16px;
        height: 16px;
        border-radius: 5px;
        border: 1.5px solid rgba(255,255,255,.34);
        background: rgba(255,255,255,.04);
        position: relative;
        cursor: pointer;
        transition: border-color .16s ease, background .16s ease;
    }

        .hlx-remember input:checked {
            background: var(--hlx-blue);
            border-color: var(--hlx-blue);
        }

            .hlx-remember input:checked::after {
                content: "";
                position: absolute;
                left: 5px;
                top: 2px;
                width: 4px;
                height: 8px;
                border: solid #fff;
                border-width: 0 2px 2px 0;
                transform: rotate(45deg);
            }

.hlx-submit {
    position: relative;
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--hlx-font);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: .02em;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--hlx-blue);
    box-shadow: 0 1px 2px rgba(0,0,0,.14);
    transition: background .16s ease, transform .12s ease;
}

    .hlx-submit:hover {
        background: #1E48D6;
    }

    .hlx-submit:active {
        transform: translateY(1px);
    }

    .hlx-submit svg {
        width: 17px;
        height: 17px;
    }

.hlx-card-footer {
    margin-top: auto;
}

.hlx-divider {
    position: relative;
    height: 1px;
    margin: 26px 0 18px;
    background: rgba(255,255,255,.10);
}

.hlx-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
}

    .hlx-secure svg {
        width: 30px;
        height: 30px;
        color: rgba(110, 199, 255, .85);
        flex: 0 0 auto;
    }

    .hlx-secure .hlx-secure-bright {
        color: rgba(255,255,255,.88);
    }

    .hlx-secure .hlx-secure-dim {
        color: rgba(255,255,255,.42);
    }

    .hlx-secure .hlx-secure-accent {
        color: #6EC7FF;
    }

.hlx-or,
.hlx-sso-btn,
.hlx-footer,
.hlx-forgot {
    display: none;
}

.hlx-cookie-backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(16, 24, 40, .40);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

    .hlx-cookie-backdrop.hlx-cookie-show {
        opacity: 1;
        pointer-events: auto;
    }

.hlx-cookie {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 50;
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 22px;
    border-radius: 14px;
    border: 1px solid var(--hlx-panel-border);
    background: #FFFFFF;
    box-shadow: 0 20px 44px rgba(16,24,40,.16);
    transform: translateY(140%);
    transition: transform .4s cubic-bezier(.16,1,.3,1);
    pointer-events: none;
}

    .hlx-cookie.hlx-cookie-show {
        transform: translateY(0);
        pointer-events: auto;
    }

.hlx-cookie-text {
    flex: 1;
    color: var(--hlx-muted);
    font-size: 13px;
    line-height: 1.55;
}

    .hlx-cookie-text b {
        color: var(--hlx-ink);
        font-weight: 700;
    }

    .hlx-cookie-text a {
        color: var(--hlx-blue);
        text-decoration: none;
        font-weight: 700;
    }

        .hlx-cookie-text a:hover {
            text-decoration: underline;
        }

.hlx-cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hlx-cookie-btn {
    padding: 9px 18px;
    border-radius: 8px;
    font-family: var(--hlx-font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s ease, border-color .15s ease;
}

.hlx-cookie-reject {
    border: 1px solid var(--hlx-panel-border);
    background: transparent;
    color: var(--hlx-ink);
}

    .hlx-cookie-reject:hover {
        background: #F5F7FB;
    }

.hlx-cookie-accept {
    border: 1px solid var(--hlx-blue);
    background: var(--hlx-blue);
    color: #fff;
}

    .hlx-cookie-accept:hover {
        background: #1E48D6;
    }

@media (max-width: 1040px) {
    .hlx-shell-glow {
        width: 100%;
        max-width: 480px;
        height: auto;
    }

    .hlx-shell {
        grid-template-columns: 1fr;
        max-width: 100%;
        height: auto;
    }

    .hlx-left-panel {
        display: none;
    }

    .hlx-right-panel {
        height: auto;
    }
}

@media (max-width: 480px) {
    .hlx-login-page {
        padding: 18px 12px;
    }

    .hlx-shell-glow {
        border-radius: 18px;
    }

    .hlx-shell {
        border-radius: 16px;
    }

    .hlx-login-card {
        padding: 40px 24px 30px;
    }

    .hlx-logo {
        height: 46px;
    }

    .hlx-cookie {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 16px 18px;
    }

    .hlx-cookie-actions {
        justify-content: stretch;
    }

    .hlx-cookie-btn {
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: .01ms !important;
    }
}
