:root { color-scheme: light; --flox-bg: #f4f7fb; --flox-surface: #ffffff; --flox-surface-soft: #f8fafc; --flox-text: #172033; --flox-muted: #65718a; --flox-border: #dfe5ef; --flox-primary: #47c7eb; --flox-primary-hover: #25b5de; --flox-primary-contrast: #062f3d; --flox-focus: rgba(71, 199, 235, .24); --flox-danger: #c43e52; --flox-success: #168966; --flox-shadow: 0 24px 70px rgba(26, 44, 76, .12); } :root[data-theme="dark"] { color-scheme: dark; --flox-bg: #0b1020; --flox-surface: #111827; --flox-surface-soft: #182133; --flox-text: #edf2ff; --flox-muted: #a9b3c8; --flox-border: #35405a; --flox-primary-hover: #72d7f3; --flox-primary-contrast: #052c39; --flox-focus: rgba(71, 199, 235, .28); --flox-danger: #ff91a2; --flox-success: #6ee7bd; --flox-shadow: 0 28px 80px rgba(0, 0, 0, .32); } *, *::before, *::after { box-sizing: border-box; } html, body { width: 100%; height: 100%; max-width: 100%; overflow: hidden; } body[data-flox-app="login"] { margin: 0; min-width: 0; min-height: 0; background: var(--flox-bg); color: var(--flox-text); font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; } body[data-flox-app="menu"] { margin: 0; min-width: 0; min-height: 100%; overflow: auto; background: var(--flox-bg); color: var(--flox-text); font-family: Roboto, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; } button, input { font: inherit; } button { color: inherit; } .flox-login-shell { display: grid; grid-template-columns: minmax(300px, 1.02fr) minmax(380px, .98fr); width: 100%; height: 100vh; height: 100svh; max-height: 100vh; max-height: 100svh; overflow: hidden; } .flox-login-intro { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; min-height: 0; overflow: hidden; padding: clamp(36px, 5vw, 72px); color: #edfaff; background: radial-gradient(circle at 16% 10%, rgba(71, 199, 235, .20), transparent 28%), radial-gradient(circle at 84% 82%, rgba(71, 199, 235, .12), transparent 30%), linear-gradient(145deg, #071124 0%, #0b1d35 52%, #0a2940 100%); } .flox-login-intro::before, .flox-login-intro::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(114, 215, 243, .11); border-radius: 50%; } .flox-login-intro::before { width: 520px; height: 520px; right: -300px; top: 12%; } .flox-login-intro::after { width: 300px; height: 300px; right: -150px; top: 26%; } .flox-brand, .flox-mobile-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 500; letter-spacing: -.4px; } .flox-brand strong, .flox-mobile-brand strong { color: var(--flox-primary); } .flox-brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #062f3d; background: var(--flox-primary); box-shadow: 0 9px 24px rgba(71, 199, 235, .22); } .flox-brand-mark svg { width: 28px; height: 28px; } .flox-login-copy { max-width: 620px; margin: clamp(60px, 10vh, 120px) 0; } .flox-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #72d7f3; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; } .flox-eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; } .flox-login-copy h1 { max-width: 590px; margin: 18px 0 22px; font-size: clamp(40px, 5.1vw, 70px); line-height: 1.04; letter-spacing: -.055em; } .flox-login-copy p { max-width: 540px; margin: 0; color: #b7c7da; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; } .flox-security-note { display: flex; align-items: center; gap: 13px; color: #aebed0; font-size: 13px; } .flox-security-note > span { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border: 1px solid rgba(114, 215, 243, .22); border-radius: 50%; color: #72d7f3; background: rgba(71, 199, 235, .07); } .flox-security-note p { margin: 0; line-height: 1.45; } .flox-security-note strong { color: #e8f4ff; font-weight: 650; } .flox-login-panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 0; overflow: hidden; padding: clamp(70px, 9vh, 88px) clamp(24px, 7vw, 100px) clamp(18px, 4vh, 34px); background: var(--flox-bg); } .flox-theme-control { position: absolute; top: 30px; right: 34px; display: flex; gap: 4px; padding: 4px; border: 1px solid var(--flox-border); border-radius: 12px; background: var(--flox-surface); } .flox-theme-control button { min-height: 34px; padding: 0 12px; border: 0; border-radius: 8px; color: var(--flox-muted); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; } .flox-theme-control button[aria-pressed="true"] { color: var(--flox-text); background: var(--flox-surface-soft); box-shadow: 0 2px 8px rgba(20, 35, 60, .08); } .flox-login-card { width: 100%; max-width: 480px; padding: clamp(28px, 4vw, 46px); border: 1px solid var(--flox-border); border-radius: 24px; background: var(--flox-surface); box-shadow: var(--flox-shadow); } .flox-login-card header { margin-bottom: 34px; } .flox-mobile-brand { display: none; margin-bottom: 28px; font-size: 18px; } .flox-login-card h2 { margin: 0 0 10px; font-size: clamp(27px, 3vw, 34px); line-height: 1.15; letter-spacing: -.035em; } .flox-login-card header p { margin: 0; color: var(--flox-muted); font-size: 14px; line-height: 1.6; } .flox-field { min-width: 0; margin-bottom: 20px; } .flox-field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 750; } .flox-input-wrap { position: relative; min-width: 0; } .flox-input-wrap input { width: 100%; max-width: 100%; min-width: 0; height: 54px; padding: 0 48px 0 46px; border: 1px solid var(--flox-border); outline: 0; border-radius: 13px; color: var(--flox-text); background: var(--flox-surface-soft); transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; } .flox-input-wrap input::placeholder { color: color-mix(in srgb, var(--flox-muted) 75%, transparent); } .flox-input-wrap input:hover { border-color: color-mix(in srgb, var(--flox-primary) 45%, var(--flox-border)); } .flox-input-wrap input:focus { border-color: var(--flox-primary); background: var(--flox-surface); box-shadow: 0 0 0 4px var(--flox-focus); } .flox-input-wrap input[aria-invalid="true"] { border-color: var(--flox-danger); } .flox-input-icon { position: absolute; z-index: 1; left: 15px; top: 50%; display: grid; width: 20px; height: 20px; place-items: center; color: var(--flox-muted); transform: translateY(-50%); pointer-events: none; } .flox-input-icon svg, .flox-password-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; } .flox-password-toggle { position: absolute; right: 8px; top: 50%; display: grid; width: 38px; height: 38px; padding: 0; place-items: center; border: 0; border-radius: 9px; color: var(--flox-muted); background: transparent; cursor: pointer; transform: translateY(-50%); } .flox-password-toggle:hover { color: var(--flox-text); background: var(--flox-focus); } .flox-password-toggle:focus-visible, .flox-theme-control button:focus-visible, .flox-submit:focus-visible { outline: 3px solid var(--flox-focus); outline-offset: 2px; } .flox-eye-closed { display: none; } .flox-password-toggle[aria-pressed="true"] .flox-eye-open { display: none; } .flox-password-toggle[aria-pressed="true"] .flox-eye-closed { display: block; } .flox-field-error { display: block; min-height: 16px; margin-top: 5px; color: var(--flox-danger); font-size: 11px; } .flox-form-message { display: none; margin: 2px 0 16px; padding: 11px 13px; border-radius: 10px; font-size: 13px; line-height: 1.4; } .flox-form-message.is-visible { display: block; } .flox-form-message.is-error { color: var(--flox-danger); background: color-mix(in srgb, var(--flox-danger) 10%, transparent); } .flox-form-message.is-success { color: var(--flox-success); background: color-mix(in srgb, var(--flox-success) 10%, transparent); } .flox-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; max-width: 100%; height: 54px; margin-top: 4px; border: 0; border-radius: 13px; color: var(--flox-primary-contrast); background: linear-gradient(135deg, #72d7f3, var(--flox-primary)); box-shadow: 0 10px 24px rgba(71, 199, 235, .22); cursor: pointer; font-weight: 800; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; } .flox-submit:hover:not(:disabled) { background: linear-gradient(135deg, #8bdef5, var(--flox-primary-hover)); box-shadow: 0 13px 28px rgba(71, 199, 235, .3); transform: translateY(-1px); } .flox-submit:disabled { cursor: wait; opacity: .75; } .flox-submit-arrow { font-size: 20px; transition: transform .18s ease; } .flox-submit:hover .flox-submit-arrow { transform: translateX(3px); } .flox-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(6, 47, 61, .28); border-top-color: var(--flox-primary-contrast); border-radius: 50%; animation: flox-spin .7s linear infinite; } .flox-submit.is-loading .flox-spinner { display: block; } .flox-submit.is-loading .flox-submit-arrow { display: none; } .flox-login-card footer { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--flox-border); color: var(--flox-muted); font-size: 11px; } .flox-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #31c48d; box-shadow: 0 0 0 4px rgba(49, 196, 141, .11); } .flox-login-footer { margin: 24px 0 0; color: var(--flox-muted); font-size: 11px; text-align: center; } .flox-menu-shell { width: min(1120px, 100%); min-height: 100%; margin: 0 auto; padding: clamp(20px, 4vw, 44px); } .flox-menu-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: clamp(40px, 8vw, 88px); } body[data-flox-app="menu"] .flox-brand { color: var(--flox-text); } .flox-logout { min-width: 92px; height: 46px; padding: 0 20px; border: 1px solid var(--flox-border); border-radius: 13px; color: var(--flox-text); background: var(--flox-surface); cursor: pointer; font-weight: 750; transition: border-color .18s ease, background .18s ease, transform .18s ease; } .flox-logout:hover { border-color: var(--flox-primary); background: var(--flox-surface-soft); transform: translateY(-1px); } .flox-logout:focus-visible { outline: 3px solid var(--flox-focus); outline-offset: 2px; } .flox-menu-content { width: 100%; max-width: 860px; margin: 0 auto; } .flox-menu-content h1 { margin: 16px 0 10px; font-size: clamp(34px, 6vw, 58px); line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere; } .flox-menu-content > p { margin: 0 0 34px; color: var(--flox-muted); font-size: 16px; line-height: 1.6; } .flox-user-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; overflow: hidden; border: 1px solid var(--flox-border); border-radius: 24px; background: var(--flox-border); box-shadow: var(--flox-shadow); } .flox-user-card div { min-width: 0; padding: clamp(22px, 4vw, 34px); background: var(--flox-surface); } .flox-user-card dt { margin-bottom: 9px; color: var(--flox-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; } .flox-user-card dd { margin: 0; color: var(--flox-text); font-size: clamp(18px, 3vw, 25px); font-weight: 750; overflow-wrap: anywhere; } @keyframes flox-spin { to { transform: rotate(360deg); } } @media (max-width: 860px) { .flox-login-shell { grid-template-columns: 1fr; } .flox-login-intro { display: none; } .flox-login-panel { height: 100%; padding: clamp(70px, 10vh, 92px) 24px clamp(14px, 3vh, 28px); } .flox-mobile-brand { display: inline-flex; } } @media (max-width: 600px) { .flox-theme-control { top: 20px; right: 20px; } .flox-login-panel { padding: 72px 16px 12px; justify-content: center; } .flox-login-card { padding: clamp(20px, 3.5vh, 28px) 22px; border-radius: 22px; } .flox-login-card header { margin-bottom: clamp(18px, 3vh, 28px); } .flox-mobile-brand { margin-bottom: clamp(14px, 2.5vh, 28px); } .flox-field { margin-bottom: clamp(10px, 2vh, 20px); } .flox-login-card footer { margin-top: clamp(16px, 2.5vh, 30px); padding-top: clamp(14px, 2vh, 22px); } .flox-login-footer { display: none; } .flox-menu-shell { padding: 18px 16px 28px; } .flox-menu-header { padding-bottom: 52px; } .flox-user-card { grid-template-columns: 1fr; border-radius: 20px; } } @media (max-width: 360px) { .flox-login-panel { padding-inline: 12px; } .flox-login-card { padding: 24px 17px; } .flox-theme-control button { padding-inline: 9px; } } @media (max-width: 600px) and (max-height: 680px) { .flox-login-panel { padding-top: 62px; } .flox-theme-control { top: 12px; } .flox-login-card { padding-block: 16px; } .flox-mobile-brand { margin-bottom: 10px; } .flox-login-card header { margin-bottom: 14px; } .flox-login-card header p, .flox-login-card footer { display: none; } .flox-field { margin-bottom: 8px; } } @media (min-width: 601px) and (max-height: 700px) { .flox-login-intro { padding-block: 28px; } .flox-login-copy { margin-block: 24px; } .flox-login-copy h1 { margin-block: 12px 16px; font-size: clamp(34px, 7vh, 52px); } .flox-login-panel { padding-block: 62px 12px; } .flox-theme-control { top: 14px; } .flox-login-card { padding: 22px 28px; } .flox-login-card header { margin-bottom: 18px; } .flox-field { margin-bottom: 10px; } .flox-login-card footer { margin-top: 16px; padding-top: 14px; } .flox-login-footer { display: none; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }