/* =========================================================
   WSI - WALLET
   Palette :
   Or      #ad9551
   Sombre  #323331
   Gris    #666964
   ========================================================= */


/* =========================================================
   ONGLETS WSI
   ========================================================= */

#protected-content .nav-tabs {
    border-bottom: 1px solid rgba(173, 149, 81, 0.35);
    gap: 4px;
}


/* Onglet normal */
#protected-content .nav-tabs .nav-link {
    color: #666964;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0.6rem 0.6rem 0 0;

    font-weight: 600;

    padding: 0.75rem 1.15rem;

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


/* Survol */
#protected-content .nav-tabs .nav-link:hover {
    color: #ad9551;

    background-color: rgba(173, 149, 81, 0.07);

    border-color:
        rgba(173, 149, 81, 0.18)
        rgba(173, 149, 81, 0.18)
        rgba(173, 149, 81, 0.35);
}


/* Onglet sélectionné */
#protected-content .nav-tabs .nav-link.active,
#protected-content .nav-tabs .nav-item.show .nav-link {

    color: #323331;

    background-color: #ffffff;

    border-color:
        rgba(173, 149, 81, 0.35)
        rgba(173, 149, 81, 0.35)
        #ffffff;

    box-shadow:
        inset 0 3px 0 #ad9551;

    font-weight: 700;
}


/* Suppression du focus Bootstrap bleu */
#protected-content .nav-tabs .nav-link:focus,
#protected-content .nav-tabs .nav-link:focus-visible {

    color: #323331;

    outline: none;

    box-shadow:
        inset 0 3px 0 #ad9551;

}


/* Icônes */
#protected-content .nav-tabs .nav-link i {
    color: inherit;
}


/* =========================================================
   LIENS DES SOCIÉTÉS DU PORTEFEUILLE WSI
   ========================================================= */

/*
   Le tbody #portfolioBody est rempli par loadAction.js.
   On cible donc directement les liens créés par le JS.
*/

#portfolioBody td:first-child a {

    color: #323331;

    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.18s ease,
        opacity 0.18s ease;
}


/* Survol société */
#portfolioBody td:first-child a:hover {

    color: #ad9551;

    text-decoration: none;
}


/* Clic / focus */
#portfolioBody td:first-child a:focus,
#portfolioBody td:first-child a:focus-visible,
#portfolioBody td:first-child a:active {

    color: #ad9551;

    outline: none;

    box-shadow: none;
}


/* Si le JS applique une classe Bootstrap de lien */
#portfolioBody .link-primary,
#portfolioBody .text-primary {

    color: #323331 !important;
}


#portfolioBody .link-primary:hover,
#portfolioBody .text-primary:hover {

    color: #ad9551 !important;
}


/* =========================================================
   LIENS GÉNÉRAUX DU CONTENU DU PORTEFEUILLE
   ========================================================= */

/*
   On ne touche pas à la navbar générale du site,
   uniquement au contenu Premium.
*/

#protected-content .tab-content a:not(.btn):not(.nav-link):not(.page-link) {

    color: #666964;

    text-decoration-color: rgba(173, 149, 81, 0.45);

    text-underline-offset: 3px;

    transition: color 0.18s ease;
}


#protected-content .tab-content a:not(.btn):not(.nav-link):not(.page-link):hover {

    color: #ad9551;
}


/* =========================================================
   PAGINATION
   ========================================================= */

#protected-content .pagination .page-link {

    color: #323331;

    background-color: #ffffff;

    border-color: #dee2e6;

    box-shadow: none;
}


#protected-content .pagination .page-link:hover {

    color: #323331;

    background-color: rgba(173, 149, 81, 0.12);

    border-color: #ad9551;
}


#protected-content .pagination .page-item.active .page-link {

    color: #ffffff;

    background-color: #323331;

    border-color: #323331;
}


#protected-content .pagination .page-link:focus {

    color: #323331;

    box-shadow: 0 0 0 0.15rem rgba(173, 149, 81, 0.16);

    border-color: #ad9551;
}


/* =========================================================
   FORMULAIRES
   On retire aussi les focus bleus Bootstrap
   ========================================================= */

#protected-content .form-select:focus,
#protected-content .form-control:focus {

    border-color: #ad9551;

    box-shadow: 0 0 0 0.15rem rgba(173, 149, 81, 0.15);
}


/* =========================================================
   BOUTONS OUTLINE DARK
   ========================================================= */

#protected-content .btn-outline-dark:hover,
#protected-content .btn-outline-dark:focus {

    color: #ffffff;

    background-color: #323331;

    border-color: #323331;

    box-shadow: none;
}


/* =========================================================
   CONFIDENTIALITÉ
   ========================================================= */

#wsiPersonalPortfolio [data-private-amount] {

    transition: filter 0.18s ease;
}


#wsiPersonalPortfolio.privacy-mode [data-private-amount] {

    filter: blur(7px);

    user-select: none;
}


#wsiPersonalPortfolio.privacy-mode [data-private-amount] input {

    pointer-events: none;
}


#portfolioPrivacyBtn {

    white-space: nowrap;
}

/* =========================================================
   ACTUALITÉS & BONUS - LIENS WSI
   ========================================================= */

/* Titres des bonus et actualités */
#wallet-bonus-list a,
#wallet-global-news-list a {
    color: #323331 !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.18s ease;
}


/* Liens déjà visités : jamais violet/bleu */
#wallet-bonus-list a:visited,
#wallet-global-news-list a:visited {
    color: #323331 !important;
}


/* Survol */
#wallet-bonus-list a:hover,
#wallet-global-news-list a:hover {
    color: #ad9551 !important;
    text-decoration: none !important;
}


/* Clic / focus */
#wallet-bonus-list a:focus,
#wallet-bonus-list a:active,
#wallet-global-news-list a:focus,
#wallet-global-news-list a:active {
    color: #ad9551 !important;
    outline: none;
    box-shadow: none;
}


/* Si l'ancien JS ajoute des classes Bootstrap bleues */
#wallet-bonus-list .text-primary,
#wallet-bonus-list .link-primary,
#wallet-bonus-list .btn-link,
#wallet-global-news-list .text-primary,
#wallet-global-news-list .link-primary,
#wallet-global-news-list .btn-link {
    color: #323331 !important;
}


/* Survol des anciennes classes Bootstrap */
#wallet-bonus-list .text-primary:hover,
#wallet-bonus-list .link-primary:hover,
#wallet-bonus-list .btn-link:hover,
#wallet-global-news-list .text-primary:hover,
#wallet-global-news-list .link-primary:hover,
#wallet-global-news-list .btn-link:hover {
    color: #ad9551 !important;
}


/* =========================================================
   CONTENU OUVERT D'UNE ACTUALITÉ / D'UN BONUS
   ========================================================= */

#wallet-dynamic-content a:not(.btn) {
    color: #666964 !important;
    text-decoration-color: rgba(173, 149, 81, 0.55) !important;
    text-underline-offset: 3px;
}


#wallet-dynamic-content a:not(.btn):visited {
    color: #666964 !important;
}


#wallet-dynamic-content a:not(.btn):hover,
#wallet-dynamic-content a:not(.btn):focus {
    color: #ad9551 !important;
}


/* Anciennes classes bleues dans le contenu chargé */
#wallet-dynamic-content .text-primary,
#wallet-dynamic-content .link-primary,
#wallet-dynamic-content .btn-link {
    color: #666964 !important;
}


#wallet-dynamic-content .text-primary:hover,
#wallet-dynamic-content .link-primary:hover,
#wallet-dynamic-content .btn-link:hover {
    color: #ad9551 !important;
}

/* ==================================================
   PAGE PORTEFEUILLE WSI
   ================================================== */

.wsi-wallet-page {
    padding-top: 82px;
    color: #323331;
    background: #fff;
}


/* ==================================================
   HERO
   ================================================== */

.wsi-wallet-hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(173,149,81,0.13),
            transparent 28rem
        ),
        linear-gradient(
            135deg,
            #f8f6f0 0%,
            #f0ece2 100%
        );
}

.wsi-wallet-title {
    margin: 1rem 0 1.5rem;
    color: #292b28;
    font-size: clamp(2.8rem,5vw,4.5rem);
    font-weight: 700;
    line-height: 1.03;
    letter-spacing: -0.055em;
}

.wsi-wallet-title span {
    display: block;
    color: #ad9551;
}

.wsi-wallet-lead {
    max-width: 670px;
    margin: 0;
    color: #555751;
    font-size: 1.08rem;
    line-height: 1.8;
}

.wsi-wallet-secondary {
    max-width: 650px;
    margin: 1rem 0 0;
    color: #858780;
    font-size: 0.92rem;
    line-height: 1.75;
}


/* HERO POINTS */

.wsi-wallet-hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.wsi-wallet-hero-points > div {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.wsi-wallet-hero-points i {
    color: #ad9551;
    font-size: 1.25rem;
}

.wsi-wallet-hero-points span {
    color: #686a65;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.35;
}


/* HERO IMAGE */

.wsi-wallet-hero-image {
    position: relative;
    max-width: 620px;
    margin-left: auto;
}

.wsi-wallet-hero-image > img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    border-radius: 1.6rem;
    box-shadow: 0 30px 80px rgba(0,0,0,0.16);
}

.wsi-wallet-image-accent {
    position: absolute;
    z-index: 1;
    right: -18px;
    bottom: -18px;
    width: 92%;
    height: 90%;
    border-radius: 1.6rem;
    background: rgba(173,149,81,0.18);
}

.wsi-wallet-floating-card {
    position: absolute;
    z-index: 3;
    left: -35px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 1rem;
    background: rgba(255,255,255,0.93);
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    backdrop-filter: blur(10px);
}

.wsi-wallet-floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(173,149,81,0.12);
    color: #ad9551;
}

.wsi-wallet-floating-card small,
.wsi-wallet-floating-card strong {
    display: block;
}

.wsi-wallet-floating-card small {
    color: #ad9551;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.wsi-wallet-floating-card strong {
    color: #323331;
    font-size: 0.78rem;
}


/* ==================================================
   PHILOSOPHIE
   ================================================== */

.wsi-wallet-philosophy {
    padding: 7rem 0;
}

.wsi-wallet-principle {
    position: relative;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.065);
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 10px 35px rgba(0,0,0,0.045);
}

.wsi-wallet-principle-number {
    position: absolute;
    top: 1.4rem;
    right: 1.5rem;
    color: #ad9551;
    font-size: 0.67rem;
    font-weight: 700;
}

.wsi-wallet-principle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 47px;
    height: 47px;
    margin-bottom: 1.4rem;
    border-radius: 50%;
    background: rgba(173,149,81,0.11);
    color: #ad9551;
    font-size: 1.15rem;
}

.wsi-wallet-principle h3 {
    color: #323331;
    font-size: 1rem;
    font-weight: 700;
}

.wsi-wallet-principle p {
    margin: 0;
    color: #777970;
    font-size: 0.83rem;
    line-height: 1.7;
}


/* ==================================================
   PREVIEW
   ================================================== */

.wsi-wallet-content-preview {
    padding: 7rem 0;
    background: #f7f5ef;
}

.wsi-wallet-content-preview h2 {
    margin: 0.8rem 0 1.5rem;
    color: #292b28;
    font-size: clamp(2rem,3vw,2.8rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.04em;
}

.wsi-wallet-content-preview .col-lg-5 p {
    color: #70726c;
    line-height: 1.8;
}

.wsi-wallet-feature {
    display: flex;
    gap: 1rem;
    padding: 1.6rem;
    border: 1px solid rgba(0,0,0,0.055);
    border-radius: 1rem;
    background: rgba(255,255,255,0.82);
}

.wsi-wallet-feature > i {
    flex-shrink: 0;
    color: #ad9551;
    font-size: 1.35rem;
}

.wsi-wallet-feature h3 {
    color: #323331;
    font-size: 0.95rem;
    font-weight: 700;
}

.wsi-wallet-feature p {
    margin: 0;
    color: #7b7d76;
    font-size: 0.78rem;
    line-height: 1.65;
}


/* ==================================================
   CTA
   ================================================== */

.wsi-wallet-access {
    padding: 5.5rem 0;
}

.wsi-wallet-access-inner {
    padding: 3.2rem;
    border-radius: 1.5rem;
    background:
        radial-gradient(
            circle at 90% 0%,
            rgba(173,149,81,0.23),
            transparent 22rem
        ),
        #292b28;
    box-shadow: 0 25px 70px rgba(0,0,0,0.13);
}

.wsi-wallet-access-label {
    color: #c8ae68;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.wsi-wallet-access h2 {
    margin: 0.7rem 0 0.9rem;
    color: #fff;
    font-size: clamp(1.8rem,3vw,2.55rem);
    font-weight: 700;
    letter-spacing: -0.035em;
}

.wsi-wallet-access p {
    margin: 0;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
}


/* ==================================================
   ESPACE MEMBRE
   ================================================== */

.wsi-wallet-protected {
    padding: 6rem 0;
    background: #f7f5ef;
}

.wsi-wallet-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 2rem;
}

.wsi-wallet-dashboard-header h2 {
    margin: 0.7rem 0;
    color: #292b28;
    font-size: clamp(2rem,3vw,3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.wsi-wallet-dashboard-header p {
    max-width: 750px;
    margin: 0;
    color: #777970;
}

.wsi-wallet-access-status {
    flex-shrink: 0;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(173,149,81,0.3);
    border-radius: 50rem;
    background: rgba(173,149,81,0.09);
    color: #8d783f;
    font-size: 0.72rem;
    font-weight: 700;
}


/* MAIN TABS */

.wsi-wallet-main-tabs {
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.wsi-wallet-main-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.1rem;
    border: 0;
    border-radius: 0.7rem;
    color: #666862;
    font-size: 0.82rem;
    font-weight: 600;
}

.wsi-wallet-main-tabs .nav-link.active {
    background: #292b28;
    color: #fff;
}

.wsi-wallet-main-tabs .nav-link i {
    color: #ad9551;
}

.wsi-wallet-main-content {
    margin-top: 2rem;
    padding: 2.3rem;
    border: 1px solid rgba(0,0,0,0.055);
    border-radius: 1.35rem;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0,0,0,0.045);
}


/* TAB HEADER */

.wsi-wallet-tab-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.wsi-wallet-tab-label {
    color: #ad9551;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.wsi-wallet-tab-header h3 {
    margin: 0.4rem 0;
    color: #323331;
    font-size: 1.6rem;
    font-weight: 700;
}

.wsi-wallet-tab-header p {
    max-width: 740px;
    margin: 0;
    color: #7c7e77;
    font-size: 0.86rem;
}


/* TOOLBAR */

.wsi-wallet-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.wsi-wallet-help-btn {
    border: 1px solid rgba(173,149,81,0.35);
    background: rgba(173,149,81,0.09);
    color: #806d39;
    font-size: 0.78rem;
    font-weight: 600;
}

.wsi-wallet-help-btn:hover {
    background: #ad9551;
    color: #fff;
}


/* TABLE */

.wsi-wallet-table-wrapper {
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.065);
    border-radius: 1rem;
}

.wsi-wallet-table thead th {
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    background: #f4f3ef;
    color: #777970;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wsi-wallet-table tbody td {
    padding: 1rem;
    border-color: rgba(0,0,0,0.05);
    color: #4f514c;
    font-size: 0.8rem;
}


/* COMPANY PANEL */

.wsi-company-panel {
    margin-top: 3rem;
}

.wsi-company-tabs {
    gap: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
}

.wsi-company-tabs .nav-link {
    border: 0;
    border-bottom: 2px solid transparent;
    color: #777970;
    font-size: 0.82rem;
    font-weight: 600;
}

.wsi-company-tabs .nav-link.active {
    border-bottom-color: #ad9551;
    background: transparent;
    color: #323331;
}

.wsi-company-dynamic:not(:empty) {
    margin-top: 2rem;
}


/* ==================================================
   PORTEFEUILLE PERSONNEL
   ================================================== */

.wsi-personal-section,
.wsi-chart-card,
.wsi-personal-analysis {
    margin-bottom: 1.5rem;
    padding: 1.6rem;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 1rem;
    background: #fafafa;
}

.wsi-personal-section-title,
.wsi-chart-header,
.wsi-personal-analysis-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.wsi-personal-section-title > i,
.wsi-chart-header > i,
.wsi-personal-analysis-header > i {
    color: #ad9551;
    font-size: 1.2rem;
}

.wsi-personal-section-title h4,
.wsi-chart-header h4,
.wsi-personal-analysis-header h4 {
    margin: 0;
    color: #323331;
    font-size: 1rem;
    font-weight: 700;
}

.wsi-personal-section-title p {
    margin: 0.2rem 0 0;
    color: #8a8c85;
    font-size: 0.72rem;
}


/* KPI */

.wsi-wallet-kpi {
    height: 100%;
    padding: 1.4rem;
    border: 1px solid rgba(0,0,0,0.055);
    border-radius: 1rem;
    background: #fff;
    text-align: center;
}

.wsi-wallet-kpi i {
    color: #ad9551;
    font-size: 1.3rem;
}

.wsi-wallet-kpi strong {
    display: block;
    margin-top: 0.5rem;
    color: #323331;
    font-size: 1.5rem;
}

.wsi-wallet-kpi span {
    color: #8b8d86;
    font-size: 0.7rem;
}


/* CHARTS */

.wsi-chart-body {
    padding-top: 0.5rem;
}


/* ANALYSE */

.wsi-personal-analysis {
    background:
        linear-gradient(
            135deg,
            rgba(173,149,81,0.08),
            rgba(255,255,255,0.75)
        );
}

.wsi-personal-analysis-header span {
    color: #ad9551;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.wsi-personal-disclaimer {
    display: flex;
    gap: 0.7rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 0.8rem;
    color: #7b7d76;
    font-size: 0.72rem;
    line-height: 1.6;
}

.wsi-personal-disclaimer i {
    color: #ad9551;
}


/* ==================================================
   ACTUALITÉS
   ================================================== */

.wsi-wallet-search {
    position: relative;
}

.wsi-wallet-search i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 1.2rem;
    color: #ad9551;
    transform: translateY(-50%);
}

.wsi-wallet-search input {
    height: 56px;
    padding-left: 3.1rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 0.85rem;
}

.wsi-wallet-news-card {
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.065);
    border-radius: 1.1rem;
    background: #fafafa;
}

.wsi-wallet-news-card-featured {
    border-color: rgba(173,149,81,0.32);
}

.wsi-wallet-news-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    background: #ececea;
    color: #323331;
}

.wsi-wallet-news-icon-gold {
    background: rgba(173,149,81,0.12);
    color: #ad9551;
}

.wsi-wallet-news-type {
    color: #ad9551;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.wsi-wallet-news-card h4 {
    margin: 0.45rem 0 0.8rem;
    color: #323331;
    font-size: 1.1rem;
    font-weight: 700;
}

.wsi-wallet-news-card > p {
    min-height: 75px;
    color: #7a7c75;
    font-size: 0.82rem;
    line-height: 1.65;
}

.wsi-wallet-news-divider {
    height: 1px;
    margin: 1.5rem 0;
    background: rgba(0,0,0,0.07);
}

.wsi-wallet-news-card li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.8rem;
}

.wsi-wallet-dynamic:not(:empty) {
    margin-top: 3rem;
    padding: 2rem;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 1rem;
    background: #fff;
}


/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 991.98px) {

    .wsi-wallet-hero {
        padding: 4.5rem 0;
    }

    .wsi-wallet-hero-image {
        margin: 1.5rem auto 0;
    }

    .wsi-wallet-floating-card {
        left: 15px;
        bottom: 15px;
    }

    .wsi-wallet-philosophy,
    .wsi-wallet-content-preview {
        padding: 5rem 0;
    }

    .wsi-wallet-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .wsi-wallet-main-content {
        padding: 1.5rem;
    }

}


@media (max-width: 767.98px) {

    .wsi-wallet-main-tabs {
        flex-direction: column;
    }

    .wsi-wallet-main-tabs .nav-link {
        width: 100%;
    }

    .wsi-wallet-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .wsi-wallet-help-btn {
        align-self: flex-start;
    }

    .wsi-wallet-tab-header {
        flex-direction: column;
    }

}


@media (max-width: 575.98px) {

    .wsi-wallet-hero {
        padding-top: 3.7rem;
    }

    .wsi-wallet-hero-points {
        gap: 1.2rem;
    }

    .wsi-wallet-floating-card {
        position: relative;
        left: auto;
        bottom: auto;
        margin: -25px 15px 0;
    }

    .wsi-wallet-access-inner {
        padding: 2rem;
    }

    .wsi-wallet-main-content {
        padding: 1rem;
    }

}
/* =========================================================
   WSI - LISTES BONUS / ACTUALITÉS
========================================================= */

#wallet-bonus-list,
#wallet-global-news-list {
    margin-bottom: 0;
}


/* Chaque contenu devient un vrai bloc interactif */
#wallet-bonus-list > li,
#wallet-global-news-list > li {
    position: relative;

    padding: 1rem .9rem;
    margin: 0 -.9rem;

    border-bottom: 1px solid rgba(50, 51, 49, 0.12);
    border-radius: .6rem;

    cursor: pointer;

    transition:
        background-color .18s ease,
        transform .18s ease,
        border-color .18s ease;
}


#wallet-bonus-list > li:last-child,
#wallet-global-news-list > li:last-child {
    border-bottom-color: transparent;
}


#wallet-bonus-list > li:hover,
#wallet-global-news-list > li:hover {
    background: rgba(173, 149, 81, 0.08);

    border-bottom-color:
        rgba(173, 149, 81, 0.28);

    transform: translateX(3px);
}


/* Titres des contenus */
#wallet-bonus-list > li a,
#wallet-global-news-list > li a {
    display: block;

    color: #323331 !important;

    font-size: 1.02rem;
    line-height: 1.45;

    font-weight: 700;

    text-decoration: none;

    transition: color .18s ease;
}


#wallet-bonus-list > li:hover a,
#wallet-global-news-list > li:hover a {
    color: #ad9551 !important;
}


/* Description sous les titres */
#wallet-bonus-list > li p,
#wallet-global-news-list > li p,
#wallet-bonus-list .link-description,
#wallet-global-news-list .link-description {
    margin: .4rem 0 0;

    color: #777a75 !important;

    font-size: .9rem;
    line-height: 1.55;

    pointer-events: none;
}


/* Titres principaux Bonus / Actualités générales */
.wsi-wallet-news-card > h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #323331;
}


/* =========================================================
   WSI - TABLEAU SÉLECTION D'ACTIONS
========================================================= */

.wsi-wallet-table-wrapper {
    overflow: hidden;

    border:
        1px solid
        rgba(50, 51, 49, 0.08);

    border-radius: 1rem;

    background: #f7f7f4;

    box-shadow:
        0 12px 35px
        rgba(28, 29, 27, 0.06);
}


#portfolioTable {
    border-collapse: separate;
    border-spacing: 0 .55rem;

    padding: 0 .55rem .55rem;

    margin: 0;
}


/* ---------- Header ---------- */

#portfolioTable thead th {
    padding: 1rem .9rem;

    border: 0;

    background: #323331;

    color: rgba(255,255,255,.88);

    font-size: .72rem;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .055em;

    white-space: nowrap;
}


#portfolioTable thead th:first-child {
    border-radius:
        .7rem 0 0 .7rem;
}


#portfolioTable thead th:last-child {
    border-radius:
        0 .7rem .7rem 0;
}


/* ---------- Lignes ---------- */

#portfolioTable tbody .selectable-row {
    cursor: pointer;

    outline: none;
}


#portfolioTable tbody .selectable-row td {
    padding: .95rem .9rem;

    vertical-align: middle;

    background: #ffffff;

    border-top:
        1px solid
        rgba(50, 51, 49, 0.07);

    border-bottom:
        1px solid
        rgba(50, 51, 49, 0.07);

    transition:
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}


#portfolioTable tbody .selectable-row td:first-child {
    border-left:
        1px solid
        rgba(50, 51, 49, 0.07);

    border-radius:
        .75rem 0 0 .75rem;
}


#portfolioTable tbody .selectable-row td:last-child {
    border-right:
        1px solid
        rgba(50, 51, 49, 0.07);

    border-radius:
        0 .75rem .75rem 0;
}


/* ---------- Hover ---------- */

#portfolioTable tbody .selectable-row:hover td {
    background:
        rgba(173, 149, 81, 0.075);

    border-color:
        rgba(173, 149, 81, 0.28);
}


/* ---------- Action actuellement sélectionnée ---------- */

#portfolioTable tbody .selectable-row.is-selected td {
    background:
        rgba(173, 149, 81, 0.13);

    border-color:
        rgba(173, 149, 81, 0.48);
}


#portfolioTable tbody .selectable-row.is-selected td:first-child {
    box-shadow:
        inset 4px 0 0 #ad9551;
}


/* ---------- Nom de société ---------- */

.wsi-action-name {
    display: flex !important;

    align-items: center;

    gap: .7rem;

    min-width: 200px;

    color: #323331 !important;

    font-size: .96rem;

    font-weight: 700 !important;

    text-decoration: none !important;
}


.wsi-action-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background:
        rgba(173,149,81,.13);

    color: #ad9551;

    font-size: .95rem;
}


.wsi-action-chevron {
    margin-left: auto;

    color:
        rgba(50,51,49,.35);

    font-size: .8rem;

    transition:
        transform .18s ease,
        color .18s ease;
}


.selectable-row:hover
.wsi-action-chevron {
    color: #ad9551;

    transform:
        translateX(3px);
}


.selectable-row:hover
.wsi-action-name {
    color: #ad9551 !important;
}

.wsi-wallet-isin {
    display: inline-flex;
    align-items: center;

    padding: .3rem .55rem;

    border-radius: .45rem;

    background:
        rgba(173, 149, 81, 0.12);

    border:
        1px solid
        rgba(173, 149, 81, 0.22);

    color: #71602f;

    font-size: .75rem;
    font-weight: 700;

    letter-spacing: .035em;

    white-space: nowrap;
}

/* ---------- Ticker ---------- */

.wsi-wallet-ticker {
    color: #6f726d;

    font-size: .82rem;
    font-weight: 600;

    white-space: nowrap;
}


/* ---------- Secteur ---------- */

.wsi-wallet-sector {
    display: inline-block;

    padding: .28rem .55rem;

    border-radius: 999px;

    background:
        rgba(173,149,81,.09);

    color: #71602f;

    font-size: .78rem;
    font-weight: 600;
}


/* ---------- Prix ---------- */

.wsi-wallet-price {
    color: #323331;

    font-weight: 700;

    white-space: nowrap;
}


/* ---------- Badges recommandations ---------- */

#portfolioTable .badge {
    padding: .45rem .65rem;

    border-radius: 999px;

    font-size: .72rem;

    font-weight: 700;
}


/* ---------- Accessibilité clavier ---------- */

#portfolioTable
.selectable-row:focus-visible td {
    background:
        rgba(173,149,81,.10);

    border-color:
        rgba(173,149,81,.55);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    #wallet-bonus-list > li,
    #wallet-global-news-list > li {
        padding-top: 1.1rem;
        padding-bottom: 1.1rem;
    }


    #wallet-bonus-list > li a,
    #wallet-global-news-list > li a {
        font-size: 1.05rem;
    }


    #portfolioTable tbody td {
        white-space: nowrap;
    }

}