:root {
    --fln-primary: #f26522;
    --fln-primary-dark: #e05a1f;
    --fln-border: #dddddd;
    --fln-border-light: #eeeeee;
    --fln-bg: #fafafa;
    --fln-text: #333333;
    --fln-muted: #777777;
    --fln-error-bg: #ffe9e5;
    --fln-error-text: #b3422b;
}

/* Wrapper général */
.fln-estimate {
    background-color: var(--fln-bg);
    padding: 30px;
    margin: 30px 0;
    border-radius: 4px;
    box-sizing: border-box;
}

.fln-estimate__title {
    font-size: 20px;
    margin: 0 0 20px;
    color: var(--fln-text);
    font-weight: 600;
}

/* Alertes */
.fln-alert {
    padding: 10px 15px;
    border-radius: 3px;
    font-size: 13px;
    margin-bottom: 20px;
}

.fln-alert--error {
    background-color: var(--fln-error-bg);
    color: var(--fln-error-text);
}

/* Formulaire */
.fln-form {
    margin: 0;
}

.fln-form__columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.fln-form__column {
    flex: 1 1 280px;
    min-width: 0;
}

/* Champ */
.fln-field {
    margin-bottom: 15px;
}

.fln-field__label {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--fln-text);
}

.fln-field__control {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid var(--fln-border);
    border-radius: 3px;
    font-size: 14px;
    color: var(--fln-text);
    background-color: #ffffff;
}

.fln-field__control:focus {
    outline: none;
    border-color: var(--fln-primary);
    box-shadow: 0 0 0 1px rgba(242, 101, 34, 0.15);
}

.fln-field__control--textarea {
    resize: vertical;
    min-height: 180px;
}

.fln-field__help {
    font-size: 12px;
    color: var(--fln-muted);
    margin-top: 4px;
}

/* Checkbox inline */
.fln-field--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.fln-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--fln-text);
}

/* Actions */
.fln-form__actions {
    margin-top: 20px;
    text-align: right;
}

/* Boutons */
.fln-button {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 3px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background-color 0.15s ease-in-out;
}

.fln-button--primary {
    background-color: var(--fln-primary);
    color: #ffffff;
}

.fln-button--primary:hover,
.fln-button--primary:focus {
    background-color: var(--fln-primary-dark);
    color: #ffffff;
}

/* Résultats d’estimation */
.fln-estimate-result {
    margin-top: 30px;
}

.fln-estimate-result__title {
    font-size: 16px;
    margin: 0 0 10px;
    color: var(--fln-text);
    font-weight: 600;
}

/* Table */
.fln-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.fln-table th,
.fln-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--fln-border-light);
    text-align: left;
}

.fln-table th {
    background-color: #f9f9f9;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .fln-form__actions {
        text-align: left;
    }

    .fln-estimate {
        padding: 20px;
    }
}
/* Layout global */
.fln-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: flex-start;
}

@media (max-width: 960px) {
    .fln-layout {
        grid-template-columns: 1fr;
    }
}

/* Cartes (récap + résultats) */
.fln-card {
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    padding: 1.5rem;
    border: 1px solid #f1f1f1;
}

.fln-card__title {
    font-size: 1.1rem;
    margin: 0 0 1rem;
    font-weight: 600;
    color: #333333;
}

/* Récap */
.fln-summary {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fln-summary li {
    display: flex;
    justify-content: space-between;
    padding: 0.35rem 0;
    font-size: 0.9rem;
    border-bottom: 1px dashed #f0f0f0;
}

.fln-summary li span {
    color: #777777;
}

.fln-summary li strong {
    color: #333333;
}

.fln-summary__empty {
    font-size: 0.9rem;
    color: #777777;
    margin: 0;
}

/* Tableau résultats */
.fln-table-wrapper {
    margin-top: 1rem;
}

.fln-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.fln-table th,
.fln-table td {
    padding: 0.55rem 0.75rem;
    text-align: left;
}

.fln-table thead th {
    border-bottom: 2px solid #f36f21;
    font-weight: 600;
    color: #333333;
}

.fln-table--striped tbody tr:nth-child(odd) {
    background-color: #fafafa;
}

/* Pagination */
.fln-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.fln-pagination__btn {
    border: 1px solid #f36f21;
    background: #ffffff;
    color: #f36f21;
    padding: 0.25rem 0.6rem;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.15s ease, color 0.15s ease;
}

.fln-pagination__btn:hover:not(:disabled) {
    background: #f36f21;
    color: #ffffff;
}

.fln-pagination__btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.fln-pagination__info {
    font-size: 0.85rem;
    color: #666666;
}

/* Toast de succès */
.fln-toast {
    position: fixed;
    top: 96px;
    right: 24px;
    z-index: 9999;
    background: #1d9d5c;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.fln-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

.fln-toast--hide {
    opacity: 0;
    transform: translateY(-8px);
}

.fln-toast__icon {
    font-weight: 700;
    font-size: 1rem;
}

.fln-toast__text {
    line-height: 1.4;
}

/* Bouton primaire aligné à la charte */
.fln-button--primary {
    background-color: #f36f21;
    border-color: #f36f21;
    color: #ffffff;
}

.fln-button--primary:hover {
    background-color: #d85f1c;
    border-color: #d85f1c;
}
/* forumulaire de constitution GAEC */
.ferrari-ln-form__actions {
    margin-top: 2rem;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.ferrari-ln-btn {
    display: inline-block;
    border-radius: 3px;
    padding: 0.55rem 1.6rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ferrari-ln-btn--primary {
    background: #f25822;   /* orange Ferrari */
    border-color: #f25822;
    color: #fff;
}

.ferrari-ln-btn--primary:hover {
    opacity: 0.9;
}

.ferrari-ln-btn--ghost {
    background: #fff;
    border-color: #f25822;
    color: #f25822;
}

.ferrari-ln-btn--ghost:hover {
    background: #fff4ed;
}
/* Conteneur principal */
.ferrari-ln-page {
    max-width: 1100px;
    margin: 0 auto 4rem;
    padding: 2rem 1.5rem 4rem;
    background: #fff;
}

/* Titre page */
.ferrari-ln-page__title {
    font-size: 1.8rem;
    margin: 0 0 1.5rem;
    color: #333;
}

/* Barre d’étapes */
.ferrari-ln-steps {
    margin-bottom: 2rem;
}

.ferrari-ln-steps__list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.ferrari-ln-steps__item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
    color: #999;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: 1px solid transparent;
    border-bottom: none;
}

.ferrari-ln-steps__item + .ferrari-ln-steps__item {
    margin-left: 0.3rem;
}

.ferrari-ln-steps__item--active {
    background: #f25822;         /* orange Ferrari */
    color: #fff;
    border-color: #f25822;
    font-weight: 600;
}

.ferrari-ln-steps__item--disabled {
    opacity: 0.6;
    cursor: default;
}

.ferrari-ln-steps__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
}

/* Layout 2 colonnes */
.ferrari-ln-builder {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
    gap: 2rem;
}

/* Mobile */
@media (max-width: 900px) {
    .ferrari-ln-builder {
        grid-template-columns: 1fr;
    }
}

/* Sections */
.ferrari-ln-section {

    padding: 1.5rem;


    background: #fafafa;
}

.ferrari-ln-section__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #f25822;
}

.ferrari-ln-section__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

@media (max-width: 700px) {
    .ferrari-ln-section__grid {
        grid-template-columns: 1fr;
    }
}

/* Champs */
.ferrari-ln-field {
    display: flex;
    flex-direction: column;
}

.ferrari-ln-field label {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    color: #555;
}

.ferrari-ln-required {
    color: #e00000;
    margin-left: 0.2rem;
}

.ferrari-ln-field input[type="text"],
.ferrari-ln-field input[type="number"],
.ferrari-ln-field input[type="date"],
.ferrari-ln-field input[type="email"],
.ferrari-ln-field select,
.ferrari-ln-field textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0.45rem 0.55rem;
    font-size: 0.9rem;
    background: #fff;
}

.ferrari-ln-field textarea {
    min-height: 80px;
    resize: vertical;
}

/* Aide sous le champ */
.ferrari-ln-help {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}

/* Boutons */
.ferrari-ln-form__actions {
    margin-top: 1.5rem;
    text-align: right;
}

.ferrari-ln-btn {
    display: inline-block;
    border-radius: 3px;
    border: none;
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.ferrari-ln-btn--primary {
    background: #f25822;
    color: #fff;
}

/* Preview */
.ferrari-ln-preview__title {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.ferrari-ln-preview__hint {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 0.75rem;
}

.ferrari-ln-preview__content {
    border: 1px solid #f2f2f2;
    padding: 1rem;
    background: #fff;
    min-height: 150px;
}


.ferrari-ln-alert {
    padding: 0.8rem 1rem;
    border-radius: 3px;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.ferrari-ln-alert--success {
    background: #e6f7e9;
    border: 1px solid #9ed6a5;
    color: #226b2f;
}

.ferrari-ln-alert--error {
    background: #fdeaea;
    border: 1px solid #f3a3a3;
    color: #8a1f1f;
}
/* ===========================
   Bloc "Logo & entête"
   =========================== */



/* Titre + référence à droite */

.ferrari-ln-section-logo-header .ferrari-ln-section__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}



.ferrari-ln-logo-header__reference label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.ferrari-ln-logo-header__reference input[type="text"] {
    min-width: 260px;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    font-size: 13px;
}

/* Corps : lignes toggles + upload */
.ferrari-ln-logo-header__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ferrari-ln-logo-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Upload logo */
.ferrari-ln-logo-header__upload input[type="file"] {
    font-size: 13px;
}

.ferrari-ln-help {
    margin: 4px 0 0;
    font-size: 12px;
    color: #6b7280;
}

/* ===========================
   Toggle switch
   =========================== */

.ferrari-ln-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.ferrari-ln-toggle__label {
    font-size: 14px;
    color: #111827;
}

/* Container du switch */
.ferrari-ln-toggle__switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 46px;
    height: 24px;
}

/* input caché */
.ferrari-ln-toggle__switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

/* slider visuel */
.ferrari-ln-toggle__slider {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #d1d5db;
    border-radius: 999px;
    transition: background-color 0.2s ease;
}

/* rond du slider */
.ferrari-ln-toggle__slider::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    transition: transform 0.2s ease;
}

/* état ON */
.ferrari-ln-toggle__switch input:checked + .ferrari-ln-toggle__slider {
    background-color: #f25822; /* vert "ON" */
}

.ferrari-ln-toggle__switch input:checked + .ferrari-ln-toggle__slider::before {
    transform: translateX(22px);
}

/* focus clavier */
.ferrari-ln-toggle__switch input:focus-visible + .ferrari-ln-toggle__slider {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.4);
}

/* Responsive : pile quand l'écran est étroit */
@media (max-width: 768px) {
    .ferrari-ln-logo-header__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .ferrari-ln-logo-header__reference {
        align-items: flex-start;
        width: 100%;
    }

    .ferrari-ln-logo-header__reference input[type="text"] {
        width: 100%;
        min-width: 0;
    }

    .ferrari-ln-logo-header__row {
        flex-direction: column;
        align-items: flex-start;
    }
}
div#fln_client_block input:not([type="checkbox"]) {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 0.45rem 0.55rem;
    font-size: 0.9rem;
    background: #fff;
}
#fln_toast_container {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none; /* évite de bloquer les clics dessous */
}

.fln-toast {
    min-width: 260px;
    max-width: 360px;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    background: #333;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: auto;
}

.fln-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

.fln-toast--success { background: #2e7d32; }
.fln-toast--error   { background: #c62828; }
.fln-toast--info    { background: #1565c0; }
.fln-input-status {
    margin-left: 0.35rem;
    font-size: 20px;
    font-weight: 600;
}

.fln-input-status.is-valid {
    color: #2e7d32; 
}

.fln-input-status.is-invalid {
    color: #c62828; 
}
.fln-input-status.is-valid {
    color: #2e7d32;
    position: absolute;
    right: 2%;
    top: 50%;
}
.ferrari-ln-field {
    position: relative;
}

.ferrari-ln-badge {
    position: absolute;
    right: 0.75rem;
    top: 2.6rem;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out;
    transform: scale(0.9);
}

.ferrari-ln-badge--success {
    color: #2e7d32;
    opacity: 1;
    transform: scale(1);
}

.ferrari-ln-badge--error {
    color: #c62828;
    opacity: 1;
    transform: scale(1);
}
.fln-repeater-item[data-repeater-index="0"] .fln-repeater-delete {
    display: none;
}
.ferrari-ln-preview__header-images {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Logo */
.ferrari-ln-preview__logo img[data-preview-logo] {
    max-width: 120px;    
    max-height: 80px;  
    width: auto;
    height: auto;
    object-fit: contain; 
    display: block;
}

/* En-tête */
.ferrari-ln-preview__header-image img[data-preview-header] {
    max-width: 100%;     
    max-height: 120px;    
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.fln-modal {
    display: none; /* caché par défaut */
}

.fln-modal.is-open {
    display: flex; /* ou block, peu importe */
}
/* Conteneur global des toasts */
#fln_toast_container {
    position: fixed;
    z-index: 9999;
    top: 1.25rem;
    right: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none; /* les clics passent à travers en dehors des toasts */
}

.fln-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none; /* caché par défaut */
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.fln-modal.is-open {
    display: flex;
}

.fln-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.fln-modal__content {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem 2.5rem;
    max-width: 720px;
    width: 100%;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
    box-sizing: border-box;
}

.fln-modal__title {
    margin: 0 0 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #111827;
}

.fln-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
}

.fln-modal__close:hover {
    color: #111827;
}

.fln-auth-modal__columns {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.75rem;
}

@media (max-width: 768px) {
    .fln-modal__content {
        padding: 1.5rem 1.25rem;
        margin: 0 1rem;
    }

    .fln-auth-modal__columns {
        grid-template-columns: 1fr;
    }
}
.has-error {
    border-color: #e74c3c;
}

.has-success {
    border-color: #27ae60;
}

.fln-field-status--ok {
    margin-left: 4px;
    color: #27ae60;
    font-weight: bold;
}
.fln-my-notices__head{display:flex;justify-content:space-between;align-items:center;gap:16px}
.fln-my-notices__tools{display:flex;gap:12px;align-items:center}
#flnnoticestable  .fln-badge{display:inline-block;padding:10px 14px;font-size:13px}
#flnnoticestable  .fln-badge--ok{background:#1f8a3b;color:#fff}
#flnnoticestable  .fln-badge--wait{background:#e6e6e6;color:#333}
#flnnoticestable  .fln-badge--draft{background:#ea5b21;color:#fff}
#flnnoticestable  .fln-badge--trash{background:#ea5b21;color:#333}
.fln-actions .fln-action{margin-right:10px}
.fln-action--disabled{opacity:.35;cursor:not-allowed}

.fln-jalpro-head{display:flex;justify-content:space-between;align-items:center;margin:18px 0}
.fln-jalpro-filters{display:flex;gap:14px;align-items:center}
.fln-jalpro-filters input,.fln-jalpro-filters select{height:40px;padding:0 12px;border:1px solid #e5e5e5;border-radius:6px;background:#fff}
.fln-btn-export{height:40px;padding:0 16px;border:1px solid #d7d7d7;border-radius:6px;background:#fff;font-weight:600}

.fln-jalpro-table{width:100%;border-collapse:separate;border-spacing:0}
.fln-jalpro-table th,.fln-jalpro-table td{padding:18px 14px;border-bottom:1px solid #eee;vertical-align:middle}
.fln-jalpro-table thead th{font-size:12px;color:#7b7b7b;text-transform:uppercase}

.fln-pill{display:inline-block;padding:8px 18px;border-radius:999px;font-size:13px}
.fln-pill--green{background:#1f8a3b;color:#fff}
.fln-pill--grey{background:#e6e6e6;color:#333}

.fln-actions{position:relative;text-align:right}
.fln-more-btn{width:34px;height:34px;border-radius:999px;border:1px solid #ddd;background:#fff;cursor:pointer}
.fln-more-menu{display:none;position:absolute;right:0;top:42px;min-width:160px;background:#fff;border:1px solid #e5e5e5;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.08);padding:8px;z-index:20}
.fln-more-menu a,.fln-more-menu button{display:block;width:100%;text-align:left;padding:10px 10px;border:0;background:transparent;cursor:pointer}
.fln-more-menu a:hover,.fln-more-menu button:hover{background:#f6f6f6;border-radius:8px}

.fln-refcell .fln-refline{font-weight:600;margin-bottom:6px}
.fln-refcell .fln-dossierline{color:#8a8a8a;font-size:13px}
.fln-modal{position:fixed;inset:0;display:none;z-index:99999}
.fln-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.55)}
.fln-modal__dialog{position:relative;max-width:520px;margin:10vh auto;background:#fff;border-radius:14px;overflow:hidden}
.fln-modal__head,.fln-modal__footer{padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.fln-modal__body{padding:0 16px 16px}
.fln-modal__close{background:transparent;border:0;font-size:22px;cursor:pointer}


/* =========================================================
   FLN Register Page - UI Pro
========================================================= */

.fln-register-page{
  --fln-primary:#f26522;
  --fln-text:#111827;
  --fln-muted:#6b7280;
  --fln-border:#e5e7eb;
  --fln-soft:#f9fafb;
  --fln-shadow:0 12px 28px rgba(0,0,0,.08);
  --fln-radius:16px;
  --fln-ring:0 0 0 3px rgba(242,101,34,.18);

  max-width: 920px;
  margin: 24px auto;
  padding: 0 16px;
  color: var(--fln-text);
}

.fln-register-card{
  background:#fff;
  border:1px solid var(--fln-border);
  border-radius: var(--fln-radius);
  box-shadow: var(--fln-shadow);
  overflow:hidden;
}

/* Header */
.fln-register-header{
  padding: 18px 18px 10px;
  border-bottom:1px solid var(--fln-border);
  background: linear-gradient(180deg, #fff, var(--fln-soft));
}

.fln-register-header h2{
  margin:0;
  font-size: 20px;
  font-weight: 800;
}

.fln-register-header p{
  margin:6px 0 0;
  color: var(--fln-muted);
  font-size: 13px;
}

/* Body */
.fln-register-body{
  padding: 18px;
}

.fln-field-group{
  border:1px solid var(--fln-border);
  border-radius: 14px;
  padding: 14px;
  background:#fff;
  margin: 12px 0;
}

.fln-group-title{
  margin:0 0 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--fln-primary);
  letter-spacing:.2px;
}

/* Grid */
.fln-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px){
  .fln-grid{ grid-template-columns: 1fr; }
}

/* Field */
.fln-field{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.fln-field label{
  font-size: 12px;
  font-weight: 700;
}
.fln-field .fln-help{
  font-size: 12px;
  color: var(--fln-muted);
}

/* Inputs */
.fln-register-page input[type="text"],
.fln-register-page input[type="email"],
.fln-register-page input[type="password"],
.fln-register-page input[type="tel"],
.fln-register-page select{
  width:100%;
  border:1px solid var(--fln-border);
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 14px;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
  background:#fff;
}
.fln-register-page input:focus,
.fln-register-page select:focus{
  border-color: var(--fln-primary);
  box-shadow: var(--fln-ring);
}

/* Radios */
.fln-radio-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.fln-radio-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 9px 12px;
  border:1px solid var(--fln-border);
  border-radius: 999px;
  background:#fff;
  cursor:pointer;
  user-select:none;
}
.fln-radio-pill input{ margin:0; }

/* Actions */
.fln-register-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 10px;
  margin-top: 14px;
}


.fln-btn--primary{
  background: var(--fln-primary);
  border-color: var(--fln-primary);
  color:#fff;
  /* box-shadow: 0 10px 18px rgba(242,101,34,.22); */
}
.fln-btn--primary:hover{ box-shadow: 0 14px 24px rgba(242,101,34,.26); }

.fln-btn--link{
  border:0;
  background:transparent;
  color: var(--fln-muted);
  font-weight: 700;
  padding: 8px 6px;
}
.fln-btn--link:hover{ color: var(--fln-text); text-decoration: underline; }

/* Loader */
.loader-register img{
  width: 46px;
  height: 46px;
}

/* Messages */
.fln-alert{
  border:1px solid var(--fln-border);
  border-left: 4px solid var(--fln-primary);
  border-radius: 12px;
  padding: 12px;
  background: var(--fln-soft);
  font-size: 13px;
  margin: 10px 0;
}
/* radios pro/particulier */
.fln-radio-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.fln-radio-pill{
  border:1px solid #e5e7eb;
  border-radius:999px;
  padding:10px 14px;
  background:#fff;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition:all .15s ease;
}

.fln-radio-pill input[type="radio"]{
  accent-color:#f26522;
}

.fln-radio-pill:has(input:checked){
  border-color:#f26522;
}


#fln_client_block.fln-client-tabs{
  background: var(--fln-card);
  border: 1px solid var(--fln-border);
  border-radius: var(--fln-radius);
  box-shadow: var(--fln-shadow-sm);
  padding: 16px;
  margin: 14px 0;
}

/* ---------------------------
   Tabs nav
---------------------------- */
#fln_client_block .fln-tabs-nav{
  display: flex;
  gap: 10px;
  padding: 6px;
  background: #f7f7f8;
  border: 1px solid var(--fln-border);
  border-radius: calc(var(--fln-radius) - 6px);
  margin-bottom: 14px;
}

#fln_client_block .fln-tab-radio{
  flex: 1;
  display: block;
  cursor: pointer;
  user-select: none;
}

#fln_client_block .fln-tab-radio input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#fln_client_block .fln-tab-radio span{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  color: #374151;
  transition: .18s ease;
  border: 1px solid transparent;
}

/* active */
#fln_client_block .fln-tab-radio input:checked + span{
  background: #fff;
  border-color: var(--fln-border);
  color: var(--fln-text);
  box-shadow: 0 6px 14px rgba(17,24,39,.08);
  position: relative;
}

#fln_client_block .fln-tab-radio input:checked + span::after{
  content:"";
  position:absolute;
  inset: -1px;
  border-radius: 12px;
  pointer-events:none;
  box-shadow: 0 0 0 2px var(--fln-primary-100);
}

/* hover */
#fln_client_block .fln-tab-radio:hover span{
  color: var(--fln-text);
  background: rgba(255,255,255,.6);
}

/* ---------------------------
   Panels
---------------------------- */
#fln_client_block .fln-tab-panel{
  padding: 10px 2px 2px;
}

#fln_client_block .fln-tab-panel[hidden]{
  display: none !important;
}

/* ---------------------------
   Fields spacing
---------------------------- */
#fln_client_block .fln-field{
  margin: 0 0 12px;
}

#fln_client_block label{
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  color: #111827;
  margin-bottom: 6px;
}

#fln_client_block .fln-help{
  display:block;
  margin-top: 6px;
  color: var(--fln-muted);
  font-size: 12px;
}

/* ---------------------------
   Inputs / Select
---------------------------- */
#fln_client_block .fln-input,
#fln_client_block .fln-select{
  width: 100%;
  height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--fln-border);
  background: #fff;
  color: var(--fln-text);
  outline: none;
  transition: .16s ease;
}

#fln_client_block .fln-input::placeholder{
  color: #9ca3af;
}

#fln_client_block .fln-input:focus,
#fln_client_block .fln-select:focus{
  border-color: color-mix(in srgb, var(--fln-primary) 55%, var(--fln-border));
  box-shadow: 0 0 0 4px var(--fln-primary-100);
}

/* ---------------------------
   Row: siren + button
---------------------------- */
#fln_client_block .fln-row{
  display:flex;
  gap: 10px;
  align-items: center;
}

#fln_client_block .fln-row .fln-input{
  flex: 1;
}

/* ---------------------------
   Grid
---------------------------- */
#fln_client_block .fln-grid{
  display:grid;
  gap: 12px;
}

#fln_client_block .fln-grid-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 720px){
  #fln_client_block .fln-grid-2{ grid-template-columns: 1fr; }
  #fln_client_block .fln-tabs-nav{ flex-direction: column; }
}

/* ---------------------------
   Buttons
---------------------------- */
#fln_client_block .fln-btn-primary,
#fln_client_block .fln-btn-secondary{
  border: 1px solid transparent;
  height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  transition: .18s ease;
  white-space: nowrap;
}

#fln_client_block .fln-btn-primary{
  background: #000;
  color: #fff;
  /* box-shadow: 0 10px 18px rgba(242,101,34,.22); */
}

#fln_client_block .fln-btn-primary:hover{
  background: var(--fln-primary-600);
  transform: translateY(-1px);
}

#fln_client_block .fln-btn-primary:active{
  transform: translateY(0);
}

#fln_client_block .fln-btn-secondary{
  background: #fff;
  border-color: var(--fln-border);
  color: #111827;
}

#fln_client_block .fln-btn-secondary:hover{
  border-color: color-mix(in srgb, var(--fln-primary) 35%, var(--fln-border));
  box-shadow: 0 8px 18px rgba(17,24,39,.06);
}

/* ---------------------------
   Status (lookup)
---------------------------- */
#fln_client_block .fln-status{
  margin-top: 8px;
  font-size: 12px;
  color: var(--fln-muted);
}

#fln_client_block .fln-status.is-success{
  color: #0f766e;
}

#fln_client_block .fln-status.is-error{
  color: #b91c1c;
}

/* ---------------------------
   Results list (search tab)
---------------------------- */
#fln_client_block .fln-client-results{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  border: 1px solid var(--fln-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

#fln_client_block .fln-client-results:empty{
  border: 0;
}

#fln_client_block .fln-client-results li{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-top: 1px solid var(--fln-border);
  cursor: pointer;
  transition: .12s ease;
}

#fln_client_block .fln-client-results li:first-child{
  border-top: 0;
}

#fln_client_block .fln-client-results li:hover{
  background: #fafafa;
}

#fln_client_block .fln-client-results li.is-active{
  background: var(--fln-primary-100);
}

/* ---------------------------
   Preview card
---------------------------- */
#fln_client_block .fln-client-preview.fln-card{
  margin-top: 12px;
  border: 1px solid var(--fln-border);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 10px 18px rgba(17,24,39,.05);
}

/* ---------------------------
   Switch inline + actions
---------------------------- */
#fln_client_block .fln-text-right{
  text-align: right;
}

#fln_client_block .fln-switch-inline{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--fln-border);
  border-radius: 12px;
  background: #fafafa;
  font-size: 13px;
  color: #111827;
}

#fln_client_block .fln-switch-inline input{
  width: 18px;
  height: 18px;
  accent-color: var(--fln-primary);
}

#fln_client_block .fln-client-actions{
  margin-top: 8px;
}


#fln_client_block .fln-input-status{
  margin-left: 8px;
  font-weight: 900;
  color: #16a34a;
}
.fln-error-text {
    color: red;
}
/* ===========================
   Ferrari preview actions
   =========================== */

   .fln-preview-actions {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.fln-btn.fln-btn--ghost {
  border: 1px solid #222221;
  background: transparent;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.fln-notice-plain {
  margin-top: 12px;
  border-top: 1px dashed var(--fln-border, #e5e7eb);
  padding-top: 12px;
}

.fln-notice-plain__inner {
  background: #fff;
  border: 1px solid var(--fln-border, #e5e7eb);
  border-radius: 12px;
  padding: 16px;
  line-height: 1.55;
}

.fln-preview-note {
  margin-top: 10px;
  text-align: center;
  opacity: .7;
  font-size: 13px;
}


/* ============================================================================
   UPLOAD WRAPPER & LOADING
   ========================================================================= */

.fln-upload-wrapper {
    position: relative;
    min-height: 150px;
}

/* Loading Overlay */
.fln-upload-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

.fln-upload-loading p {
    margin: 15px 0 10px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Spinner Animation */
.fln-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #f0f0f0;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: fln-spin 0.8s linear infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@keyframes fln-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Progress Bar Container */
.fln-progress-bar {
    width: 240px;
    height: 10px;
    background: #e8e8e8;
    border-radius: 5px;
    overflow: hidden;
    margin: 15px 0 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Progress Fill */
.fln-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db 0%, #2ecc71 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

/* Progress Text */
.fln-progress-text {
    color: #555;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Upload Box ajustements */
.fln-upload-box {
    position: relative;
    transition: opacity 0.3s ease;
}

.fln-upload-box:has(~ .fln-upload-loading[style*="display: block"]),
.fln-upload-box:has(~ .fln-upload-loading:not([style*="display: none"])) {
    opacity: 0.5;
    pointer-events: none;
}
/* Textarea Header avec focus moderne */
#ferrari_ln_header_text:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Animation du compteur */
.fln-char-counter {
    transition: all 0.2s ease;
}

/* Style du wrapper */
.fln-header-text-field {
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

/* État d'alerte quand peu de caractères restants */
#fln_header_char_count {
    transition: color 0.2s ease, transform 0.2s ease;
}

#fln_header_char_count[style*="color: rgb(220, 38, 38)"],
#fln_header_char_count[style*="color: rgb(239, 68, 68)"] {
    font-weight: 700;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* stepper 2 styles */

/* bloc */
.fln-step2__title{
  font-size:14px;
  font-weight:700;
  color:var(--fln-primary);
  margin:18px 0 10px;
}

.fln-selected,
.fln-panel__inner{
  background:var(--fln-bg);
  border:1px solid var(--fln-border);
  border-radius:var(--fln-radius);
}

.fln-selected{
  padding:14px 14px 12px;
}

/* Selected card layout */
.fln-selected__top{
  display:flex;
  align-items:center;
  gap:12px;
}

#flnnoticestable  .fln-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;

  padding:0 10px;
  border-radius:8px;
  background:var(--fln-primary);
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.3px;
}

.fln-selected__title{
  flex:1;
  min-width:0;
}

.fln-selected__name{
  display:block;
  font-size:14px;
  font-weight:700;
  color:var(--fln-text);
  line-height:1.2;
}

.fln-selected__sub{
  display:block;
  font-size:12px;
  color:var(--fln-muted);
  margin-top:2px;
}

.fln-link{
  background:transparent;
  border:none;
  padding:0;
  color:var(--fln-muted);
  cursor:pointer;
  font-size:12px;
  text-decoration:none;
}

.fln-link:hover{
  color:var(--fln-primary);
  text-decoration:underline;
}

/* icon pencil */
.fln-edit{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-weight:600;
}
.fln-edit svg{ width:14px; height:14px; }

/* meta rows */
.fln-selected__meta{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  font-size:12px;
  color:var(--fln-muted);
}

.fln-selected__meta strong{
  color:var(--fln-text);
  font-weight:700;
}

/* panel */
.fln-panel{
  margin-top:12px;
}

.fln-panel[hidden]{ display:none; }

.fln-panel__inner{
  padding:12px;
}

.fln-panel__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:4px 2px 10px;
  border-bottom:1px solid var(--fln-border);
  margin-bottom:12px;
}

.fln-panel__head-title{
  font-weight:800;
  color:var(--fln-text);
  font-size:13px;
}

/* list */
.fln-journal-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* item */
.fln-journal{
  display:block;
}

.fln-journal__radio{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.fln-journal__card{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:12px;
  border:1px solid var(--fln-border);
  border-radius:var(--fln-radius);
  background:#fff;
  cursor:pointer;
  transition:transform .06s ease, border-color .12s ease, box-shadow .12s ease;
}

.fln-journal__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  height:26px;
  padding:0 10px;
  border-radius:8px;
  background:var(--fln-primary);
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.3px;
}

.fln-journal__main{
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.fln-journal__name{
  font-weight:800;
  font-size:13px;
  color:var(--fln-text);
  line-height:1.2;
}

.fln-journal__meta{
  font-size:12px;
  color:var(--fln-muted);
}

.fln-journal__side{
  text-align:right;
  white-space:nowrap;
}

.fln-journal__price{
  font-size:13px;
  font-weight:800;
  color:var(--fln-text);
}

/* Selected state */
.fln-journal__radio:checked + .fln-journal__card{
  border-color:rgba(242,101,34,.55);
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}

.fln-journal__card:hover{
  border-color:rgba(242,101,34,.45);
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}

/* Style de la Modale */
#fln-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000; /* Très haut pour passer au dessus de tout */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

/* Quand l'attribut hidden est retiré par le JS */
#fln-preview-modal:not([hidden]) {
    opacity: 1;
    visibility: visible;
}

.fln-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Fond noir transparent */
    backdrop-filter: blur(2px);
}

.fln-modal-container {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 100001;
}

.fln-modal-content {
    padding: 20px;
    overflow-y: auto; /* Scroll si l'annonce est longue */
    min-height: 200px;
}

.fln-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fln-modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
/* -------------------------------------------------------
   FLN – Step 2 (Journal / Publication / Modal)
   ------------------------------------------------------- */

.fln-card.fln-form {
  background: #FAFAFA;
  border: 1px solid #000000;
  border-radius: 0px !important;
  box-shadow: none;
}

.fln-card-body {
  padding: 18px;
}

.fln-section-title {
  margin: 18px 0 10px;
  font-size: 15px;
  font-weight: 800;
  color: #f26522;
}

.fln-field {
  margin: 10px 0 14px;
}

.fln-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #333;
}

/* Inputs */
.fln-input {
  width: initial !important;
  height: 44px;
  padding: 10px 12px;
  border: 1px solid #e7e7e7 !important;
  border-radius: 4px;
  outline: none;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
  /* display: inline-block; */
}

.fln-input:focus {
  border-color: #f26522;
  box-shadow: 0 0 0 3px rgba(242, 101, 34, .15);
}

/* Errors */
.fln-error,
.fln-field-error {
  margin-top: 6px;
  font-size: 12px;
  color: #b00020;
}

/* Alerts */
.fln-alert {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  border: 1px solid transparent;
}

.fln-alert--info {
  background: #fff7f2;
  border-color: rgba(242,101,34,.35);
  color: #6b3d25;
}

.fln-alert--error {
  background: #fff2f4;
  border-color: rgba(176,0,32,.28);
  color: #7b0a1f;
}

/* Radios (look premium) */
.fln-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #ededed;
  /* border-radius: 12px; */
  /* background: #fff; */
  /* margin: 8px 0; */
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.fln-radio:hover {
  border-color: rgba(242,101,34,.45);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}

.fln-radio input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #f26522; /* moderne */
}

.fln-radio span {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

/* Selected Journal Box */
.fln-selected-box {
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
}

.fln-selected-box__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fln-selected-box__badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: #f26522;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .3px;
}

.fln-selected-box__title {
  font-weight: 800;
  font-size: 14px;
  color: #222;
}

.fln-selected-box__meta {
  margin-top: 10px;
  display: grid;
  gap: 6px;
  color: #555;
  font-size: 13px;
}

.fln-selected-box__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#fln-selected-tirage {
  justify-content: flex-end;
  opacity: .9;
}

/* Price */
.fln-selected-box__price {
  margin-top: 12px;
  text-align: right;
  font-weight: 900;
  font-size: 16px;
  color: #111;
}

/* Buttons */
.fln-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .05s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.fln-btn:active { transform: translateY(1px); }

.fln-btn--primary {
  background: transparent;
  color: #f26522;
  border: 1px solid var(--fln-border, #e5e7eb);
}

.fln-btn--primary:hover { filter: brightness(.98); }

.fln-btn--ghost {
  background: #fff;
  border-color: #e7e7e7;
  color: #f26522;
}

.fln-btn--ghost:hover {
  border-color: rgba(242,101,34,.45);
  box-shadow: 0 8px 18px rgba(0,0,0,.05);
}

/* Actions row */
.fln-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Modal */
.fln-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 99999;
  padding: 20px;
}

.fln-modal__panel {
  background: #fff;
  border-radius: 16px;
  max-width: 900px;
  margin: 40px auto;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

.fln-tab-btn {
  border: 1px solid #e7e7e7;
}

.fln-tab-panel .fln-journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fln-journal-pick {
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

.fln-journal-pick:hover {
  border-color: rgba(242,101,34,.45);
  box-shadow: 0 10px 22px rgba(0,0,0,.07);
}

.fln-journal-pick:active { transform: translateY(1px); }

/* Responsive */
@media (max-width: 820px) {
  .fln-tab-panel .fln-journal-grid {
    grid-template-columns: 1fr;
  }
  .fln-actions .fln-btn {
    width: 100%;
  }
}

.myflexbox {
  display: flex;
  gap: 10px;
}
/* Modal overlay */
.fln-modal{
  position: fixed;
  inset: 0;
  display: none;         
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 9999;
}

/* quand ouvert */
.fln-modal.is-open{
  display: block;
  opacity: 1;
  pointer-events: auto;
}
.ferrari-ln-builder--full{
    display: block;
}

/* Overlay plein écran */
.fln-modal-overlay{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
}

/* Ouvert */
.fln-modal-overlay.is-open{
  display: flex;
}

/* La box */
#fln_confirm_overlay .fln-modal{
  position: relative;            /* IMPORTANT (pas fixed) */
  width: min(774px, 92vw);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  transform: translateY(-10px) scale(.98);
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Animation d’ouverture */
.fln-modal-overlay.is-open .fln-modal{
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Header/Body/Footer (si tu n’as pas déjà) */
.fln-modal__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid #eee;
}

.fln-modal__title{ margin:0; font-size:16px; }

.fln-modal__close{
  border:0;
  background:transparent;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}

.fln-modal__body{ padding:16px; }
.fln-modal__footer{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:14px 16px;
  border-top:1px solid #eee;
}
.myflex {
    display: flex;
    gap: 17px;
    align-items: center;
}

/* ===========================
   FLN – Register Page
   =========================== */

.myflex {
     display:flex;
  align-items:center;
  gap: 8px;
}

.fln-journal-card__price{
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
/* =========================================================
   SCOPE STRICT  popup Step2

========================================================= */
#fln-journal-modal{
  --fln-primary: #f26522;
  --fln-text: #111827;
  --fln-muted: #6b7280;
  --fln-border: #e5e7eb;
  --fln-bg: #ffffff;
  --fln-soft: #f9fafb;
}

/* Overlay */
#fln-journal-modal{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}
#fln-journal-modal::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(17,24,39,.55);
  backdrop-filter: blur(6px);
}
#fln-journal-modal.is-open{ display:flex; }

/* Panel */
#fln-journal-modal .fln-modal__panel{
  position: relative;
  width: min(920px, 100%);
  max-height: min(82vh, 860px);
  background: var(--fln-bg);
  border-radius: 18px;

  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(8px);
  animation: flnModalInStep2 .16s ease-out forwards;
}
@keyframes flnModalInStep2 { to { transform: translateY(0); } }

#fln-journal-modal .fln-modal__header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--fln-border);
  background: #fff;
}
#fln-journal-modal .fln-modal__title{
  font-weight: 800;
  font-size: 16px;
  color: var(--fln-text);
}
#fln-journal-modal .fln-modal__close{
  border: 1px solid var(--fln-border);
  background: #fff;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  cursor: pointer;
}
#fln-journal-modal .fln-modal__close:hover{
  border-color: #d1d5db;
}

#fln-journal-modal .fln-modal__body{
  padding: 14px 16px 0 16px;
  overflow: auto;
}

/* Tabs */
#fln-journal-modal .fln-tabs{
  display:inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--fln-border);
  background: var(--fln-soft);
  border-radius: 14px;
}
#fln-journal-modal .fln-tab-btn{
  border: 0;
  background: transparent;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--fln-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#fln-journal-modal .fln-tab-btn[aria-selected="true"]{
  background: #fff;
  color: var(--fln-text);

}

/* Panels */
#fln-journal-modal .fln-tab-panel{ display:none; padding-top: 12px; }
#fln-journal-modal[data-fln-tab="WEB"] .fln-tab-panel[data-panel="WEB"]{ display:block; }
#fln-journal-modal[data-fln-tab="PAPER"] .fln-tab-panel[data-panel="PAPER"]{ display:block; }

/* List grid */
#fln-journal-modal .fln-journal-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-bottom: 14px;
}
@media (min-width: 860px){
  #fln-journal-modal .fln-journal-list{ grid-template-columns: 1fr 1fr; }
}

/* Radio cards */
#fln-journal-modal .fln-journal-option{ display:block; }
#fln-journal-modal .fln-journal-option > input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
#fln-journal-modal .fln-journal-card{
  display:block;
  border: 1px solid var(--fln-border);
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .12s ease, border-color .12s ease;
}
#fln-journal-modal .fln-journal-card:hover{
  border-color: #d1d5db;

  transform: translateY(-1px);
}
#fln-journal-modal .fln-journal-option > input:checked + .fln-journal-card{
  border-color: rgba(242,101,34,.55);

}
#fln-journal-modal .fln-journal-option > input:focus-visible + .fln-journal-card{
  outline: 3px solid rgba(242,101,34,.25);
  outline-offset: 2px;
}

#fln-journal-modal .fln-journal-card__badge{
  display:inline-flex;
  align-items:center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--fln-border);
  background: var(--fln-soft);
  color: var(--fln-text);
  margin-bottom: 8px;
}

#fln-journal-modal .fln-journal-card__top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 10px;
}
#fln-journal-modal .fln-journal-card__name{
  font-weight: 800;
  color: var(--fln-text);
  line-height: 1.2;
}
#fln-journal-modal .fln-journal-card__meta{
  margin-top: 6px;
  color: var(--fln-muted);
  font-size: 13px;
  line-height: 1.35;
}
#fln-journal-modal .fln-meta-line{
  display:flex;
  align-items:center;
  gap: 8px;
}
#fln-journal-modal .fln-journal-card__price{
  font-weight: 800;
  white-space: nowrap;
  color: var(--fln-text);
  display:inline-flex;
  align-items:center;
  gap: 8px;
}

/* Footer sticky */
#fln-journal-modal .fln-modal__footer{
  margin-top: auto;
  display:flex;
  align-items:center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--fln-border);
  background: rgba(255,255,255,.95);
}

/* Icon wrapper */
#fln-journal-modal .fln-ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  vertical-align: middle;
  color: currentColor;
}
/* ============================================
   TABLEAU MES ANNONCES - STYLE FERRARI
   Couleurs : #f26722 (orange), #181511 (noir), gris clair
   ============================================ */

/* Wrapper pour éviter le scroll horizontal */
.right-side.annonces {
    /* overflow-x: auto; */
    /* padding: 0; */
}

/* Conteneur du tableau */
.fln-my-notices-table {
    width: 100%;
    /* min-width: 1200px; */ /* Largeur minimale pour le contenu */
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 8px;
    /* overflow: hidden; */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
}

/* En-tête du tableau - Couleurs Ferrari */
.fln-my-notices-table thead {
    background: linear-gradient(135deg, #ea5b21 0%, #f29975 100%);
    color: #fff;
}

.fln-my-notices-table thead th {
    padding: 14px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    white-space: nowrap;
}

/* Colonne Actions - centré */
.fln-my-notices-table thead th:last-child {
    text-align: center;
}

/* Corps du tableau */
.fln-my-notices-table tbody tr {
    transition: all 0.2s ease;
    /* border-bottom: 1px solid #f4f4f4; */
}

.fln-my-notices-table tbody tr:hover {
    background: #fef8f5;
    box-shadow: 0 2px 8px rgba(242, 103, 34, 0.08);
}

.fln-my-notices-table tbody tr:last-child {
    border-bottom: none;
}

.fln-my-notices-table tbody td {
    padding: 12px 10px;
    vertical-align: middle;
    color: #181511;
    border: 1px solid #f4f4f4;
}

/* Première colonne (Dénomination) - Plus large */
.fln-my-notices-table tbody td:first-child {
    font-weight: 500;
    max-width: 280px;
}

.fln-my-notices-table tbody td:first-child strong {
    color: #181511;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.fln-ref, .fln-dossier {
    display: inline-block;
    padding: 2px 8px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 11px;
    color: #666;
    margin-right: 6px;
    margin-top: 2px;
}

/* Colonnes étroites */
.fln-my-notices-table tbody td:nth-child(2),
.fln-my-notices-table tbody td:nth-child(3) {
    white-space: nowrap;
    width: 100px;
}

.fln-my-notices-table tbody td:nth-child(4) {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Badges de statut - Couleurs Ferrari */
#flnnoticestable  .fln-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* Statut Commande */
#flnnoticestable  .fln-badge-draft {
    background: #f5f5f5;
    color: #666;
}

#flnnoticestable  .fln-badge-pending {
    background: #fff3e0;
    color: #e65100;
}

#flnnoticestable  .fln-badge-processing {
    background: #e3f2fd;
    color: #1565c0;
}

#flnnoticestable  .fln-badge-completed {
    background: #e8f5e9;
    color: #2e7d32;
}

#flnnoticestable  .fln-badge-cancelled {
    background: #ffebee;
    color: #c62828;
}

/* Statut Facture */
#flnnoticestable  .fln-badge-invoice-pending {
    background: #fff3e0;
    color: #e65100;
}

#flnnoticestable  .fln-badge-invoice-paid {
    background: #e8f5e9;
    color: #2e7d32;
}

#flnnoticestable  .fln-badge-invoice-unpaid {
    background: #ffebee;
    color: #c62828;
}

/* Statut Paiement */
#flnnoticestable  .fln-badge-payment-pending {
    background: #fff3e0;
    color: #e65100;
}

#flnnoticestable  .fln-badge-payment-completed {
    background: #e8f5e9;
    color: #2e7d32;
}

#flnnoticestable  .fln-badge-payment-failed {
    background: #ffebee;
    color: #c62828;
}

/* Colonne Actions */
.fln-actions {
    position: relative;
    text-align: center;
    /* width: 80px; */
}

/* Bouton menu déroulant - Ferrari Orange */
.fln-more-btn {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 6px 7px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.2s ease;
    font-weight: 600;
    width: auto;
    height: auto;
}

.fln-more-btn:hover {
    background: #f26722;
    border-color: #f26722;
    color: #fff;
    transform: scale(1.05);
}

/* Menu déroulant */
.fln-more-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(24, 21, 17, 0.15);
    min-width: 140px;
    z-index: 1000;
    overflow: hidden;
    animation: slideDown 0.15s ease;
}

.fln-more-menu[style*="display: block"] {
    display: block !important;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Items du menu */
.fln-more-menu a,
.fln-more-menu button {
    display: block;
    width: 100%;
    padding: 10px 14px;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    color: #181511;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
}

.fln-more-menu a:hover,
.fln-more-menu button:hover {
    background: #fef8f5;
    color: #f26722;
    padding-left: 18px;
}

/* Bouton Éditer */
.fln-action--edit:hover {
    color: #f26722 !important;
}

/* Bouton Supprimer */
.fln-delete {
    color: #c62828;
}

.fln-delete:hover {
    background: #ffebee !important;
    color: #b71c1c !important;
}

/* État vide */
.fln-my-notices-table tbody tr td[colspan] {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 15px;
}



@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */
.fln-modal__head {
    padding: 20px 20px 14px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fln-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #181511;
}

.fln-modal__close {
    background: none;
    border: none;
    font-size: 26px;
    color: #999;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.fln-modal__close:hover {
    background: #f5f5f5;
    color: #181511;
}

/* Body */
.fln-modal__body {
    padding: 20px;
}

.fln-modal__text {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */
.fln-modal__footer {
    padding: 14px 20px 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.fln-button {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.fln-button--ghost {
    background: #f5f5f5;
    color: #666;
}

.fln-button--ghost:hover {
    background: #e0e0e0;
    color: #181511;
}

.fln-button--danger {
    background: #c62828;
    color: #fff;
}

.fln-button--danger:hover {
    background: #b71c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1400px) {
    .fln-my-notices-table {
        min-width: 1100px;
        font-size: 12px;
    }

    .fln-my-notices-table thead th {
        padding: 12px 8px;
        font-size: 10px;
    }

    .fln-my-notices-table tbody td {
        padding: 10px 8px;
    }

    #flnnoticestable  .fln-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
}

@media (max-width: 768px) {
    /* Layout Mon Compte */
    .container.mon-compte {
        display: block;
    }

    .left-side {
        width: 100%;
        margin-bottom: 20px;
    }

    .right-side {
        width: 100%;
    }

    /* Mode carte pour mobile */
    .fln-my-notices-table {
        min-width: 0;
        border-radius: 0;
    }

    .fln-my-notices-table thead {
        display: none;
    }

    .fln-my-notices-table tbody tr {
        display: block;
        margin-bottom: 12px;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .fln-my-notices-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 10px 14px;
        border-bottom: 1px solid #f0f0f0;
    }

    .fln-my-notices-table tbody td:last-child {
        border-bottom: none;
        justify-content: center;
    }

    .fln-my-notices-table tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #181511;
        margin-right: 10px;
        min-width: 120px;
    }

    .fln-my-notices-table tbody td:first-child:before {
        display: none;
    }
}
/* ============================================
   SÉLECTION MULTIPLE
   ============================================ */

/* Barre d'actions groupées */
.fln-bulk-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #f26722;
}

.fln-selected-count {
    font-weight: 600;
    color: #181511;
    font-size: 14px;
}

.fln-bulk-delete {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #c62828;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fln-bulk-delete:hover:not(:disabled) {
    background: #b71c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
}

.fln-bulk-delete:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.fln-bulk-delete.is-loading {
    position: relative;
    color: transparent;
}

.fln-bulk-delete.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Checkbox "Tout sélectionner" */
#fln-select-all {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #f26722;
}

/* Checkboxes individuelles */
.fln-notice-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #f26722;
}

/* Style des lignes sélectionnées */
tr:has(.fln-notice-checkbox:checked) {
    background: #fef8f5 !important;
    box-shadow: 0 2px 8px rgba(242, 103, 34, 0.15) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .fln-bulk-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .fln-bulk-delete {
        width: 100%;
        justify-content: center;
    }
}



/* Step 3 */
/* STEP 3 – wrapper 2 colonnes */
.fln-step3{
    display: grid;
    grid-template-columns: 1fr 380px; /* gauche / droite */
    gap: 56px;
    align-items: start;
}

/* Tablette : colonne droite passe dessous */
@media (max-width: 1024px){
    .fln-step3{
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
/* ==========================================================================
   FLN – STEP 3 (Récapitulatif) – CSS maquette
   Scope: .fln-step3 (évite de casser le reste du site)
   ========================================================================== */

.fln-step3{
    --border: rgba(0,0,0,.08);
    --soft: rgba(0,0,0,.04);
    --text: #222;
    --muted: rgba(0,0,0,.55);
    --orange: #f26a22;
    --orange-2: #ff7a2a;
    --radius: 10px;
    --radius-lg: 14px;

    color: var(--text);
}

/* Layout */
.fln-step3__grid{
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 56px;
    align-items: start;
}

@media (max-width: 1024px){
    .fln-step3__grid{
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Titles */
.fln-step3 .fln-h2{
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--orange);
}

.fln-step3 .fln-subtitle{
    margin: 0 0 14px;
    font-size: 12px;
    color: var(--muted);
}

/* Card */
.fln-step3 .fln-card{
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.fln-step3 .fln-card__head{
    padding: 18px 18px 8px;
}

.fln-step3 .fln-card__body{
    padding: 14px 18px 18px;
}

.fln-step3 .fln-card + .fln-card{
    margin-top: 18px;
}

/* Section headings inside left */
.fln-step3 .fln-h3{
    margin: 14px 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
}

.fln-step3 .fln-muted{
    color: var(--muted);
    font-size: 12px;
}

/* Boxes (Vous / Client) */
.fln-step3 .fln-info-box,
.fln-step3 .fln-client-box{
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
}

.fln-step3 .fln-info-box{
    padding: 12px 14px;
}

.fln-step3 .fln-info-box__top{
    margin-bottom: 6px;
}

.fln-step3 .fln-info-box__content{
    font-size: 13px;
    line-height: 1.45;
}

.fln-step3 .fln-client-box{
    margin-top: 12px;
    border-style: dashed;
    background: #fafafa;
}

.fln-step3 .fln-client-box__top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 8px;
}

.fln-step3 .fln-client-box__content{
    padding: 0 14px 14px;
    font-size: 12px;
    color: var(--muted);
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Small edit icon link */
.fln-step3 .fln-icon-edit{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--orange);
    text-decoration: none;
    background: #fff;
    font-size: 14px;
}
.fln-step3 .fln-icon-edit:hover{
    border-color: rgba(242,106,34,.35);
    background: rgba(242,106,34,.06);
}

/* Fields */
.fln-step3 .fln-field{
    display: block;
    margin: 10px 0;
}

.fln-step3 .fln-field__label{
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin: 0 0 6px;
}

.fln-step3 input[type="text"],
.fln-step3 input[type="email"],
.fln-step3 input[type="tel"],
.fln-step3 select,
.fln-step3 textarea{
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 13px;
    background: #fff;
    outline: none;
}

.fln-step3 input:focus,
.fln-step3 select:focus,
.fln-step3 textarea:focus{
    border-color: rgba(242,106,34,.45);
    box-shadow: 0 0 0 3px rgba(242,106,34,.12);
}

/* Checkbox / radio line */
.fln-step3 .fln-radio{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    margin-top: 6px;
    font-size: 13px;
    color: rgba(0,0,0,.65);
}
.fln-step3 .fln-radio input{
    accent-color: var(--orange);
}

/* Totals block (left bottom) */
.fln-step3 .fln-totals{
    margin-top: 10px;
    border-top: 1px solid var(--soft);
    padding-top: 10px;
}

.fln-step3 .fln-totals__row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
}

.fln-step3 .fln-totals__row--grand{
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid var(--soft);
    font-weight: 800;
}

.fln-step3 .fln-totals__row--grand strong{
    color: var(--orange);
}

/* Actions */
.fln-step3__actions{
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.fln-step3__actions-right{
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
}

.fln-step3 .fln-btn{
    appearance: none;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--orange);
    border-radius: 10px;
    padding: 12px 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2px;
    cursor: pointer;
    text-transform: uppercase;
    line-height: 1;
    min-height: 42px;
}

.fln-step3 .fln-btn--ghost:hover,
.fln-step3 .fln-btn--secondary:hover{
    background: rgba(242,106,34,.06);
    border-color: rgba(242,106,34,.35);
}

.fln-step3 .fln-btn--primary{
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}
.fln-step3 .fln-btn--primary:hover{
    background: var(--orange-2);
    border-color: var(--orange-2);
}

/* Warning */
.fln-step3 .fln-warning{
    border: 1px solid rgba(242,106,34,.25);
    background: rgba(242,106,34,.06);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12px;
    color: rgba(0,0,0,.7);
}

/* ==========================================================================
   RIGHT COLUMN (Publication + Prévisualisation)
   Uses your existing IDs (#fln-preview-*)
   ========================================================================== */

.fln-step3__right .fln-side-title{
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--orange);
}

.fln-step3__right .fln-ref{
    font-size: 10px;
    letter-spacing: .3px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 10px;
}

.fln-step3__right .fln-side-card{
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    padding: 14px;
    margin-bottom: 18px;
}

/* Publication card top row (title + pencil) */
.fln-step3__right .fln-side-card__top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.fln-step3__right .fln-side-card__edit{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--orange);
    cursor: pointer;
}

.fln-step3__right .fln-side-card__edit:hover{
    background: rgba(242,106,34,.06);
    border-color: rgba(242,106,34,.35);
}

/* Publication lines */
.fln-step3__right .fln-pub-lines{
    display: grid;
    gap: 6px;
    font-size: 12px;
    color: rgba(0,0,0,.7);
}

.fln-step3__right .fln-total-ttc{
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--soft);
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 10px;
    font-size: 12px;
}

.fln-step3__right .fln-total-ttc strong{
    font-size: 13px;
    color: var(--orange);
}

.fln-step3__right .fln-total-ttc a{
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
}
.fln-step3__right .fln-total-ttc a:hover{
    text-decoration: underline;
}

/* Preview card */
#fln-preview-content{
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    font-size: 12px;
    color: rgba(0,0,0,.75);
    max-height: 240px;
    overflow: auto;
}

#fln-preview-content .fln-empty{
    color: var(--muted);
    font-style: italic;
}

/* “Modifier” link/button above preview */
.fln-step3__right .fln-preview-edit{
    display: flex;
    justify-content: flex-end;
    margin: -2px 0 8px;
}

#fln-step3-edit{
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
}
#fln-step3-edit:hover{
    color: var(--orange);
}

/* Small note under preview */
.fln-step3__right .fln-preview-note{
    margin-top: 10px;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.35;
}

/* Mobile polish */
@media (max-width: 640px){
    .fln-step3__grid{
        gap: 20px;
    }

    .fln-step3__actions{
        justify-content: center;
    }

    .fln-step3__actions-right{
        width: 100%;
        justify-content: center;
    }

    .fln-step3 .fln-btn{
        width: 100%;
        text-align: center;
    }
}
.fln-bulk-actions {
    display: none; /* Masqué par défaut */
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
}

.fln-bulk-actions.show {
    display: flex !important;
}

.fln-selected-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.fln-bulk-delete {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
}

.fln-bulk-delete:hover:not(:disabled) {
    background: #c82333;
}

.fln-bulk-delete:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.fln-bulk-delete.is-loading {
    opacity: 0.7;
    pointer-events: none;
}
/* =========================================================
   FLN – Step 3 Right column (Publication + Preview)
   ========================================================= */

/* wrapper right column */
.fln-step3__right{
    width: 100%;
}

/* Titles orange (Publication / Prévisualisation) */
.fln-step3__right .ferrari-ln-preview__title{
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    color: #f26a22;
}

/* Reference line */
.fln-step3__right .fln-muted{
    color: rgba(0,0,0,.55);
}
.fln-step3__right #fln-preview-ref{
    font-weight: 800;
    color: rgba(0,0,0,.75);
}

/* Publication box (journal / département / date) */
.fln-step3__right .fln-publication-box{
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    display: grid;
    gap: 8px;
}

.fln-step3__right .fln-pub-item{
    font-size: 12px;
    line-height: 1.3;
    color: rgba(0,0,0,.75);
}
.fln-step3__right .fln-pub-item.fln-muted{
    color: rgba(0,0,0,.55);
}

/* TOTAL TTC line (right aligned like maquette) */
.fln-step3__right .fln-total-box{
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.06);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
    gap: 10px;
}

.fln-step3__right .fln-total-ttc{
    justify-self: end;
    font-weight: 900;
    font-size: 13px;
    color: #f26a22;
}

.fln-step3__right .fln-details{
    justify-self: end;
    font-size: 11px;
    color: rgba(0,0,0,.55);
    text-decoration: none;
}
.fln-step3__right .fln-details:hover{
    text-decoration: underline;
}

/* “Modifier” button above preview aligned right */
.fln-step3__right .fln-right-actions{
    display: flex;
    justify-content: flex-end;
    margin: -2px 0 8px;
}

/* small ghost button */
.fln-step3__right .fln-btn--sm{
    padding: 6px 10px;
    font-size: 11px;
    min-height: 28px;
    border-radius: 10px;
}
.fln-step3__right .fln-btn--ghost{
    background: transparent;
    border: 1px solid rgba(0,0,0,.12);
    color: rgba(0,0,0,.55);
}
.fln-step3__right .fln-btn--ghost:hover{
    background: rgba(242,106,34,.06);
    border-color: rgba(242,106,34,.35);
    color: #f26a22;
}

/* Preview content card */
.fln-step3__right .fln-preview-content{
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    font-size: 12px;
    color: rgba(0,0,0,.75);

    max-height: 240px; /* comme maquette */
    overflow: auto;
}

/* ✅ tu as un .fln-preview-content DANS un .fln-preview-content : on neutralise */
.fln-step3__right .fln-preview-content .fln-preview-content{
    border: 0;
    padding: 0;
    max-height: none;
    overflow: visible;
}

/* preview typography */
.fln-step3__right .fln-preview-content p{
    margin: 0 0 10px;
    line-height: 1.45;
}
.fln-step3__right .fln-preview-content p:last-child{
    margin-bottom: 0;
}

/* empty state */
.fln-step3__right .fln-empty{
    color: rgba(0,0,0,.45);
    font-style: italic;
}

/* note under preview */
.fln-step3__right p.fln-muted{
    margin-top: 10px;
    font-size: 11px;
    text-align: left;
}

/* Responsive: if right column goes under, keep spacing */
@media (max-width: 1024px){
    .fln-step3__right{
        margin-top: 6px;
    }
}
.fln-paper-qty{
  margin-top: 10px;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
  background: #fff;
}

.fln-paper-max{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(0,0,0,.55);
}
.fln-docs { display:grid; gap:12px; margin-top:10px; }

.fln-doc-row{
  display:flex; align-items:center; gap:12px;
  padding:14px 16px; background:#fff;
  border:1px solid #e7e7e7; border-radius:8px;
  box-shadow:0 1px 2px rgba(0,0,0,.06);
}

.fln-doc-row[aria-disabled="true"]{
  pointer-events:none;
  cursor:default;
}

.fln-doc-row__icon{
  width:18px; height:18px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 18px;
}

.fln-doc-row--done .fln-doc-row__icon{
  background:#2e7d32; border:2px solid #2e7d32;
}

.fln-doc-row--done .fln-doc-row__icon::before{
  content:"✓"; color:#fff; font-size:13px; font-weight:700; line-height:1;
}


.fln-order-line {
     display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
}

div#fln-order-lines {
    border-top: 1px solid var(--soft);
}
#flnnoticestable  .fln-badge--quote {
  background:#f3f4f6;
  color:#374151;
}

#flnnoticestable  .fln-badge--quote.is-sent {
    background: #1ba81b;
    color: #fff;
  font-weight:600;
}

#flnnoticestable  .fln-badge[data-tooltip]{
  position: relative;
  cursor: help;
}

#flnnoticestable  .fln-badge[data-tooltip]::after{
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 9999;
}

#flnnoticestable  .fln-badge[data-tooltip]::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #111;
  opacity: 0;
  transition: opacity .15s ease;
}

#flnnoticestable  .fln-badge[data-tooltip]:hover::after,
#flnnoticestable  .fln-badge[data-tooltip]:hover::before,
#flnnoticestable  .fln-badge[data-tooltip]:focus::after,
#flnnoticestable  .fln-badge[data-tooltip]:focus::before{
  opacity: 1;
}
/* ==========================================================================
   FLN – STEP 4 (Méthode de paiement) – CSS PRO
   Scope: .fln-step4
   ========================================================================== */

.fln-step4{
  --fln-bg:#ffffff;
  --fln-surface:#FAFAFA;
  --fln-border:#e6e8ee;
  --fln-muted:#667085;
  --fln-text:#101828;

  --fln-primary:#f97316; /* orange */
  --fln-primary-weak:#fff7ed;
  --fln-success:#12b76a;
  --fln-danger:#ef4444;
  --fln-info:#2563eb;

  --fln-shadow: 0 10px 30px rgba(16,24,40,.08);
  --fln-shadow-soft: 0 6px 18px rgba(16,24,40,.06);

  color:var(--fln-text);
}

.fln-step4--layout{
  display:grid;
  grid-template-columns: 1.6fr 1fr;
  gap:24px;
  align-items:start;
}
@media (max-width: 980px){
  .fln-step4--layout{ grid-template-columns: 1fr; }
}

.fln-card{
  background:var(--fln-surface);
  border:1px solid var(--fln-border);
  border-radius:16px;

  padding:18px;
}
.fln-card--hero{ padding:22px; }
.fln-card--sticky{
  position:sticky;
  top:18px;
}

.fln-step4__head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom:16px;
}
.fln-step4__title{ margin:0; font-size:20px; letter-spacing:-0.2px; }
.fln-step4__subtitle{ margin-top:4px; color:var(--fln-muted); }

.fln-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--fln-border);
  font-size:12px;
  background:#f8fafc;
  color:#344054;
}
.fln-pill:before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:var(--fln-success);
  box-shadow:0 0 0 3px rgba(18,183,106,.16);
}

/* -------------------- Methods (Stripe/PayPal) -------------------- */
.fln-step4__methods{
  display:grid;
  gap:12px;
  margin-top:14px;
}

.fln-method{
  border:1px solid #eef0f4;
  border-radius:16px;
  padding:16px;
  background:var(--fln-surface);
  box-shadow:0 1px 0 rgba(16,24,40,.02);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.fln-method:hover{
  transform: translateY(-1px);
  box-shadow:var(--fln-shadow-soft);
  border-color:#dde2ea;
}

.fln-method__head{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:12px;
}

.fln-method__icon{
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid #eef0f4;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 6px 18px rgba(16,24,40,.06);
  flex:0 0 auto;
  color:#344054;
}
.fln-method__icon svg{ display:block; fill:currentColor; }

.fln-method--stripe .fln-method__icon{
  background:linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%);
  color:#4f46e5;
  border-color:#ecebff;
}
.fln-method--paypal .fln-method__icon{
  background:linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  color:#2563eb;
  border-color:#dbeafe;
}

.fln-method__title{
  font-weight:700;
  color:var(--fln-text);
  letter-spacing:-0.2px;
}
.fln-method__meta{
  margin-top:3px;
  color:var(--fln-muted);
  font-size:13px;
}
.fln-method__badge{
  margin-top:8px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  border-radius:999px;
  font-size:12px;
  border:1px solid #eef0f4;
  background:#f8fafc;
  color:#344054;
}

.fln-help{ margin-top:10px; color:var(--fln-muted); font-size:13px; }

/* Boutons (scopés Step4 uniquement) */
.fln-step4 .fln-btn{
  border-radius:12px;
  padding:10px 14px;
  font-weight:700;
  letter-spacing:-0.1px;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.fln-step4 .fln-btn:active{ transform: translateY(1px); }

.fln-step4 .fln-btn[disabled]{
  opacity:.55;
  cursor:not-allowed;
  box-shadow:none !important;
}

.fln-step4 .fln-btn--primary:not([disabled]){
  box-shadow:0 10px 22px rgba(249,115,22,.18);
}
.fln-step4 .fln-btn--secondary:not([disabled]){
  box-shadow:0 10px 22px rgba(37,99,235,.14);
}

.fln-btn--ghost{
  background:transparent;
  border:1px solid var(--fln-border);
  box-shadow:none;
}

/* -------------------- Summary -------------------- */
.fln-summary__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.fln-summary__title{ font-weight:800; font-size:16px; color:var(--fln-text); }

.fln-summary__row{
  display:flex;
  justify-content:space-between;
  padding:8px 0;
  color:#344054;
}
.fln-summary__row strong{ color:var(--fln-text); }
.fln-summary__row--total{
  border-top:1px dashed var(--fln-border);
  margin-top:6px;
  padding-top:12px;
  font-size:15px;
}
.fln-summary__row--total strong{
  font-size:16px;
}

/* Séparateur */
.fln-sep{
  border:0;
  height:1px;
  background:#eef0f4;
  margin:14px 0;
}

/* -------------------- Status + Timeline -------------------- */
.fln-status__row{
  display:flex;
  justify-content:space-between;
  padding:6px 0;
  gap:12px;
  color:#344054;
}
.fln-status__row strong{ color:var(--fln-text); }

.fln-timeline{
  position:relative;
  margin:14px 0 0;
  padding:0 0 0 24px;
  list-style:none;
}
.fln-timeline:before{
  content:'';
  position:absolute;
  left:9px;
  top:8px;
  bottom:8px;
  width:2px;
  background:#eef0f4;
  border-radius:2px;
}

.fln-timeline__item{
  position:relative;
  padding:0 0 14px 0;
}
.fln-timeline__dot{
  position:absolute;
  left:-18px;
  top:3px;
  width:14px;
  height:14px;
  border-radius:50%;
  border:2px solid #d0d5dd;
  background:#fff;
  display:grid;
  place-items:center;
}
.fln-timeline__dot:after{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:transparent;
}

.fln-timeline__label{
  color:#344054;
  font-size:14px;
}

/* Done */
.fln-timeline__item.is-done .fln-timeline__dot{
  border-color:var(--fln-success);
  background:var(--fln-success);
}
.fln-timeline__item.is-done .fln-timeline__dot:after{
  /* petit check simplifié */
  width:7px;height:4px;border-radius:0;
  border-left:2px solid #fff;
  border-bottom:2px solid #fff;
  transform: rotate(-45deg);
  background:transparent;
}

/* Active */
.fln-timeline__item.is-active .fln-timeline__dot{
  border-color:var(--fln-primary);
  background:var(--fln-primary-weak);
  box-shadow:0 0 0 4px rgba(249,115,22,.16);
}
.fln-timeline__item.is-active .fln-timeline__label{
  font-weight:800;
  color:var(--fln-text);
}

/* Todo */
.fln-timeline__item.is-todo .fln-timeline__dot{
  border-color:#d0d5dd;
  background:#fff;
}

/* -------------------- Alerts -------------------- */
.fln-alert{
  border-radius:14px;
  padding:12px 14px;
  border:1px solid var(--fln-border);
}
.fln-alert--info{
  background:#eff6ff;
  border-color:#bfdbfe;
  color:#1e3a8a;
}
.fln-alert--error{
  background:#fef2f2;
  border-color:#fecaca;
  color:#991b1b;
}
.fln-btn--pulse{
    position:relative;
    animation: flnPulse 1.2s ease-in-out infinite;
}
@keyframes flnPulse{
    0%{transform:scale(1)}
    50%{transform:scale(1.03)}
    100%{transform:scale(1)}
}
.fln-btn--pulse::after{
    content:"";
    position:absolute;
    inset:-6px;
    border-radius:18px;
    border:2px solid rgba(234,91,33,.35);
    animation: flnRing 1.2s ease-out infinite;
}
@keyframes flnRing{
    0%{opacity:.9; transform:scale(.98)}
    100%{opacity:0; transform:scale(1.08)}
}
.fln-btn--done{
    animation:none !important;
}
.fln-btn--done::after{display:none !important;}
.fln-download-status{
    font-weight:650;
    font-size:13px;
    color:rgba(0,0,0,.65);
}
.fln-download-status--ok{color:#198754;}
.fln-thanks{max-width:1080px;margin:32px auto;padding:0 16px;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
.fln-hero{background:linear-gradient(135deg,#ffffff 0%,#f7f7f7 100%);border:1px solid rgba(0,0,0,.06);border-radius:18px;padding:22px 22px 18px;box-shadow:0 10px 30px rgba(0,0,0,.05);display:flex;gap:16px;align-items:flex-start}
.fln-hero__icon{flex:0 0 44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center}
.fln-hero__icon--success{background:#e8f5ee;border:1px solid #bfe5cf}
.fln-hero__icon--danger{background:#f8d7da;border:1px solid #f5c2c7}
.fln-hero__icon--warning{background:#fff3cd;border:1px solid #ffe69c}
.fln-hero__icon--info{background:#cff4fc;border:1px solid #9eeaf9}
.fln-hero__title{margin:0;font-size:22px;line-height:1.2}
.fln-hero__meta{margin-top:6px;color:rgba(0,0,0,.7);font-size:14px}
#flnnoticestable  .fln-badge{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:6px 12px;font-size:12px;font-weight:650;border:1px solid rgba(0,0,0,.08);background:#fff}
#flnnoticestable  .fln-badge--success{color:#0f5132;background:#e8f5ee;border-color:#bfe5cf}
#flnnoticestable  .fln-badge--warning{color:#664d03;background:#fff3cd;border-color:#ffe69c}
#flnnoticestable  .fln-badge--danger{color:#842029;background:#f8d7da;border-color:#f5c2c7}
#flnnoticestable  .fln-badge--info{color:#055160;background:#cff4fc;border-color:#9eeaf9}
.fln-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;margin-top:18px}
.fln-card{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,.04);padding:18px}
.fln-card h3{margin:0 0 10px;font-size:15px}
.fln-kv{display:grid;grid-template-columns:1fr;gap:10px}
.fln-kv__row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px dashed rgba(0,0,0,.08)}
.fln-kv__row:first-child{border-top:none;padding-top:0}
.fln-kv__k{color:rgba(0,0,0,.65);font-size:13px}
.fln-kv__v{font-weight:650;font-size:13px;text-align:right}
.fln-actions{position:sticky;top:18px;display:flex;flex-direction:column;gap:10px}
.fln-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none;border-radius:14px;padding:12px 14px;font-weight:700;border:1px solid rgba(0,0,0,.12)}
.fln-btn--primary{background:#EA5B21;color:#fff;border-color:#EA5B21}
.fln-btn--secondary{background:#fff;color:#111}
.fln-btn--ghost{background:transparent;color:#111}
.fln-note{color:rgba(0,0,0,.65);font-size:13px;line-height:1.4}
.fln-steps{display:flex;flex-direction:column;gap:10px}
.fln-step{display:flex;gap:12px;align-items:flex-start}
.fln-step__dot{width:10px;height:10px;border-radius:999px;margin-top:6px;background:rgba(0,0,0,.18)}
.fln-step--done .fln-step__dot{background:#198754}
.fln-step--now .fln-step__dot{background:#EA5B21}
.fln-step__label{font-weight:700;font-size:13px}
.fln-step__desc{margin-top:2px;color:rgba(0,0,0,.65);font-size:13px}
@media (max-width: 860px){
    .fln-grid{grid-template-columns:1fr}
    .fln-actions{position:static}
}

.fln-address-suggest {
    border: 1px solid #ddd;
    background: #fff;
    margin-top: 6px;
    border-radius: 6px;
    overflow: hidden;
}
.fln-address-suggest .fln-suggest-item {
    display: block;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.fln-address-suggest .fln-suggest-item:last-child { border-bottom: 0; }
.fln-address-suggest .fln-suggest-item:hover { background: #f7f7f7; }
/* -------------------- Terms (CGU/CGV) -------------------- */
.fln-terms{
    margin-top:14px;
    border:1px solid var(--fln-border);
    border-radius:16px;
    background:#ffffff;
    padding:14px;
}
.fln-terms__head{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:10px;
}
.fln-terms__title{
    font-weight:800;
    letter-spacing:-0.2px;
    color:var(--fln-text);
}
.fln-terms__link{
    font-size:12px;
    font-weight:700;
    text-decoration:none;
    color:var(--fln-info);
}
.fln-terms__box{
    max-height:180px;
    overflow:auto;
    padding:12px;
    border:1px solid #eef0f4;
    border-radius:12px;
    background:#ffffff;
    color:#344054;
    font-size:13px;
    line-height:1.45;
}
.fln-terms__box :last-child{ margin-bottom:0; }
.fln-terms__check{
    margin-top:12px;
    display:flex;
    align-items:flex-start;
    gap:10px;
    color:#344054;
    font-size:13px;
}
.fln-terms__check input{ margin-top:3px; }
.fln-terms__check.is-locked{ opacity:.55; }
.fln-terms__check input:disabled{ cursor:not-allowed; }
.fln-terms__hint{
    margin-top:6px;
    font-size:12px;
    color:var(--fln-muted);
}
/* Block delivray */
.fln-box{
    padding: 14px 14px;
    border: 1px solid var(--fln-border);
    border-radius: 8px;
    background: #fff;
    margin-top: 16px;
}
.fln-box__title{
    font-weight: 700;
    margin-bottom: 10px;
}

.fln-grid-2{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
@media (max-width: 640px){
    .fln-grid-2{ grid-template-columns: 1fr; }
}

.fln-check{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--fln-text);
    margin-bottom: 10px;
}
.fln-check input{ margin: 0; }

.fln-step4__col.fln-step4__col--left label.fln-field.fln-field--toggle {
    align-items: center;
    flex-direction: row;
    margin-top: 15px;
}


.fln-step4__col.fln-step4__col--left label.fln-field.fln-field--toggle input {
    margin-top: 0px;
}

.fln-journal-list span#flnnoticestable  .fln-badge#flnnoticestable  .fln-badge--ok {
    color: #ea5b21;
}
form#ferrari_ln_form_step2  .fln-actions {
    flex-direction: row;
}
.fln-totals.is-loading,
#fln-order-lines.is-loading{
    position: relative;
    opacity: .65;
    pointer-events: none;
}

.fln-totals.is-loading::after,
#fln-order-lines.is-loading::after{
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0,0,0,.15);
    border-top-color: rgba(0,0,0,.45);
    border-radius: 50%;
    animation: flnspin .7s linear infinite;
}

@keyframes flnspin { to { transform: rotate(360deg); } }
/* =========================
   Step4 — Virement bancaire
   ========================= */


.fln-step4.fln-step4--layout .fln-radio{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:12px;
    background:#fff;
}
.fln-step4.fln-step4--layout .fln-radio input[type="radio"]{
    width:18px;
    height:18px;
    accent-color:#EA5B21; /* Ferrari */
}
.fln-step4.fln-step4--layout .fln-radio input[disabled]{
    cursor:not-allowed;
    opacity:.55;
}
.fln-step4.fln-step4--layout .fln-radio input[disabled] + span{
    opacity:.75;
}

/* Message désactivation */
.fln-step4.fln-step4--layout .fln-help.fln-help--warn{
    margin-top:10px;
    padding:10px 12px;
    border:1px solid rgba(234,91,33,.35);
    background:rgba(234,91,33,.06);
    border-radius:12px;
    font-size:13px;
    line-height:1.35;
}

/* Container */
#fln-banktransfer-box{
    margin-top:12px;
}

/* Loading */
#fln-banktransfer-loading{
    margin-top:10px;
    padding:10px 12px;
    border:1px dashed rgba(0,0,0,.18);
    border-radius:12px;
    background:#fff;
    font-size:13px;
}

/* Carte virement */
.fln-step4.fln-step4--layout .fln-bank{
    border:1px solid rgba(0,0,0,.08);
    border-radius:14px;
    background:#fff;
    padding:14px;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
}

/* En-tête "virement" (optionnel si tu veux) */
.fln-step4.fln-step4--layout .fln-bank::before{
    content:"Coordonnées de virement";
    display:block;
    font-weight:700;
    font-size:14px;
    margin-bottom:10px;
    color:#111;
}

/* Lignes */
.fln-step4.fln-step4--layout .fln-bank__row{
    display:grid;
    grid-template-columns: 140px 1fr auto;
    gap:10px;
    align-items:center;
    padding:10px 0;
    border-bottom:1px solid rgba(0,0,0,.06);
}
.fln-step4.fln-step4--layout .fln-bank__row:last-of-type{
    border-bottom:none;
}

/* Label / Valeur */
.fln-step4.fln-step4--layout .fln-bank__label{
    font-size:12px;
    color:rgba(0,0,0,.62);
    text-transform:uppercase;
    letter-spacing:.02em;
}
.fln-step4.fln-step4--layout .fln-bank__value{
    font-size:14px;
    color:#111;
    font-weight:600;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

/* Monospace pour IBAN/BIC/Ref */
.fln-step4.fln-step4--layout .fln-bank__mono{
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-weight:700;
    letter-spacing:.02em;
}

/* Boutons Copier */
.fln-step4.fln-step4--layout .fln-btn.fln-btn--small{
    padding:8px 10px;
    border-radius:10px;
    border:1px solid rgba(0,0,0,.10);
    background:#fff;
    font-size:12px;
    font-weight:700;
    cursor:pointer;
    transition:transform .08s ease, border-color .15s ease, box-shadow .15s ease;
}
.fln-step4.fln-step4--layout .fln-btn.fln-btn--small:hover{
    border-color:rgba(234,91,33,.55);
    box-shadow:0 8px 20px rgba(234,91,33,.10);
}
.fln-step4.fln-step4--layout .fln-btn.fln-btn--small:active{
    transform:translateY(1px);
}

/* Note */
.fln-step4.fln-step4--layout .fln-bank__note{
    margin-top:10px;
    padding:10px 12px;
    border-radius:12px;
    background:rgba(0,0,0,.03);
    font-size:13px;
    line-height:1.4;
    color:rgba(0,0,0,.75);
}

/* Actions */
.fln-step4.fln-step4--layout .fln-bank__actions{
    margin-top:10px;
    display:flex;
    justify-content:flex-end;
}
.fln-step4.fln-step4--layout .fln-bank__actions a{
    font-size:13px;
    font-weight:700;
    color:#EA5B21;
    text-decoration:none;
}
.fln-step4.fln-step4--layout .fln-bank__actions a:hover{
    text-decoration:underline;
}


@media (max-width: 640px){
    .fln-step4.fln-step4--layout  .fln-bank__row{
        grid-template-columns: 1fr;
        gap:6px;
    }
    .fln-step4.fln-step4--layout .fln-bank__row .fln-btn--small{
        justify-self:start;
    }
    .fln-step4.fln-step4--layout .fln-bank::before{
        margin-bottom:6px;
    }
}




form#ferrari_ln_form .fln-actions {
    flex-direction: row;
}
.fln-req-indicator{
    margin-left: 8px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
}
.fln-req-indicator[data-state="ok"]{ color: #1a7f37; }
.fln-req-indicator[data-state="ko"]{ color: #d1242f; }


button.fln-btn.fln-btn--primary.editbtnstep1.is-disabled {
    opacity: 0.5;

}
.fln-req-indicator{ margin-left:8px; font-weight:700; }
.fln-req-indicator[data-state="ok"]{ color:#1a7f37; }
.fln-req-indicator[data-state="ko"]{ color:#d1242f; }
.editbtnstep1.is-disabled{ opacity:.6; }
#fln-applepay-wrap,
#fln-stripe-payment-element {
  margin-top: 12px;
}

#fln-stripe-payment-element {
  width: 100%;
}

.fln-method.fln-method--stripe button[data-fln-pay-stripe] {
    margin-top: 12px !important;
    max-width: 250px;
    width: 100%;
    justify-content: center;
    display: flex;
    margin: 0 auto;
}
.fln-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.fln-overlay__box {
  background:#fff;
  padding:24px 32px;
  border-radius:12px;
  text-align:center;
  box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.fln-spinner {
  width:42px;
  height:42px;
  border:4px solid #eee;
  border-top:4px solid #EA5B21;
  border-radius:50%;
  margin:0 auto 14px;
  animation:spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.fln-wallet{margin-top:12px}
.fln-wallet__label{font-size:12px;font-weight:600;opacity:.75;margin:0 0 8px}
#fln-wallet-button{max-width:360px}
.fln-wallet{margin-top:12px}
.fln-wallet__head{display:flex;align-items:center;gap:10px;margin:0 0 8px}
.fln-wallet__icons{display:flex;align-items:center;gap:6px}
.fln-ico{width:18px;height:18px;opacity:.75}
.fln-wallet__label{font-size:12px;font-weight:700;letter-spacing:.2px;opacity:.8}
#fln-wallet-button{max-width:360px}
.fln-wallet{margin-top:12px}
.fln-wallet__head{display:flex;align-items:center;gap:10px;margin:0 0 8px}
.fln-wallet__icons{display:flex;align-items:center;gap:6px}
.fln-ico{width:18px;height:18px;opacity:.75}
.fln-wallet__label{font-size:12px;font-weight:700;letter-spacing:.2px;opacity:.8}
#fln-wallet-button{max-width:360px}

/* option: n’afficher qu’une icône selon le wallet détecté */
.fln-wallet[data-wallet-kind="apple"] .fln-ico--gpay{display:none}
.fln-wallet[data-wallet-kind="gpay"]  .fln-ico--apple{display:none}

#flnnoticestable #flnnoticestable  .fln-badge{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.28rem .6rem;
  border-radius:999px;
  font-size:12px;
  line-height:1.1;
  font-weight:600;
  border:1px solid transparent;
  white-space:nowrap;
}

/* Petit point optionnel */
#flnnoticestable  .fln-badge::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:currentColor;
  opacity:.65;
}

/* Base (fallback) */
#flnnoticestable  .fln-badge{
  color:#334155;            /* slate */
  background:#f1f5f9;       /* slate-100 */
  border-color:#e2e8f0;     /* slate-200 */
}

/* ---------- COMMANDE (LELPS) ---------- */

/* Brouillon */
#flnnoticestable  .fln-badge--draft{
  color:#475569;
  background:#f8fafc;
  border-color:#e2e8f0;
}

/* En attente */
#flnnoticestable  .fln-badge--pending{
  color:#7c2d12;            /* amber/brown */
  background:#fffbeb;       /* amber-50 */
  border-color:#fde68a;     /* amber-200 */
}

/* En cours */
#flnnoticestable  .fln-badge--processing{
  color:#1e40af;            /* blue-800 */
  background:#eff6ff;       /* blue-50 */
  border-color:#bfdbfe;     /* blue-200 */
}

/* En revue */
#flnnoticestable  .fln-badge--review{
  color:#6d28d9;            /* violet */
  background:#f5f3ff;       /* violet-50 */
  border-color:#ddd6fe;     /* violet-200 */
}

/* Refusée */
#flnnoticestable  .fln-badge--refused{
  color:#991b1b;            /* red-800 */
  background:#fef2f2;       /* red-50 */
  border-color:#fecaca;     /* red-200 */
}

/* Annulée */
#flnnoticestable  .fln-badge--canceled,
#flnnoticestable  .fln-badge--cancelled{
  color:#334155;
  background:#f1f5f9;
  border-color:#cbd5e1;
}

/* Validée */
#flnnoticestable  .fln-badge--validated{
  color:#065f46;            /* emerald-800 */
  background:#ecfdf5;       /* emerald-50 */
  border-color:#a7f3d0;     /* emerald-200 */
}


#flnnoticestable  .fln-badge--published{
  color:#064e3b;            /* emerald-900 */
  background:#d1fae5;       /* emerald-100 */
  border-color:#6ee7b7;     /* emerald-300 */
}


#flnnoticestable  .fln-badge--close{
  color:#0f172a;            /* slate-900 */
  background:#e2e8f0;       /* slate-200 */
  border-color:#cbd5e1;     /* slate-300 */
}



#flnnoticestable  .fln-badge--paid{
  color:#065f46;
  background:#ecfdf5;
  border-color:#a7f3d0;
}

#flnnoticestable  .fln-badge--failed{
  color:#991b1b;
  background:#fef2f2;
  border-color:#fecaca;
}

#flnnoticestable  .fln-badge--refunded{
  color:#0f172a;
  background:#e2e8f0;
  border-color:#cbd5e1;
}

#flnnoticestable  .fln-badge--awaiting_payment{
  color:#7c2d12;
  background:#fffbeb;
  border-color:#fde68a;
}



#flnnoticestable  .fln-badge--quote{
  color:#475569;
  background:#f8fafc;
  border-color:#e2e8f0;
}

#flnnoticestable  .fln-badge--quote.is-sent{
  color:#1e40af;
  background:#eff6ff;
  border-color:#bfdbfe;
}


#flnnoticestable  .fln-badge[data-tooltip]{
  position:relative;
  cursor:help;
}
#flnnoticestable  .fln-badge[data-tooltip]:hover::after{
  content:attr(data-tooltip);
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:calc(100% + 8px);
  background:#111827;
  color:#fff;
  padding:6px 8px;
  border-radius:8px;
  font-size:12px;
  font-weight:500;
  white-space:nowrap;
  z-index:9999;
}
#flnnoticestable { width: 100% !important; }
#flnnoticestable th, #flnnoticestable td { white-space: normal !important; }


.fln-my-filters__bar{display:flex;gap:12px;align-items:center;margin:12px 0}
.fln-my-filters__search{display:flex;align-items:center;gap:8px;border:1px solid #ddd;padding:8px 10px;border-radius:4px;min-width:280px}
.fln-my-filters__search input{border:0;outline:0;width:100%}
.fln-my-filters__btn{border:1px solid #ddd;background:#fff;padding:10px 12px;border-radius:4px;cursor:pointer}
.fln-dd{position:absolute;z-index:9999;background:#fff;border:1px solid #ddd;border-radius:6px;padding:10px;margin-top:6px;min-width:240px}
.fln-dd__list{max-height:220px;overflow:auto;display:flex;flex-direction:column;gap:10px}
.fln-dd__actions{display:flex;justify-content:flex-end;margin-top:10px}
.fln-dd__apply{background:#0b4b87;color:#fff;border:0;padding:10px 14px;border-radius:4px;cursor:pointer}

.fln-filters-modal{position:fixed;inset:0;z-index:10000}
.fln-filters-modal__backdrop{position:absolute;inset:0;background:rgba(0,0,0,.35)}
.fln-filters-modal__dialog{position:relative;background:#fff;width:min(1100px,92vw);height:min(720px,86vh);margin:6vh auto;border-radius:8px;display:flex;flex-direction:column;overflow:hidden}
.fln-filters-modal__head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #eee}
.fln-filters-modal__body{padding:16px;overflow:auto}
.fln-filters-modal__footer{display:flex;gap:10px;justify-content:flex-end;padding:12px 16px;border-top:1px solid #eee}
.fln-filters-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.fln-filters-title{font-weight:700;font-size:12px;letter-spacing:.08em;color:#333;margin-bottom:10px}
.fln-filters-list{display:flex;flex-direction:column;gap:10px}
.fln-filters-list input[type="text"], .fln-filters-list input[type="date"], .fln-filters-list input[type="month"], .fln-filters-list input[type="number"]{border:1px solid #ddd;border-radius:4px;padding:10px 12px}

.fln-eye-btn{border:0;background:transparent;cursor:pointer;font-size:18px;line-height:1;padding:6px 8px}
.fln-notice-view__dialog{width:min(1180px,94vw);height:min(760px,88vh);overflow:hidden}
.fln-notice-view__head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #eee}
.fln-notice-view__status{display:flex;gap:18px;align-items:center;padding:10px 16px;border-bottom:1px solid #eee}
.fln-notice-view__exports{display:flex;gap:10px;padding:10px 16px;border-bottom:1px solid #eee}
.fln-notice-view__export{display:inline-flex;align-items:center;gap:8px;border:1px solid #ddd;background:#fff;padding:10px 14px;border-radius:6px;text-decoration:none}
.fln-notice-view__body{display:grid;grid-template-columns:1fr 360px;gap:18px;padding:16px;height:calc(100% - 140px);overflow:auto}
.fln-notice-view__preview{border:1px solid #eee;border-radius:8px;padding:16px;background:#fff}
.fln-notice-view__preview pre{margin:0;white-space:pre-wrap;word-break:break-word;font-family:inherit}
.fln-meta-card{border:1px solid #eee;border-radius:8px;padding:14px;background:#fff;margin-bottom:12px}
.fln-meta-label{font-size:12px;letter-spacing:.04em;color:#666;margin-bottom:6px}
.fln-meta-value{font-size:14px;color:#111}

/* slideBar My account*/

/* Drawer container */
#fln_notice_view_modal{
  position: fixed;
  inset: 0;
  z-index: 10000;
}

/* Backdrop */
#fln_notice_view_modal .fln-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .25s ease;
}

/* Panel (right sidebar) */
#fln_notice_view_modal .fln-modal__dialog{
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(1180px, 94vw);
  background: #fff;
  transform: translateX(100%);
  transition: transform .25s ease;
  overflow: auto;
  border-left: 1px solid #eee;
}

/* Open state */
#fln_notice_view_modal.is-open .fln-modal__backdrop{ opacity: 1; }
#fln_notice_view_modal.is-open .fln-modal__dialog{transform: translateX(0);}

/* Lock scroll page */
html.fln-lock, body.fln-lock{ overflow: hidden !important; }

#fln_notice_view_modal.is-open {
    display: block;
}

#fln_notice_view_modal .fln-modal__dialog {
    max-width: 100%;
}
form#ferrari_ln_form[data-fln-step='1'] .fln-radio-group {
    display: flex;
    gap: 25px;
}
.fln-notice-view__logo-wrap {
  margin: 0 0 16px;
  text-align: center;
}

.fln-notice-view__logo {
  max-width: 180px;
  max-height: 90px;
  width: auto;
  height: auto;
  display: inline-block;
}
/* Modal Profil account ANnnonce */
#fln_notice_view_modal {
    --fln-bg: #f4f7fb;
    --fln-surface: #ffffff;
    --fln-surface-soft: #f8fafc;
    --fln-border: #e2e8f0;
    --fln-border-strong: #cbd5e1;
    --fln-text: #0f172a;
    --fln-text-soft: #475569;
    --fln-text-muted: #64748b;
    --fln-primary: #f26722;
    --fln-primary-dark: #1e40af;
    --fln-success: #15803d;
    --fln-success-bg: #dcfce7;
    --fln-warning: #b45309;
    --fln-warning-bg: #fef3c7;
    --fln-danger: #b91c1c;
    --fln-danger-bg: #fee2e2;
    --fln-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
    --fln-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --fln-radius: 18px;
    --fln-radius-md: 14px;
    --fln-radius-sm: 10px;
    --fln-transition: 0.22s ease;
}

/* Dialog */
#fln_notice_view_modal .fln-modal__dialog.fln-notice-view__dialog {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    margin: 16px auto;
    background: var(--fln-surface);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--fln-radius);
    box-shadow: var(--fln-shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: flnModalIn 0.22s ease;
}

@keyframes flnModalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */
#fln_notice_view_modal .fln-notice-view__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--fln-border);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

#fln_notice_view_modal .fln-notice-view__head > div {
    color: var(--fln-text-soft);
    font-size: 14px;
    line-height: 1.7;
}

#fln_notice_view_modal .fln-notice-view__head strong {
    color: var(--fln-text);
    font-weight: 700;
}

#fln_notice_view_modal .fln-notice-view__close {
    appearance: none;
    border: 1px solid var(--fln-border);
    background: #fff;
    color: var(--fln-text-soft);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--fln-transition), background var(--fln-transition), color var(--fln-transition), border-color var(--fln-transition);
    flex-shrink: 0;
}

#fln_notice_view_modal .fln-notice-view__close:hover {
    background: #f8fafc;
    color: var(--fln-text);
    border-color: var(--fln-border-strong);
    transform: rotate(90deg);
}

/* Status row */
#fln_notice_view_modal .fln-notice-view__status {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 28px;
    background: var(--fln-surface-soft);
    border-bottom: 1px solid var(--fln-border);
}

#fln_notice_view_modal .fln-notice-view__status > div {
    background: #fff;
    border: 1px solid var(--fln-border);
    border-radius: var(--fln-radius-sm);
    padding: 14px 16px;
    font-size: 14px;
    color: var(--fln-text-soft);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
}

#fln_notice_view_modal .fln-notice-view__status span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Buttons / exports */
#fln_notice_view_modal .fln-notice-view__exports {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 28px;
    border-bottom: 1px solid var(--fln-border);
    background: #fff;
}

#fln_notice_view_modal .fln-notice-view__export {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid var(--fln-border);
    background: #fff;
    color: var(--fln-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all var(--fln-transition);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

#fln_notice_view_modal .fln-notice-view__export:hover {
    border-color: var(--fln-primary);
    color: var(--fln-primary);
    background: #eff6ff;
    transform: translateY(-1px);
}

/* Main body */
#fln_notice_view_modal .fln-notice-view__body {
    display: grid;
    grid-template-columns: minmax(0, 2fr) 320px;
    gap: 24px;
    padding: 24px 28px 28px;
    overflow: auto;
    background: var(--fln-bg);
}

/* Preview panel */
#fln_notice_view_modal .fln-notice-view__preview {
    min-width: 0;
}

#fln_notice_view_modal .fln-notice-view__preview-content {
    background: #fff;
    border: 1px solid var(--fln-border);
    border-radius: var(--fln-radius-md);
    box-shadow: var(--fln-shadow-md);
    padding: 32px;
}

/* Logo */
#fln_notice_view_modal .fln-notice-view__logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px dashed var(--fln-border);
}

#fln_notice_view_modal .fln-notice-view__logo {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
}

/* Content typography */
#fln_notice_view_modal .fln-preview-content {
    color: var(--fln-text);
    font-size: 15px;
    line-height: 1.9;
}

#fln_notice_view_modal .fln-preview-content p {
    margin: 0 0 1em;
}

#fln_notice_view_modal .fln-preview-content strong {
    color: #111827;
    font-weight: 700;
}

/* Sidebar meta */
#fln_notice_view_modal .fln-notice-view__meta {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#fln_notice_view_modal .fln-meta-card {
    background: #fff;
    border: 1px solid var(--fln-border);
    border-radius: var(--fln-radius-md);
    padding: 16px 18px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

#fln_notice_view_modal .fln-meta-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--fln-text-muted);
    margin-bottom: 8px;
}

#fln_notice_view_modal .fln-meta-value,
#fln_notice_view_modal .fln-meta-card div:not(.fln-meta-label) {
    color: var(--fln-text);
    font-size: 14px;
    line-height: 1.7;
}

#fln_notice_view_modal .fln-meta-card strong {
    color: var(--fln-text);
    font-weight: 700;
}

/* Badges */
#fln_notice_view_modal .fln-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    white-space: nowrap;
}

#fln_notice_view_modal .fln-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.85;
}

#fln_notice_view_modal .fln-badge--validated,
#fln_notice_view_modal .fln-badge--paid,
#fln_notice_view_modal .fln-badge-invoice-paid {
    color: var(--fln-success);
    background: var(--fln-success-bg);
    border-color: rgba(21, 128, 61, 0.18);
}

/* Scrollbar */
#fln_notice_view_modal .fln-notice-view__body::-webkit-scrollbar {
    width: 10px;
}

#fln_notice_view_modal .fln-notice-view__body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

#fln_notice_view_modal .fln-notice-view__body::-webkit-scrollbar-track {
    background: transparent;
}

/* Responsive */
@media (max-width: 980px) {
    #fln_notice_view_modal .fln-notice-view__body {
        grid-template-columns: 1fr;
    }

    #fln_notice_view_modal .fln-notice-view__meta {
        order: -1;
    }
}

@media (max-width: 768px) {
    #fln_notice_view_modal .fln-modal__dialog.fln-notice-view__dialog {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 16px);
        margin: 8px auto;
        border-radius: 14px;
    }

    #fln_notice_view_modal .fln-notice-view__head,
    #fln_notice_view_modal .fln-notice-view__status,
    #fln_notice_view_modal .fln-notice-view__exports,
    #fln_notice_view_modal .fln-notice-view__body {
        padding-left: 16px;
        padding-right: 16px;
    }

    #fln_notice_view_modal .fln-notice-view__head {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    #fln_notice_view_modal .fln-notice-view__status {
        grid-template-columns: 1fr;
    }

    #fln_notice_view_modal .fln-notice-view__preview-content {
        padding: 20px;
    }

    #fln_notice_view_modal .fln-notice-view__close {
        width: 38px;
        height: 38px;
    }
}
.mon-compte .right-side.informations .fln-profile-form__grid,
.mon-compte .right-side.informations .fln-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 30px;
}

.mon-compte .right-side.informations .fln-field,
.mon-compte .right-side.informations .fln-section,
.mon-compte .right-side.informations .fln-separator,
.mon-compte .right-side.informations .fln-actions {
  min-width: 0;
}

.mon-compte .right-side.informations .full,
.mon-compte .right-side.informations .fln-section,
.mon-compte .right-side.informations .fln-separator,
.mon-compte .right-side.informations .fln-actions {
  grid-column: 1 / -1;
}

.mon-compte .right-side.informations .fln-field label {
  display: block;
  margin-bottom: 10px;
}

.mon-compte .right-side.informations .fln-field input[type="text"],
.mon-compte .right-side.informations .fln-field input[type="email"],
.mon-compte .right-side.informations .fln-field select {
  width: 100%;
  height: 48px;
  padding: 10px 12px;
  box-sizing: border-box;
}

.mon-compte .right-side.informations .fln-section {
  margin: 0;
  padding: 0;
  border: 0;
}

.mon-compte .right-side.informations .fln-section legend {
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 600;
}

.mon-compte .right-side.informations .fln-check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mon-compte .right-side.informations .fln-actions {
  display: flex;
  justify-content: center;
}

.mon-compte .right-side.informations [hidden],
.mon-compte .right-side.informations .is-hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .mon-compte .right-side.informations .fln-profile-form__grid,
  .mon-compte .right-side.informations .fln-section__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.fln-repeater-row__title {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 14px;
  color: #111827;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}
.fln-label,
.fln-field > label,
.fln-field > .fln-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fln-label__text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fln-help-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1px solid #c9ced6;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
  color: #6b7280;
  background: #fff;
  cursor: help;
}

.fln-help-icon::before {
  content: "i";
  font-style: normal;
  font-weight: 700;
}

.fln-help-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  min-width: 220px;
  max-width: 320px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
  z-index: 50;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

.fln-help-icon:hover::after,
.fln-help-icon:focus::after {
  opacity: 1;
  transform: translateY(0);
}

.fln-help {
  display: none !important;
}
.fln-hidden-by-condition,
[hidden] {
  display: none !important;
}
.fln-repeater-subtitle {
    font-weight: bold;
}
.fln-hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

form#ferrari_ln_form textarea {
    height: auto !important;
}
.fln-is-readonly {
  background: #f5f5f5;
  cursor: not-allowed;
}
/* Variables & Base */
:root {
    --fln-primary: #F26522;
    --fln-primary-hover: #d84d14;
    --fln-bg: #f9fafb;
    --fln-text: #0f172a;
    --fln-text-muted: #64748b;
    --fln-border: #e2e8f0;
}

.fln-auth-page {
    background: var(--fln-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif;
}

.fln-auth-page__shell {
    flex-grow: 1;
    display: flex;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

/* -----------------------------
 * GAUCHE : ASIDE (TIMELINE)
 * ----------------------------- */
.fln-auth-page__aside {
    display: none;
    position: relative;
    width: 50%;
    background: #ffffff;
    border-right: 1px solid rgba(15, 23, 42, 0.05);
    padding: 3rem 4rem;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .fln-auth-page__aside {
        display: flex;
        flex-direction: column;
    }
}

/* Background Blobs */
.fln-auth-page__aside::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at top left, rgba(242,101,34,0.08) 0%, transparent 40%),
                radial-gradient(circle at bottom right, rgba(59,130,246,0.08) 0%, transparent 40%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.fln-aside-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

/* Timeline Stepper */
.fln-modern-timeline {
    position: relative;
    padding: 2rem 0;
    margin-bottom: 1.5rem;
}

.fln-timeline__track {
    position: absolute;
    left: 1.5rem; /* 24px */
    top: 2.5rem;
    bottom: 2.5rem;
    width: 2px;
    background: #f1f5f9;
    z-index: 0;
}

.fln-timeline__progress {
    position: absolute;
    left: 1.5rem;
    top: 2.5rem;
    height: 75%;
    width: 2px;
    background: linear-gradient(180deg, #F26522 0%, #60a5fa 100%);
    z-index: 1;
}

.fln-timeline__step {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    z-index: 2;
    cursor: default;
    opacity: 0;
    animation: fade-in-up 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fln-timeline__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    color: #94a3b8;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.fln-timeline__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.fln-timeline__step--active .fln-timeline__icon {
    background: #F26522;
    color: #ffffff;
    border-color: #F26522;
    box-shadow: 0 10px 25px -5px rgba(242, 101, 34, 0.4);
}

.fln-timeline__content {
    margin-left: 1.5rem;
    flex-grow: 1;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.fln-timeline__step--active .fln-timeline__content {
    background: #ffffff;
    border-color: rgba(242, 101, 34, 0.1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.fln-timeline__step:hover .fln-timeline__icon {
    transform: scale(1.1);
}

.fln-timeline__step:hover .fln-timeline__content {
    background: #ffffff;
    border-color: #f1f5f9;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.fln-timeline__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.fln-timeline__header h4 {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: #64748b;
}

.fln-timeline__step--active .fln-timeline__header h4 {
    color: #0f172a;
}

.fln-timeline__content p {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
}

/* Étape Finale (Résultat) */
.fln-timeline__step--result .fln-timeline__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-left: 0.25rem;
    border-radius: 0.75rem;
    background: #f0fdf4;
    color: #16a34a;
    border-color: #dcfce7;
}

.fln-timeline__step--result .fln-timeline__content {
    background: rgba(240, 253, 244, 0.5);
    border-color: #dcfce7;
}

.fln-timeline__step--result .fln-timeline__content span {
    display: block;
    font-size: 0.625rem;
    font-weight: 900;
    color: #15803d;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.fln-timeline__step--result .fln-timeline__content p {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #1e293b;
}

/* Animations timeline */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.fln-floating-cursor {
    position: absolute;
    bottom: 3rem;
    right: 0;
    pointer-events: none;
    color: #0f172a;
    filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.1));
    transform: rotate(12deg);
    animation: bounce-slow 4s ease-in-out infinite;
}

/* Aside Text & Badges */
.fln-aside-text {
    text-align: center;
    margin-top: 1.5rem;
}

.fln-aside-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.fln-aside-text p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 2rem;
    padding: 0 2rem;
}

.fln-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.fln-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.75rem;
}

.fln-badge span {
    font-size: 0.625rem;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fln-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #94a3b8;
}
.fln-company-toast-stack {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.fln-company-toast {
    min-width: 260px;
    max-width: 380px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease;
}

.fln-company-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fln-company-toast.is-success {
    background: #f26522;
}

.fln-company-toast.is-error {
    background: #991b1b;
}

.fln-company-toast.is-info {
    background: #f26522;
}
.fln-free-category {
    margin: 0 0 28px;
}

.fln-free-category__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.fln-free-category__content {
    min-width: 0;
}

.fln-free-category__label {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.fln-free-category__code {
    margin-top: 4px;
    font-size: 13px;
    color: #6b7280;
}

.fln-free-category__actions {
    flex: 0 0 auto;
}

@media (max-width: 640px) {
    .fln-free-category__card {
        align-items: flex-start;
        flex-direction: column;
    }
}
.fln-free-category-modal[hidden] {
    display: none !important;
}

.fln-free-category-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.fln-free-category-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, .58);
    backdrop-filter: blur(5px);
}

.fln-free-category-modal__panel {
    position: relative;
    z-index: 2;
    width: min(720px, 96vw);
    max-height: 88vh;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, .30);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fln-free-category-modal__header {
    padding: 18px 22px;
    border-bottom: 1px solid #edf0f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fln-free-category-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}

.fln-free-category-modal__close {
    width: 38px;
    height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.fln-free-category-modal__body {
    padding: 20px 22px;
    overflow: auto;
}

.fln-free-category-modal__search {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 15px;
}

.fln-free-category-modal__empty {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    color: #6b7280;
    background: #f9fafb;
}

.fln-free-category-modal__list {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.fln-free-category-modal__footer {
    padding: 16px 22px;
    border-top: 1px solid #edf0f4;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.fln-free-category-modal__item {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-align: left;
}

.fln-free-category-modal__item:hover,
.fln-free-category-modal__item.is-selected,
.fln-free-category-modal__item.is-current {
    border-color: #f26522;
    background: rgba(242, 101, 34, .06);
}

.fln-free-category-modal__item-label {
    font-weight: 700;
    color: #111827;
}

.fln-free-category-modal__item-code {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    color: #f26522;
}
.fln-rich-editor {
    border: 1px solid #d1d5db;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.fln-rich-editor__toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.fln-rich-editor__btn {
    width: 38px;
    height: 34px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    background: #fff;
    color: #111827;
    cursor: pointer;
    font-size: 15px;
}

.fln-rich-editor__btn:hover {
    border-color: #f26522;
    color: #f26522;
}

.fln-rich-editor__area {
    min-height: 260px;
    padding: 16px;
    outline: none;
    line-height: 1.7;
    color: #111827;
    font-size: 15px;
}

.fln-rich-editor__area:focus {
    box-shadow: inset 0 0 0 2px rgba(242, 101, 34, .18);
}

.fln-rich-editor__error {
    padding: 0 16px 14px;
    color: #b42318;
    font-size: 13px;
    font-weight: 600;
}
.fln-rich-editor {
    border: 1px solid #dfe3ea;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

.fln-rich-editor__toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 6px 12px;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
}

.fln-rich-editor__format {
    width: 130px;
    height: 30px;
    padding: 0 30px 0 10px;
    border: 0;
    border-radius: 3px;
    background: #f3f4f6;
    color: #374151;
    font-size: 14px;
    outline: none;
}

.fln-rich-editor__btn {
    width: 34px;
    height: 30px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #111827;
    cursor: pointer;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fln-rich-editor__btn:hover,
.fln-rich-editor__btn.is-active {
    background: #bfdbfe;
    color: #111827;
}

.fln-rich-editor__area {
    min-height: 320px;
    padding: 18px 16px;
    outline: none;
    line-height: 1.7;
    color: #111827;
    font-size: 15px;
    background: #fff;
}

.fln-rich-editor__area:focus {
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .16);
}

.fln-rich-editor__status {
    height: 24px;
    padding: 3px 8px;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
    color: #6b7280;
    font-size: 12px;
    line-height: 18px;
}

.fln-rich-editor__error {
    padding: 0 16px 14px;
    color: #b42318;
    font-size: 13px;
    font-weight: 600;
}

.fln-rich-editor__icon {
    width: 18px;
    height: 16px;
    display: inline-block;
    position: relative;
}

.fln-rich-editor__icon::before,
.fln-rich-editor__icon::after {
    content: "";
    position: absolute;
    left: 0;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.fln-rich-editor__icon::before {
    top: 2px;
    width: 18px;
    box-shadow:
        0 5px 0 currentColor,
        0 10px 0 currentColor;
}

.fln-rich-editor__icon::after {
    top: 15px;
    width: 12px;
}

.fln-rich-editor__icon--center::before,
.fln-rich-editor__icon--center::after {
    left: 50%;
    transform: translateX(-50%);
}

.fln-rich-editor__icon--right::before,
.fln-rich-editor__icon--right::after {
    left: auto;
    right: 0;
}
.fln-upload-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 8px 14px;
  border: 1px solid #dc2626;
  border-radius: 8px;
  background: #fff;
  color: #dc2626;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.fln-upload-remove-btn:hover {
  background: #dc2626;
  color: #fff;
}

.fln-upload-box__preview-image {
  max-width: 180px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}


.fln-step3-double {
    display: grid;
    grid-template-columns: minmax(280px, 413px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.fln-step3-double__left,
.fln-step3-preview-block {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.fln-step3-double__left {
    padding: 24px;
    position: sticky;
    top: 24px;
}

.fln-step3-double__right {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.fln-step3-preview-block {
    padding: 24px;
}

.fln-step3-title {
    margin: 0 0 18px;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.fln-step3-options {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.fln-step3-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
}

.fln-step3-option--done {
    background: #fff7ed;
    color: #9a3412;
}

.fln-step3-option__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f26522;
    color: #fff;
    font-size: 13px;
    line-height: 1;
    border: navajowhite;
}

/* En double annonce, le format papier ne doit pas apparaître */
.fln-step3-double .fln-step3-option--disabled {
    display: none;
}

.fln-step3-summary {
    display: grid;
    gap: 12px;
}

.fln-step3-summary__line,
.fln-step3-summary__totals > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    
}


.fln-step3-summary__line span,
.fln-step3-summary__totals span {
    color: #64748b;
    font-size: 14px;
}

.fln-step3-summary__line strong,
.fln-step3-summary__totals strong {
    color: #111827;
    font-size: 15px;
    white-space: nowrap;
}

.fln-step3-summary__totals {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.fln-step3-summary__ttc {
    margin-top: 8px;
    padding: 16px !important;
    border: 0 !important;
    border-radius: 14px;
    background: #edf0f3;
    color: #040404 !important;
}

.fln-step3-summary__ttc span,
.fln-step3-summary__ttc strong {
    color: #000;
}

.fln-step3-summary__ttc strong {
    font-size: 22px;
}

.fln-step3-journal-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    margin-bottom: 18px;
    border: 1px solid #fed7aa;
    border-radius: 14px;
    background: #fff7ed;
}

.fln-step3-journal-card strong {
    display: block;
    margin-bottom: 4px;
    color: #1f2937;
    font-size: 16px;
}

.fln-step3-journal-card div div {
    color: #64748b;
    font-size: 14px;
}

.fln-step3-edit {
    border: 0;
    border-radius: 999px;
    padding: 9px 14px;
    background: #f26522;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.fln-step3-preview-card {
    padding: 26px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    color: #1f2937;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.fln-step3-preview-card h1 {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
    color: #111827;
}

.fln-step3-preview-card p {
    margin: 0;
    font-size: 16px;
}

.fln-step3-double .fln-actions--step3 {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.fln-step3-double .fln-actions--step3 .fln-btn {
    width: 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .fln-step3-double {
        grid-template-columns: 1fr;
    }

    .fln-step3-double__left {
        position: static;
    }
}

@media (max-width: 575px) {
    .fln-step3-double {
        gap: 18px;
    }

    .fln-step3-double__left,
    .fln-step3-preview-block {
        padding: 18px;
        border-radius: 14px;
    }

    .fln-step3-journal-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .fln-step3-edit {
        width: 100%;
    }

    .fln-step3-preview-card {
        padding: 18px;
    }

    .fln-step3-preview-card h1 {
        font-size: 20px;
    }

    .fln-step3-preview-card p {
        font-size: 15px;
    }
}
.fln-upload-box.has-file .fln-upload-box__input {
  pointer-events: none !important;
}

.fln-upload-box.has-file [data-upload-preview] {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

.fln-upload-box.has-file [data-fln-media-remove] {
  position: relative;
  z-index: 50;
  pointer-events: auto;
}
.fln-modification-box {
    margin: 12px 0;
    padding: 12px 14px;
    border: 1px solid #f4c7a1;
    background: #fff7f1;
    border-radius: 8px;
    color: #3f2b1f;
}

.fln-modification-box strong {
    display: block;
    margin-bottom: 4px;
    color: #e94e1b;
}

.fln-modification-box p {
    margin: 0;
    font-size: 13px;
}
.fln-account-page {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 30px clamp(16px, 3vw, 48px) 44px !important;
    overflow-x: clip !important;
    display: block !important;
}

.fln-account-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 26px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.fln-account-sidebar.left-side,
.fln-account-sidebar {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.fln-account-sidebar nav {
    position: static !important;
    width: 100% !important;
    max-width: 1480px !important;
    margin: 0 auto !important;
    padding: 18px 22px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    border: 1px solid #ece6df !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 45px rgba(24, 21, 17, 0.07) !important;
}

.fln-account-sidebar nav h2 {
    margin: 0 0 16px !important;
    padding: 0 !important;
    text-align: center !important;
    color: #181511 !important;
    font-size: clamp(26px, 2.4vw, 36px) !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
}

.fln-account-sidebar nav ul {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.fln-account-sidebar nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.fln-account-sidebar nav a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: #f8f6f3 !important;
    color: #2b261f !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transform: none !important;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease !important;
}

.fln-account-sidebar nav li.active a,
.fln-account-sidebar nav a:hover,
.fln-account-sidebar nav a:focus-visible {
    background: #ea5b21 !important;
    border-color: #ea5b21 !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(234, 91, 33, 0.22) !important;
    outline: none !important;
}

.fln-account-content.right-side,
.fln-account-content.right-side.annonces {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

.fln-account-content.annonces > .fln-my-notices-head,
.fln-account-content.annonces > .fln-my-filters,
.fln-account-content.annonces > .fln-bulk-actions,
.fln-account-content.annonces > .fln-notices-wrapper,
.fln-account-content.annonces > .dataTables_wrapper {
    width: 100% !important;
    max-width: none !important;
}

.fln-my-notices-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 22px 24px !important;
    background: #fff !important;
    border: 1px solid #ece6df !important;
    border-radius: 24px !important;
    box-shadow: 0 18px 45px rgba(24, 21, 17, 0.06) !important;
}

.fln-my-notices-head h1 {
    margin: 0 !important;
    color: #181511 !important;
    font-size: clamp(28px, 2.3vw, 38px) !important;
    line-height: 1.05 !important;
    font-weight: 850 !important;
    letter-spacing: -0.04em !important;
}

.fln-my-notices-head p {
    max-width: 860px !important;
    margin: 8px 0 0 !important;
    color: #716a62 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.fln-my-notices-new {
    min-height: 46px !important;
    padding: 0 20px !important;
    border-radius: 999px !important;
    background: #ccc!important;
    color: #fff !important;
    /* box-shadow: 0 12px 28px rgba(24, 21, 17, 0.18) !important; */
    font-weight: 800 !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    color: #000 !important;
}

.fln-my-notices-new:hover,
.fln-my-notices-new:focus-visible {
    background: #ea5b21 !important;
    color: #fff !important;
}

.fln-my-filters {
    position: relative !important;
    z-index: 30 !important;
    width: 100% !important;
    margin: 0 0 18px !important;
}

.fln-my-filters__bar {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    background: #fff !important;
    border: 1px solid #ece6df !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 45px rgba(24, 21, 17, 0.06) !important;
}

.fln-my-filters__search {
    flex: 1 1 520px !important;
    min-width: 420px !important;
    height: 50px !important;
    /* background: #f8f6f3 !important; */
    border-radius: 15px;
    border-radius: 999px !important;
}

.fln-my-filters__btn,
.fln-my-filters__bar > label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 1px solid #e2ddd6 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #29241e !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.fln-my-filters__bar > label select,
#flnQuoteStatusFilter {
    height: 34px !important;
    min-height: 34px !important;
    margin-left: 4px !important;
    padding: 0 30px 0 10px !important;
    border: 1px solid #e2ddd6 !important;
    border-radius: 999px !important;
    background-color: #f8f6f3 !important;
    color: #181511 !important;
    box-shadow: none !important;
    font-weight: 700 !important;
}

.fln-my-filters__btn:hover,
.fln-my-filters__btn:focus-visible,
.fln-my-filters__btn[aria-expanded="true"],
.fln-my-filters__bar > label:focus-within {
    border-color: rgba(234, 91, 33, 0.55) !important;
    background: #fff7f2 !important;
    color: #ea5b21 !important;
    outline: none !important;
}

.fln-my-filters__btn--all {
    background: #ea5b21 !important;
    border-color: #ea5b21 !important;
    color: #fff !important;
}

.fln-dd {
    left: 14px !important;
}

.fln-dd[data-fln-dd="pub"] {
    left: min(470px, 38vw) !important;
}

.fln-notices-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    background: #fff !important;
    border: 1px solid #ece6df !important;
    border-radius: 24px !important;
    box-shadow: 0 22px 55px rgba(24, 21, 17, 0.08) !important;
    -webkit-overflow-scrolling: touch !important;
}

.fln-notices-wrapper .dataTables_wrapper {
    width: 100% !important;
    min-width: 1760px !important;
    padding: 0 !important;
}

#flnnoticestable {
    width: 100% !important;
    min-width: 1760px !important;
    table-layout: auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #fff !important;
    font-size: 13px !important;
}

#flnnoticestable thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 8 !important;
    padding: 16px 14px !important;
    background: #ea5b21 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 850 !important;
    line-height: 1.25 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

#flnnoticestable tbody td {
    padding: 16px 14px !important;
    border-bottom: 1px solid #f0ede9 !important;
    color: #181511 !important;
    line-height: 1.35 !important;
    vertical-align: middle !important;
}

#flnnoticestable tbody tr:hover {
    background: #fff9f5 !important;
}

#flnnoticestable_info,
#flnnoticestable_paginate {
    padding: 14px 16px !important;
}

#flnnoticestable_paginate .paginate_button {
    min-width: 36px !important;
    min-height: 36px !important;
    margin: 0 3px !important;
    padding: 8px 12px !important;
    border: 1px solid #e7e1da !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #29241e !important;
    font-weight: 750 !important;
}

#flnnoticestable_paginate .paginate_button.current,
#flnnoticestable_paginate .paginate_button:hover {
    background: #ea5b21 !important;
    border-color: #ea5b21 !important;
    color: #fff !important;
}

@media (max-width: 900px) {
    .fln-account-page {
        padding: 20px 14px 32px !important;
    }

    .fln-account-sidebar nav {
        padding: 16px !important;
        border-radius: 20px !important;
    }

    .fln-account-sidebar nav ul {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        padding-bottom: 4px !important;
    }

    .fln-account-sidebar nav a {
        min-height: 42px !important;
        padding: 0 15px !important;
    }

    .fln-my-notices-head {
        display: block !important;
        padding: 20px !important;
    }

    .fln-my-notices-new {
        margin-top: 14px !important;
    }

    .fln-my-filters__search {
        flex-basis: 100% !important;
        min-width: 100% !important;
    }

    .fln-my-filters__btn,
    .fln-my-filters__bar > label {
        flex: 1 1 auto !important;
    }

    .fln-dd,
    .fln-dd[data-fln-dd="pub"] {
        left: 0 !important;
        right: 0 !important;
        max-width: none !important;
    }
}

@media (max-width: 768px) {
    .fln-notices-wrapper {
        overflow-x: auto !important;
        border-radius: 18px !important;
        background: #fff !important;
        border: 1px solid #ece6df !important;
        box-shadow: 0 16px 38px rgba(24, 21, 17, 0.07) !important;
    }

    .fln-notices-wrapper .dataTables_wrapper,
    #flnnoticestable {
        min-width: 1560px !important;
    }
}

@media (max-width: 560px) {
    .fln-account-sidebar nav h2 {
        font-size: 25px !important;
    }

    .fln-my-filters__btn,
    .fln-my-filters__bar > label {
        width: 100% !important;
    }
}

.listing-table.reduce-font.stacktable.large-only img {
    max-width: 100%;
}
/* =========================================================
   Ferrari Legal Notices - Refonte globale formulaires front
   Scope réel : .ferrari-ln-builder
   ========================================================= */

body .ferrari-ln-builder {
  --fln-orange: #f26522;
  --fln-orange-dark: #d94f18;
  --fln-text: #111827;
  --fln-muted: #64748b;
  --fln-label: #7b8495;
  --fln-border: #e5e7eb;
  --fln-border-strong: #d1d5db;
  --fln-bg: #f6f7fb;
  --fln-card: #ffffff;
  --fln-error: #dc2626;
  display: grid !important;
  grid-template-columns: minmax(0, 1.65fr) minmax(360px, 0.95fr) !important;
  gap: 28px !important;
  align-items: flex-start !important;
  max-width: 1380px !important;
  margin: 0 auto 60px !important;
  /* padding: 28px !important; */
  /* background: var(--fln-bg) !important; */
  border-radius: 28px !important;
}

body .ferrari-ln-builder__left,
body .ferrari-ln-builder__right {
  min-width: 0 !important;
}

body .ferrari-ln-builder__right {
  position: sticky !important;
  top: 24px !important;
}

/* Cartes principales */
body .ferrari-ln-builder .fln-card,
body .ferrari-ln-builder .fln-form,
body .ferrari-ln-builder .fln-card-subsection,
body .ferrari-ln-builder .ferrari-ln-logo-header,
body .ferrari-ln-builder .ferrari-ln-logo-header__reference,
body .ferrari-ln-builder .ferrari-ln-preview__content {
  background: #ffffff !important;
  border: 1px solid var(--fln-border) !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06) !important;
}

/* Formulaire principal */
body .ferrari-ln-builder .fln-form {
  padding: 0 !important;
  overflow: hidden !important;
}

body .ferrari-ln-builder .fln-card-header {
  padding: 24px 26px 0 !important;
  border: 0 !important;
}

body .ferrari-ln-builder .fln-card-body {
  padding: 24px 26px 28px !important;
}

/* Titres */
body .ferrari-ln-builder .fln-card-title,
body .ferrari-ln-builder .fln-section-title,
body .ferrari-ln-builder .ferrari-ln-logo-header__title,
body .ferrari-ln-builder .ferrari-ln-preview__title {
  margin: 0 0 18px !important;
  color: var(--fln-orange) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.035em !important;
}

body .ferrari-ln-builder .fln-section-title {
  margin-top: 30px !important;
  padding-top: 22px !important;
  border-top: 1px solid var(--fln-border) !important;
}

/* Blocs logo / référence */
body .ferrari-ln-builder .ferrari-ln-logo-header,
body .ferrari-ln-builder .ferrari-ln-logo-header__reference {
  padding: 22px !important;
  margin: 22px 0 !important;
}

/* Champs */
body .ferrari-ln-builder .fln-field {
  position: relative !important;
  margin: 0 0 20px !important;
}

/* Labels */
body .ferrari-ln-builder label,
body .ferrari-ln-builder .fln-label,
body .ferrari-ln-builder .fln-label__text {
  color: var(--fln-label) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

body .ferrari-ln-builder .fln-label {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-bottom: 9px !important;
}

body .ferrari-ln-builder .fln-req {
  color: var(--fln-orange) !important;
}

body .ferrari-ln-builder input[type="text"],
body .ferrari-ln-builder input[type="email"],
body .ferrari-ln-builder input[type="tel"],
body .ferrari-ln-builder input[type="number"],
body .ferrari-ln-builder input[type="date"],
body .ferrari-ln-builder select,
body .ferrari-ln-builder textarea,
body .ferrari-ln-builder .fln-input,
body .ferrari-ln-builder .fln-select,
body .ferrari-ln-builder .fln-textarea,
body .ferrari-ln-builder .ferrari-ln-input,
body .ferrari-ln-builder .ferrari-ln-textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 56px !important;
  padding: 14px 16px !important;
  color: var(--fln-text) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  background: #ffffff !important;
  border: 1px solid var(--fln-border-strong) !important;
  border-radius: 16px !important;
  outline: none !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease !important;
}

body .ferrari-ln-builder textarea,
body .ferrari-ln-builder .fln-textarea,
body .ferrari-ln-builder .ferrari-ln-textarea {
  min-height: 140px !important;
  resize: vertical !important;
}

/* Focus */
body .ferrari-ln-builder input:focus,
body .ferrari-ln-builder select:focus,
body .ferrari-ln-builder textarea:focus,
body .ferrari-ln-builder .fln-input:focus,
body .ferrari-ln-builder .fln-select:focus,
body .ferrari-ln-builder .fln-textarea:focus,
body .ferrari-ln-builder .ferrari-ln-input:focus,
body .ferrari-ln-builder .ferrari-ln-textarea:focus {
  border-color: var(--fln-orange) !important;
  box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.16) !important;
}

/* Readonly / disabled */
body .ferrari-ln-builder input[readonly],
body .ferrari-ln-builder input:disabled,
body .ferrari-ln-builder select:disabled,
body .ferrari-ln-builder textarea:disabled {
  background: #f8fafc !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

/* Croix validation */
body .ferrari-ln-builder .fln-req-indicator {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  margin-top: 8px !important;
  border-radius: 50% !important;
  background: #fff1f2 !important;
  color: var(--fln-error) !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

/* Help icon */
body .ferrari-ln-builder .fln-help-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 18px !important;
  height: 18px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 50% !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  background: #ffffff !important;
}

/* Alertes */
body .ferrari-ln-builder .fln-alert {
  border-radius: 16px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(242, 101, 34, 0.22) !important;
  background: #fff7f2 !important;
  color: #7c3f1d !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

/* Radios */
body .ferrari-ln-builder .fln-radio-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

body .ferrari-ln-builder .fln-radio,
body .ferrari-ln-builder .fln-radio-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 16px !important;
  border: 1px solid var(--fln-border) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  cursor: pointer !important;
}

body .ferrari-ln-builder input[type="radio"],
body .ferrari-ln-builder input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--fln-orange) !important;
}

/* Upload */
body .ferrari-ln-builder .fln-upload-box {
  border: 1.5px dashed #cbd5e1 !important;
  background: #f8fafc !important;
  border-radius: 18px !important;
  padding: 24px !important;
}

body .ferrari-ln-builder .fln-upload-box:hover {
  border-color: var(--fln-orange) !important;
  background: #fff7f2 !important;
}


/* Aperçu */
body .ferrari-ln-builder .ferrari-ln-preview__content {
  padding: 24px !important;
  min-height: 260px !important;
}

body .ferrari-ln-builder .ferrari-ln-preview__hint,
body .ferrari-ln-builder .fln-preview-note {
  color: var(--fln-muted) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body .ferrari-ln-builder .fln-preview-section {
  padding: 16px 0 !important;
  border-bottom: 1px solid var(--fln-border) !important;
}

body .ferrari-ln-builder .fln-preview-section-title {
  color: var(--fln-orange) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  margin: 0 0 10px !important;
}

body .ferrari-ln-builder .fln-preview-field {
  font-size: 13px !important;
  line-height: 1.55 !important;
}

body .ferrari-ln-builder .fln-preview-field-label {
  color: #64748b !important;
  font-weight: 700 !important;
}

body .ferrari-ln-builder .fln-preview-field-value {
  color: var(--fln-text) !important;
}

/* Corrige double aside imbriqué */
body .ferrari-ln-builder__right > .ferrari-ln-builder__right {
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Responsive */
@media (max-width: 1100px) {
  body .ferrari-ln-builder {
    grid-template-columns: 1fr !important;
  }

  body .ferrari-ln-builder__right {
    position: static !important;
  }
}

@media (max-width: 700px) {
  body .ferrari-ln-builder {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  body .ferrari-ln-builder .fln-card-body,
  body .ferrari-ln-builder .fln-card-header {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  body .ferrari-ln-builder .fln-actions {
    flex-direction: column !important;
  }

  body .ferrari-ln-builder .fln-actions button {
    width: 100% !important;
  }
}
/* =========================================================
   Correction position croix / validation champs obligatoires
   ========================================================= */

body .ferrari-ln-builder .fln-field {
  position: relative !important;
}

/* Croix dans les champs classiques */
body .ferrari-ln-builder .fln-field:not(.fln-field--radio) > .fln-req-indicator {
  position: absolute !important;
  top: 43px !important;
  right: 14px !important;
  margin: 0 !important;
  z-index: 5 !important;

  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #fff1f2 !important;
  color: #dc2626 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

/* Laisse de la place à droite dans les inputs */
body .ferrari-ln-builder .fln-field:not(.fln-field--radio) .fln-input,
body .ferrari-ln-builder .fln-field:not(.fln-field--radio) .fln-select,
body .ferrari-ln-builder .fln-field:not(.fln-field--radio) .fln-textarea,
body .ferrari-ln-builder .fln-field:not(.fln-field--radio) input,
body .ferrari-ln-builder .fln-field:not(.fln-field--radio) select,
body .ferrari-ln-builder .fln-field:not(.fln-field--radio) textarea {
  padding-right: 48px !important;
}


body .ferrari-ln-builder .ferrari-ln-logo-header__reference {
  position: relative !important;
}

body .ferrari-ln-builder .ferrari-ln-logo-header__reference > .fln-req-indicator {
  position: absolute !important;
  right: 36px !important;
  bottom: 38px !important;
  margin: 0 !important;
  z-index: 5 !important;

  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: #fff1f2 !important;
  color: #dc2626 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}


body .ferrari-ln-builder .fln-field--radio > .fln-req-indicator {
  position: static !important;
  margin-top: 10px !important;
  margin-left: 0 !important;
}


body .ferrari-ln-builder .fln-req-indicator[data-state="ok"] {
  background: #ecfdf5 !important;
  color: #16a34a !important;
}
.ferrari-ln-builder.ferrari-ln-builder--full {
    width: 100% !important;
    max-width: 100% !important;
    grid-template: 1;
    grid-template-columns: minmax(1, 0fr) minmax(400px, 0fr) !important;
    display: block !important;
}

body .ferrari-ln-builder.ferrari-ln-builder--full .fln-radio, body .ferrari-ln-builder.ferrari-ln-builder--full .fln-radio-inline{
    display: block !important;
}
.fln-formaliste-card {
    margin: 24px 0;
    padding: 22px;
    border: 1px solid #d8dde6;
    border-radius: 16px;
    background: #fff;
}

.fln-formaliste-card__title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}

.fln-formaliste-card__status {
    margin-top: 12px;
    font-weight: 600;
}

.fln-btn.is-loading {
    opacity: .75;
    cursor: wait;
}
.fc-hero {
  position: relative;




  min-height: 560px;
  background-image: url("/wp-content/uploads/2026/06/fond-juridique.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  overflow: hidden;
}

.fc-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.82) 48%,
      rgba(255, 255, 255, 0.52) 100%
    );
  z-index: 1;
}

.fc-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 24px 0;
  text-align: center;
}

.fc-hero__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  padding: 9px 20px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
}

.fc-hero__title {
  max-width: 900px;
  margin: 0 auto;
  color: #111827;
  font-size: clamp(36px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.fc-hero__subtitle {
  max-width: 780px;
  margin: 28px auto 0;
  color: #4b5563;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.65;
}

.fc-hero__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  margin-top: 42px;
}

.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 34px;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}

.fc-btn--primary {
  background: #f04a1a;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(240, 74, 26, 0.25);
}

.fc-btn--primary:hover {
  background: #d93f12;
  color: #ffffff;
  transform: translateY(-2px);
}

.fc-btn--link {
  color: #111827;
  background: transparent;
  padding-inline: 0;
}

.fc-btn--link:hover {
  color: #f04a1a;
}

.fc-hero__assist {
  display: grid;
  grid-template-columns: 72px 1fr 190px 250px;
  align-items: center;
  gap: 26px;
  max-width: 1020px;
  margin: 64px auto 0;
  padding: 26px 32px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-left: 5px solid #f04a1a;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.14);
  text-align: left;
}

.fc-hero__assist-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff3ed;
  color: #f04a1a;
  font-size: 28px;
}

.fc-hero__assist-content strong {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 20px;
  font-weight: 800;
}

.fc-hero__assist-content span {
  display: block;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.55;
}

.fc-hero__assist-phone {
  padding-left: 24px;
  border-left: 1px solid #e5e7eb;
}

.fc-hero__assist-phone small {
  display: block;
  margin-bottom: 4px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fc-hero__assist-phone strong {
  color: #f04a1a;
  font-size: 23px;
  font-weight: 900;
  white-space: nowrap;
}

.fc-hero__assist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 6px;
  background: #f04a1a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.fc-hero__assist-btn:hover {
  background: #d93f12;
  color: #ffffff;
}

@media (max-width: 991px) {
  .fc-hero {
    min-height: auto;
  }

  .fc-hero__inner {
    padding: 70px 20px 54px;
  }

  .fc-hero__assist {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }

  .fc-hero__assist-icon {
    margin: 0 auto;
  }

  .fc-hero__assist-phone {
    padding-left: 0;
    border-left: 0;
  }

  .fc-hero__actions {
    flex-direction: column;
    gap: 14px;
  }

  .fc-btn {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 575px) {
  .fc-hero__title {
    font-size: 36px;
    letter-spacing: -0.8px;
  }

  .fc-hero__subtitle {
    font-size: 17px;
  }

  .fc-hero__assist {
    margin-top: 42px;
  }
}
.fc-trust-strip {
  width: 100%;
  background: #ffffff;
  padding: 48px 24px 34px;
}

.fc-trust-strip__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.fc-trust-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 16px;
}

.fc-trust-item__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff3ed;
  color: #f04a1a;
}

.fc-trust-item strong {
  display: block;
  margin-bottom: 6px;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
}

.fc-trust-item span {
  display: block;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 991px) {
  .fc-trust-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .fc-trust-strip {
    padding: 34px 20px 24px;
  }

  .fc-trust-strip__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
.fc-support-why {
  width: 100%;
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 0 24px 29px;
}

.fc-support {
  display: grid;
  grid-template-columns: 130px 1fr 230px 230px;
  align-items: center;
  gap: 26px;
  padding: 28px 34px;
  border-radius: 12px;
  background: linear-gradient(90deg, #fff4ef 0%, #fff9f6 55%, #fff4ef 100%);
  border: 1px solid #f2ded6;
}

.fc-support__visual {
  position: relative;
}

.fc-support__circle {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #fff3ed 42%, #f04a1a 100%);
  color: #f04a1a;
  box-shadow: 0 18px 35px rgba(240, 74, 26, 0.20);
}

.fc-support__circle svg {
  color: #ffffff;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

.fc-support__content h2 {
  margin: 0;
  color: #101828;
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.3px;
}

.fc-support__content p {
  max-width: 560px;
  margin: 9px 0 0;
  color: #475467;
  font-size: 15px;
  line-height: 1.65;
}

.fc-support__phone {
  padding-left: 24px;
  border-left: 1px solid rgba(240, 74, 26, 0.18);
}

.fc-support__phone span {
  display: block;
  margin-bottom: 5px;
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.fc-support__phone strong {
  display: block;
  color: #f04a1a;
  font-size: 25px;
  font-weight: 850;
  white-space: nowrap;
}

.fc-support__action a {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ea5b21;
  border-radius: 7px;
  background: #ffffff;
  color: #ea5b21;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.fc-support__action a:hover {
  background: #ea5b21;
  color: #ffffff;
}

.fc-why {
  padding-top: 54px;
}

.fc-why__title {
  text-align: center;
}

.fc-why__title h2 {
  margin: 0;
  color: #101828;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -0.4px;
}

.fc-why__title span {
  color: #ea5b21;
}

.fc-why__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 34px;
}

.fc-why__item {
  min-height: 170px;
  padding: 0 24px;
  border-right: 1px solid #eaecf0;
}

.fc-why__item:last-child {
  border-right: 0;
}

.fc-why__icon {
  width: 38px;
  height: 38px;
  margin-bottom: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff3ed;
  color: #f04a1a;
}

.fc-why__icon svg {
  width: 21px;
  height: 21px;
}

.fc-why__icon--green {
  background: #ecfdf3;
  color: #16a34a;
}

.fc-why__item h3 {
  margin: 0;
  color: #101828;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.3;
}

.fc-why__item p {
  margin: 12px 0 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .fc-support {
    grid-template-columns: 100px 1fr;
  }

  .fc-support__phone,
  .fc-support__action {
    grid-column: 2;
  }

  .fc-support__phone {
    padding-left: 0;
    border-left: 0;
  }

  .fc-why__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 0;
  }

  .fc-why__item:nth-child(3n) {
    border-right: 0;
  }
}

@media (max-width: 767px) {
  .fc-support-why {
    padding: 0 18px 48px;
  }

  .fc-support {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }

  .fc-support__circle {
    margin: 0 auto;
  }

  .fc-support__phone,
  .fc-support__action {
    grid-column: auto;
  }

  .fc-support__action a {
    width: 100%;
  }

  .fc-why__grid {
    grid-template-columns: 1fr;
  }

  .fc-why__item {
    border-right: 0;
    border-bottom: 1px solid #eaecf0;
    padding: 0 0 24px;
    text-align: center;
  }

  .fc-why__item:last-child {
    border-bottom: 0;
  }

  .fc-why__icon {
    margin: 0 auto 14px;
  }
}

section.fc-hero {
    overflow: hidden;
}
.fc-why-pro {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 24px 74px;
}

.fc-why-pro * {
  box-sizing: border-box;
}

.fc-why-pro__head {
  text-align: center;
  margin-bottom: 42px;
}

.fc-why-pro__head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff3ed;
  color: #ea5b21;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fc-why-pro__head h2 {
  margin: 0;
  color: #111827;
  font-size: 36px;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.6px;
}

.fc-why-pro__head h2 strong {
  color: #ea5b21;
  font-weight: 850;
}

.fc-why-pro__head p {
  margin: 18px 0 0;
  color: #667085;
  font-size: 16px;
  line-height: 1.55;
}

.fc-why-pro__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fc-why-pro__card {
  min-height: 250px;
  padding: 28px 25px 26px;
  border: 1px solid #e9edf3;
  border-radius: 11px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.035);
}

.fc-why-pro__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.fc-why-pro__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-why-pro__icon--orange {
  background: #fff3ed;
  color: #ea5b21;
}

.fc-why-pro__icon--gold {
  background: #fff8e6;
  color: #d99a16;
}

.fc-why-pro__icon--green {
  background: #ecfdf3;
  color: #16a34a;
}

.fc-why-pro__icon--gray {
  background: #f3f4f6;
  color: #9ca3af;
}

.fc-why-pro__icon--dark {
  background: #eef2f7;
  color: #1f2937;
}

.fc-why-pro__icon--purple {
  background: #f3e8ff;
  color: #7e22ce;
}

.fc-why-pro__icon--rocket {
  background: rgba(255, 255, 255, 0.08);
  color: #ea5b21;
}

.fc-why-pro__card h3 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.3;
}

.fc-why-pro__card p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.72;
}

.fc-why-pro__card--cta {
  background: #101828;
  border-color: #101828;
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.20);
}

.fc-why-pro__card--cta h3 {
  color: #ffffff;
}

.fc-why-pro__card--cta p {
  color: #d0d5dd;
}

.fc-why-pro__card--cta a {
  width: 100%;
  min-height: 58px;
  margin-top: 24px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: #ea5b21;
  color: #ffffff;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

.fc-why-pro__card--cta a:hover {
  background: #ea5b21;
  color: #ffffff;
}

@media (max-width: 991px) {
  .fc-why-pro__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fc-why-pro__head h2 {
    font-size: 30px;
  }
}

@media (max-width: 575px) {
  .fc-why-pro {
    padding: 48px 18px;
  }

  .fc-why-pro__grid {
    grid-template-columns: 1fr;
  }

  .fc-why-pro__card {
    min-height: auto;
  }

  .fc-why-pro__head h2 {
    font-size: 26px;
  }
}
.fc-payment-methods {
  width: 100%;

  background: #f8fafc;
}

.fc-payment-methods__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px;
display:flex;
  gap: 18px;
  align-items: center;
}

.fc-payment-methods__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #475467;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.fc-payment-methods__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #f04a1a;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
  flex: 0 0 auto;
}

.fc-payment-methods__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-payment-methods__item strong {
  font-size: 13px;
  font-weight: 800;
  color: #475467;
}

@media (max-width: 991px) {
  .fc-payment-methods__inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .fc-payment-methods__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 18px;
  }

  .fc-payment-methods__item {
    justify-content: flex-start;
  }
}
.fc-payment-methods__head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0px 24px 8px;
  text-align: center;
}

.fc-payment-methods__head span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff3ed;
  color: #ea5b21;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fc-payment-methods__head h2 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.4px;
}

.fc-payment-methods__head p {
  max-width: 620px;
  margin: 12px auto 0;
  color: #667085;
  font-size: 15px;
  line-height: 1.6;
}
.fc-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #edf0f5;
  backdrop-filter: blur(12px);
}

.fc-site-header * {
  box-sizing: border-box;
}

.fc-site-header__inner {
  max-width: 1180px;
  height: 74px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 32px;
}

.fc-site-header__logo {
  display: inline-flex;
  align-items: center;
}

.fc-site-header__logo img {
  max-width: 175px;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.fc-site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.fc-site-header__nav a {
  color: #101828;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.fc-site-header__nav a:hover {
  color: #f04a1a;
}

.fc-site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.fc-site-header__login {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #101828;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.fc-site-header__login-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.fc-site-header__login-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fc-site-header__pro {
  min-height: 46px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f04a1a;
  border-radius: 7px;
  color: #f04a1a;
  background: #ffffff;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.fc-site-header__pro:hover {
  background: #f04a1a;
  color: #ffffff;
}

@media (max-width: 991px) {
  .fc-site-header__inner {
    height: auto;
    min-height: 74px;
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .fc-site-header__nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 24px;
    padding: 0 0 16px;
  }
}

@media (max-width: 575px) {
  .fc-site-header__inner {
    padding: 12px 18px;
  }

  .fc-site-header__logo img {
    max-width: 145px;
  }

  .fc-site-header__actions {
    gap: 10px;
  }

  .fc-site-header__login {
    font-size: 0;
  }

  .fc-site-header__pro {
    min-height: 40px;
    padding: 0 16px;
    font-size: 13px;
  }
}
.ferrari-legal-types__popular-grid ,.ferrari-legal-types .mdc-layout-grid__inner{
    max-width: 1180px;
    margin: 0 auto;
}
.fc-site-topbar {
  width: 100%;
  background: #101828;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.fc-site-topbar__inner {
  max-width: 1180px;
  min-height: 38px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: Inter, sans-serif;
  font-size: 13px;
}

.fc-site-topbar__left,
.fc-site-topbar__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fc-site-topbar__left span {
  color: rgba(255, 255, 255, 0.72);
}

.fc-site-topbar a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none !important;
}

.fc-site-topbar a:hover {
  color: #f04a1a;
}

@media (max-width: 767px) {
  .fc-site-topbar {
    display: none;
  }
}


.fc-site-topbar {
  width: 100%;
  background: #081120;
  color: #ffffff;
  padding:10px ;
}

.fc-site-topbar__inner {
  max-width: 1180px;
  min-height: 32px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

}
.fc-site-topbar__left,
.fc-site-topbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fc-site-topbar__advice {
  color: #ffffff;
  font-weight: 800;
}

.fc-site-topbar__status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #17b26a;
  box-shadow: 0 0 0 4px rgba(23, 178, 106, 0.14);
}

.fc-site-topbar__hours {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.fc-site-topbar a {
  color: rgba(255, 255, 255, 0.86) !important;
  font-weight: 700;
  text-decoration: none !important;
}

.fc-site-topbar a:hover {
  color: #f04a1a !important;
}
.fln-social-login {
    margin-top: 22px;
}

.fln-social-login__separator {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 18px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
}

.fln-social-login__separator::before,
.fln-social-login__separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.fln-social-login__button {
    width: 100%;
}

.fln-social-login__button .nsl-container,
.fln-social-login__button .nsl-container-buttons,
.fln-social-login__button .nsl-button {
    width: 100% !important;
}

.fln-social-login__button .nsl-button {
    border-radius: 14px !important;
}