:root {
    --ink: #06143e;
    --muted: #7381a6;
    --line: #d7dfed;
    --panel: #f7faff;
    --navy-1000: #010a25;
    --navy-950: #020d2c;
    --navy-900: #031640;
    --blue: #0874ff;
    --cyan: #00c7f4;
    --danger-bg: #fff3f1;
    --danger-ink: #a8382d;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    color: #fff;
    background: #041744;
    font-family: Arial, sans-serif;
}

.page-shell {
    isolation: isolate;
    position: relative;
    display: grid;
    min-height: 100vh;
    overflow: hidden;
    grid-template-columns: minmax(560px, 54%) 1fr;
    background:
        radial-gradient(circle at 78% 16%, rgba(0, 175, 255, .16), transparent 27%),
        radial-gradient(circle at 45% 85%, rgba(8, 83, 194, .32), transparent 42%),
        linear-gradient(145deg, #020d2e, #06245a 56%, #0b3c7b);
}

.page-shell::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(91, 190, 255, .035) 1px, transparent 1px) 0 0 / 34px 34px,
        linear-gradient(rgba(91, 190, 255, .035) 1px, transparent 1px) 0 0 / 34px 34px;
    content: "";
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, .72), transparent 90%);
}

.page-shell::after {
    position: absolute;
    z-index: -1;
    right: -12%;
    bottom: -10%;
    left: -12%;
    height: 35%;
    border-radius: 50% 50% 0 0;
    background:
        repeating-radial-gradient(ellipse at center, rgba(0, 173, 255, .36) 0 1px, transparent 2px 9px),
        radial-gradient(ellipse at center, rgba(0, 88, 255, .22), transparent 66%);
    content: "";
    opacity: .5;
    transform: rotate(-3deg);
}

.brand-panel {
    isolation: isolate;
    position: relative;
    display: grid;
    min-height: 100vh;
    overflow: hidden;
    padding: clamp(42px, 6vh, 74px) clamp(48px, 7vw, 100px);
    color: #fff;
    background: transparent;
}

.brand-panel__grid {
    display: none;
}

.brand-panel__content {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: 720px;
    flex-direction: column;
}

.login-card__brand img {
    object-fit: cover;
    object-position: center;
}

h1 {
    margin: clamp(74px, 12vh, 142px) 0 0;
    font-size: clamp(58px, 5.5vw, 88px);
    letter-spacing: -4px;
    line-height: 1.02;
}

h1 span {
    color: var(--cyan);
}

.brand-panel__description {
    max-width: 690px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .83);
    font-size: clamp(19px, 1.55vw, 26px);
    line-height: 1.42;
}

.feature-grid {
    display: grid;
    max-width: 670px;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.brand-panel__promise {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: clamp(30px, 5vh, 52px) 0 34px;
    color: rgba(255, 255, 255, .92);
    font-size: 21px;
    font-weight: 700;
}

.promise-icon {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    border: 1px solid rgba(0, 199, 244, .3);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(0, 199, 244, .17), transparent 65%),
        rgba(0, 95, 190, .08);
    box-shadow:
        0 0 0 5px rgba(0, 199, 244, .04),
        0 0 21px rgba(0, 199, 244, .15);
    place-items: center;
}

.promise-icon svg {
    width: 62px;
    height: 62px;
    fill: none;
    stroke: var(--cyan);
    stroke-linecap: round;
    stroke-linejoin: round;
}

.promise-icon__ring {
    stroke-width: 1.3;
    opacity: .65;
}

.promise-icon__orbit {
    stroke-width: 1.2;
    opacity: .9;
}

.promise-icon__node {
    fill: #baf7ff;
    stroke-width: 1;
}

.promise-icon__cursor {
    fill: rgba(0, 199, 244, .13);
    stroke-width: 2.2;
}

.feature-card {
    display: grid;
    min-height: 145px;
    align-content: center;
    justify-items: center;
    gap: 13px;
    border: 1px solid rgba(0, 166, 255, .48);
    border-radius: 10px;
    background: rgba(2, 20, 61, .62);
    color: #fff;
    font-size: 19px;
}

.feature-card::after {
    width: 35px;
    height: 3px;
    background: currentColor;
    content: "";
}

.feature-card svg {
    width: 46px;
    height: 46px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.feature-card--sales,
.feature-card--reports {
    color: #0ab7ff;
}

.feature-card--stock {
    color: #13e0b7;
}

.feature-card--clients {
    color: #806cff;
}

.feature-card span {
    color: #fff;
}

.login-panel {
    position: relative;
    display: grid;
    min-height: 100vh;
    overflow: hidden;
    padding: 36px;
    place-items: center;
    background: transparent;
}

.login-card {
    width: min(100%, 575px);
    border: 1px solid rgba(102, 190, 255, .3);
    border-radius: 16px;
    padding: clamp(27px, 4vh, 42px) clamp(32px, 4vw, 52px) 25px;
    background:
        linear-gradient(145deg, rgba(3, 23, 67, .98), rgba(1, 13, 48, .99)),
        rgba(1, 12, 44, .98);
    box-shadow:
        0 20px 44px rgba(0, 8, 36, .32),
        inset 0 1px 0 rgba(166, 226, 255, .08);
    backdrop-filter: blur(14px);
}

.login-card__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.login-card__brand img {
    display: block;
    width: 112px;
    height: 112px;
    object-fit: contain;
    filter: drop-shadow(0 6px 15px rgba(0, 153, 255, .24));
}

.login-card__brand span {
    display: grid;
    gap: 4px;
}

.login-card__brand strong {
    color: #fff;
    font-size: 43px;
    letter-spacing: -1.6px;
    line-height: 1;
}

.security-divider,
.secure-access > div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.security-divider {
    margin: 24px 0 29px;
}

.security-divider span,
.secure-access span {
    height: 1px;
    flex: 1;
    background: rgba(127, 183, 238, .28);
}

.security-divider svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: #8db7e8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.login-card__heading {
    margin-bottom: 25px;
    text-align: center;
}

h2 {
    margin: 0;
    color: #fff;
    font-size: 32px;
    letter-spacing: -1px;
}

.login-card__heading p {
    margin: 10px 0 0;
    color: #c7d9f3;
    font-size: 20px;
}

.login-card__heading small {
    display: block;
    margin-top: 14px;
    color: #bfd1ed;
    font-size: 16px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 11px 13px;
    border-radius: 8px;
    color: var(--danger-ink);
    background: var(--danger-bg);
    font-size: 13px;
    line-height: 1.4;
}

.alert__icon {
    display: grid;
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    place-items: center;
}

.login-form {
    display: grid;
    gap: 18px;
}

.field {
    display: grid;
    gap: 8px;
    color: #dbeaff;
    font-size: 13px;
    font-weight: 700;
}

.field__input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.field__input-wrap > svg {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #8292b3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    height: 57px;
    border: 1px solid rgba(146, 192, 236, .46);
    border-radius: 8px;
    outline: none;
    padding: 0 52px;
    color: #fff;
    background: rgba(10, 48, 108, .86);
    font: inherit;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #25c9ff;
    box-shadow: 0 0 0 4px rgba(37, 201, 255, .13);
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
    color: #b4c6e3;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-caps-lock-indicator {
    visibility: hidden;
    pointer-events: none;
}

.password-toggle {
    position: absolute;
    right: 11px;
    display: grid;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 7px;
    color: #a0bce3;
    background: transparent;
    cursor: pointer;
    place-items: center;
}

.password-toggle:hover {
    color: #7bdcff;
    background: rgba(102, 202, 255, .1);
}

.password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #d0def2;
    font-size: 13px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 9px;
}

.remember input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--blue);
}

.forgot-password {
    color: #67d5ff;
}

.submit-button {
    display: flex;
    height: 58px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 10px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(110deg, #0874ff, #0555f0);
    box-shadow: 0 9px 17px rgba(5, 85, 240, .22);
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    transition: transform .2s, box-shadow .2s;
}

.submit-button:hover {
    box-shadow: 0 12px 22px rgba(5, 85, 240, .28);
    transform: translateY(-2px);
}

.submit-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.secure-access {
    margin-top: 31px;
    color: #bdd0e9;
    text-align: center;
}

.secure-access > div {
    gap: 15px;
}

.secure-access svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #acc2e1;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.secure-access p {
    margin: 15px 0 0;
    font-size: 13px;
}

.secure-access small {
    display: block;
    margin-top: 9px;
    font-size: 11px;
}

.copyright {
    margin: 27px 0 0;
    color: #9bb2d3;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 1140px) {
    .page-shell {
        grid-template-columns: minmax(430px, 48%) 1fr;
    }

    .brand-panel {
        padding: 44px;
    }

    .feature-card {
        min-height: 120px;
        font-size: 16px;
    }

    .login-panel {
        padding: 22px;
    }
}

@media (max-width: 800px) {
    .page-shell {
        display: block;
    }

    .brand-panel {
        min-height: auto;
        padding: 28px 7% 36px;
    }

    h1 {
        margin-top: 24px;
        font-size: clamp(43px, 12vw, 62px);
        letter-spacing: -2px;
    }

    .brand-panel__description {
        margin-top: 18px;
        font-size: 16px;
    }

    .feature-grid {
        display: none;
    }

    .brand-panel__promise {
        margin: 27px 0 0;
        font-size: 15px;
    }

    .promise-icon {
        width: 43px;
        height: 43px;
    }

    .promise-icon svg {
        width: 48px;
        height: 48px;
    }

    .login-panel {
        min-height: auto;
        padding: 30px 5% 42px;
    }

    .login-card {
        padding: 28px 6% 24px;
    }

    .login-card__brand img {
        width: 86px;
        height: 86px;
    }

    .login-card__brand strong {
        font-size: 35px;
    }

    .security-divider {
        margin: 24px 0 30px;
    }

    h2 {
        font-size: 27px;
    }
}
