/* ============================================================
   Mon Compte — Enfin Lire
   ============================================================ */

.elmc-page {
    font-family: 'Quicksand', sans-serif;
    width: 100%;
}

.elmc-hidden { display: none !important; }
.elmc-muted  { color: #aaa; font-size: 14px; }

/* ---- Header ---- */
.elmc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.elmc-header-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.elmc-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #FDC71C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #5b4a1f;
    flex-shrink: 0;
    overflow: hidden;
}

.elmc-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.elmc-header-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #FDC71C;
    margin-bottom: 3px;
}

.elmc-header-name {
    font-family: 'Nunito', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #222;
    margin: 0 0 3px;
    line-height: 1.1;
}

.elmc-header-sub {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.elmc-logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid #ef4444;
    background: none;
    color: #ef4444;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.15s;
    white-space: nowrap;
}

.elmc-logout-btn:hover {
    background: #fef2f2;
}

/* ---- Body layout ---- */
.elmc-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* ---- Sidebar nav ---- */
.elmc-nav {
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 210px;
    flex-shrink: 0;
}

.elmc-nav-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    border: none !important;
    background: none !important;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #666 !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: background 0.15s, color 0.15s !important;
    width: 100% !important;
}

.elmc-nav-item:hover {
    background: #fff7da !important;
    color: #5b4a1f !important;
}

.elmc-nav-item.is-active {
    background: #FDC71C !important;
    color: #fff !important;
}

.elmc-nav-item.is-active svg {
    stroke: #fff;
}

/* ---- Content area ---- */
.elmc-content {
    flex: 1;
    min-width: 0;
}

/* ---- Cards ---- */
.elmc-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
}

.elmc-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.elmc-card-title {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: #222;
    margin: 0;
}

.elmc-card-subtitle {
    font-size: 13px;
    color: #888;
    margin: 4px 0 0;
}

/* ---- Link button ---- */
.elmc-link-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    background: none;
    border: none !important;
    padding: 0 !important;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #888 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: color 0.15s !important;
    white-space: nowrap !important;
}

.elmc-link-btn:hover { color: #222;background: none !important; }

/* ---- Profile rows ---- */
.elmc-profile-rows {
    border-top: 1px solid #f0f0f0;
}

.elmc-profile-row {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 16px;
}

.elmc-profile-label {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    width: 180px;
    flex-shrink: 0;
}

.elmc-profile-value {
    font-size: 14px;
    color: #888;
}

/* ---- Security section ---- */
.elmc-security-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.elmc-security-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff7da;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.elmc-security-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.elmc-security-label {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.elmc-security-sub {
    font-size: 13px;
    color: #888;
}

/* ---- Avatar upload ---- */
.elmc-avatar-upload-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.elmc-avatar-lg {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #FDC71C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #5b4a1f;
    overflow: hidden;
    flex-shrink: 0;
}

.elmc-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }

.elmc-avatar-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1.5px solid #FDC71C;
    background: #fff7da;
    color: #5b4a1f;
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.elmc-avatar-upload-btn:hover { background: #ffe9b4; }

/* ---- Forms ---- */

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

.elmc-field-row {
    display: flex;
    gap: 14px;
}

.elmc-field-row .elmc-field { flex: 1; }

.elmc-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
}

.elmc-input {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1.5px solid #e5e5e5 !important;
    border-radius: 12px !important;
    background: #fafafa !important;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #222 !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    box-sizing: border-box !important;
    appearance: none;
}

.elmc-input:focus {
    border-color: #FDC71C !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(253,199,28,.15) !important;
}

.elmc-form-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

/* ---- Buttons ---- */
.elmc-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 11px 20px !important;
    border-radius: 12px !important;
    font-family: 'Quicksand', sans-serif;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-decoration: none;
    white-space: nowrap !important;
    transition: background 0.15s, transform 0.1s !important;
    border: none !important;
}

.elmc-btn--primary {
    background: #FDC71C !important;
    color: #fff !important;
    border: none !important;
}

.elmc-btn--primary:hover {
    background: #f0b800 !important;
    transform: translateY(-1px);
}

.elmc-btn--outline {
    background: none !important;
    color: #FDC71C !important;
    border: 1.5px solid #FDC71C !important;
}

.elmc-btn--outline:hover {
    background: #fff7da !important;
}

.elmc-btn--danger-outline {
    background: none !important;
    color: #ef4444 !important;
    border: 1.5px solid #ef4444 !important;
}

.elmc-btn--danger-outline:hover { background: #fef2f2 !important; }

.elmc-btn--ghost {
    background: none !important;
    color: #888 !important;
    border: 1.5px solid #e5e5e5 !important;
}

.elmc-btn--ghost:hover {
    background: #f5f5f5 !important;
}

/* ---- Error / Success ---- */
.elmc-error {
    font-size: 13px;
    font-weight: 600;
    color: #ef4444;
    margin: 8px 0;
    min-height: 0;
}

.elmc-error:not(:empty) { min-height: 18px; }

.elmc-success {
    font-size: 13px;
    font-weight: 600;
    color: #2f9140;
    background: #edf7ee;
    border-radius: 8px;
    margin: 8px 0;
}

.elmc-success:not(:empty) { padding: 10px 14px; }

/* ---- Plan section ---- */
.elmc-plan-box {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff9f0;
    border-radius: 12px;
    border: 1px solid #f1e1b5;
    margin: 16px 0;
    flex-wrap: wrap;
}

.elmc-plan-left { flex: 1; }
.elmc-plan-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.elmc-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: #FDC71C;
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.elmc-plan-price {
    font-family: 'Nunito', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #222;
    line-height: 1.1;
}

.elmc-plan-period {
    font-size: 16px;
    font-weight: 600;
    color: #888;
}

.elmc-plan-desc {
    font-size: 13px;
    color: #888;
    margin: 6px 0 0;
}

.elmc-plan-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
    white-space: nowrap;
}

.elmc-plan-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ---- Payment method ---- */
.elmc-payment-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.elmc-card-brand {
    width: 52px;
    height: 36px;
    border-radius: 8px;
    background: #FDC71C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.elmc-payment-info {
    display: flex;
    flex-direction: column;
}

.elmc-payment-label {
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.elmc-payment-sub {
    font-size: 12px;
    color: #888;
}

/* ---- Factures ---- */

/* Header */
.elmc-factures-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.elmc-factures-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: linear-gradient(135deg, #FDC71C 0%, #f0b800 100%);
    border-radius: 12px;
    padding: 12px 20px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(253,199,28,.3);
}

.elmc-factures-total-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: rgba(91,74,31,.7);
    margin-bottom: 2px;
}

.elmc-factures-total-amount {
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #5b4a1f;
}

/* Empty state */
.elmc-factures-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 48px 0;
    color: #ccc;
    font-size: 14px;
}

/* Table container */
.elmc-factures-wrap {
    border: 1.5px solid #ebebeb;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

/* Table base */
.elmc-factures-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-family: 'Quicksand', sans-serif;
}

/* Thead */
.elmc-factures-table thead tr {
    background: #fff;
    border-bottom: 2px solid #FDC71C;
}

.elmc-factures-table th {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #bbb;
    padding: 13px 18px;
    text-align: left;
    white-space: nowrap;
}

.elmc-col-r { text-align: right !important; }

/* Body rows */
.elmc-factures-table td {
    padding: 16px 18px;
    border-bottom: 1px solid #f5f5f5;
    color: #555;
    vertical-align: middle;
}

.elmc-frow {
    transition: background .12s;
}

.elmc-frow:hover { background: #fffdf5; }

.elmc-factures-table tbody tr:last-child td { border-bottom: none; }

/* Reference pill */
.elmc-fref {
    display: inline-flex;
    align-items: center;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 4px 9px;
    white-space: nowrap;
    letter-spacing: .03em;
}

/* Plan name + period */
.elmc-fplan-name {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin-bottom: 3px;
}

.elmc-fplan-period {
    font-size: 11px;
    font-weight: 600;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* Dates range */
.elmc-fdates {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

.elmc-fdates svg { stroke: #d0d0d0; flex-shrink: 0; }

/* Amount */
.elmc-famount {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #111;
}

.elmc-famount--next { color: #999 !important; }

/* PDF button */
.elmc-fpdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1.5px solid #e8e8e8;
    background: #fff;
    font-family: 'Quicksand', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-decoration: none;
    transition: border-color .15s, background .15s, color .15s;
    white-space: nowrap;
}

.elmc-fpdf-btn:hover {
    border-color: #FDC71C;
    background: #fffbeb;
    color: #b45309;
}

.elmc-fpdf-btn:hover svg { stroke: #b45309; }

/* Next row */
.elmc-frow--next { background: #f8fbff !important; }

.elmc-frow--next:hover { background: #eff6ff !important; }

.elmc-frow--next td { border-bottom-color: #e8f0fe; }

.elmc-fref--next {
    gap: 5px;
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #2563eb !important;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .03em;
}

.elmc-fref--next svg { stroke: #3b82f6; flex-shrink: 0; }

.elmc-fpdf-soon {
    font-size: 14px;
    color: #d0d0d0;
    display: block;
    text-align: right;
    padding-right: 4px;
}

/* Badges */
.elmc-badge--blue { background: #dbeafe; color: #1d4ed8; }

/* Footer */
.elmc-factures-table tfoot tr {
    background: #fafafa;
    border-top: 1.5px solid #ebebeb;
}

.elmc-factures-table tfoot td {
    border-bottom: none;
    padding: 14px 18px;
}

.elmc-ffoot-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #ccc;
}

.elmc-ffoot-total {
    font-family: 'Nunito', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: #111;
}

/* Responsive */
@media (max-width: 680px) {
    .elmc-fdates { display: none; }
    .elmc-factures-table th:nth-child(3) { display: none; }
}

/* ---- Badges ---- */
.elmc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.elmc-badge--green  { background: #d1fae5; color: #065f46; }
.elmc-badge--gray   { background: #f3f4f6; color: #555; border: 1px solid #e5e5e5; }
.elmc-badge--orange { background: #fff3cd; color: #b45309; }

/* ---- Team / Banner ---- */
.elmc-banner {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    background: #fff9f0;
    border: 1px solid #f1e1b5;
    border-radius: 14px;
    align-items: flex-start;
}

.elmc-banner-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff7da;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.elmc-banner strong { font-size: 14px; font-weight: 700; color: #222; }

.elmc-banner-sub {
    font-size: 13px;
    color: #888;
    margin: 3px 0 0;
}

/* ---- Members list ---- */
.elmc-members-list { margin-top: 8px; }

.elmc-member-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
}

.elmc-member-row:last-child { border-bottom: none; }

.elmc-member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FDC71C;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #5b4a1f;
    flex-shrink: 0;
}

.elmc-member-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.elmc-member-name { font-size: 14px; font-weight: 700; color: #222; }
.elmc-member-email { font-size: 12px; color: #888; }

.elmc-member-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.elmc-remove-btn {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: opacity 0.15s;
}

.elmc-remove-btn:hover svg { stroke: #ef4444; }

/* ---- Modal ---- */
.elmc-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.elmc-modal-overlay.is-open {
    display: flex;
}

.elmc-modal {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    max-width: 440px;
    margin: 16px;
    animation: elmc-fade-up 0.2s ease;
}

@keyframes elmc-fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

.elmc-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.elmc-modal-header h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #222;
}

.elmc-modal-close {
    background: none;
    border: none !important;
    font-size: 22px !important;
    color: #aaa !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1;
    transition: color 0.15s !important;
}

.elmc-modal-close:hover { color: #222; background: none !important;}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .elmc-page { padding: 20px 16px; }

    .elmc-body { flex-direction: column; }

    .elmc-nav {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
        width: 100%;
        padding: 8px;
    }

    .elmc-nav-item {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        font-size: 12px;
        padding: 10px 8px;
    }

    .elmc-field-row { flex-direction: column; }

    .elmc-plan-box { flex-direction: column; }

    .elmc-profile-label { width: 120px; }

    .elmc-header-name { font-size: 22px; }
}

@media (max-width: 480px) {
    .elmc-header { flex-direction: column; align-items: flex-start; }
    .elmc-plan-actions { flex-direction: column; }
    .elmc-member-meta { margin-left: 0; }
}

/* ---- Favoris ---- */
.elmc-fav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 4px;
}

.elmc-fav-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border-radius: 14px;
    border: 1.5px solid #ebebeb;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.elmc-fav-card:hover {
    border-color: #FDC71C;
    box-shadow: 0 4px 14px rgba(253,199,28,.15);
}

.elmc-fav-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

.elmc-fav-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.elmc-fav-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}

.elmc-fav-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.elmc-fav-theme {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.elmc-fav-title {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #222;
    margin: 2px 0 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.elmc-fav-author {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.elmc-fav-date {
    font-size: 11px;
    color: #bbb;
    margin: 4px 0 0;
}

.elmc-fav-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px 20px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
    font-weight: 600;
}

.elmc-fav-empty p { margin: 0; }

@media (max-width: 640px) {
    .elmc-fav-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .elmc-fav-img { width: 64px; height: 64px; }
}

/* ---- Notices paiement ---- */
.elmc-notice {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
}

.elmc-notice--success {
    background: #f0fdf4 !important;
    color: #16a34a !important;
    border: 1px solid #bbf7d0 !important;
}

.elmc-notice--error {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border: 1px solid #fecaca !important;
}

/* ---- Statut abonnement ---- */
.elmc-plan-status {
    display: inline-block !important;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    margin-top: 6px !important;
}

.elmc-plan-status--active {
    background: #f0fdf4 !important;
    color: #16a34a !important;
}

.elmc-plan-status--cancelled {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.elmc-plan-status--expired {
    background: #f3f4f6 !important;
    color: #6b7280 !important;
}

/* ---- Notice engagement / non-renouvellement ---- */
.elmc-engagement-notice {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    color: #92400e !important;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    margin-top: 4px !important;
}

.elmc-engagement-notice svg {
    flex-shrink: 0 !important;
    margin-top: 2px !important;
    stroke: #d97706 !important;
}

.elmc-engagement-notice p {
    margin: 0 !important;
    padding: 0 !important;
}

.elmc-engagement-notice a {
    color: #b45309 !important;
    text-decoration: underline !important;
}

.elmc-engagement-notice--info {
    background: #f0fdf4 !important;
    border-color: #bbf7d0 !important;
    color: #166534 !important;
}

.elmc-engagement-notice--info svg {
    stroke: #16a34a !important;
}

