/*
 * GLPI Style - premium login page.
 *
 * Only active once login.js mount() has added `gs-login` to <body>, which
 * only happens on the login page (DISPLAY_LOGIN hook). Every value that
 * is configurable comes from the custom properties printed by
 * GlpiPlugin\Glpistyle\Style::loginCss().
 *
 * Structure: .gs-hero is a fixed full-screen background (image, gradient,
 * effects, hero texts). <main> sits on top of it either as a full-height
 * side panel (.gs-mode-panel) or as a full-screen area in which the login
 * box is placed on a 3x3 grid (.gs-mode-card).
 */

.gs-hero {
    display: none;
}

/* ---------- Tokens ---------- */

body.gs-login {
    --gs-ease: cubic-bezier(.2, .7, .2, 1);
    --gs-accent-soft: color-mix(in srgb, var(--gs-accent) 18%, transparent);
    --gs-accent-strong: color-mix(in srgb, var(--gs-accent) 78%, #000);
    --gs-accent-light: color-mix(in srgb, var(--gs-accent) 80%, #fff);
    --gs-box-surface: color-mix(in srgb, var(--gs-box-bg) var(--gs-box-alpha), transparent);
}

body.gs-login.gs-form-light {
    --gs-surface: #ffffff;
    --gs-box-bg: #ffffff;
    --gs-text: #0f172a;
    --gs-title-color: #0f172a;
    --gs-label-color: #334155;
    --gs-muted: #64748b;
    --gs-border: #e2e8f0;
    --gs-input-bg: #f8fafc;
    --gs-input-bg-focus: #ffffff;
    --gs-shadow: rgba(15, 23, 42, .22);
    color-scheme: light;
}

body.gs-login.gs-form-dark {
    --gs-surface: #0f1422;
    --gs-box-bg: #0b0f1a;
    --gs-text: #f1f5f9;
    --gs-title-color: #f8fafc;
    --gs-label-color: #cbd5e1;
    --gs-muted: #94a3b8;
    --gs-border: rgba(148, 163, 184, .22);
    --gs-input-bg: rgba(255, 255, 255, .05);
    --gs-input-bg-focus: rgba(255, 255, 255, .08);
    --gs-shadow: rgba(0, 0, 0, .55);
    color-scheme: dark;
}

/* ---------- Page frame ---------- */

body.gs-login {
    --tblr-body-color: var(--gs-text);
    --tblr-body-bg: var(--gs-box-bg);
    --tblr-bg-surface: var(--gs-surface);
    --tblr-border-color: var(--gs-border);
    --tblr-secondary: var(--gs-muted);
    --tblr-link-color: var(--gs-accent);

    min-height: 100vh;
    margin: 0;
    background: var(--gs-c1) !important;
    color: var(--gs-text);
    font-family: var(--gs-font) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.gs-login .main-content-card .form-control,
body.gs-login .main-content-card .btn,
body.gs-login .main-content-card h2 {
    font-family: inherit;
}

/* ---------- Background / hero ---------- */

body.gs-login > .gs-hero {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
    isolation: isolate;
    color: var(--gs-hero-text);
    background: var(--gs-c1);
}

/* Area left free by the panel; the content is placed in it on a 3x3 grid */
.gs-hero__inner {
    position: absolute;
    inset: 0;
    display: none;
    align-items: var(--gs-hero-v);
    justify-content: var(--gs-hero-h);
    padding: clamp(40px, 6vw, 104px);
}

body.gs-mode-panel .gs-hero__inner,
body.gs-mode-card.gs-hero-in-card .gs-hero__inner {
    display: flex;
}

body.gs-pos-panel_right .gs-hero__inner {
    right: min(var(--gs-panel-w), 100%);
}

body.gs-pos-panel_left .gs-hero__inner {
    left: min(var(--gs-panel-w), 100%);
}

.gs-hero__content:empty {
    display: none;
}

.gs-hero__image,
.gs-hero__gradient,
.gs-hero__pattern,
.gs-hero__shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gs-hero__image {
    z-index: -4;
    background: var(--gs-image) var(--gs-image-pos) / var(--gs-image-size) var(--gs-image-repeat);
}

.gs-hero__gradient {
    z-index: -3;
    opacity: var(--gs-overlay);
    background: linear-gradient(var(--gs-angle), var(--gs-c1) 0%, var(--gs-c2) 55%, var(--gs-c3) 100%);
    background-size: 220% 220%;
    background-position: 0% 50%;
}

.gs-hero__pattern {
    z-index: -2;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 45%, #000 25%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 70% at 30% 45%, #000 25%, transparent 80%);
}

.gs-pattern-dots {
    background-image: radial-gradient(color-mix(in srgb, var(--gs-hero-text) 22%, transparent) 1px, transparent 1.5px);
    background-size: 22px 22px;
}

.gs-pattern-grid {
    background-image:
        linear-gradient(color-mix(in srgb, var(--gs-hero-text) 10%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--gs-hero-text) 10%, transparent) 1px, transparent 1px);
    background-size: 56px 56px;
}

.gs-hero__shapes {
    z-index: -1;
    overflow: hidden;
}

.gs-hero__shapes span {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .55;
    mix-blend-mode: screen;
}

.gs-hero__shapes span:nth-child(1) {
    top: -12%;
    right: -10%;
    width: 460px;
    height: 460px;
    background: var(--gs-accent);
}

.gs-hero__shapes span:nth-child(2) {
    bottom: -16%;
    left: -8%;
    width: 400px;
    height: 400px;
    background: var(--gs-c3);
}

.gs-hero__shapes span:nth-child(3) {
    top: 42%;
    left: 48%;
    width: 280px;
    height: 280px;
    opacity: .35;
    background: color-mix(in srgb, var(--gs-c3) 55%, #ffffff);
}

.gs-hero__content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: var(--gs-hero-items);
    max-width: min(var(--gs-hero-w), 100%);
    text-align: var(--gs-hero-align);
    animation: gs-rise .9s var(--gs-ease) both;
}

body.gs-hero-glass .gs-hero__content {
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid color-mix(in srgb, var(--gs-hero-text) 16%, transparent);
    border-radius: calc(var(--gs-radius) + 12px);
    background: var(--gs-hero-backdrop);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .45);
}

.gs-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 12px;
    border: 1px solid color-mix(in srgb, var(--gs-hero-text) 20%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--gs-hero-text) 10%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.gs-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
}

.gs-hero__title {
    margin: 26px 0 18px;
    color: inherit;
    font-size: clamp(2.1rem, 3.5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.gs-hero__subtitle {
    max-width: 500px;
    margin: 0;
    color: inherit;
    font-size: 1.1rem;
    line-height: 1.65;
    opacity: .8;
    text-wrap: pretty;
}

.gs-hero__features {
    display: grid;
    gap: 14px;
    margin: 36px 0 0;
    padding: 0;
    list-style: none;
}

.gs-hero__features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    font-weight: 500;
    animation: gs-rise .8s var(--gs-ease) both;
}

.gs-hero__features li:nth-child(1) { animation-delay: .25s; }
.gs-hero__features li:nth-child(2) { animation-delay: .35s; }
.gs-hero__features li:nth-child(3) { animation-delay: .45s; }
.gs-hero__features li:nth-child(4) { animation-delay: .55s; }
.gs-hero__features li:nth-child(5) { animation-delay: .65s; }
.gs-hero__features li:nth-child(6) { animation-delay: .75s; }

.gs-hero__check {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid color-mix(in srgb, var(--gs-hero-text) 22%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--gs-hero-text) 12%, transparent);
    font-size: 15px;
}


/* ---------- Main area ---------- */

body.gs-login > main.page-anonymous {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: transparent;
}

body.gs-login > main.page-anonymous > .flex-fill {
    width: 100%;
    margin: 0 !important;
}

body.gs-login .container-tight {
    width: min(var(--gs-box-w), 100%);
    max-width: none !important;
    margin: 0 auto;
    padding: 0 !important;
    animation: gs-rise .75s var(--gs-ease) .08s both;
}

/* Side panel */
body.gs-mode-panel > main.page-anonymous {
    width: min(var(--gs-panel-w), 100%);
    background: var(--gs-box-surface);
    -webkit-backdrop-filter: blur(var(--gs-box-blur)) saturate(140%);
    backdrop-filter: blur(var(--gs-box-blur)) saturate(140%);
    box-shadow: 0 0 90px var(--gs-shadow);
}

body.gs-pos-panel_right > main.page-anonymous {
    margin-left: auto;
}

body.gs-mode-panel > main.page-anonymous > .flex-fill {
    padding: 48px clamp(24px, 5vw, 64px) !important;
}

/* Floating box placed on the 3x3 grid */
body.gs-mode-card > main.page-anonymous > .flex-fill {
    display: flex !important;
    flex-direction: column;
    align-items: var(--gs-h);
    justify-content: var(--gs-v) !important;
    min-height: 100vh;
    padding: clamp(24px, 6vh, 72px) clamp(16px, 6vw, 112px) !important;
}

body.gs-mode-card .container-tight {
    margin: 0;
}

body.gs-mode-card.gs-logo-inside .container-tight,
body.gs-mode-card.gs-logo-above .main-content-card {
    padding: 40px 36px 32px !important;
    border: 1px solid color-mix(in srgb, var(--gs-border) 80%, transparent) !important;
    border-radius: calc(var(--gs-radius) + 10px) !important;
    background: var(--gs-box-surface) !important;
    -webkit-backdrop-filter: blur(var(--gs-box-blur)) saturate(140%);
    backdrop-filter: blur(var(--gs-box-blur)) saturate(140%);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

body.gs-mode-card.gs-glass.gs-logo-inside .container-tight,
body.gs-mode-card.gs-glass.gs-logo-above .main-content-card {
    border-color: rgba(255, 255, 255, .22) !important;
}

/* Logo above the box: it and the footer sit on the background itself */
body.gs-mode-card.gs-logo-above .container-tight > .text-muted,
body.gs-mode-card.gs-logo-above .gs-footer {
    color: var(--gs-hero-text) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

/* ---------- Logo ---------- */

body.gs-login.gs-login .page-anonymous .glpi-logo {
    display: inline-block;
    width: var(--gs-logo-w);
    max-width: 100%;
    height: var(--gs-logo-h);
    margin-bottom: 28px !important;
    object-fit: contain;
}

body.gs-login.gs-form-light .page-anonymous .glpi-logo {
    --logo: var(--glpi-logo-dark-login) !important;
}

body.gs-login.gs-form-dark .page-anonymous .glpi-logo,
body.gs-login.gs-logo-above.gs-mode-card .page-anonymous .glpi-logo {
    --logo: var(--glpi-logo-light-login) !important;
}

/* ---------- Alignment ---------- */

body.gs-align-center .container-tight > .text-center:first-child,
body.gs-align-center .main-content-card .card-header h2,
body.gs-align-center .gs-form-subtitle,
body.gs-align-center .container-tight > .text-muted,
body.gs-align-center .gs-footer,
body.gs-align-center .main-content-card .rich_text_container {
    text-align: center !important;
}

body.gs-align-center .page-anonymous .glpi-logo {
    object-position: center;
}

body.gs-align-left .container-tight > .text-center:first-child,
body.gs-align-left .main-content-card .card-header h2,
body.gs-align-left .gs-form-subtitle,
body.gs-align-left .container-tight > .text-muted,
body.gs-align-left .gs-footer,
body.gs-align-left .main-content-card .rich_text_container {
    text-align: left !important;
}

body.gs-align-left .page-anonymous .glpi-logo {
    object-position: left center;
}

/* ---------- Card internals ---------- */

body.gs-login .main-content-card {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.gs-login .main-content-card > .card-body {
    padding: 0 !important;
    color: var(--gs-text);
}

body.gs-login .main-content-card form > .row {
    flex-direction: column;
    margin: 0;
}

body.gs-login .main-content-card form > .row > * {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

body.gs-login .main-content-card form > .row > .col-md-5 > .card-header {
    display: block;
    margin-bottom: 28px !important;
    padding: 0;
    border: 0;
    background: none;
}

body.gs-divider .main-content-card form > .row > .col-md-5 > .card-header {
    padding-bottom: 22px;
    border-bottom: 1px solid var(--gs-border) !important;
}

body.gs-login .main-content-card .card-header h2 {
    margin: 0 0 8px !important;
    color: var(--gs-title-color);
    font-size: 1.75rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.025em;
}

body.gs-login .gs-form-subtitle {
    margin: 0;
    color: color-mix(in srgb, var(--gs-label-color) 80%, transparent);
    font-size: .98rem;
    line-height: 1.5;
}

body.gs-login .main-content-card .rich_text_container {
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid var(--gs-border);
    border-radius: var(--gs-radius);
    background: var(--gs-input-bg);
    color: var(--gs-muted);
    text-align: left !important;
}

body.gs-login .main-content-card .form-label {
    margin-bottom: 8px;
    color: var(--gs-label-color) !important;
    font-size: .86rem;
    font-weight: 600;
}

body.gs-login .gs-field {
    position: relative;
}

body.gs-login .gs-field > .gs-field__icon {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 2;
    color: var(--gs-muted);
    font-size: 19px;
    transform: translateY(-50%);
    transition: color .2s ease;
    pointer-events: none;
}

body.gs-login .gs-field:focus-within > .gs-field__icon {
    color: var(--gs-accent);
}

body.gs-login .main-content-card .form-control,
body.gs-login .main-content-card .form-select,
body.gs-login .main-content-card .select2-container .select2-selection--single {
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--gs-border) !important;
    border-radius: var(--gs-radius) !important;
    background-color: var(--gs-input-bg) !important;
    color: var(--gs-text) !important;
    font-size: 1rem;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

body.gs-login .main-content-card .select2-container .select2-selection--single .select2-selection__rendered {
    color: var(--gs-text) !important;
    line-height: 50px;
    padding-left: 0;
}

body.gs-login .main-content-card .select2-container .select2-selection--single .select2-selection__arrow {
    height: 50px;
}

body.gs-login .gs-field > .form-control {
    padding-left: 46px;
}

body.gs-login .gs-field.gs-field--toggle > .form-control {
    padding-right: 52px;
}

body.gs-login .main-content-card .form-control:hover {
    border-color: color-mix(in srgb, var(--gs-accent) 35%, var(--gs-border)) !important;
}

body.gs-login .main-content-card .form-control:focus,
body.gs-login .main-content-card .form-select:focus {
    border-color: var(--gs-accent) !important;
    background-color: var(--gs-input-bg-focus) !important;
    box-shadow: 0 0 0 4px var(--gs-accent-soft) !important;
    outline: none;
}

body.gs-login .gs-toggle-password {
    position: absolute;
    top: 50%;
    right: 9px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: calc(var(--gs-radius) * .6);
    background: transparent;
    color: var(--gs-muted);
    font-size: 19px;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

body.gs-login .gs-toggle-password:hover,
body.gs-login .gs-toggle-password:focus-visible {
    background: var(--gs-accent-soft);
    color: var(--gs-accent);
    outline: none;
}

body.gs-login .main-content-card .form-check {
    color: var(--gs-label-color);
    font-size: .92rem;
}

body.gs-login .main-content-card .form-check-input {
    width: 18px;
    height: 18px;
    border-color: var(--gs-border);
    border-radius: 6px;
    background-color: var(--gs-input-bg);
}

body.gs-login .main-content-card .form-check-input:checked {
    border-color: var(--gs-accent);
    background-color: var(--gs-accent);
}

body.gs-login .main-content-card .form-check-input:focus {
    box-shadow: 0 0 0 4px var(--gs-accent-soft);
}

body.gs-login .main-content-card .form-footer {
    margin-top: 28px;
}

body.gs-login .main-content-card .btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    overflow: hidden;
    border: 0 !important;
    border-radius: var(--gs-radius) !important;
    background: linear-gradient(135deg, var(--gs-accent-light) 0%, var(--gs-accent) 50%, var(--gs-accent-strong) 100%) !important;
    background-size: 160% 160% !important;
    color: var(--gs-accent-fg) !important;
    font-size: 1.02rem;
    font-weight: 650;
    letter-spacing: .01em;
    box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--gs-accent) 75%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .22);
    transition: transform .2s var(--gs-ease), box-shadow .25s ease, background-position .4s ease;
}

body.gs-login .main-content-card .btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: skewX(-20deg);
    transition: left .7s var(--gs-ease);
}

body.gs-login .main-content-card .btn-primary:hover {
    background-position: 100% 50% !important;
    box-shadow: 0 20px 38px -14px color-mix(in srgb, var(--gs-accent) 85%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, .22);
    transform: translateY(-2px);
}

body.gs-login .main-content-card .btn-primary:hover::after {
    left: 130%;
}

body.gs-login .main-content-card .btn-primary:active {
    transform: translateY(0);
}

body.gs-login .main-content-card .btn-primary:focus-visible {
    box-shadow: 0 0 0 4px var(--gs-accent-soft);
}

body.gs-login .main-content-card .btn-primary .gs-btn-arrow {
    font-size: 19px;
    transition: transform .25s var(--gs-ease);
}

body.gs-login .main-content-card .btn-primary:hover .gs-btn-arrow {
    transform: translateX(4px);
}

body.gs-login .main-content-card .forgot_password {
    margin-top: 14px;
}

body.gs-login .main-content-card a {
    color: var(--gs-accent);
    font-weight: 600;
    text-decoration: none;
}

body.gs-login .main-content-card a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Side column of the core template: other plugins' login buttons (SSO...) */
body.gs-login .main-content-card form > .row > .gs-extra {
    margin-top: 28px;
    text-align: center;
}

body.gs-login .main-content-card form > .row > .gs-empty {
    display: none;
}

body.gs-login .gs-separator {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--gs-muted);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.gs-login .gs-separator::before,
body.gs-login .gs-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gs-border);
}

body.gs-login .gs-extra .btn,
body.gs-login .gs-extra a.btn,
body.gs-login .gs-extra button {
    width: 100%;
    min-height: 50px;
    border-radius: var(--gs-radius) !important;
    font-weight: 600;
}

body.gs-login .gs-extra .btn:not(.btn-primary) {
    border: 1px solid var(--gs-border) !important;
    background: var(--gs-surface) !important;
    color: var(--gs-text) !important;
    transition: border-color .2s ease, transform .2s var(--gs-ease), box-shadow .2s ease;
}

body.gs-login .gs-extra .btn:not(.btn-primary):hover {
    border-color: color-mix(in srgb, var(--gs-accent) 45%, var(--gs-border)) !important;
    box-shadow: 0 10px 24px -14px var(--gs-shadow);
    transform: translateY(-1px);
}

body.gs-login .main-content-card form > .text-center.border-top {
    border-color: var(--gs-border) !important;
}

body.gs-login .main-content-card .btn-outline-secondary {
    border-color: var(--gs-border);
    border-radius: var(--gs-radius);
    color: var(--gs-muted);
}

body.gs-login .container-tight > .text-muted {
    margin-top: 28px !important;
    color: var(--gs-muted) !important;
    font-size: .76rem;
    opacity: .85;
}

body.gs-login .container-tight > .text-muted a {
    color: inherit;
}

body.gs-login .gs-footer {
    margin-top: 24px;
    color: var(--gs-muted);
    font-size: .84rem;
}

body.gs-footer-custom .container-tight > .text-muted,
body.gs-footer-hidden .container-tight > .text-muted {
    display: none !important;
}

body.gs-login .gs-hidden {
    display: none !important;
}


body.gs-btn-flat .main-content-card .btn-primary {
    background: var(--gs-accent) !important;
}

body.gs-btn-flat .main-content-card .btn-primary::after {
    display: none;
}

body.gs-btn-flat .main-content-card .btn-primary:hover {
    background: color-mix(in srgb, var(--gs-accent) 88%, #000) !important;
}

/* ---------- Small screens ---------- */

@media (max-width: 1099.98px) {
    body.gs-mode-panel .gs-hero__inner,
    body.gs-mode-card.gs-hero-in-card .gs-hero__inner {
        display: none;
    }
}

@media (max-width: 767.98px) {
    body.gs-mode-panel > main.page-anonymous {
        width: 100%;
    }

    body.gs-mode-panel > main.page-anonymous > .flex-fill {
        padding: 32px 20px !important;
    }

    body.gs-mode-card > main.page-anonymous > .flex-fill {
        align-items: center;
        justify-content: center !important;
        padding: 24px 16px !important;
    }

    body.gs-mode-card.gs-logo-inside .container-tight,
    body.gs-mode-card.gs-logo-above .main-content-card {
        padding: 32px 22px 26px !important;
    }
}

/* ---------- Motion ---------- */

body.gs-login.gs-animated .gs-hero__gradient {
    animation: gs-gradient 18s ease-in-out infinite;
}

body.gs-login.gs-animated .gs-hero__image {
    animation: gs-zoom 30s ease-in-out infinite alternate;
}

body.gs-login.gs-animated .gs-hero__shapes span:nth-child(1) { animation: gs-float-a 22s ease-in-out infinite; }
body.gs-login.gs-animated .gs-hero__shapes span:nth-child(2) { animation: gs-float-b 26s ease-in-out infinite; }
body.gs-login.gs-animated .gs-hero__shapes span:nth-child(3) { animation: gs-float-c 19s ease-in-out infinite; }

body.gs-login.gs-animated .gs-hero__dot {
    animation: gs-pulse 2.4s ease-out infinite;
}

@keyframes gs-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

@keyframes gs-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes gs-zoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

@keyframes gs-float-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-80px, 70px) scale(1.12); }
}

@keyframes gs-float-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(90px, -60px) scale(.9); }
}

@keyframes gs-float-c {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-60px, -50px); }
    66% { transform: translate(50px, 40px); }
}

@keyframes gs-pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); }
    80%, 100% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
}

@media (prefers-reduced-motion: reduce) {
    body.gs-login *,
    body.gs-login *::before,
    body.gs-login *::after {
        animation: none !important;
        transition: none !important;
    }
}
