.lsr-reader-body{margin:0;background:#FAF8F5;color:#2B2B2B;font-family:Inter,Arial,sans-serif}.lsr-reader-wrap{max-width:1200px;margin:0 auto;padding:24px}.lsr-reader-header{display:flex;gap:20px;align-items:center;margin-bottom:18px}.lsr-reader-header h1{font-family:"Cormorant Garamond",serif;font-size:34px;margin:0;color:#2B2B2B}.lsr-frame-wrap{background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.08);overflow:hidden}.lsr-frame{display:block;width:100%;height:82vh;border:0}.lsr-notice{max-width:680px;margin:40px auto;padding:34px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:18px;text-align:center;box-shadow:0 18px 50px rgba(0,0,0,.06)}.lsr-notice h2{margin:0 0 12px;font-family:"Cormorant Garamond",serif;font-size:34px;color:#B11F5E}

.lsr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 92px;
    height: 34px;
    padding: 0 20px;

    background: #ffffff;
    color: #b88a52 !important;

    border: 1px solid #d8bd98;
    border-radius: 0;

    font-family: "Cormorant Garamond", serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    text-decoration: none;
    box-shadow: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.lsr-button:hover {
    background: #b88a52;
    color: #ffffff !important;
    border-color: #b88a52;
}

.lsr-button:focus,
.lsr-button:active {
    color: #ffffff !important;
    background: #9f7443;
    border-color: #9f7443;
    outline: none;
}

./* ===== Lecteur principal ===== */

.lsr-pdfjs-reader {
    position: relative;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid #e7e0d8;
    border-radius: 14px;

    box-shadow:
        0 18px 50px rgba(43, 32, 24, 0.08),
        0 2px 8px rgba(43, 32, 24, 0.04);
}

/* ===== Barre d’outils ===== */

.lsr-toolbar {
    position: sticky;
    top: 0;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;

    padding: 14px 18px;

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid #ece5dd;
}

/* ===== Boutons principaux ===== */

.lsr-toolbar button {
    appearance: none;

    min-height: 38px;
    padding: 0 16px;

    background: #8E1B2A;
    color: #ffffff;

    border: 1px solid #8E1B2A;
    border-radius: 4px;

    font-family: Inter, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;

    cursor: pointer;
    box-shadow: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.lsr-toolbar button:hover {
    background: #741522;
    border-color: #741522;

    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(142, 27, 42, 0.16);
}

.lsr-toolbar button:active {
    transform: translateY(0);
    box-shadow: none;
}

.lsr-toolbar button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== Zoom plus discret ===== */

.lsr-toolbar .lsr-zoom-out,
.lsr-toolbar .lsr-zoom-in {
    width: 38px;
    min-width: 38px;
    padding: 0;

    background: transparent;
    color: #8E1B2A;

    border-color: #d9c4c8;
}

.lsr-toolbar .lsr-zoom-out:hover,
.lsr-toolbar .lsr-zoom-in:hover {
    background: #8E1B2A;
    color: #ffffff;
    border-color: #8E1B2A;
}

/* ===== Informations de page ===== */

.lsr-page-info,
.lsr-zoom-label {
    color: #2b2725;

    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.lsr-page-info {
    padding: 0 6px;
}

.lsr-zoom-label {
    min-width: 48px;
    text-align: center;
}

/* ===== Zone du PDF ===== */

.lsr-canvas-wrap {
    min-height: 78vh;
    padding: 28px;

    overflow: auto;
    text-align: center;

    background: #F7F7F5;
}

/* ===== Page PDF ===== */

.lsr-canvas {
    display: inline-block;
    max-width: 100%;
    height: auto;

    background: #ffffff;

    box-shadow:
        0 20px 45px rgba(42, 34, 29, 0.14),
        0 2px 8px rgba(42, 34, 29, 0.08);
}

/* ===== Plein écran ===== */

.lsr-pdfjs-reader:fullscreen {
    background: #F7F7F5;
    border: 0;
    border-radius: 0;
}

.lsr-pdfjs-reader:fullscreen .lsr-canvas-wrap {
    height: calc(100vh - 67px);
    min-height: 0;
}

/* ===== Mobile ===== */

@media (max-width: 767px) {
    .lsr-toolbar {
        justify-content: flex-start;
        gap: 8px;
        padding: 10px;

        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .lsr-toolbar button {
        min-height: 36px;
        padding: 0 12px;
        white-space: nowrap;
        font-size: 12px;
    }

    .lsr-page-info,
    .lsr-zoom-label {
        white-space: nowrap;
        font-size: 13px;
    }

    .lsr-canvas-wrap {
        min-height: 70vh;
        padding: 14px;
    }
    .lsr-search {
    padding-left: 0;
    margin-left: 0;
    border-left: 0;
    flex: 0 0 auto;
    }

   .lsr-search-input {
    width: 170px;
   }
}

/* ===== Recherche dans le PDF ===== */

.lsr-search {
    display: flex;
    align-items: center;
    gap: 6px;

    padding-left: 10px;
    margin-left: 2px;

    border-left: 1px solid #ece5dd;
}

.lsr-search-input {
    width: 220px;
    height: 38px;
    padding: 0 12px;

    background: #ffffff;
    color: #2b2725;

    border: 1px solid #d8d0c8;
    border-radius: 4px;
    outline: none;

    font-family: Inter, sans-serif;
    font-size: 13px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.lsr-search-input::placeholder {
    color: #8c8580;
}

.lsr-search-input:focus {
    border-color: #8e1b2a;
    box-shadow: 0 0 0 3px rgba(142, 27, 42, 0.10);
}

.lsr-search-input:disabled {
    opacity: 0.65;
    cursor: wait;
    background: #f7f5f2;
}

.lsr-search-count {
    min-width: 48px;

    color: #625b56;
    text-align: center;
    white-space: nowrap;

    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.lsr-toolbar .lsr-search-prev,
.lsr-toolbar .lsr-search-next {
    width: 38px;
    min-width: 38px;
    padding: 0;

    background: transparent;
    color: #8e1b2a;

    border-color: #d9c4c8;

    font-size: 20px;
    line-height: 1;
}

.lsr-toolbar .lsr-search-prev:hover,
.lsr-toolbar .lsr-search-next:hover {
    background: #8e1b2a;
    color: #ffffff;
    border-color: #8e1b2a;
}

.lsr-toolbar .lsr-search-prev:disabled,
.lsr-toolbar .lsr-search-next:disabled {
    background: transparent;
    color: #aaa29c;
    border-color: #ddd7d2;
}

.larche-membership-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    background: #ffffff;
    border: 1px solid rgba(43, 43, 43, 0.08);
    border-radius: 6px;
    color: #2b2b2b;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(43, 43, 43, 0.06);
}

.larche-membership-badge__dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    flex: 0 0 11px;
}

.larche-membership-badge--active .larche-membership-badge__dot {
    background: #3fa45b;
}

.larche-membership-badge--inactive .larche-membership-badge__dot {
    background: #b11f5e;
}

/* Badge abonnement sans carte blanche */
html body .larche-membership-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    color: #2b2b2b !important;
    font-family: Inter, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

html body .larche-membership-badge__dot {
    width: 10px !important;
    height: 10px !important;
    flex: 0 0 10px !important;
    border-radius: 50% !important;
}

html body .larche-membership-badge--active .larche-membership-badge__dot {
    background: #3fa45b !important;
}
