@charset "utf-8";

/* Project: Moongate Client Portal | Login | version 0.0.1
   File: /public/css/mgp-login.css
*/

/* <editor-fold defaultstate="collapsed" desc="Tuning Variables"> */

:root {
    --mgp-tune-panel-border-alpha: .09;
    --mgp-tune-panel-shadow-alpha: .30;
    --mgp-tune-readout-depth-alpha: .92;
    --mgp-tune-readout-edge-alpha: .075;
    --mgp-tune-button-shadow-alpha: .52;
    --mgp-tune-button-depth: 8px;
}

/* </editor-fold> */

/* <editor-fold defaultstate="collapsed" desc="Stage"> */

.mgp-login-stage {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 56px 24px;
}

.mgp-console {
    position: relative;
    width: min(100%, 520px);
}

.mgp-console::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: -5%;
    height: 34%;
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 245, 255, .12) 0%,
        rgba(0, 245, 255, .045) 42%,
        transparent 72%
    );
    filter: blur(34px);
    pointer-events: none;
}

/* </editor-fold> */

/* <editor-fold defaultstate="collapsed" desc="Status Rail"> */

.mgp-console-status {
    min-height: 58px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin: 0 26px 24px;
    padding: 0 22px;
    border: 1px solid rgba(103, 243, 255, .16);
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(15, 34, 38, .92), rgba(3, 12, 15, .96));
    box-shadow:
        inset 0 5px 12px rgba(0, 0, 0, .72),
        inset 0 -1px 0 rgba(103, 243, 255, .08),
        0 10px 26px rgba(0, 0, 0, .38);
    color: #6f9da2;
    font-family: var(--mgp-font-heading);
    font-size: 11px;
    letter-spacing: .14em;
}

.mgp-console-status span:last-child {
    text-align: right;
}

.mgp-console-status [data-status] {
    transition: color 180ms ease, text-shadow 180ms ease, opacity 180ms ease;
}

.mgp-console-status [data-state="empty"] {
    color: #536f73;
    opacity: .72;
    text-shadow: none;
}

.mgp-console-status [data-state="incomplete"] {
    color: rgba(255, 102, 92, .52);
    opacity: .82;
    text-shadow: 0 0 8px rgba(255, 52, 42, .10);
}

.mgp-console-status [data-state="near-valid"] {
    color: rgba(255, 94, 82, .82);
    opacity: .96;
    text-shadow:
        0 0 8px rgba(255, 52, 42, .28),
        0 0 18px rgba(255, 52, 42, .10);
}

.mgp-console-status [data-state="valid"] {
    color: var(--mgp-color-accent);
    opacity: 1;
    text-shadow:
        0 0 8px rgba(103, 243, 255, .65),
        0 0 18px rgba(103, 243, 255, .24);
}

.mgp-console-status [data-status].is-igniting {
    animation: mgp-status-ignite 520ms linear;
}

@keyframes mgp-status-ignite {
    0%   { opacity: .18; text-shadow: none; }
    12%  { opacity: 1; text-shadow: 0 0 14px rgba(225, 255, 255, .95), 0 0 28px rgba(103, 243, 255, .65); }
    25%  { opacity: .28; text-shadow: 0 0 3px rgba(103, 243, 255, .16); }
    42%  { opacity: .95; text-shadow: 0 0 10px rgba(225, 255, 255, .78), 0 0 22px rgba(103, 243, 255, .45); }
    58%  { opacity: .52; }
    76%  { opacity: 1; text-shadow: 0 0 9px rgba(103, 243, 255, .72), 0 0 20px rgba(103, 243, 255, .28); }
    100% { opacity: 1; }
}

.mgp-console-status strong {
    color: var(--mgp-color-accent);
    font-size: 13px;
    letter-spacing: .08em;
    text-shadow: 0 0 12px rgba(103, 243, 255, .35);
}

/* </editor-fold> */

/* <editor-fold defaultstate="collapsed" desc="Console Panel"> */

.mgp-console-panel {
    position: relative;
    padding: 44px;
    border: 1px solid rgba(103, 243, 255, var(--mgp-tune-panel-border-alpha));
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(21, 43, 47, .98) 0%, rgba(10, 26, 30, .99) 54%, rgba(5, 16, 19, 1) 100%);
    box-shadow:
        0 26px 58px rgba(0, 0, 0, var(--mgp-tune-panel-shadow-alpha)),
        0 10px 24px rgba(0, 0, 0, .12),
        inset 0 10px 24px rgba(255, 255, 255, .012),
        inset 0 -16px 28px rgba(0, 0, 0, .10);
}

.mgp-orbit-mark {
    position: absolute;
    top: 20px;
    left: 22px;
    width: 92px;
    height: 92px;
    overflow: visible;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(103, 243, 255, .12));
}

.mgp-orbit-track,
.mgp-orbit-trail {
    fill: none;
    stroke-linecap: round;
}

.mgp-orbit-track {
    stroke: rgba(103, 243, 255, .035);
    stroke-width: .9;
}

.mgp-orbit-runner {
    transform-origin: 60px 60px;
    animation: mgp-orbit-run 1.8s linear infinite;
}

.mgp-orbit-comet-tail {
    fill: #67f3ff;
    opacity: .78;
    filter:
        drop-shadow(0 0 3px rgba(103, 243, 255, .52))
        drop-shadow(0 0 8px rgba(103, 243, 255, .16));
}

.mgp-orbit-sphere {
    fill: url(#mgp-orbit-sphere-fill);
    stroke: rgba(223, 254, 255, .52);
    stroke-width: .9;
    filter:
        drop-shadow(0 0 4px rgba(103, 243, 255, .42))
        drop-shadow(0 0 9px rgba(103, 243, 255, .14));
}

@keyframes mgp-orbit-run {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .mgp-orbit-runner {
        animation: none;
        transform: rotate(42deg);
    }
}

.mgp-console-panel::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(103, 243, 255, .028);
    border-radius: 20px;
    pointer-events: none;
}

.mgp-console-heading {
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
    text-align: center;
}

.mgp-console-kicker {
    display: block;
    margin-bottom: 12px;
    color: var(--mgp-color-accent);
    font-family: var(--mgp-font-heading);
    font-size: 11px;
    letter-spacing: .22em;
}

.mgp-console-heading h1 {
    margin-bottom: 8px;
    font-size: 34px;
}

.mgp-console-heading p {
    margin-bottom: 0;
    font-size: 15px;
}

/* </editor-fold> */

/* <editor-fold defaultstate="collapsed" desc="Readout Fields"> */

.mgp-console-form {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 20px;
}

.mgp-console-field {
    display: grid;
    gap: 8px;
}

.mgp-console-field > span:first-child {
    padding-left: 4px;
    color: #7da5a9;
    font-family: var(--mgp-font-heading);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.mgp-console-readout {
    position: relative;
    display: block;
    padding: 2px;
    overflow: hidden;
    border-radius: 16px;
    background:
        linear-gradient(145deg, rgba(43, 71, 75, .16), rgba(9, 23, 26, .56) 55%, rgba(3, 11, 13, .74));
    box-shadow:
        inset 0 8px 16px rgba(255, 255, 255, .012),
        inset 0 -8px 14px rgba(0, 0, 0, .16),
        0 3px 8px rgba(0, 0, 0, .10);
}

.mgp-readout-lighting {
    position: absolute;
    inset: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    display: block;
    border-radius: 14px;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: .82;
    z-index: 1;
}

.mgp-console-readout input {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 58px;
    padding: 0 18px;
    border: 1px solid rgba(103, 243, 255, .14);
    border-radius: 14px;
    outline: none;
    background:
        linear-gradient(165deg, rgba(1, 7, 9, .78) 0%, rgba(3, 14, 17, .82) 58%, rgba(8, 27, 30, .74) 100%);
    box-shadow:
        inset 0 10px 17px rgba(0, 0, 0, var(--mgp-tune-readout-depth-alpha)),
        inset 5px 4px 8px rgba(0, 0, 0, .48),
        inset -2px -3px 5px rgba(103, 243, 255, var(--mgp-tune-readout-edge-alpha)),
        inset 1px 0 2px rgba(255, 255, 255, .025),
        0 1px 0 rgba(255, 255, 255, .045);
    color: #d5fbfd;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 16px;
    letter-spacing: .035em;
    caret-color: var(--mgp-color-accent);
    transition:
        border-color var(--mgp-transition),
        box-shadow var(--mgp-transition),
        background var(--mgp-transition);
}

.mgp-console-field input::placeholder {
    color: #35575b;
}

.mgp-console-field input:focus::placeholder {
    color: rgba(238, 255, 250, .82);
}

.mgp-console-field input::selection {
    background: rgba(103, 243, 255, .28);
    color: #f4ffff;
}

.mgp-console-field input::-moz-selection {
    background: rgba(103, 243, 255, .28);
    color: #f4ffff;
}

.mgp-console-field input:-webkit-autofill,
.mgp-console-field input:-webkit-autofill:hover,
.mgp-console-field input:-webkit-autofill:focus,
.mgp-console-field input:-webkit-autofill:active {
    -webkit-text-fill-color: #d5fbfd;
    caret-color: var(--mgp-color-accent);
    transition:
        background-color 9999s ease-out 0s,
        color 9999s ease-out 0s;
}

.mgp-console-field input:focus {
    background:
        linear-gradient(165deg, rgba(1, 7, 9, .78) 0%, rgba(3, 14, 17, .82) 58%, rgba(8, 27, 30, .74) 100%);
    box-shadow:
        inset 0 10px 17px rgba(0, 0, 0, .78),
        inset 5px 4px 8px rgba(0, 0, 0, .40),
        inset -2px -3px 5px rgba(103, 243, 255, .045),
        inset 1px 0 2px rgba(255, 255, 255, .018),
        0 1px 0 rgba(255, 255, 255, .035);
    color: rgba(245, 255, 252, .96);
}

/* </editor-fold> */

/* <editor-fold defaultstate="collapsed" desc="Console Buttons"> */

.mgp-console-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 8px;
}

.mgp-console-button {
    position: relative;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(103, 243, 255, .16);
    border-radius: 13px;
    background:
        linear-gradient(180deg, rgba(18, 39, 43, .98), rgba(6, 20, 23, .98));
    box-shadow:
        0 var(--mgp-tune-button-depth) 10px rgba(0, 0, 0, var(--mgp-tune-button-shadow-alpha)),
        0 2px 0 rgba(0, 0, 0, .72),
        inset 0 1px 0 rgba(255, 255, 255, .055),
        inset 0 -1px 0 rgba(0, 0, 0, .62);
    color: #9db9bc;
    font-family: var(--mgp-font-heading);
    font-size: 12px;
    letter-spacing: .08em;
    cursor: pointer;
    transform: translateY(0);
    transition:
        transform 110ms ease,
        box-shadow 110ms ease,
        color 110ms ease,
        border-color 110ms ease,
        background 110ms ease;
}

.mgp-console-button-primary {
    color: var(--mgp-color-accent);
    border-color: rgba(103, 243, 255, .28);
    text-shadow: 0 0 10px rgba(103, 243, 255, .22);
}

.mgp-console-button:hover:not(.is-pressed) {
    border-color: rgba(103, 243, 255, .34);
    color: #d6f7f9;
}

.mgp-console-button.is-pressed {
    transform: translateY(5px);
    color: var(--mgp-color-accent);
    border-color: rgba(103, 243, 255, .24);
    background:
        linear-gradient(180deg, rgba(4, 17, 20, .98), rgba(2, 10, 12, .98));
    box-shadow:
        inset 0 7px 13px rgba(0, 0, 0, .82),
        inset 0 -1px 3px rgba(103, 243, 255, .045),
        0 1px 0 rgba(255, 255, 255, .02);
}

.mgp-console-button.is-pressed span {
    display: inline-block;
    transform: translateY(1px);
}

.mgp-button-meter {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 16px;
}

.mgp-button-meter i {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: rgba(103, 243, 255, .10);
    box-shadow: inset 0 0 0 1px rgba(103, 243, 255, .08);
}

.mgp-console-button.is-metering .mgp-button-label {
    display: none;
}

.mgp-console-button.is-metering .mgp-button-meter {
    display: flex;
    transform: translateY(1px);
}

.mgp-console-button.is-metering .mgp-button-meter i.is-lit {
    background: var(--mgp-color-accent);
    box-shadow: 0 0 5px rgba(103, 243, 255, .68), 0 0 10px rgba(103, 243, 255, .22);
}

/* </editor-fold> */

/* <editor-fold defaultstate="collapsed" desc="Footer Status"> */

.mgp-console-foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 30px;
    color: #4f7175;
    font-family: var(--mgp-font-heading);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mgp-console-led {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mgp-color-accent);
    box-shadow:
        0 0 7px rgba(103, 243, 255, .9),
        0 0 18px rgba(103, 243, 255, .34);
}

/* </editor-fold> */
