/* ===================================================================
   Luigi Guided Forms — Frontend CSS
   The form as it appears to site visitors.
   All styles can be overridden by the active theme CSS.
=================================================================== */

/* ---- WRAPPER --------------------------------------------------- */
.fone-wrap {
    --fone-accent: #4f4f4f;
    --fone-radius: 10px;
    background: #fff;
    max-width: var(--fone-form-max-width, 920px);
    margin: 0 auto;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #0f172a;
    line-height: 1.5;
    box-sizing: border-box;
}
.fone-wrap *,
.fone-wrap *::before,
.fone-wrap *::after { box-sizing: border-box; }

/* ---- HEADER ---------------------------------------------------- */
.fone-wrap .fone-form-header { margin-bottom: 20px; }
.fone-wrap .fone-form-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #0f172a;
    line-height: 1.2;
}
.fone-wrap .fone-form-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* ---- STEP CARD + GRID ----------------------------------------- */
/* Frontend containment: the core form grid/field rules are scoped to .fone-wrap
   so they cannot alter the site/theme header on pages that contain a form. */
.fone-wrap .fone-step-card {
    margin-bottom: 18px;
}
.fone-wrap .fone-step-card.is-hidden {
    display: none;
}
.fone-wrap .fone-step-grid {
    display: grid;
    gap: 16px 14px;
    /* Header-safety + row alignment: fields align from the top.
       Help text, errors or counters under one field must not push neighbouring fields down. */
    align-items: start;
}
.fone-wrap .fone-step-grid.is-one-col { grid-template-columns: 1fr; }
.fone-wrap .fone-step-grid.is-two-col { grid-template-columns: repeat(6, 1fr); }

/* ---- FIELD ----------------------------------------------------- */
.fone-wrap .fone-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    height: auto;
    align-self: start;
    justify-content: flex-start;
}
/* The label stays on top and the input below. */
.fone-wrap .fone-field > label {
    margin-top: 0;
}
.fone-wrap .fone-width-full       { grid-column: 1 / -1; }
.fone-wrap .fone-width-two-thirds { grid-column: span 4; }
.fone-wrap .fone-width-half       { grid-column: span 3; }
.fone-wrap .fone-width-third      { grid-column: span 2; }
/* On mobile/single-column layouts, everything spans the full width. */
.fone-wrap .fone-step-grid.is-one-col .fone-width-half,
.fone-wrap .fone-step-grid.is-one-col .fone-width-third,
.fone-wrap .fone-step-grid.is-one-col .fone-width-two-thirds { grid-column: 1 / -1; }

.fone-wrap .fone-field label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    display: block;
}
.fone-wrap .fone-required { color: #dc2626; margin-left: 3px; }

/* ---- INPUTS ---------------------------------------------------- */
.fone-wrap .fone-field input[type="text"],
.fone-wrap .fone-field input[type="email"],
.fone-wrap .fone-field input[type="tel"],
.fone-wrap .fone-field input[type="number"],
.fone-wrap .fone-field input[type="url"],
.fone-wrap .fone-field input[type="date"],
.fone-wrap .fone-field input[type="password"],
.fone-wrap .fone-field select,
.fone-wrap .fone-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: var(--fone-radius);
    font-size: 15px;
    background: #fff;
    color: #0f172a;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.fone-wrap .fone-field textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.5;
}
.fone-wrap .fone-field input:focus,
.fone-wrap .fone-field select:focus,
.fone-wrap .fone-field textarea:focus {
    outline: none;
    border-color: var(--fone-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
}
.fone-wrap .fone-field.has-error input,
.fone-wrap .fone-field.has-error select,
.fone-wrap .fone-field.has-error textarea,
.fone-wrap .fone-field.has-error-js input,
.fone-wrap .fone-field.has-error-js select,
.fone-wrap .fone-field.has-error-js textarea {
    border-color: #dc2626;
}

/* ---- CHOICE GROUPS (radio/checkbox) --------------------------- */
.fone-wrap .fone-choice-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fone-wrap .fone-choice-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.fone-wrap .fone-choice-row:hover { border-color: var(--fone-accent); background: #f8faff; }
.fone-wrap .fone-choice-row input { margin: 0; }
.fone-wrap .fone-choice-row span { font-size: 14px; color: #334155; }

/* ---- AVATAR FIELD --------------------------------------------- */
.fone-wrap .fone-field-avatar { grid-column: 1 / -1; }
.fone-wrap .fone-avatar-slot {
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    background: #f8fafc;
    transition: border-color .2s, background .2s;
}
.fone-wrap .fone-avatar-slot:hover {
    border-color: var(--fone-accent);
    background: #fff;
}
.fone-wrap .fone-avatar-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 12px;
}
.fone-wrap .fone-avatar-preview {
    width: 120px;
    height: 120px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fone-wrap .fone-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 3px solid var(--fone-accent);
    border-radius: 50%;
}
.fone-wrap .fone-avatar-placeholder {
    font-size: 40px;
    color: #94a3b8;
}
.fone-wrap .fone-avatar-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.fone-wrap .fone-avatar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    color: var(--fone-accent);
    border: 1.5px solid var(--fone-accent);
    border-radius: var(--fone-radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
    position: relative;
    overflow: hidden;
}
.fone-wrap .fone-avatar-btn:hover {
    background: var(--fone-accent);
    color: #fff;
}
.fone-wrap .fone-avatar-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}

/* ---- TEXTAREA COUNTER ----------------------------------------- */
.fone-wrap .fone-textarea-wrap { position: relative; }
.fone-wrap .fone-char-count {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}
.fone-wrap .fone-char-count.is-near-limit { color: #d97706; }
.fone-wrap .fone-char-count.is-over-limit { color: #dc2626; }

/* ---- HELP TEXT ------------------------------------------------- */
.fone-wrap .fone-help {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
    display: block;
}

/* ---- ERRORS ---------------------------------------------------- */
.fone-wrap .fone-field-error {
    font-size: 13px;
    color: #dc2626;
    margin-top: 4px;
    display: block;
    font-weight: 500;
}
.fone-wrap .fone-global-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    border-radius: var(--fone-radius);
    padding: 12px 16px;
    margin-bottom: 14px;
    font-size: 14px;
}

/* ---- TRUST TEXT ------------------------------------------------ */
.fone-wrap .fone-trust-text {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
    margin: 10px 0 0;
}

/* ---- CONTINUE BUTTON ------------------------------------------ */
.fone-wrap .fone-continue-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: transparent;
    color: var(--fone-accent);
    border: 1.5px solid var(--fone-accent);
    border-radius: var(--fone-radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    margin-top: 14px;
    transition: background .15s, color .15s;
}
.fone-wrap .fone-continue-btn:hover {
    background: var(--fone-accent);
    color: #fff;
}
.lgforms-front-scope .fone-continue-btn:disabled,
.fone-wrap .fone-continue-btn.is-done {
    opacity: .5;
    cursor: not-allowed;
}

/* ---- SUBMIT BUTTON -------------------------------------------- */
.fone-wrap .fone-submit-btn {
    display: inline-block;
    padding: 14px 28px;
    width: 100%;
    background: var(--fone-accent);
    color: #fff;
    border: none;
    border-radius: var(--fone-radius);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    margin-top: 10px;
    transition: filter .15s, transform .1s;
}
.fone-wrap .fone-submit-btn:hover  { filter: brightness(1.07); }
.fone-wrap .fone-submit-btn:active { transform: translateY(1px); }
.lgforms-front-scope .fone-submit-btn:disabled,
.fone-wrap .fone-submit-btn.is-loading {
    opacity: .7;
    cursor: wait;
}

/* ---- SUCCESS BOX ---------------------------------------------- */
.fone-wrap .fone-success-box {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: var(--fone-radius);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.fone-wrap .fone-success-box p { margin: 0; font-size: 15px; }
.fone-wrap .fone-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #10b981;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

/* ---- HONEYPOT (invisible to humans) ------------------------- */
.fone-wrap .fone-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

/* ---- DONATE ---------------------------------------------------- */
.fone-wrap .fone-donate-wrap {
    margin-top: 20px;
    text-align: center;
}
.fone-wrap .fone-donate-btn {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    color: var(--fone-accent);
    border: 1px solid var(--fone-accent);
    border-radius: var(--fone-radius);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}
.fone-wrap .fone-donate-btn:hover { background: var(--fone-accent); color: #fff; }

/* ---- HTML BLOCK ------------------------------------------------ */
.fone-wrap .fone-html-block { font-size: 14px; line-height: 1.6; }

/* ---- REVEAL ANIMATIONS ---------------------------------------- */
.lgforms-front-scope .fone-reveal-from-top {
    animation: mgfRevealFromTop .45s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes mgfRevealFromTop {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.lgforms-front-scope .fone-reveal-fade {
    animation: mgfRevealFade .4s ease both;
}
@keyframes mgfRevealFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.lgforms-front-scope .fone-reveal-slide-right {
    animation: mgfRevealSlideRight .45s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes mgfRevealSlideRight {
    from { opacity: 0; transform: translateX(-20px); }
    to   { opacity: 1; transform: translateX(0); }
}
.lgforms-front-scope .fone-reveal-scale {
    animation: mgfRevealScale .4s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes mgfRevealScale {
    from { opacity: 0; transform: scale(.96); }
    to   { opacity: 1; transform: scale(1); }
}

/* ---- CROP MODAL (Cropper.js) ---------------------------------- */
.fone-crop-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, .75);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: mgfCropFadeIn .2s ease;
}
@keyframes mgfCropFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.fone-crop-modal {
    background: #fff;
    border-radius: 14px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.fone-crop-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}
.fone-crop-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}
.fone-crop-close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: #64748b;
    transition: background .15s, color .15s;
}
.fone-crop-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.fone-crop-body {
    padding: 16px 20px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fone-crop-stage {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background: #0f172a;
    border-radius: 8px;
}
.fone-crop-stage img {
    display: block;
    max-width: 100%;
}
.fone-crop-hint {
    font-size: 12px;
    color: #64748b;
    text-align: center;
    font-style: italic;
}
/* Circular mask on the Cropper.js crop box. */
.fone-crop-stage .cropper-view-box,
.fone-crop-stage .cropper-face {
    border-radius: 50%;
}
.fone-crop-stage .cropper-view-box {
    outline: 2px solid #4f4f4f;
    outline-color: #4f4f4f;
}
.fone-crop-foot {
    display: flex;
    gap: 6px;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}
.fone-crop-foot button {
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    transition: all .15s;
}
.fone-crop-foot button:hover {
    border-color: #4f4f4f;
    color: #4f4f4f;
}
.fone-crop-zoom-in, .fone-crop-zoom-out, .fone-crop-rotate {
    min-width: 36px;
    padding: 8px 10px !important;
}
.fone-crop-confirm {
    background: #4f4f4f !important;
    color: #fff !important;
    border-color: #4f4f4f !important;
}
.fone-crop-confirm:hover {
    background: #4b5563 !important;
    color: #fff !important;
}
.fone-crop-cancel:hover {
    border-color: #dc2626 !important;
    color: #dc2626 !important;
}
@media (max-width: 640px) {
    .fone-crop-modal { max-height: 95vh; }
    .fone-crop-foot { flex-wrap: wrap; }
    .fone-crop-foot > div { display: none; }
}

/* ---- RESPONSIVE ----------------------------------------------- */
@media (max-width: 640px) {
    .fone-wrap {
        padding: 18px 16px;
        border-radius: 12px;
    }
    .fone-wrap .fone-form-title { font-size: 22px; }
    .fone-wrap .fone-step-grid.is-two-col { grid-template-columns: 1fr; }
    .fone-wrap .fone-width-half,
    .fone-wrap .fone-width-third,
    .fone-wrap .fone-width-two-thirds { grid-column: 1 / -1; }
    .fone-wrap .fone-submit-btn { padding: 13px 20px; font-size: 15px; }
}

/* =====================================================================
     PAYPAL BUTTON (paypal_button field)
===================================================================== */
.lgforms-front-scope .fone-paypal-wrap {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 22px;
    margin-top: 8px;
}
.lgforms-front-scope .fone-paypal-wrap .fone-paypal-intro {
    margin: 0 0 14px;
    font-size: 14px;
    color: #475569;
    text-align: center;
    font-weight: 500;
}
.lgforms-front-scope .fone-paypal-wrap .fone-paypal-container {
    min-height: 48px;
}
.lgforms-front-scope .fone-paypal-wrap .fone-paypal-status {
    margin: 12px 0 0;
    font-size: 13px;
    text-align: center;
    min-height: 18px;
    color: #64748b;
}

/* =====================================================================
     PHONE / WHATSAPP FIELD — prefix + number
===================================================================== */
.lgforms-front-scope .fone-phone-wrap {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.lgforms-front-scope .fone-phone-wrap .fone-phone-prefix {
    flex: 0 0 auto;
    min-width: 120px;
    max-width: 180px;
    padding: 12px 10px;
    border: 1px solid #e2e8f0;
    border-radius: var(--fone-radius, 10px);
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}
.lgforms-front-scope .fone-phone-wrap .fone-phone-number {
    flex: 1 1 auto;
    min-width: 0;
}
.lgforms-front-scope .fone-phone-wrap.is-whatsapp .fone-phone-prefix:focus,
.lgforms-front-scope .fone-phone-wrap.is-whatsapp .fone-phone-number:focus {
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}
@media (max-width: 520px) {
    .lgforms-front-scope .fone-phone-wrap { flex-direction: column; }
    .lgforms-front-scope .fone-phone-wrap .fone-phone-prefix { max-width: 100%; }
}

/* =====================================================================
     PASSWORD STRENGTH INDICATOR
===================================================================== */
.lgforms-front-scope .fone-pw-strength {
    margin-top: 6px;
}
.lgforms-front-scope .fone-pw-strength-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}
.lgforms-front-scope .fone-pw-strength-fill {
    height: 100%;
    width: 0;
    background: #dc2626;
    transition: width .25s ease, background .25s ease;
}
.lgforms-front-scope .fone-pw-strength-label {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 600;
    color: #94a3b8;
}


/* ── Rich success box ─────────────────────────────────── */
.lgforms-front-scope .fone-success-rich {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
    padding: 20px 22px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg,#ecfdf5 0%,#f0fdf4 100%) !important;
    border: 1.5px solid #a7f3d0 !important;
}
.lgforms-front-scope .fone-success-icon-wrap {
    flex-shrink: 0;
    line-height: 1;
}
.fone-wrap .fone-success-icon-big { font-size: 32px; }
.lgforms-front-scope .fone-success-body { flex: 1; }
.lgforms-front-scope .fone-success-title {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #065f46;
    line-height: 1.3;
}
.lgforms-front-scope .fone-success-sub {
    margin: 0 0 12px;
    font-size: 14px;
    color: #047857;
    line-height: 1.5;
}

/* ── Profile button ───────────────────────────────────── */
.lgforms-front-scope .fone-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--fone-accent, #4f4f4f);
    color: #fff !important;
    padding: 9px 18px;
    border-radius: var(--fone-radius, 10px);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: filter .15s;
}
.lgforms-front-scope .fone-profile-btn:hover { filter: brightness(1.08); }

/* ── Redirect countdown ───────────────────────────────── */
.lgforms-front-scope .fone-redirect-countdown {
    margin: 10px 0 0;
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

/* ── Account avatar change button ────────────────────── */
.fone-account-avatar-field { margin-bottom: 18px; }
.fone-account-avatar-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.fone-account-avatar-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}
.lgforms-front-scope .fone-change-photo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

/* ── Login mobile margin ──────────────────────────────── */
@media (max-width: 600px) {
    .fone-login-wrap { margin-top: 55px !important; }
}


/* Luigi Guided Forms — extra fields */
.lgforms-front-scope .fone-section-divider{padding:16px 0 8px;border-top:1px solid rgba(148,163,184,.35);}
.lgforms-front-scope .fone-section-divider strong{display:block;font-size:18px;font-weight:800;color:#0f172a;line-height:1.25;}
.lgforms-front-scope .fone-section-divider small{display:block;margin-top:6px;color:#64748b;font-size:13px;line-height:1.45;}
.lgforms-front-scope .fone-consent-row{align-items:flex-start;gap:10px;}
.lgforms-front-scope .fone-consent-row input{margin-top:4px;}
.lgforms-front-scope .fone-range-output{display:inline-flex;margin-top:8px;padding:4px 10px;border-radius:999px;background:#f9fafb;color:#4b5563;font-size:12px;font-weight:700;}
.lgforms-front-scope .fone-scale-group{display:flex;flex-wrap:wrap;gap:8px;}
.lgforms-front-scope .fone-scale-choice{width:auto;min-width:44px;justify-content:center;}
.lgforms-front-scope .fone-field input[type="file"]{width:100%;padding:12px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc;}
.lgforms-front-scope .fone-field input[type="color"]{width:72px;height:44px;padding:4px;border-radius:10px;border:1px solid #cbd5e1;background:#fff;}



/* ---- ACCOUNT PASSWORD PANEL ------------------------------------ */
.fone-account-password-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 16px;
    align-items: end;
}
.fone-account-password-fields .fone-field {
    width: 100%;
    min-width: 0;
}
@media (max-width: 600px) {
    .fone-account-password-fields {
        grid-template-columns: 1fr;
    }
}

/* ---- PASSWORD TOGGLE ------------------------------------------- */
.lgforms-front-scope .fone-password-wrap {
    position: relative;
    display: block;
    width: 100%;
}
.lgforms-front-scope .fone-field .fone-password-wrap input[type="password"],
.lgforms-front-scope .fone-field .fone-password-wrap input[type="text"] {
    width: 100%;
    padding-right: 48px;
}
.lgforms-front-scope .fone-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s, color .15s, transform .15s;
}
.lgforms-front-scope .fone-password-toggle:hover {
    background: rgba(37,99,235,.08);
    color: var(--fone-accent);
}
.lgforms-front-scope .fone-password-toggle:focus-visible {
    outline: 2px solid var(--fone-accent);
    outline-offset: 2px;
}
.lgforms-front-scope .fone-password-toggle:disabled {
    cursor: default;
    opacity: .65;
}
.lgforms-front-scope .fone-password-eye {
    display: block;
    transform: translateY(-1px);
}

/* Password visibility icons without loading global Font Awesome on the frontend. */
.fone-wrap .fone-password-eye,
.fone-wrap .fone-password-eye i {
    width: 18px;
    height: 18px;
    display: inline-block;
    color: currentColor;
    line-height: 1;
}
.fone-wrap .fone-password-eye i::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.fone-wrap .fone-password-eye .fa-eye-slash::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 10.6A2 2 0 0 0 13.4 13.4'/%3E%3Cpath d='M9.9 4.2A10.7 10.7 0 0 1 12 4c6.5 0 10 8 10 8a18.5 18.5 0 0 1-3.2 4.3'/%3E%3Cpath d='M6.1 6.1C3.5 7.8 2 12 2 12s3.5 8 10 8a10.8 10.8 0 0 0 4.2-.9'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 10.6A2 2 0 0 0 13.4 13.4'/%3E%3Cpath d='M9.9 4.2A10.7 10.7 0 0 1 12 4c6.5 0 10 8 10 8a18.5 18.5 0 0 1-3.2 4.3'/%3E%3Cpath d='M6.1 6.1C3.5 7.8 2 12 2 12s3.5 8 10 8a10.8 10.8 0 0 0 4.2-.9'/%3E%3C/svg%3E");
}


/* =====================================================================
    MOBILE MEDIA QUERY — Account page
   Under 600px width, the personal account page moves down by 60px
   to avoid colliding with mobile headers/menus.
===================================================================== */
@media (max-width: 600px) {
    .fone-account-wrap {
        margin-top: 60px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}


/* Luigi Guided Forms — WhatsApp post-submit */
.lgforms-front-scope .fone-whatsapp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;padding:12px 18px;border-radius:999px;background:#22c55e;color:#fff!important;text-decoration:none;font-weight:800;box-shadow:0 10px 26px rgba(34,197,94,.24);transition:transform .15s ease,filter .15s ease}.lgforms-front-scope .fone-whatsapp-btn:hover{transform:translateY(-1px);filter:brightness(.96);color:#fff!important}

/* ===================================================================
   Luigi Guided Forms — First Yes Mode / Resume Later
=================================================================== */
.lgforms-front-scope .fone-first-yes-hint {
    margin: 10px 0 0;
    font-size: 13px;
    color: #64748b;
}
.fone-wrap[data-fone-first-yes="1"] .fone-step-card:first-of-type .fone-wrap .fone-continue-btn {
    box-shadow: 0 10px 24px rgba(37, 99, 235, .14);
}


/* ── Resume Later / Conditional Logic ───────────────────── */
.lgforms-front-scope .fone-resume-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: var(--fone-radius, 10px);
  background: rgba(37, 99, 235, .06);
  color: #1e3a8a;
  font-size: 13px;
  line-height: 1.4;
}

.lgforms-front-scope .fone-resume-notice button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--fone-accent, #4f4f4f);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.lgforms-front-scope .fone-conditional-hidden {
  display: none !important;
}

/* ===============================================================
   Luigi Guided Forms 1.0.0 — Frontend/Elementor widget refresh
   Dark-gray accent, more modern buttons, clean hover,
   compatible with the Elementor widget because it targets frontend classes.
=============================================================== */
.fone-wrap {
    --fone-accent: #4f4f4f;
    --fone-radius: 14px;
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: 0 18px 50px rgba(17,24,39,.08);
    border-radius: 22px;
}

.fone-wrap .fa-solid,
.fone-wrap .fa-brands {
    line-height: 1;
}

.fone-wrap .fone-form-title {
    letter-spacing: -0.025em;
}

.fone-wrap .fone-field input[type="text"],
.fone-wrap .fone-field input[type="email"],
.fone-wrap .fone-field input[type="tel"],
.fone-wrap .fone-field input[type="url"],
.fone-wrap .fone-field input[type="password"],
.fone-wrap .fone-field input[type="number"],
.fone-wrap .fone-field input[type="date"],
.fone-wrap .fone-field input[type="time"],
.fone-wrap .fone-field input[type="color"],
.fone-wrap .fone-field select,
.fone-wrap .fone-field textarea {
    border-radius: 12px;
    border-color: #d9dee7;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.fone-wrap .fone-field input:focus,
.fone-wrap .fone-field select:focus,
.fone-wrap .fone-field textarea:focus {
    border-color: #4f4f4f !important;
    box-shadow: 0 0 0 4px rgba(55,65,81,.11) !important;
    outline: none !important;
}

.fone-wrap .fone-submit-btn,
.fone-wrap .fone-continue-btn,
.fone-wrap .fone-profile-btn,
.fone-wrap .fone-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: #4f4f4f !important;
    border-color: #4f4f4f !important;
    color: #fff !important;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(17,24,39,.14);
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease, filter .18s ease;
}

.fone-wrap .fone-submit-btn:hover,
.fone-wrap .fone-continue-btn:hover,
.fone-wrap .fone-profile-btn:hover,
.fone-wrap .fone-whatsapp-btn:hover {
    background: #1f2937 !important;
    border-color: #1f2937 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(17,24,39,.18);
    filter: none !important;
}

.fone-wrap .fone-whatsapp-btn {
    background: #2f3a48 !important;
}

.fone-wrap .fone-success-icon-big {
    background: #f3f4f6 !important;
    color: #4f4f4f !important;
    border: 1px solid #e5e7eb;
}

.fone-wrap .fone-progress-bar > span,
.fone-wrap .fone-progress-fill {
    background: #4f4f4f !important;
}

.lgforms-front-scope .fone-nps button.is-selected,
.lgforms-front-scope .fone-rating .is-selected,
.lgforms-front-scope .fone-rating button.is-selected {
    background: #4f4f4f !important;
    border-color: #4f4f4f !important;
    color: #fff !important;
}

.elementor-widget-luigi_guided_form .fone-wrap,
.elementor-widget-lgforms_form .fone-wrap,
.elementor-widget-luigi-guided-form .fone-wrap {
    width: 100%;
}


/* ===============================================================
   Luigi Guided Forms 1.0.0 — Elementor core widget cleanup
   - In Elementor preview, show all steps of the managed form.
   - Step labels are visible only in preview/editor.
   - Strengthens the live preview of Elementor widget styles.
=============================================================== */
.fone-wrap.fone-preview-mode .fone-step-card.is-hidden {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.fone-wrap.fone-preview-mode .fone-step-card[aria-hidden="true"] {
    display: block !important;
}

.lgforms-front-scope .fone-step-preview-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    margin: 0 0 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4f4f4f;
    border: 1px solid #e5e7eb;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .01em;
}

.lgforms-front-scope .fone-step-preview-label::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #4f4f4f;
}

.fone-wrap:not(.fone-preview-mode) .fone-step-preview-label {
    display: none !important;
}

.elementor-widget-luigi_guided_form .fone-wrap {
    transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, border-radius .18s ease, padding .18s ease, max-width .18s ease;
}

.elementor-widget-luigi_guided_form .fone-field input,
.elementor-widget-luigi_guided_form .fone-field select,
.elementor-widget-luigi_guided_form .fone-field textarea,
.elementor-widget-luigi_guided_form .fone-choice-row,
.elementor-widget-luigi_guided_form .fone-submit-btn,
.elementor-widget-luigi_guided_form .fone-continue-btn,
.elementor-widget-luigi_guided_form .fone-profile-btn {
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, border-radius .18s ease, padding .18s ease, box-shadow .18s ease, transform .18s ease;
}


/* =====================================================================
   Account header/avatar responsive refinement
===================================================================== */
.fone-account-wrap {
    margin-top: var(--fone-account-header-offset, 80px) !important;
}
.fone-account-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}
.fone-account-avatar-control {
    position: relative;
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    cursor: pointer;
    overflow: hidden;
    background: #f1f5f9;
    border: 3px solid #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
}
.fone-account-avatar-control .fone-account-avatar-img {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    border-radius: 999px;
    object-fit: cover;
}
.fone-account-avatar-change {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 6px 8px;
    background: rgba(15, 23, 42, .76);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}
.fone-account-avatar-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.fone-account-heading {
    flex: 1;
    min-width: 0;
}
.fone-account-heading h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
}
.fone-account-heading p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}
.fone-account-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--fone-radius, 10px);
    color: #334155;
    background: #fff;
    text-decoration: none !important;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
}
.fone-account-sessions {
    margin-top: 24px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: var(--fone-radius, 12px);
    background: #f8fafc;
}
.fone-account-sessions h3 {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 18px;
}
.fone-account-sessions-intro {
    margin: 0 0 14px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}
.fone-account-session-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    margin-top: 10px;
}
.fone-account-session-card summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #0f172a;
}
.fone-account-session-card summary span {
    color: #64748b;
    font-size: 12px;
    white-space: nowrap;
}
.fone-account-session-card dl {
    margin: 12px 0 0;
}
.fone-account-session-row {
    display: grid;
    grid-template-columns: minmax(120px, 220px) 1fr;
    gap: 12px;
    padding: 8px 0;
    border-top: 1px solid #f1f5f9;
}
.fone-account-session-row dt {
    color: #64748b;
    font-weight: 800;
    font-size: 12px;
}
.fone-account-session-row dd {
    margin: 0;
    color: #0f172a;
    overflow-wrap: anywhere;
}
@media (max-width: 1024px) {
    .fone-account-wrap {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
@media (max-width: 640px) {
    .fone-account-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .fone-account-avatar-control {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
    }
    .fone-account-logout {
        width: 100%;
    }
    .fone-account-session-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* === Luigi Guided Forms — Scoped row alignment fix ===
   Keep field columns aligned inside Luigi Guided Forms only.
   The selector is intentionally scoped to .fone-wrap so this frontend CSS
   can never alter the theme/site header or unrelated page grids.
   Help text, errors or counters under one field must not push neighbour fields down. */
.fone-wrap .fone-step-grid {
    align-items: start;
}
.fone-wrap .fone-step-grid .fone-field {
    height: auto;
    justify-content: flex-start;
    align-self: start;
}
.fone-wrap .fone-step-grid .fone-field > label {
    margin-top: 0;
}

/* === Luigi Guided Forms — User HTML block + field height === */
.lgforms-front-scope .fone-html-user-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 8px 0 10px;
}
.lgforms-front-scope .fone-html-user-insert {
    appearance: none;
    border: 1px solid #dbe3ef;
    background: #f8fafc;
    color: #334155;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}
.lgforms-front-scope .fone-html-user-insert:hover,
.lgforms-front-scope .fone-html-user-insert:focus {
    border-color: var(--fone-accent, #4f4f4f);
    color: var(--fone-accent, #4f4f4f);
    background: #ffffff;
}
.lgforms-front-scope .fone-html-user-editor {
    width: 100%;
    resize: vertical;
    min-height: 180px;
    padding: 14px 16px;
    background: #1e293b;
    color: #f1f5f9;
    border: 1px solid #334155;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.6;
    tab-size: 2;
    -moz-tab-size: 2;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.lgforms-front-scope .fone-html-user-editor:focus {
    outline: none;
    border-color: var(--fone-accent, #4f4f4f);
    box-shadow: 0 0 0 3px rgba(79, 79, 79, 0.18);
}
.lgforms-front-scope .fone-html-user-editor::placeholder {
    color: #94a3b8;
    font-style: italic;
}
.lgforms-front-scope .fone-field-hidden,
.lgforms-front-scope .fone-field-admin-only {
    display: none !important;
}

/* === Luigi Guided Forms — label visibility/position === */
.lgforms-front-scope .fone-label-hidden > label,
.lgforms-front-scope .fone-label-hidden > .fone-wrap .fone-avatar-label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.lgforms-front-scope .fone-label-left {
    display: grid;
    grid-template-columns: minmax(120px, 28%) 1fr;
    gap: 10px 14px;
    align-items: start;
}
.lgforms-front-scope .fone-label-left > label,
.lgforms-front-scope .fone-label-left > .fone-wrap .fone-avatar-label {
    margin-top: 10px;
}
.lgforms-front-scope .fone-label-left > .fone-help,
.lgforms-front-scope .fone-label-left > .fone-field-error,
.lgforms-front-scope .fone-label-left > .fone-wrap .fone-char-count {
    grid-column: 2;
}
@media (max-width: 640px) {
    .lgforms-front-scope .fone-label-left {
        display: block;
    }
}


/* Luigi Guided Forms custom file picker: avoids browser-native untranslated labels. */
.lgforms-front-scope .lgforms-file-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.lgforms-front-scope .lgforms-file-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
}
.lgforms-front-scope .lgforms-file-picker-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #1A1F4D;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.lgforms-front-scope .lgforms-file-picker-name {
    color: #475569;
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Luigi Guided Forms — Account page admin edit link */
.fone-account-admin-edit {
    margin: -8px 0 18px;
    font-size: 13px;
}

.fone-account-admin-edit a {
    color: var(--fone-accent, #4f4f4f);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Luigi Guided Forms — login shortcode styles (moved from inline PHP for WordPress.org readiness). */
.fone-wrap.fone-login-wrap {
    background: var(--fone-bg, #fff);
    color: var(--fone-text, #0a0a0f);
    padding: 28px;
    border-radius: calc(var(--fone-radius, 10px) + 4px);
}

.fone-wrap.fone-login-wrap.fone-login-shadow {
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

.fone-wrap.fone-login-wrap h2.fone-login-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: var(--fone-text, #0a0a0f);
}

.fone-wrap.fone-login-wrap p.fone-login-subtitle {
    margin: 0 0 22px;
    font-size: 14px;
    color: #64748b;
}

.fone-wrap.fone-login-wrap .fone-wrap .fone-submit-btn {
    background: var(--fone-accent, #4f4f4f);
    color: var(--fone-btn-text, #fff);
}

@media (max-width: 600px) {
    .fone-wrap.fone-login-wrap {
        margin-top: 55px !important;
    }
}



/* Luigi Guided Forms — safer upload/photo hover states.
   Keep hover colors inside the form/account UI and avoid theme/header bleed. */
.fone-wrap .fone-avatar-btn:hover,
.fone-wrap .fone-change-photo-btn:hover,
.fone-wrap .fone-account-avatar-control:hover .fone-account-avatar-change,
.fone-wrap .lgforms-file-picker:hover .lgforms-file-picker-button {
    background: #6b7280 !important;
    border-color: #6b7280 !important;
    color: #ffffff !important;
    filter: none !important;
}

.fone-wrap .fone-avatar-btn:hover span,
.fone-wrap .fone-change-photo-btn:hover span,
.fone-wrap .fone-account-avatar-control:hover .fone-account-avatar-change span,
.fone-wrap .lgforms-file-picker:hover .lgforms-file-picker-button span {
    color: #ffffff !important;
}


/* === Luigi Guided Forms — scoped frontend icon sizing ===
   Frontend icon styles are loaded only when the active theme/builder has not
   already enqueued an icon set. Keep sizing scoped to plugin controls and do
   not override Font Awesome glyph content. */
.fone-wrap .fa-solid,
.fone-wrap .fa-brands,
.fone-crop-overlay .fa-solid {
    display: inline-block;
    width: 1em;
    min-width: 1em;
    text-align: center;
    font-style: normal;
    line-height: 1;
}

/* Luigi Guided Forms — frontend avatar placeholder camera fallback.
   The avatar placeholder keeps a scoped camera drawing so it remains readable
   even when a theme/builder provides a partial icon stack. Keep this inside
   .fone-wrap to avoid theme bleed. */
.fone-wrap .fone-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.fone-wrap .fone-avatar-placeholder .fa-camera {
    position: relative;
    display: inline-block;
    width: 44px;
    min-width: 44px;
    height: 32px;
    border: 4px solid #94a3b8;
    border-radius: 9px;
    box-sizing: border-box;
    color: transparent;
    line-height: 1;
}

.fone-wrap .fone-avatar-placeholder .fa-camera::before {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #94a3b8;
    border-radius: 999px;
    box-sizing: border-box;
    background: transparent;
}

.fone-wrap .fone-avatar-placeholder .fa-camera::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 7px;
    left: 9px;
    top: -10px;
    border-radius: 6px 6px 0 0;
    background: #94a3b8;
}

/* Luigi Guided Forms — scoped frontend icon fallbacks.
   Frontend Font Awesome is disabled by default to avoid theme/header conflicts.
   These masks keep the plugin controls readable without loading a global icon set. */
.fone-wrap .fone-submit-btn .fa-paper-plane,
.fone-wrap .fone-login-card .fa-right-to-bracket,
.fone-wrap .fone-success-icon-big .fa-circle-check,
.fone-wrap .fone-success-icon-big .fa-check,
.fone-wrap .fone-success-icon-big .fa-right-to-bracket,
.fone-crop-overlay .fa-xmark {
    width: 1em;
    height: 1em;
    min-width: 1em;
    display: inline-block;
    color: currentColor;
    line-height: 1;
    vertical-align: -0.125em;
}

.fone-wrap .fone-submit-btn .fa-paper-plane::before,
.fone-wrap .fone-login-card .fa-right-to-bracket::before,
.fone-wrap .fone-success-icon-big .fa-circle-check::before,
.fone-wrap .fone-success-icon-big .fa-check::before,
.fone-wrap .fone-success-icon-big .fa-right-to-bracket::before,
.fone-crop-overlay .fa-xmark::before {
    content: "";
    display: block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
}

.fone-wrap .fone-success-icon-big .fa-circle-check::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.1 14.2-4-4 1.4-1.4 2.6 2.6 5.2-5.2 1.4 1.4-6.6 6.6Z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.1 14.2-4-4 1.4-1.4 2.6 2.6 5.2-5.2 1.4 1.4-6.6 6.6Z'/%3E%3C/svg%3E");
}

.fone-wrap .fone-success-icon-big .fa-check::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.fone-wrap .fone-success-icon-big .fa-right-to-bracket::before,
.fone-wrap .fone-login-card .fa-right-to-bracket::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpath d='M10 17l5-5-5-5'/%3E%3Cpath d='M15 12H3'/%3E%3C/svg%3E");
}

.fone-wrap .fone-submit-btn .fa-paper-plane::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M2.5 20.5 22 12 2.5 3.5 2 10l12 2-12 2 .5 6.5Z'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M2.5 20.5 22 12 2.5 3.5 2 10l12 2-12 2 .5 6.5Z'/%3E%3C/svg%3E");
}

.fone-crop-overlay .fa-xmark::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}
