/* form by XONIK: the sign-up page and the app's sign-in screen, in the website's look (night navy,
   cream card, the green dot, Plus Jakarta Sans and the IBM Plex wordmark). */
:root { --fx-night: #07101d; --fx-n2: #0f1d31; --fx-cream: #f6f2ea; --fx-line: #e2dacb; --fx-ink: #0b1626; --fx-soft: #b9c4d2; --fx-muted: #93a1b3; --fx-green: #14a86f; --fx-green-ink: #0b7a4f; --fx-mint: #6fd3a8; }

/* The wordmark: "form" with the green dot, "by XONIK" small under it */
.fx-logo { display: inline-flex; flex-direction: column; gap: 3px; font-family: 'IBM Plex Sans', system-ui, sans-serif; color: inherit; text-decoration: none; }
.fx-word { display: inline-flex; align-items: baseline; font-size: 30px; line-height: 26px; font-weight: 700; letter-spacing: -.05em; }
.fx-word i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--fx-green); margin-left: 2px; }
.fx-by { padding-left: 1px; font: 600 9px/1 'IBM Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; opacity: .78; }

/* ---------------------------------------------------------------- sign-up page */
.fxa { margin: 0; min-height: 100vh; background: var(--fx-night); color: #fff; font: 400 16px/1.55 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
.fxa a { color: inherit; text-decoration: none; }
.fxa *, .fxa *::before, .fxa *::after { box-sizing: border-box; }
.fxa-nav { border-bottom: 1px solid rgba(255,255,255,.06); }
.fxa-nav .in, .fxa-main, .fxa-foot .in { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.fxa-nav .in { display: flex; align-items: center; gap: 24px; height: 76px; }
.fxa-nav .links { margin-left: auto; display: flex; gap: 22px; align-items: center; font-size: 15px; color: #dfe5ec; }
.fxa-nav .links a:hover { color: #fff; }
.fxa-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 64px; align-items: center; padding-top: 56px; padding-bottom: 72px; }
.fxa-pitch { position: relative; }
.fxa-kick { font: 600 12px 'IBM Plex Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--fx-mint); }
.fxa-pitch h1 { font-size: 52px; line-height: 1.08; letter-spacing: -.035em; font-weight: 600; margin: 18px 0 18px; }
.fxa-pitch p { font-size: 19px; line-height: 30px; color: var(--fx-soft); margin: 0; max-width: 500px; }
.fxa-ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.fxa-ticks li { display: flex; gap: 12px; align-items: center; color: #dfe5ec; }
.fxa-ticks li::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 7px; background: rgba(20,168,111,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.8 2.7 6.2-6.4' fill='none' stroke='%236fd3a8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.fxa-photo { margin-top: 36px; height: 220px; border-radius: 24px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,.08); }
.fxa-photo img { width: 100%; height: 100%; object-fit: cover; display: block; animation: fxa-ken 22s ease-out infinite alternate; }
.fxa-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,16,29,.55), rgba(7,16,29,0) 60%); }
@keyframes fxa-ken { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes fxa-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.fxa-card { background: var(--fx-cream); color: var(--fx-ink); border-radius: 24px; padding: 36px 34px 30px; box-shadow: 0 0 0 1px rgba(20,168,111,.25), 0 0 70px rgba(20,168,111,.18), 0 40px 90px rgba(0,0,0,.5); animation: fxa-in .7s cubic-bezier(.2,.7,.2,1) both; }
.fxa-card h2 { font-size: 26px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; margin: 0 0 6px; }
.fxa-card .sub { font-size: 14px; color: #3b4a60; margin: 0 0 22px; }
.fxa-card .sub a { color: var(--fx-green-ink); font-weight: 600; }
.fxa-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fxa-field label { font-size: 13px; font-weight: 600; color: var(--fx-ink); }
.fxa-field input, .fxa-field select { height: 46px; width: 100%; border: 1px solid #cfc6b4; border-radius: 12px; padding: 0 14px; font: 400 15px 'Plus Jakarta Sans', system-ui, sans-serif; background: #fff; color: var(--fx-ink); transition: border-color .15s, box-shadow .15s; }
.fxa-field input:focus, .fxa-field select:focus { outline: none; border-color: var(--fx-ink); box-shadow: 0 0 0 4px rgba(20,168,111,.18); }
.fxa-field small { font-size: 12px; color: #53647c; }
.fxa-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fxa-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #3b4a60; margin: 6px 0 16px; }
.fxa-check input { margin-top: 2px; accent-color: var(--fx-green-ink); width: 16px; height: 16px; }
.fxa-check a { color: var(--fx-green-ink); font-weight: 600; }
.fxa-btn { width: 100%; height: 52px; border: 0; border-radius: 14px; background: var(--fx-night); color: #fff; font: 700 16px 'Plus Jakarta Sans', system-ui, sans-serif; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.fxa-btn:hover { box-shadow: 0 12px 26px rgba(7,16,29,.25); }
.fxa-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.fxa-btn:focus-visible { outline: 3px solid var(--fx-green); outline-offset: 2px; }
.fxa-note { text-align: center; font-size: 12px; color: #53647c; margin-top: 14px; }
.alert-banner { display: none; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }
.alert-banner.alert-error { background: #fbe5e1; color: #8a2016; border: 1px solid #f2c4bc; }
.provisioning-step { display: flex; align-items: center; gap: 12px; font-weight: 600; padding: 18px 4px; }
.step-spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid #e2dacb; border-top-color: var(--fx-green); animation: fxa-spin .8s linear infinite; }
@keyframes fxa-spin { to { transform: rotate(360deg); } }
.fxa-foot { border-top: 1px solid rgba(255,255,255,.06); color: #7c8a9c; font-size: 13px; }
.fxa-foot .in { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; height: 64px; }
.fxa-foot .in a:hover { color: #fff; }
.fxa-foot .spacer { flex: 1; }
@media (prefers-reduced-motion: reduce) { .fxa-card, .fxa-photo img, .step-spinner { animation: none; } }
@media (max-width: 900px) {
  .fxa-nav .in, .fxa-main, .fxa-foot .in { padding: 0 20px; }
  .fxa-nav .links .hide-s { display: none; }
  .fxa-main { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; }
  .fxa-pitch h1 { font-size: 36px; }
  .fxa-pitch p { font-size: 17px; line-height: 27px; }
  .fxa-photo, .fxa-ticks { display: none; }
  .fxa-card { padding: 28px 22px 24px; }
  .fxa-two { grid-template-columns: 1fr; gap: 0; }
}

/* ---------------------------------------------------------------- the app (form standalone) */
html[data-fx-product]:has(#auth-view:not([style*="none"])), html[data-fx-product] body:has(#auth-view:not([style*="none"])) { background: var(--fx-night) radial-gradient(900px 500px at 70% 0%, #12233b, #07101d 70%) fixed !important; }
html[data-fx-product] body:has(#auth-view:not([style*="none"])) { padding: 1px 16px 48px; }
html[data-fx-product] #auth-view { background: var(--fx-cream) !important; color: var(--fx-ink); border: 0 !important; border-radius: 24px !important; padding: 36px 34px !important; box-shadow: 0 0 0 1px rgba(20,168,111,.25), 0 0 70px rgba(20,168,111,.18), 0 40px 90px rgba(0,0,0,.5) !important; margin-top: 8vh !important; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
html[data-fx-product] #auth-view .auth-title { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-weight: 600 !important; letter-spacing: -.02em; font-size: 26px !important; }
html[data-fx-product] #auth-view .form-input { height: 46px; border-radius: 12px; border-color: #cfc6b4; background: #fff; }
html[data-fx-product] #auth-view .form-input:focus { border-color: var(--fx-ink); box-shadow: 0 0 0 4px rgba(20,168,111,.18); }
html[data-fx-product] #auth-view .xonika-btn--primary { background: var(--fx-night); border-color: var(--fx-night); color: #fff; height: 50px; border-radius: 14px; font-weight: 700; }
html[data-fx-product] .fx-authmark { display: inline-flex; align-items: flex-start; text-align: left; margin: 0 0 18px; color: var(--fx-ink); }
html[data-fx-product] #auth-view button, html[data-fx-product] #auth-view input, html[data-fx-product] #auth-view select { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
html[data-fx-product] #auth-view a { color: var(--fx-green-ink) !important; font-weight: 600; }
html[data-fx-product] #auth-view .xonika-btn--secondary { height: 46px; border-radius: 12px; border: 1px solid #cfc6b4; background: #fff; color: var(--fx-ink); font-weight: 600; }
html[data-fx-product] #auth-view .xonika-btn--secondary:hover { border-color: var(--fx-ink); }
html[data-fx-product] #auth-view .xonika-card__subtitle { color: #3b4a60; }
/* The sidebar: the wordmark instead of the X tile */
html[data-fx-product] .sidebar-brand-icon { display: none; }
html[data-fx-product] [data-brand-word] { font-family: 'IBM Plex Sans', system-ui, sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -.05em; line-height: 24px !important; display: inline-flex; align-items: baseline; }
html[data-fx-product] [data-brand-word]::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--fx-green); margin-left: 2px; }
html[data-fx-product] .sidebar-brand-sub { font-family: 'IBM Plex Mono', monospace; font-size: 9px !important; letter-spacing: .16em; text-transform: uppercase; }

/* A browser extension floats its own booking button over every site. Not on our pages: meetings are Zevyo */
[class$="lifecycle-optibutton_singleton"] { display: none !important; }

/* Every dropdown, everywhere: one arrow, clear of the edge (a select with no class of its own gets this too) */
select:not([multiple]):not([size]) { -webkit-appearance: none; appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236D685E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 12px center !important; background-size: 12px 12px !important; text-overflow: ellipsis; }
select:not([multiple]):not([size])::-ms-expand { display: none; }
