/* Eurasia Conferences — speaker & delegate accounts (layered on secretariat.css) */

/* Top bar: navy band with the brand, white nav labels */
.fi-panel-account .fi-topbar { background: linear-gradient(90deg, var(--ec-navy) 0%, var(--ec-navy-2) 100%) !important; box-shadow: none !important; border-bottom: 3px solid var(--ec-crimson); }
.fi-panel-account .fi-topbar .fi-topbar-item-label,
.fi-panel-account .fi-topbar .fi-topbar-item-btn > .fi-icon,
.fi-panel-account .fi-topbar-open-sidebar-btn .fi-icon,
.fi-panel-account .fi-topbar-close-sidebar-btn .fi-icon { color: rgba(255,255,255,.85) !important; }
.fi-panel-account .fi-topbar .fi-topbar-item-btn:hover { background: rgba(255,255,255,.08) !important; }
.fi-panel-account .fi-topbar .fi-topbar-item.fi-active .fi-topbar-item-btn { background: rgba(255,255,255,.14) !important; }
.fi-panel-account .fi-topbar .fi-topbar-item.fi-active .fi-topbar-item-label { color: #FFFFFF !important; }

/* Sign-in / sign-up cards */
.fi-panel-account .fi-simple-main { border-radius: 18px; box-shadow: 0 1px 2px rgba(15,27,45,.04), 0 18px 40px -18px rgba(15,27,45,.22); }
.fi-panel-account .fi-simple-header-heading { font-family: 'Merriweather', Georgia, serif; }

/* ===== Sign-in / sign-up: split screen (brand panel left, form right) ===== */
.fi-panel-account .fi-simple-layout { background: #FFFFFF; }
.fi-panel-account .fi-simple-header .fi-logo { display: none; } /* brand lives in the panel/strip */
.fi-panel-account .fi-simple-main { box-shadow: none !important; background: transparent; margin: 16px 0 28px; }
.fi-panel-account .fi-simple-header-heading { font-size: 28px; letter-spacing: -0.01em; color: var(--ec-ink); }
.fi-panel-account .fi-simple-header-subheading { color: var(--ec-muted); }
.fi-panel-account .fi-simple-layout .fi-input-wrp { border-radius: 10px; }
.fi-panel-account .fi-simple-layout .fi-btn { border-radius: 10px; padding-top: 11px; padding-bottom: 11px; font-weight: 600; }

.ec-auth-aside {
  position: relative; overflow: hidden; color: #FFFFFF; width: 100%;
  background:
    radial-gradient(700px 420px at 110% 110%, rgba(196,30,58,.35) 0%, transparent 60%),
    radial-gradient(600px 400px at -10% -10%, rgba(255,255,255,.08) 0%, transparent 60%),
    linear-gradient(160deg, var(--ec-navy) 0%, var(--ec-navy-2) 100%);
  padding: 18px 20px;
}
.ec-auth-aside::before { /* faint grid texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 44px 44px;
}
.ec-auth-aside > * { position: relative; }
.ec-auth-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; line-height: 1.15; }
.ec-auth-brand-name { display: block; font-weight: 700; font-size: 17px; }
.ec-auth-brand-sub { display: block; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 3px; }
.ec-auth-pitch, .ec-auth-congresses, .ec-auth-foot { display: none; }

/* Mobile/tablet: brand strip on top, form below. Desktop: fixed brand panel on the left. */
@media (min-width: 1024px) {
  .fi-panel-account .fi-simple-layout { padding-left: 44%; }
  .ec-auth-aside {
    position: fixed; inset: 0 auto 0 0; width: 44%;
    display: flex; flex-direction: column; padding: 48px 56px;
  }
  .ec-auth-pitch { display: block; margin-top: auto; max-width: 460px; }
  .ec-auth-pitch h2 { font-family: 'Merriweather', Georgia, serif; font-size: 32px; line-height: 1.25; font-weight: 700; margin: 0 0 14px; }
  .ec-auth-pitch p { color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.55; margin: 0 0 24px; }
  .ec-auth-pitch ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
  .ec-auth-pitch li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: rgba(255,255,255,.9); }
  .ec-auth-pitch li span { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 13px; flex: 0 0 auto; }
  .ec-auth-congresses { display: grid; gap: 10px; margin-top: 40px; max-width: 460px; }
  .ec-auth-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
  .ec-auth-congress { display: block; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: background .15s; }
  .ec-auth-congress:hover { background: rgba(255,255,255,.12); }
  .ec-auth-congress strong { display: block; font-size: 15px; }
  .ec-auth-congress span { display: block; font-size: 13px; color: rgba(255,255,255,.7); margin-top: 2px; }
  .ec-auth-foot { display: block; margin-top: auto; padding-top: 32px; font-size: 13px; color: rgba(255,255,255,.55); }
  .ec-auth-foot a { color: rgba(255,255,255,.8); }
}

/* Header and footer on the form side */
.ec-auth-header { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--ec-line); }
.ec-auth-back { display: inline-flex; align-items: center; gap: 6px; color: var(--ec-muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.ec-auth-back svg { width: 16px; height: 16px; }
.ec-auth-back:hover { color: var(--ec-ink); }
.ec-auth-nav { display: flex; align-items: center; gap: 18px; }
.ec-auth-help { color: var(--ec-muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.ec-auth-help:hover { color: var(--ec-ink); }
.ec-auth-switch { font-size: 14px; font-weight: 600; color: var(--ec-navy); text-decoration: none; padding: 8px 16px; border-radius: 10px; border: 1px solid #CBD5E1; background: #fff; }
.ec-auth-switch:hover { border-color: var(--ec-navy); }
.ec-auth-footer { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 20px; padding: 18px 20px 22px; border-top: 1px solid var(--ec-line); font-size: 13px; color: var(--ec-muted); }
.ec-auth-footer a { color: var(--ec-muted); text-decoration: none; }
.ec-auth-footer a:hover { color: var(--ec-ink); text-decoration: underline; }
.ec-auth-secure { display: inline-flex; align-items: center; gap: 5px; }
.ec-auth-secure svg { width: 13px; height: 13px; color: #15803D; }
@media (max-width: 480px) { .ec-auth-back span { display: none; } .ec-auth-back::after { content: "Website"; } }
@media (min-width: 1024px) {
  .ec-auth-header { padding: 20px 40px; border-bottom: 0; }
  .ec-auth-aside { gap: 40px; }
  .ec-auth-pitch { margin-top: 0; }
  .ec-auth-congresses { margin-top: 0; }
  .fi-panel-account .fi-simple-main { margin: 8px 0 32px; }
}
@media (min-width: 1024px) and (max-height: 760px) { .ec-auth-pitch h2 { font-size: 28px; } .ec-auth-aside { padding: 36px 48px; gap: 28px; } }
.fi-panel-account .fi-simple-header-subheading .fi-link { font-weight: 600; color: var(--ec-crimson); }

/* ===== Account home: next steps ===== */
.ec-steps { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 1px 2px rgba(15,27,45,.04), 0 8px 24px -12px rgba(15,27,45,.12); outline: 1px solid var(--ec-line); }
.ec-steps-title { font-weight: 700; font-size: 16px; color: var(--ec-ink); margin: 0 0 18px; }
.ec-steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ec-steps-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .ec-steps-list { grid-template-columns: repeat(4, 1fr); } }
.ec-step { display: flex; gap: 14px; padding: 16px; border-radius: 12px; background: #F8FAFC; border: 1px solid var(--ec-line); }
.ec-step-num { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: #fff; color: var(--ec-navy); border: 1.5px solid #CBD5E1; }
.ec-step.is-done .ec-step-num { background: #15803D; border-color: #15803D; color: #fff; }
.ec-step-num svg { width: 18px; height: 18px; }
.ec-step-title { font-weight: 700; color: var(--ec-ink); font-size: 15px; line-height: 1.3; }
.ec-step-text { color: var(--ec-muted); font-size: 13.5px; line-height: 1.5; margin-top: 4px; }
.ec-step-link { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 14px; color: var(--ec-crimson); text-decoration: none; }
.ec-step-link:hover { text-decoration: underline; }
.ec-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Page headings in the account area */
.fi-panel-account .fi-header-heading { font-size: 30px; }
.fi-panel-account .fi-ta-empty-state-icon-bg { background: #FDECEF !important; }
.fi-panel-account .fi-ta-empty-state-icon-bg .fi-icon { color: var(--ec-crimson) !important; }

/* ===== Abstract wizard ===== */
.fi-panel-account .fi-sc-wizard-header { background: #fff; border-radius: 16px; outline: 1px solid var(--ec-line); box-shadow: 0 1px 2px rgba(15,27,45,.04); }
.fi-panel-account .fi-sc-wizard-header-step.fi-active .fi-sc-wizard-header-step-icon-ctn { background: var(--ec-crimson) !important; border-color: var(--ec-crimson) !important; }
.fi-panel-account .fi-sc-wizard-header-step.fi-active .fi-sc-wizard-header-step-icon-ctn .fi-icon { color: #fff !important; }
.fi-panel-account .fi-sc-wizard-header-step.fi-completed .fi-sc-wizard-header-step-icon-ctn { background: #15803D !important; border-color: #15803D !important; }
.fi-panel-account .fi-sc-wizard-header-step-label { font-weight: 700; }
.fi-panel-account .fi-sc-wizard-step { background: #fff; border-radius: 16px; outline: 1px solid var(--ec-line); box-shadow: 0 1px 2px rgba(15,27,45,.04), 0 8px 24px -12px rgba(15,27,45,.12); padding: 28px !important; margin-top: 16px; }
.fi-panel-account .fi-sc-wizard-footer { margin-top: 16px; }

.ec-wordcount { font-weight: 600; color: var(--ec-muted); font-variant-numeric: tabular-nums; }
.ec-wordcount.is-over { color: var(--ec-crimson); }

/* Abstract-book preview */
.ec-preview { font-family: Georgia, 'Times New Roman', serif; color: var(--ec-ink); line-height: 1.6; max-width: 72ch; margin: 0 auto; }
.ec-preview-missing { font-family: 'Source Sans 3', sans-serif; background: #FFF7ED; color: #9A3412; border: 1px solid #FED7AA; border-radius: 10px; padding: 10px 14px; font-size: 14px; margin-bottom: 18px; }
.ec-preview-meta { font-family: 'Source Sans 3', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ec-muted); }
.ec-preview-title { font-size: 21px; font-weight: 700; line-height: 1.35; margin: 8px 0 10px; }
.ec-preview-authors { margin: 0; font-size: 15.5px; }
.ec-preview-affs { margin: 6px 0 16px; padding-left: 18px; font-size: 13.5px; color: var(--ec-muted); }
.ec-preview-body { font-size: 15.5px; text-align: justify; hyphens: auto; }
.ec-preview-body p { margin: 0 0 10px; }
.ec-preview-kw { font-size: 14.5px; margin: 12px 0 0; }
.ec-preview-count { font-family: 'Source Sans 3', sans-serif; font-size: 13px; color: var(--ec-muted); text-align: right; margin: 12px 0 0; }
.ec-preview-count.is-over { color: var(--ec-crimson); font-weight: 700; }
.ec-muted { color: #94A3B8; font-style: italic; }

/* Abstract status timeline */
.ec-timeline { list-style: none; margin: 0; padding: 18px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; background: #fff; border-radius: 16px; outline: 1px solid var(--ec-line); }
.ec-timeline li { position: relative; padding-top: 26px; font-size: 14px; }
.ec-timeline li::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px; background: var(--ec-line); }
.ec-timeline li.is-done::before { background: #15803D; }
.ec-tl-dot { position: absolute; top: 2px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid #CBD5E1; }
.ec-timeline li.is-done .ec-tl-dot { background: #15803D; border-color: #15803D; }
.ec-timeline li.is-current .ec-tl-dot { box-shadow: 0 0 0 4px rgba(21,128,61,.18); }
.ec-timeline li.is-neg .ec-tl-dot { background: var(--ec-crimson); border-color: var(--ec-crimson); }
.ec-tl-label { display: block; font-weight: 700; color: var(--ec-ink); }
.ec-timeline li:not(.is-done) .ec-tl-label { color: var(--ec-muted); font-weight: 600; }
.ec-tl-sub { display: block; color: var(--ec-muted); font-size: 12.5px; }
@media (max-width: 640px) { .ec-timeline { grid-template-columns: 1fr 1fr; row-gap: 16px; } }

/* Print / save as PDF: only the abstract */
@media print {
  .fi-topbar, .fi-header-actions-ctn, .fi-header .fi-ac, .fi-sidebar, .ec-timeline, .fi-notifications { display: none !important; }
  .fi-body { background: #fff !important; }
  .fi-section { box-shadow: none !important; outline: 0 !important; break-inside: avoid; }
}

/* Account area uses the navy sidebar from secretariat.css; small additions */
.fi-panel-account .fi-sidebar-footer .fi-user-menu-trigger * { color: rgba(255,255,255,.88) !important; }

/* "How will you take part?" */
.ec-choice { background: linear-gradient(135deg, #0B2A4A 0%, #10355C 100%); color: #fff; border-radius: 16px; padding: 24px; margin-bottom: 16px; }
.ec-choice .ec-steps-title { color: #fff; }
.ec-choice-sub { margin: -10px 0 16px; color: rgba(255,255,255,.75); font-size: 14px; }
.ec-choice-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ec-choice-grid { grid-template-columns: 1fr 1fr; } }
.ec-choice-btn { display: flex; gap: 14px; align-items: center; text-align: left; padding: 16px 18px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; cursor: pointer; transition: background .15s, border-color .15s; }
.ec-choice-btn:hover, .ec-choice-btn:focus-visible { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); outline: none; }
.ec-choice-btn strong { display: block; font-size: 16px; }
.ec-choice-btn span span { display: block; color: rgba(255,255,255,.75); font-size: 13.5px; margin-top: 2px; }
.ec-choice-ico { flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--ec-crimson); display: grid; place-items: center; }
.ec-choice-ico svg { width: 24px; height: 24px; }
@media (min-width: 1200px) { .ec-steps-list.is-three { grid-template-columns: repeat(3, 1fr); } }

/* Section pages (Registration, Payments, Letters & certificates) */
.ec-feature-status { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 12px; background: #EEF2F8; color: var(--ec-navy); font-weight: 600; }
.ec-feature-status svg { width: 20px; height: 20px; flex: 0 0 auto; }
.ec-feature-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ec-feature-grid { grid-template-columns: 1fr 1fr; } }
.ec-feature { background: #fff; border-radius: 14px; padding: 20px; outline: 1px solid var(--ec-line); box-shadow: 0 1px 2px rgba(15,27,45,.04); }
.ec-feature-title { font-weight: 700; color: var(--ec-ink); }
.ec-feature-text { color: var(--ec-muted); font-size: 14px; margin-top: 4px; line-height: 1.5; }

/* Autosave note */
.ec-autosave { display: inline-flex; align-items: center; gap: 6px; color: #15803D; font-weight: 600; }
.ec-autosave svg { width: 16px; height: 16px; }
/* "Add a co-author": a clear, full-width target */
.fi-panel-account .fi-fo-repeater > .fi-fo-repeater-add, .fi-panel-account .fi-fo-repeater-add { width: 100%; }
.fi-panel-account .fi-fo-repeater-add .fi-btn { width: 100%; justify-content: center; border-style: dashed !important; padding-top: 14px; padding-bottom: 14px; }
