/* --------------------
   SIMINEO BRAND FONT
-------------------- */
@font-face {
    font-family: "SIMINEO";
    src: url("/fonts/SIMINEO_Regular_V2_Net.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.simineo-font {
    font-family: "SIMINEO", sans-serif;
}

/* --------------------
   MAIN CONTAINER - ALAP
-------------------- */
.main-container {
    display: flex;
    flex: 1;
    padding: 1.5rem;
    box-sizing: border-box;
    overflow-x: auto;
    min-height: auto;

    /* subtle layout polish */
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
}

/* --------------------
   LOGIN / REGISTER PAGE
-------------------- */
.login-page .main-container,
.register-page .main-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
}

.login-page .intro-section,
.register-page .intro-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-bottom: 1.25rem;
    max-width: 520px;
}

.login-page .intro-section h1,
.register-page .intro-section h1 {
    font-weight: 500;
    letter-spacing: 0.20em;
    font-size: 2.2rem;
}

.login-page .intro-section p,
.register-page .intro-section p {
    max-width: 430px;
    margin: 0.45rem auto 0;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.5;
    color: rgba(238, 242, 255, 0.75);
}

@media (min-width: 700px) {
    .login-page .intro-section p,
    .register-page .intro-section p {
        margin-left: auto;
        margin-right: 0;
        text-align: right;
    }
}

.login-page .intro-section h2,
.register-page .intro-section h2 {
    letter-spacing: -0.4px;
}

.login-page .auth-section,
.register-page .auth-section {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
}

.login-page .auth-section .login-box,
.register-page .auth-section .login-box {
    width: min(100%, 420px);
    margin: 0 auto;
}

@media (min-width: 750px) {
    .login-page .main-container,
    .register-page .main-container {
        flex-direction: row;
        gap: 3rem;
        padding: 3rem 2.5rem;
    }

    .login-page .intro-section,
    .register-page .intro-section {
        text-align: right;
        margin-bottom: 0;
        width: 50%;
        justify-content: center;
    }

    .login-page .auth-section,
    .register-page .auth-section {
        justify-content: flex-start;
        width: 50%;
    }
}

/* --------------------
   HEADER & MENU
-------------------- */
header,
.site-header {
    position: relative;
    z-index: 1001;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;

    background:
        linear-gradient(
            180deg,
            rgba(5, 27, 33, 0.76),
            rgba(5, 23, 28, 0.66)
        );

    border-bottom:
        1px solid rgba(39, 221, 214, 0.20);

    box-shadow:
        0 6px 22px rgba(0, 0, 0, 0.20),
        inset 0 -1px 0 rgba(39, 221, 214, 0.04);

    -webkit-backdrop-filter:
        blur(12px) saturate(125%);

    backdrop-filter:
        blur(12px) saturate(125%);
}

.mobile-menu {
    display: none;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex: 0 0 auto;
}

header img,
.site-header img {
    height: 40px;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.35));
}

.site-title {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.6px;
    opacity: 0.95;
    white-space: nowrap;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.desktop-menu a,
.mobile-menu a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.98rem;
    padding: 0.35rem 0.55rem;
    border-radius: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.desktop-menu a:hover,
.mobile-menu a:hover {
    color: var(--color-text-main);
    background-color: rgba(255,255,255,0.06);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    appearance: none;

    border:
        1px solid rgba(39, 221, 214, 0.30);

    background:
        rgba(8, 35, 41, 0.66);

    border-radius: 12px;
    padding: 0.6rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    min-width: 36px;
    min-height: 36px;
    flex: 0 0 auto;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-text-main);
}

/* --------------------
   LANGUAGE SWITCH (i18n)
-------------------- */
.lang-switch{
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
}

.lang-current{
    display: none;
}

.lang-menu{
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-btn,
.lang-current{
    appearance: none;

    border:
        1px solid rgba(39, 221, 214, 0.28);

    background:
        rgba(8, 35, 41, 0.66);

    background-clip:
        padding-box;

    -webkit-background-clip:
        padding-box;

    color:
        rgba(226, 244, 245, 0.80);

    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 0.22rem 0.45rem;
    border-radius: 10px;
    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.lang-btn:hover,
.lang-current:hover{
    color:
        rgba(242, 251, 251, 0.96);

    background:
        rgba(12, 49, 56, 0.78);

    border-color:
        rgba(39, 221, 214, 0.50);
}

.lang-btn.is-active,
.lang-switch.is-open .lang-current{
    color:
        rgba(242, 251, 251, 0.96);

    background:
        linear-gradient(
            180deg,
            rgba(27, 150, 151, 0.38),
            rgba(13, 100, 105, 0.32)
        );

    background-clip:
        padding-box;

    -webkit-background-clip:
        padding-box;

    border-color:
        rgba(255, 139, 56, 0.90);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 0 5px rgba(255, 139, 56, 0.20);
}

@media (max-width: 768px) {
    header,
    .site-header {
        --mobile-edge-inset: 0.5rem;
        padding: 0.6rem var(--mobile-edge-inset);
        gap: 0.55rem;
    }

    .header-left {
        gap: 0.55rem;
        flex: 1;
        min-width: 0;
    }

    header img,
    .site-header img {
        height: 32px;
    }

    .lang-switch {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
    }

    .lang-current {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 42px;
    }

    .lang-menu {
        display: none;
        position: absolute;
        top: calc(100% + 0.4rem);
        left: 0;
        z-index: 30;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        min-width: 64px;
        padding: 0.35rem;
        border: 1px solid rgba(39, 221, 214, 0.30);
        border-radius: 14px;
        background: rgba(5, 27, 33, 0.96);
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
    }

    .lang-switch.is-open .lang-menu {
        display: flex;
    }

    .lang-menu .lang-btn {
        width: 100%;
        text-align: center;
    }

    .desktop-menu {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        margin-right: 0;
        padding: 0.52rem;
    }

    .mobile-menu {
        display: none;
        position: absolute;
        top: calc(100% + 0.35rem);
        right: var(--mobile-edge-inset);
        left: auto;
        width: min(240px, calc(100vw - (var(--mobile-edge-inset) * 2)));
        margin: 0;
        padding: 0.4rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.12rem;
        border: 1px solid var(--color-border-light);
        border-radius: 14px;
        background: rgba(15, 22, 41, 0.78);
        box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        z-index: 1000;
    }

    .mobile-menu.is-open {
        display: flex;
    }

    .mobile-menu a {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        min-height: 36px;
        padding: 0.42rem 0.75rem;
        text-align: right;
        border-radius: 10px;
        box-sizing: border-box;
    }

}
/* --------------------
   LOGIN / REGISTER BOX & FORMS
-------------------- */
.login-box {
    width: 100%;
    max-width: 420px;
    padding: 2.15rem;
    background-color: rgba(15, 22, 41, 0.78);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    box-sizing: border-box;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.launch-free-entry-badge {
    width: fit-content;
    max-width: 100%;
    margin: -0.25rem 0 1.25rem;
    padding: 0.42rem 0.72rem;
    box-sizing: border-box;

    border: 1px solid rgba(64, 182, 255, 0.42);
    border-radius: 12px;

    background: rgba(64, 182, 255, 0.10);
    color: rgba(238, 242, 255, 0.92);

    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.launch-free-entry-badge[hidden] {
    display: none !important;
}

@media (max-width: 480px) {
    .launch-free-entry-badge {
        width: 100%;
        text-align: center;
        border-radius: 12px;
    }
}



/* Login box heading (Log in here / Anmelden) */
.login-box h2 {
    font-weight: 400;
    opacity: 0.85;
}
.login-box .form-group {
    margin-bottom: 1.1rem;
    display: flex;
    flex-direction: column;
}

.login-box .form-group label {
    margin-bottom: 0.55rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: rgba(238, 242, 255, 0.80);
}

.login-box .form-group input,
.login-box .form-group select {
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.04);
    color: var(--color-text-main);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.login-box .form-group input::placeholder {
    color: rgba(238, 242, 255, 0.45);
}

.login-box .form-group input:focus,
.login-box .form-group select:focus {
    border-color: rgba(64, 182, 255, 0.62);
    box-shadow: var(--ring);
    background-color: rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
    .login-box .form-group input,
    .login-box .form-group select {
        font-size: 16px;
    }
}


.login-box .btn-login {
    background: linear-gradient(135deg, rgba(18, 148, 230, 0.95), rgba(64, 182, 255, 0.82));
    color: #0b0f19;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    padding: 0.72rem 1.2rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
    width: 100%;
    box-shadow: 0 14px 40px rgba(64, 182, 255, 0.16);
}

.login-box .btn-login:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow: 0 18px 55px rgba(64, 182, 255, 0.22);
}

.login-box .btn-login:active {
    transform: translateY(0px);
}

.register-section {
    margin-top: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

/* Register hint text (If you don’t have an account:) */
.register-section span {
    color: rgba(238, 242, 255, 0.62);
    font-weight: 400;
}

.register-section .btn-register {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    color: rgba(238, 242, 255, 0.72);
    transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
    white-space: nowrap;
    text-decoration: none;
}

.register-section .btn-register:hover {
    border-color: rgba(64, 182, 255, 0.62);
    background-color: rgba(64, 182, 255, 0.10);
    transform: translateY(-1px);
}


/* PWA install action — secondary to login/register */
.pwa-install-section {
    margin-top: 1.2rem;
}

.pwa-install-section[hidden] {
    display: none !important;
}

.pwa-install-divider {
    height: 1px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.10);
}

.pwa-install-btn {
    width: 100%;
    padding: 0.62rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(64, 182, 255, 0.38);
    background: rgba(64, 182, 255, 0.06);
    color: rgba(238, 242, 255, 0.82);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease;
}

.pwa-install-btn:hover {
    border-color: rgba(64, 182, 255, 0.68);
    background: rgba(64, 182, 255, 0.11);
    transform: translateY(-1px);
}

.pwa-install-btn:active {
    transform: translateY(0);
}

.pwa-install-hint,
.pwa-ios-guide p {
    margin: 0.65rem 0 0;
    color: rgba(238, 242, 255, 0.52);
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: center;
}

.pwa-ios-guide[hidden] {
    display: none !important;
}

.pwa-ios-guide p {
    color: rgba(64, 182, 255, 0.88);
}

.error-message {
    color: var(--color-error);
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

.forgot-password {
    margin-top: 0.65rem;
}

.forgot-password a {
    font-size: 0.82rem;
    color: rgba(64, 182, 255, 0.95);
    text-decoration: underline;
    text-decoration-color: rgba(64, 182, 255, 0.55);
}

.forgot-password a:hover {
    text-decoration-color: rgba(64, 182, 255, 0.95);
}

/* --------------------
   FOOTER
-------------------- */
.site-footer {
    padding: 1.4rem 2rem 1rem;

    background:
        linear-gradient(
            180deg,
            rgba(5, 27, 33, 0.66),
            rgba(5, 23, 28, 0.76)
        );

    border-top:
        1px solid rgba(39, 221, 214, 0.20);

    box-shadow:
        0 -8px 24px rgba(0, 0, 0, 0.14),
        inset 0 1px 0 rgba(39, 221, 214, 0.035);

    -webkit-backdrop-filter:
        blur(12px) saturate(125%);

    backdrop-filter:
        blur(12px) saturate(125%);

    font-size: 0.82rem;

    color:
        rgba(211, 235, 237, 0.68);

    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    margin-bottom: 0.7rem;
    flex-wrap: wrap;
}

.footer-links a {
    color:
        rgba(211, 235, 237, 0.68);

    text-decoration: none;
    white-space: nowrap;
    padding: 0.2rem 0.35rem;
    border-radius: 10px;

    transition:
        background-color 0.18s ease,
        color 0.18s ease;
}

.footer-links a:hover {
    color:
        rgba(242, 251, 251, 0.96);

    background:
        rgba(39, 221, 214, 0.07);

    text-decoration: none;
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    width: 100%;
}

.footer-logo {
    height: 14px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.35));
}

@media (max-width: 480px) {
    .footer-links {
        gap: 0.7rem;
    }
    .footer-meta {
        flex-direction: row;
        flex-wrap: wrap;
        line-height: 1.55;
    }
}

/* --------------------
   OPTIONAL: respects users with motion sensitivity
-------------------- */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


.menu-toggle {
    transition: transform 0.12s ease-out;
}

.menu-toggle:active {
    transform: scale(0.94);
}


/* MENU LINK NORMALIZATION (Safari + spacing safe) */
.desktop-menu a,
.mobile-menu a {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
}

.desktop-menu a:link,
.desktop-menu a:visited,
.desktop-menu a:hover,
.desktop-menu a:active,
.mobile-menu a:link,
.mobile-menu a:visited,
.mobile-menu a:hover,
.mobile-menu a:active {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
}


.verify-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verify-section.centered-state {
  min-height: 60vh;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.verify-section.centered-state .verify-container {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}


.error-page .main-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-page .verify-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.error-page .verify-container {
  text-align: center;
  max-width: 480px;
}



/* --------------------
   LOGIN / REGISTER BRAND REVEAL
-------------------- */
.login-page .intro-section .simineo-font,
.register-page .intro-section .simineo-font {
    opacity: 0;
    transform: translateY(8px);
    animation: simineoBrandReveal 3500ms cubic-bezier(0.22, 1, 0.36, 1) 50ms forwards;
}

@keyframes simineoBrandReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-page .intro-section .simineo-font,
    .register-page .intro-section .simineo-font {
        opacity: 1;
        transform: none;
        animation: none;
    }
}
/* =========================================================
   PUBLIC COMPANY NOW — landing page live ticker
========================================================= */

.public-now {
    width: calc(100% - 3rem);
    max-width: var(--container-max);
    margin: 0 auto 1.25rem;
    box-sizing: border-box;

    border-top: 1px solid rgba(255,255,255,0.10);
    border-bottom: 1px solid rgba(255,255,255,0.10);

    overflow: hidden;
}

.public-now[hidden] {
    display: none !important;
}

.public-now-viewport {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    display: flex;
    align-items: center;

    touch-action: pan-y;
    cursor: grab;
    user-select: none;
}

.public-now-viewport.is-dragging {
    cursor: grabbing;
}

.public-now-track {
    width: max-content;
    min-width: max-content;

    display: flex;
    align-items: center;
    gap: 14px;

    padding: 9px 16px;

    white-space: nowrap;

    animation:
        publicNowTicker
        38s
        linear
        infinite;

    will-change: transform;
}

.public-now-track.is-static {
    width: 100%;
    min-width: 100%;
    justify-content: center;
    animation: none;
}

.public-now-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-width: 0;

    color: var(--color-text-main);
    text-decoration: none;

    font-size: 13px;
    line-height: 1.3;
}

a.public-now-item:hover .public-now-company,
a.public-now-item:hover .public-now-text {
    color: rgba(255,255,255,0.98);
}

.public-now-live-badge {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    min-height: 24px;
    padding: 3px 8px;

    border: 1px solid rgba(255,255,255,0.17);
    border-radius: 999px;

    background: rgba(255,255,255,0.035);
}

.public-now-live-label {
    font-size: 10px;
    font-weight: 750;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;

    color: rgba(238,242,255,0.88);
}

.public-now-live-dot {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;

    border-radius: 50%;
    background: #55e58a;

    animation:
        publicNowLivePulse
        2.4s
        ease-in-out
        infinite;
}

.public-now-company {
    font-weight: 700;
    color: rgba(238,242,255,0.94);
}

.public-now-text {
    color: rgba(238,242,255,0.68);
}

.public-now-separator,
.public-now-divider {
    flex: 0 0 auto;
    color: rgba(238,242,255,0.42);
}

.public-now-divider {
    margin: 0 3px;
    font-size: 9px;
}

@keyframes publicNowTicker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes publicNowLivePulse {
    0%,
    100% {
        opacity: 0.58;
        transform: scale(0.9);
        box-shadow:
            0 0 0 0 rgba(85,229,138,0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
        box-shadow:
            0 0 0 4px rgba(85,229,138,0.11);
    }
}

@media (max-width: 749px) {
    .public-now {
        width: calc(100% - 1.5rem);
        margin-bottom: 1rem;
    }

    .public-now-track {
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 12px;
    }

    .public-now-item {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-now-track {
        width: 100%;
        min-width: 100%;
        overflow-x: auto;
        animation: none;
    }

    .public-now-live-dot {
        animation: none;
    }
}

/* ===== PRE-AUTH AURORA DARK START ===== */

/*
 * SIMINEO public authentication environment.
 *
 * Login / Register / Password Recovery / Activation /
 * Verification / Registration Success.
 *
 * Independent token layer:
 * does NOT modify the global authenticated theme tokens.
 */

body.login-page,
body.register-page {

    /* page / glass */
    --preauth-page-fallback: #07171b;

    --preauth-glass-bg:
        linear-gradient(
            135deg,
            rgba(5, 27, 33, 0.74),
            rgba(10, 42, 49, 0.64)
        );

    --preauth-glass-border:
        rgba(39, 221, 214, 0.34);

    --preauth-glass-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 14px 34px rgba(0, 0, 0, 0.26),
        0 0 18px rgba(39, 221, 214, 0.06);

    /* shell */
    --preauth-shell-bg:
        linear-gradient(
            180deg,
            rgba(5, 27, 33, 0.76),
            rgba(5, 23, 28, 0.66)
        );

    --preauth-shell-border:
        rgba(39, 221, 214, 0.20);

    /* controls */
    --preauth-control-bg:
        linear-gradient(
            180deg,
            rgba(8, 35, 41, 0.78),
            rgba(5, 27, 33, 0.70)
        );

    --preauth-control-bg-focus:
        linear-gradient(
            180deg,
            rgba(12, 48, 55, 0.88),
            rgba(7, 34, 40, 0.82)
        );

    --preauth-control-border:
        rgba(39, 221, 214, 0.34);

    --preauth-control-border-focus:
        rgba(58, 235, 225, 0.72);

    /* brand */
    --preauth-cyan: #27ddd6;
    --preauth-cyan-strong: #38ebe2;
    --preauth-orange: #ff8b38;

    /* text */
    --preauth-text: rgba(242, 251, 251, 0.96);
    --preauth-text-secondary: rgba(226, 244, 245, 0.80);
    --preauth-text-muted: rgba(211, 235, 237, 0.66);
    --preauth-placeholder: rgba(203, 229, 231, 0.46);

    background: transparent !important;
    color: var(--preauth-text);
}


/* ==========================================================
   INTRO / BRAND COPY
   ========================================================== */

body.login-page .intro-section,
body.register-page .intro-section {
    color:
        var(--preauth-text);
}

body.login-page .intro-section p,
body.register-page .intro-section p {
    color:
        var(--preauth-text-secondary);
}

body.login-page .intro-section .simineo-font,
body.register-page .intro-section .simineo-font {
    color:
        var(--preauth-text);

    text-shadow:
        0 0 18px rgba(39, 221, 214, 0.10);
}


/* ==========================================================
   AUTH / VERIFY GLASS CARDS
   Same surface as authenticated company cards.
   ========================================================== */

body.login-page .login-box,
body.register-page .login-box,
body.register-page .verify-container {
    background:
        var(--preauth-glass-bg);

    border:
        1px solid var(--preauth-glass-border);

    box-shadow:
        var(--preauth-glass-shadow);

    -webkit-backdrop-filter:
        blur(18px) saturate(125%);

    backdrop-filter:
        blur(18px) saturate(125%);
}


/* Titles */

body.login-page .login-box h2,
body.register-page .login-box h2,
body.register-page .verify-container h1,
body.register-page .verify-container h2 {
    color:
        var(--preauth-text);

    opacity: 1;
}


/* ==========================================================
   LAUNCH-FREE NOTICE
   ========================================================== */

body.login-page .launch-free-entry-badge,
body.register-page .launch-free-entry-badge {
    background:
        linear-gradient(
            180deg,
            rgba(16, 89, 94, 0.42),
            rgba(8, 58, 64, 0.34)
        );

    border-color:
        rgba(39, 221, 214, 0.46);

    color:
        var(--preauth-text);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04);

    -webkit-backdrop-filter:
        blur(10px) saturate(125%);

    backdrop-filter:
        blur(10px) saturate(125%);
}


/* ==========================================================
   FORM LABELS
   ========================================================== */

body.login-page .login-box .form-group label,
body.register-page .login-box .form-group label {
    color:
        var(--preauth-text-secondary);
}


/* ==========================================================
   INPUTS / SELECTS
   ========================================================== */

body.login-page .login-box .form-group input,
body.login-page .login-box .form-group select,
body.register-page .login-box .form-group input,
body.register-page .login-box .form-group select {
    background:
        var(--preauth-control-bg);

    border-color:
        var(--preauth-control-border);

    color:
        var(--preauth-text);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.025);

    -webkit-backdrop-filter:
        blur(8px) saturate(120%);

    backdrop-filter:
        blur(8px) saturate(120%);
}

body.login-page .login-box .form-group input::placeholder,
body.register-page .login-box .form-group input::placeholder {
    color:
        var(--preauth-placeholder);
}

body.login-page .login-box .form-group input:focus,
body.login-page .login-box .form-group select:focus,
body.register-page .login-box .form-group input:focus,
body.register-page .login-box .form-group select:focus {
    background:
        var(--preauth-control-bg-focus);

    border-color:
        var(--preauth-control-border-focus);

    box-shadow:
        0 0 0 3px rgba(39, 221, 214, 0.10),
        0 0 14px rgba(39, 221, 214, 0.08);
}


/* ==========================================================
   PRIMARY AUTH ACTION
   Aurora cyan instead of old blue.
   ========================================================== */

body.login-page .login-box .btn-login,
body.register-page .login-box .btn-login,
body.register-page .verify-container .btn-login {
    background:
        linear-gradient(
            135deg,
            rgba(39, 221, 214, 0.96),
            rgba(0, 174, 186, 0.90)
        );

    color:
        #06282d;

    border:
        1px solid rgba(83, 247, 238, 0.46);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 10px 24px rgba(0, 174, 186, 0.16);

    filter: none;
}

body.login-page .login-box .btn-login:hover,
body.register-page .login-box .btn-login:hover,
body.register-page .verify-container .btn-login:hover {
    background:
        linear-gradient(
            135deg,
            rgba(66, 237, 228, 0.98),
            rgba(8, 194, 202, 0.94)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        0 12px 28px rgba(0, 174, 186, 0.22);

    filter: none;
}


/* ==========================================================
   SECONDARY AUTH ACTION
   ========================================================== */

body.login-page .register-section,
body.register-page .register-section {
    color:
        var(--preauth-text-muted);
}

body.login-page .register-section span,
body.register-page .register-section span {
    color:
        var(--preauth-text-muted);
}

body.login-page .register-section .btn-register,
body.register-page .register-section .btn-register {
    background:
        rgba(8, 35, 41, 0.54);

    border-color:
        rgba(39, 221, 214, 0.32);

    color:
        var(--preauth-text-secondary);

    -webkit-backdrop-filter:
        blur(8px) saturate(120%);

    backdrop-filter:
        blur(8px) saturate(120%);
}

body.login-page .register-section .btn-register:hover,
body.register-page .register-section .btn-register:hover {
    background:
        rgba(14, 55, 62, 0.72);

    border-color:
        rgba(39, 221, 214, 0.60);

    color:
        var(--preauth-text);
}


/* Password / secondary links */

body.login-page .forgot-password a,
body.register-page .forgot-password a {
    color:
        var(--preauth-cyan);

    text-decoration-color:
        rgba(39, 221, 214, 0.44);
}

body.login-page .forgot-password a:hover,
body.register-page .forgot-password a:hover {
    color:
        var(--preauth-cyan-strong);

    text-decoration-color:
        var(--preauth-cyan-strong);
}

/* ===== PRE-AUTH AURORA DARK END ===== */

/* ===== PUBLIC MOBILE AURORA MENU START ===== */

/*
 * Public / pre-login mobile navigation.
 * Final Aurora replacement for the legacy blue menu surface.
 */

@media (max-width: 768px) {

    /* Hamburger button */
    .menu-toggle {
        background:
            linear-gradient(
                180deg,
                rgba(8, 35, 41, 0.82),
                rgba(5, 27, 33, 0.74)
            );

        border-color:
            rgba(39, 221, 214, 0.34);

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.035),
            0 5px 14px rgba(0,0,0,0.16);

        -webkit-backdrop-filter:
            blur(10px) saturate(125%);

        backdrop-filter:
            blur(10px) saturate(125%);
    }


    .menu-toggle span {
        background:
            rgba(226, 247, 248, 0.94);
    }


    .menu-toggle:hover,
    .menu-toggle:focus-visible {
        background:
            linear-gradient(
                180deg,
                rgba(13, 54, 61, 0.88),
                rgba(7, 39, 45, 0.82)
            );

        border-color:
            rgba(39, 221, 214, 0.62);

        outline: none;

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.05),
            0 0 0 3px rgba(39,221,214,0.08),
            0 6px 16px rgba(0,0,0,0.18);
    }


    /* Dropdown / main mobile menu */
    .mobile-menu {
        background:
            linear-gradient(
                135deg,
                rgba(5, 27, 33, 0.97),
                rgba(10, 42, 49, 0.95)
            );

        border:
            1px solid rgba(39, 221, 214, 0.30);

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.035),
            0 16px 36px rgba(0,0,0,0.32),
            0 0 18px rgba(39,221,214,0.05);

        -webkit-backdrop-filter:
            blur(18px) saturate(125%);

        backdrop-filter:
            blur(18px) saturate(125%);
    }


    /* Menu links */
    .mobile-menu a {
        color:
            rgba(226, 244, 245, 0.88);
    }


    .mobile-menu a:hover,
    .mobile-menu a:focus-visible {
        color:
            rgba(242, 251, 251, 0.98);

        background:
            linear-gradient(
                180deg,
                rgba(22, 105, 108, 0.34),
                rgba(10, 73, 78, 0.26)
            );

        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.035);

        outline:
            none;
    }


    /* Tap / active interaction — Aurora orange instead of old blue */
    .mobile-menu a:active {
        color:
            #fff8f1;

        background:
            linear-gradient(
                180deg,
                rgba(255, 139, 56, 0.30),
                rgba(243, 111, 33, 0.22)
            );
    }
}

/* ===== PUBLIC MOBILE AURORA MENU END ===== */
