/* ==========================================================================
   ELN Directory - Master Stylesheet
   ========================================================================== */

/* FA SVG+JS compatibility — icons render as <svg> nested inside <i> */
.svg-inline--fa {
    display: inline-block;
    height: 1em;
    overflow: visible;
    vertical-align: -0.125em;
    fill: currentColor;
}

i.fa-solid, i.fa-regular, i.fa-brands,
i[class*="fa-"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
}

:root {
    --eln-black: #0a0a0a;
    --eln-white: #ffffff;
    --eln-green: #12FD7E;
    --eln-green-dim: rgba(18, 253, 126, 0.12);
    --eln-yellow: #CDF546;
    --eln-bg: #f6f8fa;
    --eln-text: #111111;
    --eln-muted: #5d6b78;
    --eln-border: #e2e8f0;
    --eln-card: #ffffff;
    --eln-radius: 16px;
    --eln-radius-sm: 10px;
    --eln-radius-lg: 24px;
    --eln-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.04);
    --eln-shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --eln-font: 'Titillium Web', -apple-system, BlinkMacSystemFont, sans-serif;
    --eln-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Layout Overrides - Force Full Width
   ========================================================================== */

body:not(.wp-admin) #sidebar,
body:not(.wp-admin) .sidebar,
body:not(.wp-admin) .widget-area,
body:not(.wp-admin) #secondary,
body:not(.wp-admin) .sidebar-main { display: none !important; }

body:not(.wp-admin) #primary,
body:not(.wp-admin) .content-area,
body:not(.wp-admin) .site-main { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; border: none !important; }

body:not(.wp-admin) .site-content > .container,
body:not(.wp-admin) .entry-content,
body:not(.wp-admin) .ast-container,
body:not(.wp-admin) .wrapper { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }

.single-esports_firm .entry-meta,
.single-esports_firm .posted-on,
.single-esports_firm .byline,
.single-esports_firm .author-info,
.single-esports_firm .post-author,
.single-esports_firm .post-date,
.single-esports_firm .entry-header .meta,
.single-esports_firm .ast-author-details,
.single-esports_firm .ast-post-meta,
.single-esports_firm .post-meta-wrapper,
.single-esports_firm span.author,
.single-esports_firm .post-thumbnail,
.single-esports_firm .entry-thumbnail,
.single-esports_firm .featured-image,
.single-esports_firm .ast-post-thumbnail,
.single-esports_firm .ast-post-image,
.single-esports_firm .site-main > .wp-post-image {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.entry-meta, .posted-on, .byline, .author-info, .post-author, .post-date, .entry-header {
    display: none !important;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.eln-btn {
    background: var(--eln-black);
    color: var(--eln-white);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--eln-font);
    transition: all var(--eln-transition);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    line-height: 1.2;
}

.eln-btn:hover {
    background: var(--eln-green);
    color: var(--eln-black);
    box-shadow: 0 4px 20px rgba(18, 253, 126, 0.35);
    transform: translateY(-1px);
}

.eln-btn-outline {
    background: transparent;
    border: 1.5px solid var(--eln-black);
    color: var(--eln-black);
}

.eln-btn-outline:hover {
    background: var(--eln-black);
    color: var(--eln-white);
    box-shadow: none;
}

.eln-btn-muted {
    background: #eef2f5;
    color: var(--eln-text);
}

.eln-btn-muted:hover {
    background: #dce3e8;
    color: var(--eln-text);
    box-shadow: none;
    transform: none;
}

.eln-btn-strong {
    background: var(--eln-green);
    color: var(--eln-black);
}

.eln-btn-strong:hover {
    background: #0de86f;
    color: var(--eln-black);
    box-shadow: 0 4px 20px rgba(18, 253, 126, 0.4);
}

.eln-btn-sm {
    padding: 8px 14px;
    font-size: 11px;
}

/* ==========================================================================
   Status Pills
   ========================================================================== */

.eln-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border: 1px solid #d5dde1;
    background: #f4f7f8;
    color: #0f172a;
    white-space: nowrap;
}

.eln-status-pill.status-invited { background: #eef4ff; border-color: #c5d8ff; color: #1144aa; }
.eln-status-pill.status-submitted,
.eln-status-pill.status-in_review { background: #fff8df; border-color: #f2d88b; color: #8a5a00; }
.eln-status-pill.status-needs_revision { background: #fff1ef; border-color: #ffcbc2; color: #aa2d16; }
.eln-status-pill.status-approved,
.eln-status-pill.status-published { background: #ebfff5; border-color: #9ae4b2; color: #0f6e39; }

/* ==========================================================================
   Alerts
   ========================================================================== */

.eln-alert {
    border-radius: var(--eln-radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    border: 1px solid var(--eln-border);
    background: #f7fafb;
    color: #20303d;
    line-height: 1.5;
    font-size: 14px;
}

.eln-alert strong { display: block; margin-bottom: 4px; }
.eln-alert.is-error { background: #fff4f2; border-color: #ffd0c6; color: #962f1b; }

/* ==========================================================================
   Directory Index — Standalone Fullscreen Layout
   All classes prefixed .eln-idx- to avoid any theme collisions
   ========================================================================== */

/* --- Shell --- */
.eln-idx {
    font-family: var(--eln-font);
    color: #111111;
    min-height: 100vh;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    font-size: 14px;
}

/* --- Hero logo --- */
.eln-idx-hero-logo {
    margin-bottom: 14px;
}

.eln-idx-hero-logo svg {
    display: block;
}

.eln-idx-hero-logo img {
    max-height: 44px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.eln-idx-hero-logo-text {
    display: inline-block;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.06em;
    color: var(--eln-green);
    line-height: 1;
    text-transform: uppercase;
}

/* --- Hero — true full-bleed --- */
.eln-idx-hero {
    background: #ffffff;
    width: 100%;
    padding: 32px 32px 28px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e5e7eb;
}

.eln-idx-hero::before {
    display: none;
}

.eln-idx-hero-wrap {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 36px;
}

.eln-idx-hero-text {
    flex: 1 1 360px;
    min-width: 0;
}

.eln-idx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--eln-green);
    margin-bottom: 18px;
}

.eln-idx-hero-text h1 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--eln-black);
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: none;
}

.eln-idx-hero-text p {
    color: #6b7280;
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    max-width: 440px;
    line-height: 1.6;
}

.eln-idx-hero-kpi {
    display: flex;
    gap: 12px;
}

.eln-idx-kpi {
    text-align: center;
    min-width: 88px;
    padding: 16px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.eln-idx-kpi-num {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--eln-green);
    line-height: 1;
}

.eln-idx-kpi-label {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
}

/* --- Body container --- */
.eln-idx-body {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 32px 56px;
}

/* --- Region pills --- */
.eln-idx-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.eln-idx-rpill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #dfe4ea;
    color: #5d6b78;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
}

.eln-idx-rpill:hover {
    border-color: var(--eln-green);
    color: var(--eln-text);
    background: rgba(18,253,126,0.06);
}

.eln-idx-rpill.is-on {
    background: var(--eln-black);
    border-color: var(--eln-black);
    color: #fff;
}

.eln-idx-rpill-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(0,0,0,0.05);
}

.eln-idx-rpill.is-on .eln-idx-rpill-n {
    background: rgba(255,255,255,0.14);
}

/* --- Practice Area filter pills --- */
.eln-idx-filters {
    margin-bottom: 16px;
}

.eln-idx-filter-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8898a8;
    margin-bottom: 8px;
}

.eln-idx-filter-label i {
    color: var(--eln-green);
    margin-right: 4px;
}

.eln-idx-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.eln-idx-fpill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #5d6b78;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.eln-idx-fpill i {
    font-size: 10px;
    color: #a0adb8;
    transition: color 0.18s ease;
}

.eln-idx-fpill:hover {
    border-color: var(--eln-green);
    color: var(--eln-text);
    background: rgba(18,253,126,0.04);
}

.eln-idx-fpill:hover i {
    color: var(--eln-green);
}

.eln-idx-fpill.is-on {
    background: var(--eln-black);
    border-color: var(--eln-black);
    color: #fff;
}

.eln-idx-fpill.is-on i {
    color: var(--eln-green);
}

.eln-idx-fpill-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    background: rgba(0,0,0,0.05);
}

.eln-idx-fpill.is-on .eln-idx-fpill-n {
    background: rgba(255,255,255,0.12);
}

/* --- View toggle --- */
.eln-idx-view-toggle {
    display: flex;
    border: 1px solid #e0e5eb;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.eln-idx-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: none;
    background: #f8f9fb;
    color: #a0adb8;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 13px;
    font-family: var(--eln-font);
    -webkit-appearance: none;
    appearance: none;
}

.eln-idx-view-btn + .eln-idx-view-btn {
    border-left: 1px solid #e0e5eb;
}

.eln-idx-view-btn:hover {
    color: var(--eln-text);
    background: #eef2f5;
}

.eln-idx-view-btn.is-active {
    background: var(--eln-black);
    color: #fff;
}

/* --- Toolbar --- */
.eln-idx-toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: stretch;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e0e5eb;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.eln-idx-search {
    flex: 1 1 280px;
    position: relative;
}

.eln-idx-search i {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #a0adb8;
    font-size: 13px;
    pointer-events: none;
}

.eln-idx-search input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px 11px 36px;
    border: 1px solid #e0e5eb;
    border-radius: 8px;
    font-family: var(--eln-font);
    font-size: 13.5px;
    font-weight: 400;
    color: #111111;
    background: #f8f9fb;
    transition: border-color 0.18s ease;
}

.eln-idx-search input:focus {
    outline: none;
    border-color: var(--eln-green);
    box-shadow: 0 0 0 3px rgba(18,253,126,0.08);
    background: #fff;
}

.eln-idx-select {
    padding: 11px 32px 11px 14px;
    border: 1px solid #e0e5eb;
    border-radius: 8px;
    font-family: var(--eln-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--eln-text);
    background: #f8f9fb;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23777' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.eln-idx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    background: var(--eln-black);
    color: #fff;
    font-family: var(--eln-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
    line-height: 1.3;
}

.eln-idx-btn:hover {
    background: var(--eln-green);
    color: var(--eln-black);
}

.eln-idx-btn.is-ghost {
    background: transparent;
    border: 1.5px solid #d0d5dc;
    color: #5d6b78;
}

.eln-idx-btn.is-ghost:hover {
    border-color: var(--eln-black);
    color: var(--eln-black);
    background: transparent;
}

.eln-idx-btn.is-green {
    background: var(--eln-green);
    color: var(--eln-black);
}

.eln-idx-btn.is-green:hover {
    box-shadow: 0 4px 16px rgba(18,253,126,0.35);
}

.eln-idx-count {
    display: flex;
    align-items: center;
    font-size: 12.5px;
    font-weight: 600;
    color: #8898a8;
    padding: 0 8px;
    white-space: nowrap;
    margin-left: auto;
}

/* ==========================================================================
   Directory Cards — clean, modern
   ========================================================================== */

.eln-idx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
}

.eln-idx-card {
    background: #fff;
    border: 1px solid #e4e9ef;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.eln-idx-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
    border-color: #cdd3da;
}

.eln-idx-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Card: header */
.eln-idx-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 22px 22px 0;
    gap: 10px;
}

.eln-idx-card-logo {
    height: 44px;
    display: flex;
    align-items: center;
}

.eln-idx-card-logo img {
    max-height: 100%;
    max-width: 130px;
    object-fit: contain;
    display: block;
}

.eln-idx-card-logo-ph {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #111827;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.eln-idx-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 6px;
    background: rgba(18,253,126,0.08);
    border: 1px solid rgba(18,253,126,0.18);
    color: #0a8c48;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Card: body */
.eln-idx-card-body {
    flex: 1;
    padding: 16px 22px 18px;
}

.eln-idx-card-body h3 {
    font-size: 16.5px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #0a0a0a;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: none;
}

.eln-idx-card-sub {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #6b7280;
}

.eln-idx-card-fame {
    color: #a0adb8;
    position: relative;
    padding-left: 10px;
}

.eln-idx-card-fame::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
    transform: translateY(-50%);
}

.eln-idx-card-desc {
    font-size: 13px;
    font-weight: 400;
    color: #5d6b78;
    line-height: 1.55;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.eln-idx-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.eln-idx-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f3f4f6;
    font-size: 11px;
    font-weight: 500;
    color: #4b5563;
    text-transform: none;
    letter-spacing: 0.04em;
}

/* Tag color variants (kept neutral) */

/* Card: footer */
.eln-idx-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 22px;
    border-top: 1px solid #f0f2f5;
    margin-top: auto;
}

.eln-idx-card-stat {
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.eln-idx-card-go {
    font-size: 11px;
    font-weight: 700;
    color: #a0adb8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    transition: color 0.18s ease;
}

.eln-idx-card:hover .eln-idx-card-go {
    color: var(--eln-green);
}

.eln-idx-card-go i {
    font-size: 9px;
    transition: transform 0.18s ease;
}

.eln-idx-card:hover .eln-idx-card-go i {
    transform: translateX(3px);
}

/* Card: footer left group */
.eln-idx-card-foot-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

/* Card: verified ribbon */
.eln-idx-verified-ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--eln-green);
    color: var(--eln-black);
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(18, 253, 126, 0.3);
}

.eln-idx-card.is-verified {
    border-color: rgba(18, 253, 126, 0.2);
}

.eln-idx-card.is-verified:hover {
    border-color: rgba(18, 253, 126, 0.4);
    box-shadow: 0 12px 32px rgba(18, 253, 126, 0.08);
}

/* Card: inline verified icon next to title */
.eln-idx-card-verified-icon {
    color: var(--eln-green);
    font-size: 13px;
    margin-left: 4px;
    vertical-align: baseline;
}

/* Card: practice area tags */
/* Tag icon helpers removed — using plain text tags */

/* (claim banner moved to Single Profile section below) */

/* ==========================================================================
   List View
   ========================================================================== */

.eln-idx-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eln-idx-list .eln-idx-card {
    flex-direction: row;
    border-radius: 12px;
}

.eln-idx-list .eln-idx-card-link {
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.eln-idx-list .eln-idx-card-head {
    padding: 16px 20px;
    flex-shrink: 0;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eln-idx-list .eln-idx-card-logo {
    height: 48px;
}

.eln-idx-list .eln-idx-card-logo img {
    max-height: 48px;
    max-width: 80px;
}

.eln-idx-list .eln-idx-card-body {
    flex: 1;
    padding: 14px 16px;
    min-width: 0;
}

.eln-idx-list .eln-idx-card-body h3 {
    font-size: 15px;
    margin-bottom: 2px;
}

.eln-idx-list .eln-idx-card-desc {
    -webkit-line-clamp: 1;
    margin-bottom: 6px;
}

.eln-idx-list .eln-idx-card-foot {
    padding: 14px 20px;
    border-top: none;
    border-left: 1px solid #f0f2f5;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    min-width: 160px;
}

.eln-idx-list .eln-idx-card-foot-left {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.eln-idx-list .eln-idx-verified-ribbon {
    top: 50%;
    left: auto;
    right: -1px;
    transform: translateY(-50%);
    border-radius: 6px 0 0 6px;
}

.eln-idx-list .eln-idx-cmp {
    top: 50%;
    transform: translateY(-50%);
    right: 16px;
}



.eln-idx-list .eln-idx-card-tags {
    gap: 3px;
}

/* Card: compare checkbox */
.eln-idx-cmp {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(255,255,255,0.88);
    border: 1px solid #e4e9ef;
    cursor: pointer;
    transition: all 0.18s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.eln-idx-cmp span {
    font-size: 9.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #a0adb8;
}

.eln-idx-cmp:hover {
    border-color: #bcc4cd;
    background: #fff;
}

.eln-idx-cmp:hover span {
    color: var(--eln-text);
}

.eln-idx-cmp input {
    width: 13px;
    height: 13px;
    cursor: pointer;
    accent-color: var(--eln-green);
}

/* Compare Tray */
#eln-compare-tray {
    position: fixed;
    bottom: -120px;
    left: 0;
    width: 100%;
    background: var(--eln-black);
    color: var(--eln-white);
    padding: 16px 32px;
    box-sizing: border-box;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}

#eln-compare-tray.active { bottom: 0; }

.eln-tray-info {
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.eln-tray-count {
    background: var(--eln-green);
    color: var(--eln-black);
    width: 28px;
    height: 28px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 13px;
}

.eln-tray-actions {
    display: flex;
    gap: 12px;
}

/* ==========================================================================
   Compare Table
   ========================================================================== */

.eln-compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.eln-compare-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--eln-black);
}

.eln-compare-table-wrapper {
    overflow-x: auto;
    background: var(--eln-card);
    border-radius: var(--eln-radius);
    border: 1px solid var(--eln-border);
    box-shadow: var(--eln-shadow-lg);
}

.eln-compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 700px;
}

.eln-compare-table th,
.eln-compare-table td {
    padding: 18px 22px;
    border-bottom: 1px solid var(--eln-border);
    border-right: 1px solid var(--eln-border);
    vertical-align: top;
}

.eln-compare-table th:last-child,
.eln-compare-table td:last-child {
    border-right: none;
}

.eln-compare-table tr:last-child th,
.eln-compare-table tr:last-child td {
    border-bottom: none;
}

.eln-compare-table th {
    background: #f9fafb;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11.5px;
    color: var(--eln-muted);
    letter-spacing: 0.04em;
    width: 180px;
}

.eln-compare-table td {
    font-size: 15px;
    color: var(--eln-text);
}

.eln-compare-table tr:hover td { background: #fafbfc; }

.eln-compare-table .row-header {
    background: var(--eln-black);
    color: var(--eln-white);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 12px 22px;
}

.eln-comp-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--eln-black);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    line-height: 1.25;
}

.eln-comp-title:hover { color: #0ab85b; }

.eln-comp-logo {
    max-height: 50px;
    max-width: 140px;
    margin-bottom: 14px;
    display: block;
    object-fit: contain;
}

.eln-comp-score {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
}

.eln-comp-score-bar {
    flex-grow: 1;
    height: 6px;
    background: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.eln-comp-score-fill {
    height: 100%;
    background: var(--eln-green);
    border-radius: 3px;
}

/* ==========================================================================
   Single Profile (Frontend)
   ========================================================================== */

.eln-profile-canvas {
    font-family: var(--eln-font) !important;
    background: var(--eln-bg);
    color: var(--eln-text);
    width: 100%;
    box-sizing: border-box;
}

.eln-wide-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Profile Hero (dark branded header) ---- */
.eln-profile-hero {
    background: var(--eln-black);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--eln-green);
}

.eln-profile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 80% 30%, rgba(18, 253, 126, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 80%, rgba(205, 245, 70, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.eln-profile-hero-inner {
    max-width: 920px;
    margin: 0 auto;
    padding: 40px 24px 36px;
    position: relative;
    z-index: 1;
}

.eln-profile-hero-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.eln-profile-hero-identity {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

.eln-profile-hero-logo {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 2px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.eln-profile-hero-logo img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none !important;
    max-height: none !important;
    padding: 8px;
}

.eln-profile-hero-title {
    flex: 1;
    min-width: 0;
}

.eln-profile-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--eln-green);
    margin-bottom: 8px;
}

.eln-profile-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--eln-green);
    color: var(--eln-black);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 10px rgba(18, 253, 126, 0.3);
}

.eln-profile-hero h1 {
    font-size: clamp(26px, 3.8vw, 40px);
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px;
    color: var(--eln-white);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.eln-profile-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.eln-profile-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-weight: 600;
}

.eln-profile-hero-meta i { color: var(--eln-green); font-size: 11px; }

.eln-profile-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.eln-profile-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.eln-profile-hero-tag.is-pa {
    border-color: rgba(18, 253, 126, 0.2);
    background: rgba(18, 253, 126, 0.08);
    color: var(--eln-green);
}

.eln-profile-hero-tag i { font-size: 9px; }

.eln-profile-hero-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    background: var(--eln-white);
    color: var(--eln-black);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
}

.eln-profile-hero-btn:hover {
    background: var(--eln-green);
    box-shadow: 0 4px 16px rgba(18, 253, 126, 0.3);
    transform: translateY(-1px);
}

/* Hero KPIs */
.eln-profile-hero-kpis {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.eln-profile-kpi {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 20px;
    min-width: 100px;
    text-align: center;
    transition: border-color 0.2s ease;
}

.eln-profile-kpi:hover { border-color: rgba(18, 253, 126, 0.3); }

.eln-profile-kpi-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--eln-green);
    line-height: 1;
    margin-bottom: 4px;
}

.eln-profile-kpi-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
}

/* Claim strip (inside hero) */
.eln-claim-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    padding: 16px 24px;
    border-radius: 14px;
    background: rgba(18, 253, 126, 0.06);
    border: 1px solid rgba(18, 253, 126, 0.18);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.eln-claim-strip:hover {
    background: rgba(18, 253, 126, 0.10);
    border-color: rgba(18, 253, 126, 0.35);
}

.eln-claim-strip-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}

.eln-claim-strip-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--eln-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--eln-black);
}

.eln-claim-strip-left strong {
    display: block;
    color: var(--eln-white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.eln-claim-strip-left span {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12.5px;
    line-height: 1.4;
}

.eln-claim-strip-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    background: var(--eln-green);
    color: var(--eln-black);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.eln-claim-strip:hover .eln-claim-strip-cta {
    box-shadow: 0 4px 16px rgba(18, 253, 126, 0.35);
    transform: translateY(-1px);
}

.eln-claim-strip-cta i {
    transition: transform 0.2s ease;
}

.eln-claim-strip:hover .eln-claim-strip-cta i {
    transform: translateX(3px);
}

/* ---- ELN logo in hero eyebrow ---- */
.eln-profile-hero-eln-logo {
    height: 18px;
    width: auto;
    display: inline-block !important;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    vertical-align: middle;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.eln-profile-hero-eln-text {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--eln-green);
    background: rgba(18, 253, 126, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
}

/* ---- Tier badge (profile hero) ---- */
.eln-profile-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    vertical-align: middle;
    margin-left: 10px;
}

.eln-profile-tier-badge.is-tier-1 {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.35);
}

.eln-profile-tier-badge.is-tier-2 {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #334155;
    box-shadow: 0 2px 8px rgba(203, 213, 225, 0.4);
}

.eln-profile-tier-badge.is-tier-3 {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.eln-profile-tier-badge.is-recommended {
    background: var(--eln-green);
    color: var(--eln-black);
    box-shadow: 0 2px 10px rgba(18, 253, 126, 0.3);
}

/* "Firms to Watch" pill */
.eln-profile-ftw-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
    animation: eln-ftw-glow 2s ease-in-out infinite alternate;
}

@keyframes eln-ftw-glow {
    from { box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3); }
    to { box-shadow: 0 2px 18px rgba(124, 58, 237, 0.5); }
}

/* ---- Testimonial card ---- */
.eln-testimonial-card {
    border-top: 3px solid var(--eln-green);
}

.eln-testimonial-body {
    position: relative;
}

.eln-testimonial-mark {
    position: absolute;
    top: -4px;
    left: 0;
    font-size: 48px;
    color: rgba(18, 253, 126, 0.12);
    line-height: 1;
}

.eln-testimonial-quote {
    padding-left: 0;
}

.eln-testimonial-quote blockquote {
    font-size: 18px;
    line-height: 1.7;
    color: #334155;
    font-style: italic;
    font-weight: 400;
    margin: 0;
    padding: 0 0 0 28px;
    border: none;
}

.eln-testimonial-source {
    margin-top: 16px;
    padding-left: 28px;
    font-size: 13px;
    font-weight: 700;
    color: var(--eln-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.eln-testimonial-source i { color: var(--eln-green); }

.eln-testimonial-badge {
    margin-top: 20px;
    padding: 10px 16px;
    background: var(--eln-bg);
    border: 1px solid var(--eln-border);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--eln-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eln-testimonial-badge i { color: var(--eln-green); }

/* ---- Data row icons ---- */
.eln-data-label i {
    color: var(--eln-green);
    font-size: 12px;
    margin-right: 6px;
    width: 16px;
    text-align: center;
}

/* ---- Badge row inside card body ---- */
.eln-idx-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

/* ---- Tier badges (directory cards) ---- */
.eln-idx-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.eln-idx-tier-badge.is-tier-1 {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

.eln-idx-tier-badge.is-tier-2 {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    color: #334155;
}

.eln-idx-tier-badge.is-tier-3 {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #fff;
}

.eln-idx-tier-badge.is-recommended {
    background: var(--eln-green);
    color: var(--eln-black);
}

/* "Firms to Watch" badge (directory cards) */
.eln-idx-ftw-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);
}

/* Enhanced tier removed — Verified is the only paid indicator */

/* ---- Table of Contents ---- */
.eln-toc-card {
    background: var(--eln-card);
    border-radius: var(--eln-radius);
    border: 1px solid var(--eln-border);
    padding: 24px 28px;
    margin-top: 32px;
    margin-bottom: 28px;
    box-shadow: var(--eln-shadow);
}

.eln-toc-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--eln-muted);
    letter-spacing: 0.08em;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.eln-toc-label i { color: var(--eln-green); }

.eln-toc-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.eln-toc-list li { list-style: none; }

.eln-toc-list a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--eln-bg);
    border: 1px solid var(--eln-border);
    padding: 8px 16px;
    border-radius: 999px;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--eln-transition);
}

.eln-toc-list a i { color: var(--eln-green); font-size: 11px; }

.eln-toc-list a:hover {
    background: var(--eln-black);
    border-color: var(--eln-black);
    color: var(--eln-green);
}

.eln-toc-list a:hover i { color: var(--eln-green); }

/* Main Content Cards */
.eln-main-card {
    background: var(--eln-card);
    border-radius: var(--eln-radius);
    border: 1px solid var(--eln-border);
    padding: 36px;
    margin-bottom: 28px;
    box-shadow: var(--eln-shadow);
    scroll-margin-top: 80px;
}

.eln-main-card h2 {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 24px;
    color: var(--eln-black);
    border-left: 4px solid var(--eln-green);
    padding-left: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.2;
}

.eln-main-card h2 i {
    color: var(--eln-green);
    font-size: 18px;
}

.eln-editorial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    font-weight: 400;
}

.eln-editorial-text h2,
.eln-editorial-text h3 {
    color: var(--eln-black);
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.eln-editorial-text p { margin-bottom: 1.2em; }

/* Tags */
.eln-tags { display: flex; flex-wrap: wrap; gap: 10px; }

.eln-tag {
    background: var(--eln-bg);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    border: 1px solid var(--eln-border);
    transition: all var(--eln-transition);
}

.eln-tag:hover {
    border-color: var(--eln-green);
    background: var(--eln-green-dim);
}

.eln-tag i {
    font-size: 12px;
    color: #0ab85b;
    margin-right: 2px;
}

/* Scorecard */
.eln-score-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.eln-score-tile {
    background: var(--eln-bg);
    padding: 20px;
    border-radius: var(--eln-radius-sm);
    border: 1px solid var(--eln-border);
    transition: all var(--eln-transition);
}

.eln-score-tile:hover {
    border-color: rgba(18, 253, 126, 0.4);
    box-shadow: 0 2px 12px rgba(18, 253, 126, 0.1);
}

.eln-score-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--eln-muted);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.03em;
}

.eln-score-label i {
    font-size: 14px;
    color: var(--eln-green);
}

.eln-score-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--eln-black);
    display: block;
    margin-top: 6px;
    line-height: 1;
}

.eln-score-num span {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
}

.eln-score-bar {
    height: 5px;
    background: #e2e8f0;
    border-radius: 3px;
    margin-top: 12px;
    overflow: hidden;
}

.eln-score-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--eln-green), #0de86f);
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* Data Grid */
.eln-data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.eln-data-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 15px;
    gap: 16px;
    transition: background var(--eln-transition);
}

.eln-data-row:hover { background: #fafbfc; }
.eln-data-label { color: var(--eln-muted); font-weight: 400; }
.eln-data-val { font-weight: 700; color: var(--eln-black); text-align: right; }

/* Lawyer Cards */
.eln-lawyer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.eln-lawyer-card {
    background: var(--eln-bg);
    border: 1px solid var(--eln-border);
    border-radius: var(--eln-radius);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all var(--eln-transition);
}

.eln-lawyer-card:hover {
    border-color: rgba(18, 253, 126, 0.4);
    box-shadow: var(--eln-shadow);
}

.eln-lawyer-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid var(--eln-green);
    box-shadow: 0 4px 12px rgba(18, 253, 126, 0.2);
}

.eln-lawyer-photo-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 28px;
    margin-bottom: 16px;
    border: 3px solid var(--eln-border);
}

.eln-lawyer-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--eln-black);
    margin: 0 0 4px;
}

.eln-lawyer-role {
    font-size: 12px;
    font-weight: 700;
    color: var(--eln-muted);
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.eln-lawyer-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    width: 100%;
}

.eln-lawyer-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--eln-font);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all var(--eln-transition);
    border: none;
}

.eln-lawyer-btn-primary {
    background: var(--eln-black);
    color: var(--eln-white);
}

.eln-lawyer-btn-primary:hover {
    background: var(--eln-green);
    color: var(--eln-black);
}

.eln-lawyer-btn-accent {
    background: transparent;
    color: var(--eln-green);
    border: 1px solid var(--eln-green);
}

.eln-lawyer-btn-accent:hover {
    background: var(--eln-green);
    color: var(--eln-black);
}

/* Lawyer Modal */
.eln-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    padding: 24px;
    box-sizing: border-box;
}

.eln-modal-overlay.active { display: flex; }

.eln-modal-content {
    background: var(--eln-white);
    width: 100%;
    max-width: 680px;
    border-radius: var(--eln-radius-lg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    animation: eln-modal-in 0.25s ease-out;
}

@keyframes eln-modal-in {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.eln-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255,255,255,0.15);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eln-white);
    transition: all var(--eln-transition);
    z-index: 2;
}

.eln-modal-close:hover {
    background: rgba(255,255,255,0.3);
}

.eln-modal-header {
    background: var(--eln-black);
    padding: 36px;
    color: var(--eln-white);
    border-radius: var(--eln-radius-lg) var(--eln-radius-lg) 0 0;
    display: flex;
    gap: 24px;
    align-items: center;
}

.eln-modal-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--eln-green);
    flex-shrink: 0;
}

.eln-modal-header h2 {
    margin: 0 0 4px;
    font-size: 28px;
    border: none;
    padding: 0;
    color: var(--eln-white);
    text-transform: none;
    line-height: 1.2;
}

.eln-modal-role {
    color: var(--eln-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 13px;
    margin-bottom: 12px;
}

.eln-modal-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.eln-modal-links a {
    color: var(--eln-white);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    transition: all var(--eln-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.eln-modal-links a:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.4);
}

.eln-modal-links a.is-accent {
    color: var(--eln-black);
    background: var(--eln-green);
    border-color: var(--eln-green);
}

.eln-modal-links a.is-accent:hover {
    background: #0de86f;
}

.eln-modal-body {
    padding: 36px;
}

.eln-modal-languages {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--eln-border);
    font-size: 14px;
    color: var(--eln-muted);
}

.eln-modal-languages i { color: var(--eln-green); margin-right: 6px; }

/* Contact Section */
.eln-apply-box {
    background: var(--eln-black);
    border: none;
}

.eln-apply-box h2 {
    color: var(--eln-white);
    border-color: var(--eln-green);
}

.eln-contact-carousel {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--eln-green) #333;
    scroll-snap-type: x mandatory;
}

.eln-contact-carousel::-webkit-scrollbar { height: 6px; }
.eln-contact-carousel::-webkit-scrollbar-track { background: #333; border-radius: 3px; }
.eln-contact-carousel::-webkit-scrollbar-thumb { background: var(--eln-green); border-radius: 3px; }

.eln-contact-card {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: var(--eln-radius);
    padding: 24px;
    flex: 0 0 300px;
    scroll-snap-align: start;
    transition: border-color var(--eln-transition);
}

.eln-contact-card:hover { border-color: rgba(18, 253, 126, 0.3); }

.eln-contact-header {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.eln-contact-icon {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--eln-green);
    flex-shrink: 0;
}

.eln-contact-name {
    margin: 0;
    color: var(--eln-white);
    font-size: 16px;
    font-weight: 700;
}

.eln-contact-role {
    color: var(--eln-green);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.04em;
}

.eln-contact-detail {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.eln-contact-detail i { color: var(--eln-green); margin-top: 2px; font-size: 12px; flex-shrink: 0; }

.eln-contact-detail a {
    color: var(--eln-white);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--eln-transition);
}

.eln-contact-detail a:hover { color: var(--eln-green); }

.eln-no-contacts { color: #64748b; font-style: italic; }

/* Map */
.eln-map-card { padding: 0; overflow: hidden; }
.eln-map-card h2 { margin: 24px 0 20px 24px; }

#eln-osm-map {
    height: 400px;
    width: 100%;
    filter: grayscale(100%) contrast(1.15);
    border-radius: 0 0 var(--eln-radius) var(--eln-radius);
}

/* News */
.eln-news-item {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--eln-border);
    text-decoration: none;
    color: var(--eln-text);
    font-weight: 700;
    transition: color var(--eln-transition);
    font-size: 15px;
}

.eln-news-item:last-child { border-bottom: none; }
.eln-news-item:hover { color: #0ab85b; }
.eln-news-item i { color: var(--eln-green); margin-right: 10px; font-size: 10px; }

/* ==========================================================================
   Intake Form (Frontend Submission)
   ========================================================================== */

/* Fullscreen body reset */
body.eln-fullscreen {
    margin: 0 !important;
    padding: 0 !important;
    background: #f0f4f8 !important;
    font-family: var(--eln-font) !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.eln-intake-shell {
    font-family: var(--eln-font);
    background:
        radial-gradient(ellipse at 80% 0%, rgba(18, 253, 126, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 100%, rgba(205, 245, 70, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #eef2f7 0%, #f6f8fa 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 48px 24px;
    position: relative;
    color: var(--eln-text);
    line-height: 1.5;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.eln-intake-card {
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.02),
        0 4px 8px rgba(0, 0, 0, 0.02),
        0 16px 48px rgba(0, 0, 0, 0.05);
    padding: 48px 44px;
}

.eln-intake-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
}

.eln-intake-header h2 {
    margin: 8px 0 10px;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.eln-intake-header p {
    margin: 0;
    max-width: 700px;
    color: var(--eln-muted);
    font-size: 15px;
    line-height: 1.6;
}

.eln-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0f172a;
}

.eln-kicker-logo {
    display: inline-flex;
    align-items: center;
    margin-right: 2px;
}

.eln-kicker:has(.eln-kicker-logo)::before {
    display: none;
}

.eln-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--eln-green);
    box-shadow: 0 0 0 4px rgba(18, 253, 126, 0.12);
}

.eln-intake-aside {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: stretch;
    gap: 10px;
}

.eln-aside-metric {
    min-width: 90px;
    padding: 14px 16px;
    border-radius: var(--eln-radius);
    background: var(--eln-bg);
    border: 1px solid var(--eln-border);
    text-align: center;
}

.eln-aside-metric strong {
    display: block;
    font-size: 26px;
    line-height: 1;
}

.eln-aside-metric span {
    display: block;
    margin-top: 5px;
    color: var(--eln-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Stepper */
.eln-stepper {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 16px;
}

.eln-step-pill {
    width: 100%;
    border: 1px solid var(--eln-border);
    background: #fafbfc;
    border-radius: 12px;
    padding: 14px 14px 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--eln-font);
}

.eln-step-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: #cdd3da;
}

.eln-step-pill[data-step-state="active"] {
    background: var(--eln-black);
    border-color: var(--eln-black);
    color: var(--eln-white);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.eln-step-pill[data-step-state="complete"] {
    background: #f0fdf7;
    border-color: rgba(18, 253, 126, 0.28);
}

.eln-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    border-radius: var(--eln-radius-sm);
    background: var(--eln-white);
    color: var(--eln-black);
    font-size: 12px;
    font-weight: 700;
}

.eln-step-pill[data-step-state="active"] .eln-step-number {
    background: var(--eln-green);
}

.eln-step-pill[data-step-state="complete"] .eln-step-number {
    background: var(--eln-green);
}

.eln-step-text { display: block; }
.eln-step-text strong { display: block; font-size: 13px; line-height: 1.2; }
.eln-step-text small { display: block; margin-top: 5px; color: #94a3b8; font-size: 11px; line-height: 1.4; }
.eln-step-pill[data-step-state="active"] .eln-step-text small { color: rgba(255, 255, 255, 0.65); }

/* Progress Bar */
.eln-progress-bar {
    height: 4px;
    border-radius: 999px;
    background: #eef1f5;
    overflow: hidden;
    margin-bottom: 28px;
}

.eln-progress-fill {
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--eln-black) 0%, var(--eln-green) 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form Steps */
.eln-intake-form { position: relative; }

.eln-step-panel {
    display: none;
    animation: eln-step-fade 0.2s ease;
}

.eln-step-panel.active { display: block; }

@keyframes eln-step-fade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.eln-step-heading {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 24px;
}

.eln-step-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 52px;
    border-radius: var(--eln-radius);
    background: var(--eln-black);
    color: var(--eln-white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.eln-step-heading h3 {
    margin: 0 0 5px;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.eln-step-heading p {
    margin: 0;
    color: var(--eln-muted);
    max-width: 700px;
    font-size: 14px;
}

/* Form Fields */
.eln-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 16px;
}

.eln-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.eln-grid.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.eln-grid.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eln-grid.one-up { grid-template-columns: minmax(0, 1fr); }

.eln-field { margin-bottom: 16px; }

.eln-label {
    display: block;
    margin-bottom: 7px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.eln-required { color: #dc2626; }

.eln-field-hint {
    margin: -2px 0 8px;
    color: var(--eln-muted);
    font-size: 13px;
    line-height: 1.4;
}

.eln-input {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafb;
    padding: 13px 16px;
    font-size: 15px;
    font-weight: 400;
    font-family: var(--eln-font);
    color: var(--eln-text);
    transition: all 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}

.eln-input:hover {
    border-color: #cbd5e1;
    background: #f4f7f9;
}

.eln-input:focus {
    outline: none;
    border-color: var(--eln-green);
    background: var(--eln-white);
    box-shadow: 0 0 0 3px rgba(18, 253, 126, 0.08);
}

.eln-input.is-invalid,
.eln-field.has-error .eln-input {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

.eln-field-error {
    min-height: 16px;
    margin-top: 5px;
    color: #dc2626;
    font-size: 12px;
    font-weight: 700;
}

/* Practice area chip selector (intake form) */
.eln-pa-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.eln-pa-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 20px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafb;
    color: var(--eln-muted);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
    -webkit-user-select: none;
}

.eln-pa-chip:hover {
    border-color: #cbd5e1;
    background: #f4f7f9;
    color: var(--eln-text);
}

.eln-pa-chip.is-on,
.eln-pa-chip:has(input:checked) {
    background: var(--eln-green-dim);
    border-color: var(--eln-green);
    color: var(--eln-black);
}

.eln-pa-chip.is-on i,
.eln-pa-chip:has(input:checked) i {
    color: #0ab85b;
}

.eln-pa-chip-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.eln-pa-chip i {
    font-size: 12px;
    transition: color 0.15s ease;
}

.eln-file-input {
    background: var(--eln-white);
    padding-top: 11px;
    padding-bottom: 11px;
}

.eln-upload-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    color: var(--eln-muted);
    font-size: 13px;
}

.eln-upload-preview-image {
    width: 48px;
    height: 48px;
    border-radius: var(--eln-radius-sm);
    object-fit: cover;
    border: 1px solid var(--eln-border);
}

/* Form Card Blocks */
.eln-spotlight-card,
.eln-tip-card,
.eln-block-card {
    border: 1px solid var(--eln-border);
    border-radius: 16px;
    padding: 24px;
    background: #f9fafb;
    margin-bottom: 20px;
    transition: border-color 0.18s ease;
}

.eln-block-card:hover {
    border-color: #cdd3da;
}

.eln-spotlight-card {
    background: linear-gradient(135deg, #fafbfc 0%, #f4f7fa 100%);
    border-color: #dce3eb;
}

.eln-tip-card {
    background: linear-gradient(135deg, var(--eln-black) 0%, #161618 100%);
    border-color: var(--eln-black);
    color: var(--eln-white);
}

.eln-tip-card p,
.eln-block-header p {
    margin: 6px 0 0;
    color: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.eln-tip-card.is-highlight {
    background: linear-gradient(135deg, #f0fdf7 0%, #f8fefb 100%);
    border-color: rgba(18, 253, 126, 0.22);
    color: #163727;
}

.eln-block-header { margin-bottom: 16px; }
.eln-block-header h4,
.eln-tip-card strong { margin: 0; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; }

.eln-step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #eef2f5;
}

.eln-step-note {
    color: var(--eln-muted);
    font-size: 13px;
}

/* Success State */
.eln-intake-success {
    text-align: center;
    max-width: 680px;
    padding: 72px 34px;
}

.eln-intake-success h2 {
    margin: 16px 0 12px;
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.eln-intake-success p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--eln-muted);
    font-size: 16px;
    line-height: 1.6;
}

.eln-success-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: var(--eln-radius-lg);
    background: linear-gradient(135deg, var(--eln-green) 0%, #a8ff73 100%);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--eln-black);
    box-shadow: 0 20px 40px rgba(18, 253, 126, 0.25);
}

.eln-success-actions { margin-top: 24px; }

/* ==========================================================================
   Checkout Page - Full-Screen Split Layout
   ========================================================================== */

.eln-checkout-shell {
    font-family: var(--eln-font);
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background: #f8fafb;
    position: relative;
}

body.eln-fullscreen .eln-checkout-shell {
    min-height: 100vh;
}

.eln-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 100vh;
}

/* Left panel: order summary */
.eln-checkout-summary {
    background: var(--eln-black);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.eln-checkout-summary-inner {
    max-width: 460px;
    width: 100%;
}

.eln-checkout-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--eln-green);
    margin-bottom: 32px;
}

.eln-checkout-brand i {
    font-size: 18px;
}

.eln-checkout-summary h2 {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 8px;
    color: #fff;
    letter-spacing: -0.03em;
}

.eln-checkout-firm {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    margin: 0 0 32px;
}

/* Line items */
.eln-checkout-line-items {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-bottom: 24px;
}

.eln-checkout-line-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.eln-checkout-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eln-green);
    font-size: 16px;
    flex-shrink: 0;
}

.eln-checkout-item-info {
    flex: 1;
}

.eln-checkout-item-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.eln-checkout-item-info span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
}

.eln-checkout-item-price {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

/* Discount code section */
.eln-checkout-discount {
    margin-bottom: 24px;
}

.eln-checkout-discount label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.eln-checkout-discount-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.eln-checkout-discount-row input {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #fff;
    outline: none;
    transition: border-color 0.15s ease;
}

.eln-checkout-discount-row input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.eln-checkout-discount-row input:focus {
    border-color: var(--eln-green);
}

.eln-btn-outline {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.15s ease;
}

.eln-btn-outline:hover {
    border-color: var(--eln-green) !important;
    color: var(--eln-green) !important;
}

.eln-checkout-discount-msg {
    margin-top: 8px;
    font-size: 12px;
    min-height: 18px;
}

.eln-checkout-discount-msg.is-error {
    color: #f87171;
}

.eln-checkout-discount-msg.is-success {
    color: var(--eln-green);
}

/* Total */
.eln-checkout-total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.eln-checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.eln-checkout-total-row.is-total {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.eln-checkout-total-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--eln-green);
}

.eln-checkout-total-note {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

/* Right panel: payment methods */
.eln-checkout-methods {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #fff;
}

.eln-checkout-methods-inner {
    max-width: 420px;
    width: 100%;
}

.eln-checkout-methods h3 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 24px;
    color: var(--eln-black);
    letter-spacing: -0.02em;
}

/* Payment method buttons */
.eln-checkout-method-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 18px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-align: left;
    font-family: inherit;
}

.eln-checkout-method-btn.is-primary {
    background: var(--eln-black);
    color: #fff;
    border: 2px solid var(--eln-black);
}

.eln-checkout-method-btn.is-primary:hover {
    background: #1a1a2e;
    border-color: var(--eln-green);
    box-shadow: 0 4px 20px rgba(18, 253, 126, 0.15);
}

.eln-checkout-method-btn.is-secondary {
    background: #fff;
    color: var(--eln-black);
    border: 2px solid var(--eln-border);
}

.eln-checkout-method-btn.is-secondary:hover {
    border-color: var(--eln-black);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.eln-checkout-method-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.eln-checkout-method-btn.is-primary .eln-checkout-method-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--eln-green);
}

.eln-checkout-method-btn.is-secondary .eln-checkout-method-icon {
    background: var(--eln-bg);
    color: var(--eln-black);
}

.eln-checkout-method-text {
    flex: 1;
}

.eln-checkout-method-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.eln-checkout-method-text span {
    display: block;
    font-size: 12px;
    opacity: 0.6;
}

.eln-checkout-method-btn > .fa-arrow-right {
    opacity: 0.3;
    transition: all 0.15s ease;
}

.eln-checkout-method-btn:hover > .fa-arrow-right {
    opacity: 1;
    transform: translateX(3px);
}

/* Stripe error message */
.eln-stripe-error {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fff4f2;
    border: 1px solid #ffd0c6;
    color: #962f1b;
    font-size: 13px;
    line-height: 1.5;
}

.eln-stripe-spinner {
    font-size: 16px;
}

/* "or" divider */
.eln-checkout-or {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.eln-checkout-or::before,
.eln-checkout-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--eln-border);
}

/* Trust badges */
.eln-checkout-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--eln-border);
}

.eln-checkout-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
}

.eln-checkout-trust-item i {
    font-size: 13px;
    color: #64748b;
}

/* Success state */
.eln-checkout-success {
    max-width: 480px;
    width: 100%;
    margin: auto;
    text-align: center;
    padding: 60px 40px;
}

.eln-checkout-success-icon {
    font-size: 64px;
    color: var(--eln-green);
    margin-bottom: 24px;
}

.eln-checkout-success h2 {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 12px;
    color: var(--eln-black);
    letter-spacing: -0.02em;
}

.eln-checkout-success p {
    color: var(--eln-muted);
    font-size: 15px;
    margin: 0 0 28px;
    line-height: 1.6;
}

/* Checkout responsive */
@media (max-width: 900px) {
    .eln-checkout-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .eln-checkout-summary {
        padding: 32px 24px;
    }

    .eln-checkout-methods {
        padding: 32px 24px;
    }

    .eln-checkout-summary h2 {
        font-size: 24px;
    }

    .eln-checkout-trust {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* ==========================================================================
   Chrome & Cross-Browser Hardening
   Force consistent rendering across Chrome, Safari, Firefox, Edge
   ========================================================================== */

/* Chrome: force font on fullscreen pages at high specificity */
body.eln-fullscreen .eln-intake-shell,
body.eln-fullscreen .eln-intake-card,
body.eln-fullscreen .eln-checkout-shell,
body.eln-fullscreen .eln-idx {
    font-family: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Chrome: ensure inputs render consistently */
body.eln-fullscreen input,
body.eln-fullscreen textarea,
body.eln-fullscreen select,
body.eln-fullscreen button {
    font-family: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-appearance: none;
    appearance: none;
}

body.eln-fullscreen button {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

body.eln-fullscreen select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23777' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Chrome: prevent default heading weight bleed from themes */
body.eln-fullscreen h1,
body.eln-fullscreen h2,
body.eln-fullscreen h3,
body.eln-fullscreen h4,
body.eln-fullscreen h5,
body.eln-fullscreen h6 {
    font-family: 'Titillium Web', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
}

/* Chrome: consistent box model and text rendering */
body.eln-fullscreen *,
body.eln-fullscreen *::before,
body.eln-fullscreen *::after {
    box-sizing: border-box;
    text-rendering: optimizeLegibility;
}

/* Chrome: fix backdrop-filter (requires -webkit- prefix) */
body.eln-fullscreen .eln-idx-cmp,
body.eln-fullscreen .eln-modal-overlay {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* ==========================================================================
   Admin styles are in admin.css (loaded only on esports_firm admin screens)
   ========================================================================== */

/* Status pills are shared between frontend directory cards and admin */
.eln-status-pill {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: 6px;
    line-height: 1.6;
    white-space: nowrap;
}

.eln-status-pill.status-invited { background: #e0e7ff; color: #4338ca; }
.eln-status-pill.status-submitted { background: #dbeafe; color: #1d4ed8; }
.eln-status-pill.status-in_review { background: #fef3c7; color: #b45309; }
.eln-status-pill.status-needs_revision { background: #fff7ed; color: #c2410c; }
.eln-status-pill.status-approved { background: #d1fae5; color: #065f46; }
.eln-status-pill.status-published { background: #bbf7d0; color: #166534; }

/* ==========================================================================
   Responsive (Frontend only)
   ========================================================================== */

@media (max-width: 1100px) {
    .eln-stepper { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .eln-intake-shell { padding: 24px 16px; }
    .eln-intake-card { padding: 32px 24px; border-radius: 16px; }
    .eln-intake-header { flex-direction: column; }
    .eln-intake-aside { justify-content: flex-start; }
    .eln-grid.two-up { grid-template-columns: minmax(0, 1fr); }
    .eln-data-grid { grid-template-columns: 1fr; }
    .eln-score-matrix { grid-template-columns: 1fr; }
    .eln-modal-header { flex-direction: column; text-align: center; padding: 28px; }
    .eln-contact-card { flex: 0 0 85%; }

    /* Profile hero responsive */
    .eln-profile-hero-top { flex-direction: column; align-items: flex-start; }
    .eln-profile-hero-btn { width: 100%; justify-content: center; }

    /* Directory responsive */
    .eln-idx-hero { padding: 40px 24px 36px; }
    .eln-idx-hero-wrap { flex-direction: column; text-align: center; }
    .eln-idx-hero-text p { margin-left: auto; margin-right: auto; }
    .eln-idx-hero-logo { display: flex; justify-content: center; }
    .eln-idx-hero-kpi { justify-content: center; }
    .eln-idx-body { padding: 24px 24px 48px; }
    .eln-idx-regions { justify-content: center; }
    .eln-idx-filter-pills { justify-content: center; }
    .eln-idx-filter-label { text-align: center; }
    .eln-idx-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
    .eln-idx-list .eln-idx-card { flex-direction: column; }
    .eln-idx-list .eln-idx-card-link { flex-direction: column; }
    .eln-idx-list .eln-idx-card-head { width: 100%; padding: 16px 18px 0; justify-content: flex-start; }
    .eln-idx-list .eln-idx-card-foot { border-left: none; border-top: 1px solid #f0f2f5; min-width: auto; flex-direction: row; align-items: center; }
    .eln-idx-list .eln-idx-card-foot-left { flex-direction: row; align-items: center; }
    .eln-idx-list .eln-idx-verified-ribbon { top: 14px; right: auto; left: 14px; transform: none; border-radius: 6px; }
}

@media (max-width: 700px) {
    .eln-intake-shell { padding: 16px 10px; }
    .eln-intake-card { padding: 24px 16px; border-radius: 14px; }
    .eln-intake-header h2 { font-size: 1.5rem; }
    .eln-stepper { grid-template-columns: minmax(0, 1fr); }
    .eln-step-heading { grid-template-columns: minmax(0, 1fr); }
    .eln-step-actions { flex-direction: column; align-items: stretch; }
    .eln-upload-meta { align-items: flex-start; flex-direction: column; }
    .eln-copy-row { grid-template-columns: minmax(0, 1fr); }
    .eln-main-card { padding: 24px; }

    /* Profile hero responsive */
    .eln-profile-hero-inner { padding: 28px 16px 24px; }
    .eln-profile-hero-top { flex-direction: column; }
    .eln-profile-hero-identity { flex-direction: column; align-items: center; text-align: center; }
    .eln-profile-hero-meta { justify-content: center; }
    .eln-profile-hero-tags { justify-content: center; }
    .eln-profile-hero-btn { width: 100%; justify-content: center; }
    .eln-profile-hero-kpis { justify-content: center; }
    .eln-claim-strip { flex-direction: column; text-align: center; padding: 16px; }
    .eln-claim-strip-left { flex-direction: column; align-items: center; text-align: center; }
    .eln-claim-strip-cta { width: 100%; justify-content: center; }

    /* Directory responsive - small */
    .eln-idx-hero { padding: 32px 16px 28px; }
    .eln-idx-hero-wrap { gap: 24px; }
    .eln-idx-hero-kpi { flex-wrap: wrap; gap: 10px; }
    .eln-idx-kpi { min-width: 72px; padding: 12px 14px; }
    .eln-idx-kpi-num { font-size: 22px; }
    .eln-idx-body { padding: 20px 16px 40px; }
    .eln-idx-regions { gap: 6px; }
    .eln-idx-rpill { padding: 7px 12px; font-size: 11.5px; }
    .eln-idx-fpill { padding: 6px 10px; font-size: 11.5px; }
    .eln-idx-toolbar { padding: 12px 14px; gap: 8px; flex-wrap: wrap; }
    .eln-idx-view-toggle { order: -1; }
    .eln-idx-grid { grid-template-columns: 1fr; gap: 12px; }
    .eln-idx-card-body { padding: 14px 18px 16px; }
    .eln-idx-card-head { padding: 18px 18px 0; }
    .eln-idx-card-foot { padding: 12px 18px; }
    #eln-compare-tray { flex-direction: column; gap: 10px; padding: 14px 16px; }
}
