/* ============================================================
   ELP Contact Form — elcf.css  v2.4.2
   Palette: Teal #17B89A | Dark #0A1A18 | Accent #F4A261
   ============================================================ */

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
    --elcf-teal:       #17B89A;
    --elcf-teal-dark:  #0E9E84;
    --elcf-teal-light: #e6f7f4;
    --elcf-dark:       #0A1A18;
    --elcf-text:       #1a2a36;
    --elcf-muted:      #6b7f8e;
    --elcf-border:     #d4e4e1;
    --elcf-bg:         #f7fafa;
    --elcf-card-bg:    #ffffff;
    --elcf-shadow-lg:  0 20px 60px rgba(0,0,0,.28), 0 4px 16px rgba(0,0,0,.12);
    --elcf-radius:     14px;
    --elcf-radius-sm:  7px;
    --elcf-transition: .18s ease;
}

/* ── Trigger button wrapper ──────────────────────────────────────────────── */
.elcf-btn-wrap {
    display: inline-block;
    vertical-align: middle;
}

/* ── Trigger button — solid, always visible on any background ────────────── */
.elcf-trigger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: var(--elcf-radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background var(--elcf-transition), box-shadow var(--elcf-transition), transform var(--elcf-transition);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -.01em;
    line-height: 1.2;
    /* Colour from admin settings via CSS vars, solid teal as fallback */
    background: var(--elcf-btn-bg, #17B89A);
    color:      var(--elcf-btn-color, #ffffff);
    box-shadow: 0 2px 10px rgba(23,184,154,.30);
}
.elcf-trigger-btn:hover {
    background: var(--elcf-btn-hover-bg, #0E9E84);
    color:      var(--elcf-btn-color, #ffffff);
    box-shadow: 0 4px 18px rgba(23,184,154,.40);
    transform: translateY(-1px);
}
.elcf-trigger-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(23,184,154,.22);
}

/* ══════════════════════════════════════════════════════════════════════════
   OVERLAY — appended to <body> by JS so it escapes any parent
   overflow:hidden / transform / z-index stacking context.
   ══════════════════════════════════════════════════════════════════════════ */
.elcf-overlay {
    /* Fixed to the viewport — always covers the full screen */
    position: fixed !important;
    top:    0 !important;
    left:   0 !important;
    right:  0 !important;
    bottom: 0 !important;
    width:  100vw !important;
    height: 100vh !important;
    height: 100dvh !important; /* dvh = dynamic viewport, excludes iOS browser chrome */

    /* Stacking: above sticky headers, sliders, lightboxes */
    z-index: 2147483647 !important;

    /* Blurred dark backdrop */
    background: rgba(13, 27, 42, 0.72) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;

    /* Centre the modal card — display is controlled by JS only */
    align-items: center;
    justify-content: center;

    /* Padding so the card never touches screen edges on small screens */
    padding: 16px !important;
    box-sizing: border-box !important;

    /* Entrance animation */
    animation: elcf-fade-in .22s ease both;

    /* Prevent the overlay itself from scrolling */
    overflow: hidden !important;
}

@keyframes elcf-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Modal card ──────────────────────────────────────────────────────────── */
/*
   The card uses flex-column so:
     - .elcf-modal-header  → flex-shrink:0  (never scrolls away)
     - .elcf-modal-body    → flex:1; overflow-y:auto  (scrolls internally)
   max-height is capped so it never overflows the viewport.
*/
.elcf-modal {
    background: var(--elcf-card-bg);
    border-radius: var(--elcf-radius);
    width: 100%;
    max-width: 540px;

    /* Cap height to viewport minus the overlay padding */
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);

    /* Flex column: header fixed, body scrolls */
    display: flex;
    flex-direction: column;

    /* Clip rounded corners cleanly */

    box-shadow: var(--elcf-shadow-lg);
    animation: elcf-slide-up .26s cubic-bezier(.22,.68,0,1.2) both;
    box-sizing: border-box;
    position: relative;
}

@keyframes elcf-slide-up {
    from { transform: translateY(28px) scale(.97); opacity: 0; }
    to   { transform: translateY(0)    scale(1);   opacity: 1; }
}

/* ── Modal header — sticky, never scrolls ───────────────────────────────── */
.elcf-modal-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px 0;
    padding-right: 56px; /* room for absolute close button */
    background: var(--elcf-card-bg);
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
/* ── Modal header inner layout ──────────────────────────────────────────── */
.elcf-modal-title-block {
    flex: 1 1 auto;
    min-width: 0; /* allow text truncation */
}
.elcf-modal-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--elcf-dark);
    letter-spacing: -.02em;
    margin: 0 0 8px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.elcf-progress-wrap {
    /* contains progress bar + step label */
}


/* ── Close button — anchored inside header, always visible ──────────────── */
.elcf-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--elcf-bg);
    border: 1.5px solid var(--elcf-border);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--elcf-muted);
    font-size: 17px;
    line-height: 1;
    padding: 0;
    flex-shrink: 0;
    z-index: 10;
    transition: background var(--elcf-transition), color var(--elcf-transition), border-color var(--elcf-transition);
}
.elcf-close:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

/* ── Modal body — the only scrollable part ───────────────────────────────── */
.elcf-modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 24px 24px;
    box-sizing: border-box;
    /* Smooth momentum scroll on iOS */
    -webkit-overflow-scrolling: touch;
}
.elcf-modal-body::-webkit-scrollbar { width: 5px; }
.elcf-modal-body::-webkit-scrollbar-track { background: transparent; }
.elcf-modal-body::-webkit-scrollbar-thumb { background: var(--elcf-border); border-radius: 3px; }
/* ── Sticky modal footer (nav buttons) ─────────────────────────────────── */
.elcf-modal-footer {
    flex-shrink: 0;
    padding: 12px 24px 20px;
    background: var(--elcf-card-bg);
    border-top: 1px solid var(--elcf-border);
    position: relative;
    z-index: 2;
    cursor: default;
}
.elcf-footer-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.elcf-footer-step > .elvc-btn:only-child {
    margin-left: auto;
}


/* ── Header content ──────────────────────────────────────────────────────── */
.elcf-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-right: 46px; /* space for close button */
}
.elcf-logo {
    max-height: 34px;
    width: auto;
    flex-shrink: 0;
}
.elcf-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--elcf-dark);
    letter-spacing: -.02em;
    margin: 0;
    line-height: 1.3;
}

/* ── Progress bar ────────────────────────────────────────────────────────── */
.elcf-progress {
    height: 4px;
    background: var(--elcf-border);
    border-radius: 2px;
    margin-bottom: 5px;
    overflow: hidden;
}
.elcf-progress-bar {
    height: 100%;
    background: var(--elcf-teal);
    border-radius: 2px;
    transition: width .3s ease;
}
.elcf-step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--elcf-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--elcf-border);
}

/* ── Step title ──────────────────────────────────────────────────────────── */
.elcf-step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--elcf-dark);
    margin: 0 0 14px;
    letter-spacing: -.01em;
}

/* ── Form grid ───────────────────────────────────────────────────────────── */
.elcf-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 4px;
}
.elcf-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.elcf-field-full {
    grid-column: 1 / -1;
}
.elcf-field > label {
    font-size: 11px;
    font-weight: 600;
    color: var(--elcf-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* ── Volume slider ───────────────────────────────────────────────────────── */
.elcf-volume-slider-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.elcf-volume-display {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.elcf-volume-value {
    font-size: 26px;
    font-weight: 800;
    color: var(--elcf-teal);
    letter-spacing: -.03em;
    line-height: 1;
    min-width: 48px;
}
.elcf-volume-unit {
    font-size: 14px;
    font-weight: 600;
    color: var(--elcf-muted);
}
.elcf-volume-weight {
    font-size: 12px;
    color: var(--elcf-muted);
    margin-left: 2px;
}
.elcf-volume-note {
    font-size: 11px;
    color: var(--elcf-muted);
    font-style: italic;
    min-height: 16px;
}
.elcf-volume-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(
        to right,
        var(--elcf-teal) 0%,
        var(--elcf-teal) var(--range-pct, 26.67%),
        var(--elcf-border) var(--range-pct, 26.67%),
        var(--elcf-border) 100%
    );
    outline: none;
    cursor: pointer;
    border: none;
    box-shadow: none;
}
.elcf-volume-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--elcf-teal);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 1px 6px rgba(23,184,154,.45);
    transition: transform .15s ease, box-shadow .15s ease;
}
.elcf-volume-range::-webkit-slider-thumb:hover {
    transform: scale(1.18);
    box-shadow: 0 2px 12px rgba(23,184,154,.55);
}
.elcf-volume-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--elcf-teal);
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 1px 6px rgba(23,184,154,.45);
}
.elcf-volume-ticks {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
}
.elcf-volume-ticks span {
    font-size: 10px;
    color: var(--elcf-muted);
}
.elcf-f-volume { display: none !important; }


/* ── Vol-slider class aliases (HTML uses elcf-vol-, CSS base uses elcf-volume-) ── */
.elcf-vol-value  { font-size: 26px; font-weight: 800; color: var(--elcf-teal); letter-spacing: -.03em; line-height: 1; min-width: 48px; }
.elcf-vol-unit   { font-size: 14px; font-weight: 600; color: var(--elcf-muted); }
.elcf-vol-weight { font-size: 12px; color: var(--elcf-muted); margin-left: 2px; }
.elcf-vol-range  {
    -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px;
    background: linear-gradient(
        to right,
        var(--elcf-teal) 0%,
        var(--elcf-teal) var(--range-pct, 26.67%),
        var(--elcf-border) var(--range-pct, 26.67%),
        var(--elcf-border) 100%
    );
    outline: none; cursor: pointer; border: none; box-shadow: none;
}
.elcf-vol-range::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
    background: var(--elcf-teal); cursor: pointer; border: 3px solid #fff;
    box-shadow: 0 1px 6px rgba(23,184,154,.45); transition: transform .15s ease, box-shadow .15s ease;
}
.elcf-vol-range::-webkit-slider-thumb:hover { transform: scale(1.18); box-shadow: 0 2px 12px rgba(23,184,154,.55); }
.elcf-vol-range::-moz-range-thumb {
    width: 22px; height: 22px; border-radius: 50%; background: var(--elcf-teal);
    cursor: pointer; border: 3px solid #fff; box-shadow: 0 1px 6px rgba(23,184,154,.45);
}
/* Labels row below slider */
.elcf-vol-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
    font-size: 10px;
    color: var(--elcf-muted);
}
.elcf-vol-labels span { font-size: 10px; color: var(--elcf-muted); }
/* The note span sits in the middle of the labels row — keep it invisible when empty */
.elcf-vol-note {
    font-size: 11px;
    color: var(--elcf-muted);
    font-style: italic;
    min-height: 0;
    text-align: center;
    flex: 1;
    padding: 0 4px;
}
/* Large-volume note: shown BELOW the labels row as a block */
.elcf-vol-note--large {
    color: var(--elcf-teal-dark, #0E9E84);
    font-weight: 600;
    font-style: italic;
    font-size: 12px;
    text-align: center;
    display: block;
    margin-top: 6px;
    padding: 6px 10px;
    background: rgba(23,184,154,.07);
    border-radius: 6px;
    border-left: 3px solid var(--elcf-teal);
}
/* ── Privacy checkbox ────────────────────────────────────────────────────── */
.elcf-privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--elcf-text);
    cursor: pointer;
    line-height: 1.5;
}
.elcf-privacy-label input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--elcf-teal);
    cursor: pointer;
}
.elcf-privacy-label a { color: var(--elcf-teal); }
.elcf-privacy-label a:hover { text-decoration: underline; }
.elcf-privacy-field.is-error .elcf-privacy-label { color: #dc2626; }

/* ── Navigation row ──────────────────────────────────────────────────────── */
.elcf-nav {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}
.elcf-nav-two {
    justify-content: space-between;
}

/* ── Form message ────────────────────────────────────────────────────────── */
.elcf-form-msg {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: var(--elcf-radius-sm);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}
.elcf-form-msg.is-success {
    background: #e6f7f4;
    color: var(--elcf-teal-dark);
    border-left: 3px solid var(--elcf-teal);
}
.elcf-form-msg.is-error {
    background: #fef2f2;
    color: #dc2626;
    border-left: 3px solid #dc2626;
}

/* ── Turnstile ───────────────────────────────────────────────────────────── */
.elcf-modal .elvc-turnstile-wrap {
    display: flex;
    justify-content: center;
    margin: 12px 0 2px;
}

/* ── Company footer ──────────────────────────────────────────────────────── */
.elcf-modal .elvc-modal-footer {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--elcf-border);
    font-size: 12px;
    color: var(--elcf-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
}
.elcf-modal .elvc-modal-footer a {
    color: var(--elcf-teal);
    text-decoration: none;
}
.elcf-modal .elvc-modal-footer a:hover { text-decoration: underline; }



/* ── Input styles (fallback when elvc.css not loaded) ───────────────────── */
.elcf-modal .elvc-input {
    padding: 9px 12px;
    border: 1.5px solid var(--elcf-border);
    border-radius: var(--elcf-radius-sm);
    font-size: 14px;
    color: var(--elcf-text);
    background: var(--elcf-bg);
    transition: border-color var(--elcf-transition), box-shadow var(--elcf-transition);
    outline: none;
    width: 100%;
    font-family: inherit;
    box-sizing: border-box;
}
.elcf-modal .elvc-input:focus {
    border-color: var(--elcf-teal);
    box-shadow: 0 0 0 3px rgba(23,184,154,.12);
}
.elcf-modal .elvc-input.is-error {
    border-color: #e74c3c;
}
.elcf-modal textarea.elvc-input {
    resize: vertical;
    min-height: 80px;
}
.elcf-modal select.elvc-input,
.elcf-modal select.elvc-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231E9E87' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-color: var(--elcf-bg);
    padding-right: 36px;
    cursor: pointer;
}

/* ── Standalone button styles (fallback when elvc.css not loaded) ─────────── */
.elcf-modal .elvc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
    white-space: nowrap;
    line-height: 1.2;
    box-sizing: border-box;
}
.elcf-modal .elvc-btn-primary {
    background: var(--elcf-teal);
    color: #fff;
    box-shadow: 0 2px 8px rgba(23,184,154,.25);
}
.elcf-modal .elvc-btn-primary:hover {
    background: var(--elcf-teal-dark);
    box-shadow: 0 4px 14px rgba(23,184,154,.35);
}
.elcf-modal .elvc-btn-primary:disabled {
    opacity: .55;
    cursor: not-allowed;
}
.elcf-modal .elvc-btn-ghost {
    background: transparent;
    color: var(--elcf-muted);
    border: 1.5px solid var(--elcf-border);
}
.elcf-modal .elvc-btn-ghost:hover {
    background: var(--elcf-bg);
    color: var(--elcf-text);
}



/* ── Input styles (fallback when elvc.css not loaded) ───────────────────── */
.elcf-modal .elvc-input {
    padding: 9px 12px;
    border: 1.5px solid var(--elcf-border);
    border-radius: var(--elcf-radius-sm);
    font-size: 14px;
    color: var(--elcf-text);
    background: var(--elcf-bg);
    transition: border-color var(--elcf-transition), box-shadow var(--elcf-transition);
    outline: none;
    width: 100%;
    font-family: inherit;
    box-sizing: border-box;
}
.elcf-modal .elvc-input:focus {
    border-color: var(--elcf-teal);
    box-shadow: 0 0 0 3px rgba(23,184,154,.12);
}
.elcf-modal .elvc-input.is-error {
    border-color: #e74c3c;
}
.elcf-modal textarea.elvc-input {
    resize: vertical;
    min-height: 80px;
}
.elcf-modal select.elvc-input,
.elcf-modal select.elvc-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231E9E87' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-color: var(--elcf-bg);
    padding-right: 36px;
    cursor: pointer;
}

/* ── Standalone button styles (fallback when elvc.css not loaded) ─────────── */
.elcf-modal .elvc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
    white-space: nowrap;
    line-height: 1.2;
    box-sizing: border-box;
}
.elcf-modal .elvc-btn-primary {
    background: var(--elcf-teal);
    color: #fff;
    box-shadow: 0 2px 8px rgba(23,184,154,.25);
}
.elcf-modal .elvc-btn-primary:hover {
    background: var(--elcf-teal-dark);
    box-shadow: 0 4px 14px rgba(23,184,154,.35);
}
.elcf-modal .elvc-btn-primary:disabled {
    opacity: .55;
    cursor: not-allowed;
}
.elcf-modal .elvc-btn-ghost {
    background: transparent;
    color: var(--elcf-muted);
    border: 1.5px solid var(--elcf-border);
}
.elcf-modal .elvc-btn-ghost:hover {
    background: var(--elcf-bg);
    color: var(--elcf-text);
}


/* ── iOS Safari touch fixes ─────────────────────────────────────────────── */
/* Overlay receives pointer events so tap-to-close works */
.elcf-overlay {
    -webkit-overflow-scrolling: touch;
}
/* Modal card must explicitly receive pointer events */
.elcf-modal {
}
/* Close button: large touch target for mobile (44x44 minimum per Apple HIG) */
.elcf-close {
    min-width: 44px;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}
/* Trigger button: prevent double-tap zoom and tap highlight on mobile */
.elcf-trigger-btn {
    -webkit-tap-highlight-color: transparent;
}
/* All interactive elements inside modal */
.elcf-modal button,
.elcf-modal input,
.elcf-modal select,
.elcf-modal textarea {
    -webkit-tap-highlight-color: transparent;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 540px) {
    .elcf-overlay { padding: 0 !important; align-items: flex-end !important; }
    .elcf-modal {
        max-width: 100% !important;
        border-radius: var(--elcf-radius) var(--elcf-radius) 0 0;
        max-height: 92vh;
        max-height: calc(100dvh - env(safe-area-inset-bottom, 0px));
        animation: elcf-slide-up-mobile .28s cubic-bezier(.22,.68,0,1.2) both;
    }
    @keyframes elcf-slide-up-mobile {
        from { transform: translateY(100%); opacity: 0; }
        to   { transform: translateY(0);    opacity: 1; }
    }
    .elcf-modal-header { padding: 16px 48px 0 16px; } /* right padding = room for close button */
    .elcf-modal-body   { padding: 12px 16px 20px; }
    .elcf-modal-footer { padding-bottom: max(20px, env(safe-area-inset-bottom, 20px)); }
    .elcf-close        { top: 12px; right: 12px; }
    .elcf-form-grid    { grid-template-columns: 1fr; }
}

/* padding already set in base .elcf-trigger-btn rule */

/* ── Pulse animation — subtle, attention-grabbing, not annoying ──────────── */
@-webkit-keyframes elcf-pulse {
    0%   { box-shadow: 0 2px 10px rgba(23,184,154,.30), 0 0 0 0 rgba(23,184,154,.45); }
    60%  { box-shadow: 0 2px 10px rgba(23,184,154,.30), 0 0 0 10px rgba(23,184,154,0); }
    100% { box-shadow: 0 2px 10px rgba(23,184,154,.30), 0 0 0 0 rgba(23,184,154,0); }
}
@keyframes elcf-pulse {
    0%   { box-shadow: 0 2px 10px rgba(23,184,154,.30), 0 0 0 0 rgba(23,184,154,.45); }
    60%  { box-shadow: 0 2px 10px rgba(23,184,154,.30), 0 0 0 10px rgba(23,184,154,0); }
    100% { box-shadow: 0 2px 10px rgba(23,184,154,.30), 0 0 0 0 rgba(23,184,154,0); }
}
.elcf-trigger-btn {
    -webkit-animation: elcf-pulse 3.5s ease-in-out 2s infinite;
    animation: elcf-pulse 3.5s ease-in-out 2s infinite;
    will-change: box-shadow;
}
.elcf-trigger-btn:hover,
.elcf-trigger-btn:focus,
.elcf-trigger-btn:active {
    -webkit-animation: none;
    animation: none;
}

/* ── Searchable combobox ─────────────────────────────────────────────────── */
.elcf-combobox {
    position: relative;
}
.elcf-combobox-input {
    width: 100%;
    cursor: text;
}
.elcf-combobox-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--elcf-border);
    border-radius: var(--elcf-radius-sm);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    max-height: 220px;
    overflow-y: auto;
    z-index: 9999;
    -webkit-overflow-scrolling: touch;
}
.elcf-combobox-item {
    padding: 9px 14px;
    font-size: 14px;
    color: var(--elcf-text);
    cursor: pointer;
    transition: background .12s;
    line-height: 1.4;
}
.elcf-combobox-item:hover,
.elcf-combobox-item.is-active {
    background: var(--elcf-teal-light);
    color: var(--elcf-teal-dark);
}
.elcf-combobox-item mark {
    background: transparent;
    color: var(--elcf-teal);
    font-weight: 700;
}
.elcf-combobox-no-results {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--elcf-muted);
    font-style: italic;
}

/* ── Volume note — large move variant ───────────────────────────────────── */
.elcf-vol-note--large {
    color: var(--elcf-teal-dark);
    font-weight: 600;
    font-style: italic;
    font-size: 12px;
    text-align: center;
    display: block;
    margin-top: 2px;
}

/* ── Pulse disabled (admin toggle off) ──────────────────────────────────── */
.elcf-trigger-btn.elcf-no-pulse,
.elcf-trigger-btn.elcf-no-pulse:hover,
.elcf-trigger-btn.elcf-no-pulse:focus {
    animation: none;
}

/* Alias hint in combobox dropdown (shown when match is in RU/LT alias) */
.elcf-alias-hint {
    font-size: 0.78em;
    opacity: 0.6;
    margin-left: 4px;
}
