
/* ACEDES Member Core — UI-01 Build 01
 * Presentation only. No business-rule changes.
 */
.acedes-dashboard {
    --acedes-primary: #123c69;
    --acedes-primary-dark: #0b2948;
    --acedes-accent: #d9a441;
    --acedes-bg: #f5f7fa;
    --acedes-surface: #ffffff;
    --acedes-text: #17212b;
    --acedes-muted: #667382;
    --acedes-border: #e2e8f0;
    --acedes-radius: 16px;
    --acedes-shadow: 0 8px 24px rgba(16, 24, 40, .07);

    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px;
    background: var(--acedes-bg);
    color: var(--acedes-text);
    border-radius: 22px;
    box-sizing: border-box;
}

.acedes-dashboard *,
.acedes-dashboard *::before,
.acedes-dashboard *::after {
    box-sizing: border-box;
}

.acedes-member-nav {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    position: sticky;
    top: 24px;
    background: var(--acedes-surface);
    border: 1px solid var(--acedes-border);
    border-radius: var(--acedes-radius);
    box-shadow: var(--acedes-shadow);
    padding: 14px;
}

.acedes-member-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.acedes-member-nav li {
    margin: 0;
}

.acedes-member-nav a {
    display: block;
    padding: 11px 12px;
    color: var(--acedes-text);
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.35;
}

.acedes-member-nav a:hover,
.acedes-member-nav a:focus-visible {
    background: #eef4f9;
    color: var(--acedes-primary);
}

.acedes-member-nav li:last-child {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--acedes-border);
}

.acedes-member-nav li:last-child a {
    color: var(--acedes-primary);
    font-weight: 600;
}

.acedes-dashboard-header,
.acedes-dashboard-grid {
    grid-column: 2;
}

.acedes-dashboard-header {
    background: var(--acedes-primary);
    color: #fff;
    border-radius: var(--acedes-radius);
    padding: 24px 26px;
    margin: 0 0 20px;
}

.acedes-dashboard-header p {
    margin: 0 0 5px;
    opacity: .85;
    font-size: 15px;
}

.acedes-dashboard-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.15;
}

.acedes-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.acedes-dashboard .acedes-card {
    background: var(--acedes-surface);
    border: 1px solid var(--acedes-border);
    border-radius: var(--acedes-radius);
    box-shadow: var(--acedes-shadow);
    padding: 22px;
    min-width: 0;
}

.acedes-dashboard .acedes-card h3 {
    margin: 0 0 10px;
    color: var(--acedes-primary-dark);
    font-size: 18px;
}

.acedes-dashboard .acedes-card p {
    margin: 7px 0;
    color: var(--acedes-text);
}

.acedes-dashboard .acedes-card p:first-of-type {
    font-weight: 600;
}

.acedes-dashboard .acedes-card a {
    color: var(--acedes-primary);
    font-weight: 600;
    text-decoration: none;
}

.acedes-dashboard .acedes-card a:hover,
.acedes-dashboard .acedes-card a:focus-visible {
    text-decoration: underline;
}

.acedes-dashboard progress {
    display: block;
    width: 100%;
    height: 9px;
    margin: 12px 0 14px;
    border: 0;
    border-radius: 999px;
    overflow: hidden;
    accent-color: var(--acedes-accent);
}

.acedes-dashboard .acedes-card-status {
    border-top: 4px solid var(--acedes-accent);
}

@media (max-width: 820px) {
    .acedes-dashboard {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px;
        border-radius: 16px;
    }

    .acedes-member-nav,
    .acedes-dashboard-header,
    .acedes-dashboard-grid {
        grid-column: 1;
        grid-row: auto;
    }

    .acedes-member-nav {
        position: static;
    }

    .acedes-member-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .acedes-member-nav li:last-child {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

    .acedes-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .acedes-dashboard {
        padding: 12px;
        border-radius: 12px;
    }

    .acedes-dashboard-header {
        padding: 20px;
    }

    .acedes-member-nav ul {
        grid-template-columns: 1fr;
    }

    .acedes-dashboard .acedes-card {
        padding: 18px;
    }
}


/* UI-01 Build 02 — dashboard hierarchy and action emphasis */
.acedes-dashboard .acedes-card {
    position: relative;
    overflow: hidden;
}

.acedes-dashboard .acedes-card::before {
    content: "";
    display: block;
    width: 42px;
    height: 4px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: var(--acedes-accent);
}

.acedes-dashboard .acedes-card h3 {
    letter-spacing: -.01em;
}

.acedes-dashboard .acedes-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.acedes-dashboard .acedes-card a::after {
    content: "→";
    font-size: 1em;
    transition: transform .15s ease;
}

.acedes-dashboard .acedes-card a:hover::after,
.acedes-dashboard .acedes-card a:focus-visible::after {
    transform: translateX(3px);
}

.acedes-dashboard .acedes-card-status {
    background: linear-gradient(180deg, #fff, #fbfcfe);
}

.acedes-dashboard .acedes-card-status p {
    line-height: 1.55;
}

@media (max-width: 820px) {
    .acedes-dashboard .acedes-card::before {
        margin-bottom: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acedes-dashboard .acedes-card a::after {
        transition: none;
    }
}


/* UI-01 Build 03 — member subpages
 * Presentation only; existing shortcodes and business logic are untouched.
 */
.acedes-member-page,
.acedes-profile,
.acedes-membership,
.acedes-documents,
.acedes-payments {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px;
    color: var(--acedes-text, #17212b);
}

.acedes-member-page > h2,
.acedes-profile > h2,
.acedes-membership > h2,
.acedes-documents > h2,
.acedes-payments > h2 {
    margin: 0 0 20px;
    color: var(--acedes-primary-dark, #0b2948);
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
}

.acedes-profile,
.acedes-membership,
.acedes-documents,
.acedes-payments {
    background: var(--acedes-bg, #f5f7fa);
    border-radius: 22px;
}

.acedes-profile .acedes-card,
.acedes-membership .acedes-card,
.acedes-documents .acedes-card,
.acedes-payments .acedes-card,
.acedes-member-page .acedes-card {
    background: var(--acedes-surface, #fff);
    border: 1px solid var(--acedes-border, #e2e8f0);
    border-radius: var(--acedes-radius, 16px);
    box-shadow: var(--acedes-shadow, 0 8px 24px rgba(16,24,40,.07));
    padding: 22px;
}

.acedes-member-page table,
.acedes-payments table,
.acedes-membership table,
.acedes-documents table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--acedes-border, #e2e8f0);
    border-radius: 14px;
    overflow: hidden;
}

.acedes-member-page th,
.acedes-member-page td,
.acedes-payments th,
.acedes-payments td,
.acedes-membership th,
.acedes-membership td,
.acedes-documents th,
.acedes-documents td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--acedes-border, #e2e8f0);
    text-align: left;
    vertical-align: top;
}

.acedes-member-page th,
.acedes-payments th,
.acedes-membership th,
.acedes-documents th {
    background: #f8fafc;
    color: var(--acedes-primary-dark, #0b2948);
    font-weight: 700;
}

.acedes-member-page tr:last-child td,
.acedes-payments tr:last-child td,
.acedes-membership tr:last-child td,
.acedes-documents tr:last-child td {
    border-bottom: 0;
}

.acedes-profile form,
.acedes-membership form,
.acedes-documents form {
    background: #fff;
    border: 1px solid var(--acedes-border, #e2e8f0);
    border-radius: 16px;
    padding: 22px;
}

.acedes-profile label,
.acedes-membership label,
.acedes-documents label {
    display: block;
    margin: 0 0 7px;
    color: var(--acedes-primary-dark, #0b2948);
    font-weight: 600;
}

.acedes-profile input,
.acedes-profile select,
.acedes-profile textarea,
.acedes-membership input,
.acedes-membership select,
.acedes-membership textarea,
.acedes-documents input,
.acedes-documents select,
.acedes-documents textarea {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #fff;
    color: var(--acedes-text, #17212b);
}

.acedes-profile input:focus,
.acedes-profile select:focus,
.acedes-profile textarea:focus,
.acedes-membership input:focus,
.acedes-membership select:focus,
.acedes-membership textarea:focus,
.acedes-documents input:focus,
.acedes-documents select:focus,
.acedes-documents textarea:focus {
    outline: 2px solid rgba(217,164,65,.35);
    outline-offset: 1px;
    border-color: var(--acedes-accent, #d9a441);
}

.acedes-profile button,
.acedes-profile input[type="submit"],
.acedes-membership button,
.acedes-membership input[type="submit"],
.acedes-documents button,
.acedes-documents input[type="submit"] {
    min-height: 44px;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    background: var(--acedes-primary, #123c69);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.acedes-profile button:hover,
.acedes-profile input[type="submit"]:hover,
.acedes-membership button:hover,
.acedes-membership input[type="submit"]:hover,
.acedes-documents button:hover,
.acedes-documents input[type="submit"]:hover {
    background: var(--acedes-primary-dark, #0b2948);
}

@media (max-width: 820px) {
    .acedes-member-page,
    .acedes-profile,
    .acedes-membership,
    .acedes-documents,
    .acedes-payments {
        padding: 18px;
        border-radius: 16px;
    }

    .acedes-member-page table,
    .acedes-payments table,
    .acedes-membership table,
    .acedes-documents table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .acedes-member-page,
    .acedes-profile,
    .acedes-membership,
    .acedes-documents,
    .acedes-payments {
        padding: 12px;
        border-radius: 12px;
    }

    .acedes-profile .acedes-card,
    .acedes-membership .acedes-card,
    .acedes-documents .acedes-card,
    .acedes-payments .acedes-card,
    .acedes-member-page .acedes-card,
    .acedes-profile form,
    .acedes-membership form,
    .acedes-documents form {
        padding: 18px;
    }
}


/* UI-01 Build 03 — Refined member cards
 * Stronger visual differentiation for Membership, Documents and Payments.
 * Presentation only: no business logic or shortcode changes.
 */

/* Shared page heading */
.acedes-membership > h2,
.acedes-documents > h2,
.acedes-payments > h2 {
    padding-bottom: 14px;
    border-bottom: 1px solid var(--acedes-border, #e2e8f0);
}

/* Membership */
.acedes-membership .acedes-card {
    position: relative;
    padding: 26px;
}

.acedes-membership .acedes-card:first-of-type {
    background: linear-gradient(135deg, #123c69 0%, #0b2948 100%);
    color: #fff;
    border: 0;
}

.acedes-membership .acedes-card:first-of-type h3,
.acedes-membership .acedes-card:first-of-type p,
.acedes-membership .acedes-card:first-of-type strong {
    color: #fff;
}

.acedes-membership .acedes-card:first-of-type::before {
    background: var(--acedes-accent, #d9a441);
}

.acedes-membership .acedes-card:first-of-type p:first-of-type {
    font-size: 28px;
    line-height: 1.15;
    margin-top: 14px;
}

.acedes-membership .acedes-card:not(:first-of-type) {
    margin-top: 18px;
}

/* Documents */
.acedes-documents .acedes-card {
    position: relative;
    padding: 24px;
}

.acedes-documents .acedes-card + .acedes-card {
    margin-top: 18px;
}

.acedes-documents .acedes-card h3 {
    display: flex;
    align-items: center;
    gap: 9px;
}

.acedes-documents .acedes-card h3::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: var(--acedes-accent, #d9a441);
}

.acedes-documents .acedes-card p {
    line-height: 1.55;
}

/* Payments */
.acedes-payments .acedes-card {
    position: relative;
    padding: 24px;
}

.acedes-payments .acedes-card + .acedes-card {
    margin-top: 18px;
}

.acedes-payments table {
    box-shadow: 0 6px 18px rgba(16,24,40,.05);
}

.acedes-payments tbody tr:hover {
    background: #f8fafc;
}

.acedes-payments td:first-child {
    font-weight: 700;
    color: var(--acedes-primary-dark, #0b2948);
}

.acedes-payments td:last-child {
    font-weight: 700;
}

@media (max-width: 480px) {
    .acedes-membership .acedes-card:first-of-type p:first-of-type {
        font-size: 24px;
    }

    .acedes-membership .acedes-card,
    .acedes-documents .acedes-card,
    .acedes-payments .acedes-card {
        padding: 18px;
    }
}


/* UI-01 Build 03 Corrected — real markup styling */
.acedes-membership-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: stretch;
    margin-top: 4px;
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, #123c69 0%, #0b2948 100%);
    color: #fff;
    box-shadow: 0 12px 28px rgba(11,41,72,.18);
}

.acedes-membership-main,
.acedes-membership-status {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.acedes-membership-eyebrow,
.acedes-status-label,
.acedes-document-eyebrow,
.acedes-payment-eyebrow {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .78;
}

.acedes-membership-summary h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 24px;
}

.acedes-membership-amount {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.1;
}

.acedes-membership-amount small {
    margin-left: 5px;
    font-size: 13px;
    font-weight: 600;
    opacity: .8;
}

.acedes-membership-status {
    align-items: flex-end;
    min-width: 190px;
    padding-left: 24px;
    border-left: 1px solid rgba(255,255,255,.2);
}

.acedes-status-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #eef2f6;
    color: #17212b;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
}

.acedes-membership-summary .acedes-status-badge {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
}

.acedes-status-successful,
.acedes-status-approved,
.acedes-status-active {
    background: #e8f6ee;
    color: #17663a;
}

.acedes-status-pending,
.acedes-status-awaiting_payment,
.acedes-status-awaiting_verification,
.acedes-status-under_review,
.acedes-status-uploaded {
    background: #fff5dc;
    color: #805d08;
}

.acedes-status-failed,
.acedes-status-cancelled,
.acedes-status-rejected {
    background: #fdecec;
    color: #9b2c2c;
}

.acedes-membership-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 1px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid var(--acedes-border,#e2e8f0);
    border-radius: 14px;
    background: var(--acedes-border,#e2e8f0);
}

.acedes-membership-details > div {
    padding: 18px;
    background: #fff;
}

.acedes-membership-details span,
.acedes-document-meta span {
    display: block;
    margin-bottom: 5px;
    color: var(--acedes-muted,#667382);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.acedes-membership-details strong,
.acedes-document-meta strong {
    display: block;
    color: var(--acedes-primary-dark,#0b2948);
}

.acedes-document-card,
.acedes-document-empty {
    display: grid;
    grid-template-columns: auto minmax(0,1fr);
    gap: 18px;
    align-items: start;
    margin-top: 4px;
    padding: 24px;
    border: 1px solid var(--acedes-border,#e2e8f0);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--acedes-shadow,0 8px 24px rgba(16,24,40,.07));
}

.acedes-document-icon,
.acedes-payment-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 14px;
    background: #eef4f9;
    color: var(--acedes-primary,#123c69);
    font-size: 13px;
    font-weight: 900;
}

.acedes-document-topline {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}

.acedes-document-topline h3,
.acedes-document-empty h3 {
    margin: 0;
    color: var(--acedes-primary-dark,#0b2948);
    font-size: 20px;
}

.acedes-document-meta {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 18px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--acedes-border,#e2e8f0);
}

.acedes-document-notice {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 18px;
    padding: 13px 15px;
    border-radius: 10px;
    background: #fff5f5;
    color: #7f2525;
}

.acedes-primary-action {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: 18px !important;
    padding: 10px 15px;
    border-radius: 10px;
    background: var(--acedes-primary,#123c69);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

.acedes-primary-action:hover {
    background: var(--acedes-primary-dark,#0b2948);
}

.acedes-payment-list {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.acedes-payment-item {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid var(--acedes-border,#e2e8f0);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(16,24,40,.05);
}

.acedes-payment-main {
    min-width: 0;
}

.acedes-payment-reference {
    display: block;
    color: var(--acedes-primary-dark,#0b2948);
    overflow-wrap: anywhere;
}

.acedes-payment-date {
    display: block;
    margin-top: 4px;
    color: var(--acedes-muted,#667382);
    font-size: 13px;
}

.acedes-payment-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    white-space: nowrap;
}

.acedes-payment-amount > strong {
    color: var(--acedes-primary-dark,#0b2948);
    font-size: 17px;
}

.acedes-payment-empty {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #fff;
}

.acedes-payment-empty span {
    color: var(--acedes-muted,#667382);
}

@media (max-width: 820px) {
    .acedes-membership-summary {
        grid-template-columns: 1fr;
    }
    .acedes-membership-status {
        align-items: flex-start;
        min-width: 0;
        padding: 18px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255,255,255,.2);
    }
    .acedes-payment-item {
        grid-template-columns: auto minmax(0,1fr);
    }
    .acedes-payment-amount {
        grid-column: 2;
        align-items: flex-start;
    }
    .acedes-payment-item .acedes-primary-action {
        grid-column: 2;
    }
}

@media (max-width: 480px) {
    .acedes-membership-summary,
    .acedes-document-card,
    .acedes-document-empty {
        padding: 20px;
    }
    .acedes-membership-amount {
        font-size: 27px;
    }
    .acedes-membership-details {
        grid-template-columns: 1fr;
    }
    .acedes-document-topline {
        flex-direction: column;
    }
    .acedes-document-meta {
        grid-template-columns: 1fr;
    }
    .acedes-payment-item {
        grid-template-columns: auto minmax(0,1fr);
        gap: 12px;
    }
}


/* UI-01 Build 04 — final polish
 * Presentation-only. No business logic changes.
 */

/* Consistent member-page rhythm */
.acedes-member-page,
.acedes-profile,
.acedes-membership,
.acedes-documents,
.acedes-payments {
    font-family: inherit;
}

.acedes-member-page > h2,
.acedes-profile > h2,
.acedes-membership > h2,
.acedes-documents > h2,
.acedes-payments > h2 {
    letter-spacing: -0.02em;
}

.acedes-member-page a:focus-visible,
.acedes-profile a:focus-visible,
.acedes-membership a:focus-visible,
.acedes-documents a:focus-visible,
.acedes-payments a:focus-visible,
.acedes-member-page button:focus-visible,
.acedes-profile button:focus-visible,
.acedes-membership button:focus-visible,
.acedes-documents button:focus-visible,
.acedes-payments button:focus-visible {
    outline: 3px solid rgba(217,164,65,.42);
    outline-offset: 3px;
}

/* Avoid accidental oversized text or overflow from Elementor/theme rules */
.acedes-member-page img,
.acedes-profile img,
.acedes-membership img,
.acedes-documents img,
.acedes-payments img {
    max-width: 100%;
    height: auto;
}

/* Compact metadata/detail blocks */
.acedes-membership dl {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(130px, .45fr) minmax(0, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--acedes-border, #e2e8f0);
    border-radius: 14px;
    overflow: hidden;
}

.acedes-membership dt,
.acedes-membership dd {
    margin: 0;
    padding: 13px 16px;
    border-bottom: 1px solid var(--acedes-border, #e2e8f0);
}

.acedes-membership dt {
    background: #f8fafc;
    color: var(--acedes-primary-dark, #0b2948);
    font-weight: 700;
}

.acedes-membership dd {
    color: var(--acedes-text, #17212b);
}

.acedes-membership dt:last-of-type,
.acedes-membership dd:last-of-type {
    border-bottom: 0;
}

/* Payment rows remain readable on narrow screens */
.acedes-payments td,
.acedes-payments th {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Document content remains legible even with long uploaded filenames */
.acedes-documents {
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .acedes-membership dl {
        grid-template-columns: 1fr;
    }

    .acedes-membership dt {
        padding-bottom: 6px;
        border-bottom: 0;
    }

    .acedes-membership dd {
        padding-top: 4px;
    }

    .acedes-member-page > h2,
    .acedes-profile > h2,
    .acedes-membership > h2,
    .acedes-documents > h2,
    .acedes-payments > h2 {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}


/* UI-02 Build 01 — Elementor member shell hooks */
.acedes-elementor-shell {
    --acedes-primary: #123c69;
    --acedes-primary-dark: #0b2948;
    --acedes-accent: #d9a441;
    --acedes-bg: #f5f7fa;
    --acedes-surface: #ffffff;
    --acedes-text: #17212b;
    --acedes-muted: #667382;
    --acedes-border: #e2e8f0;
    --acedes-radius: 16px;
    --acedes-shadow: 0 8px 24px rgba(16,24,40,.07);
    min-height: 100vh;
    background: var(--acedes-bg);
    color: var(--acedes-text);
}
.acedes-elementor-shell__header {
    background: var(--acedes-surface);
    border-bottom: 1px solid var(--acedes-border);
}
.acedes-elementor-shell__header-inner,
.acedes-elementor-shell__body,
.acedes-elementor-shell__footer {
    max-width: 1240px;
    margin: 0 auto;
}
.acedes-elementor-shell__header-inner {
    padding: 16px 28px;
}
.acedes-elementor-shell__body {
    padding: 28px;
}
.acedes-elementor-shell__layout {
    display: grid;
    grid-template-columns: 230px minmax(0,1fr);
    gap: 28px;
    align-items: start;
}
.acedes-elementor-shell__sidebar {
    position: sticky;
    top: 24px;
}
.acedes-elementor-shell__content {
    min-width: 0;
}
.acedes-elementor-shell__footer {
    padding: 22px 28px;
    color: var(--acedes-muted);
    font-size: 13px;
}
@media (max-width: 820px) {
    .acedes-elementor-shell__body,
    .acedes-elementor-shell__footer { padding: 18px; }
    .acedes-elementor-shell__header-inner { padding: 14px 18px; }
    .acedes-elementor-shell__layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .acedes-elementor-shell__sidebar { position: static; }
}
@media (max-width: 480px) {
    .acedes-elementor-shell__body,
    .acedes-elementor-shell__header-inner { padding: 12px; }
}


/* UI-02 Build 02 — shell + dashboard integration */
.acedes-elementor-shell__header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.acedes-member-shell-brand {
    color: var(--acedes-primary-dark);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.acedes-elementor-shell__content > .acedes-dashboard {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    grid-template-columns: 1fr;
}

.acedes-elementor-shell__content > .acedes-dashboard > .acedes-member-nav {
    display: none;
}

.acedes-elementor-shell__content > .acedes-dashboard > .acedes-dashboard-header,
.acedes-elementor-shell__content > .acedes-dashboard > .acedes-dashboard-grid {
    grid-column: 1;
}

.acedes-elementor-shell__content > .acedes-dashboard > .acedes-dashboard-header {
    margin-bottom: 20px;
}

@media (max-width: 820px) {
    .acedes-elementor-shell__header-inner {
        align-items: flex-start;
    }
}


/* UI-02 Build 03 — active member navigation */
.acedes-member-nav li.is-active a,
.acedes-member-nav li.is-active a:hover,
.acedes-member-nav li.is-active a:focus-visible {
    background: #eef4f9;
    color: var(--acedes-primary, #123c69);
    font-weight: 700;
    text-decoration: none;
}

.acedes-member-nav li.is-active a::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 16px;
    margin-right: 8px;
    vertical-align: -3px;
    border-radius: 999px;
    background: var(--acedes-accent, #d9a441);
}

.acedes-elementor-shell__content > .acedes-member-page,
.acedes-elementor-shell__content > .acedes-payments {
    max-width: none;
    margin: 0;
}


/* UI-02 Build 04 — final polish */
.acedes-elementor-shell {
    width: 100%;
    overflow-x: hidden;
}

.acedes-elementor-shell__layout,
.acedes-elementor-shell__header-inner,
.acedes-elementor-shell__body,
.acedes-elementor-shell__footer {
    width: 100%;
}

.acedes-elementor-shell__content {
    min-width: 0;
    overflow-wrap: anywhere;
}

.acedes-elementor-shell .acedes-member-nav {
    width: 100%;
}

.acedes-elementor-shell .acedes-member-nav ul {
    margin: 0;
}

.acedes-elementor-shell__footer {
    border-top: 1px solid var(--acedes-border);
}

@media (max-width: 820px) {
    .acedes-elementor-shell__layout {
        grid-template-columns: 1fr;
    }

    .acedes-elementor-shell__sidebar {
        width: 100%;
    }

    .acedes-elementor-shell .acedes-member-nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .acedes-elementor-shell .acedes-member-nav li:last-child {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }
}

@media (max-width: 480px) {
    .acedes-elementor-shell .acedes-member-nav ul {
        grid-template-columns: 1fr;
    }

    .acedes-elementor-shell__footer {
        font-size: 12px;
    }
}


/* UI-03 Build 01 — public membership entry */
.acedes-public-offers {
    max-width: 1080px;
    margin: 0 auto;
    padding: 12px 0;
    color: var(--acedes-text, #17212b);
}

.acedes-public-offers__intro {
    text-align: center;
    margin-bottom: 28px;
}

.acedes-public-offers__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--acedes-primary, #123c69);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.acedes-public-offers__intro h2 {
    margin: 0 0 10px;
    color: var(--acedes-primary-dark, #0b2948);
}

.acedes-public-offers__intro p {
    margin: 0;
    color: var(--acedes-muted, #667382);
}

.acedes-public-offers__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.acedes-public-offer {
    background: #fff;
    border: 1px solid var(--acedes-border, #e2e8f0);
    border-radius: 18px;
    box-shadow: var(--acedes-shadow, 0 8px 24px rgba(16,24,40,.07));
    overflow: hidden;
}

.acedes-public-offer__body {
    padding: 26px;
}

.acedes-public-offer h3 {
    margin: 0 0 12px;
    color: var(--acedes-primary-dark, #0b2948);
}

.acedes-public-offer__price {
    margin: 0 0 12px;
    color: var(--acedes-primary, #123c69);
    font-size: 18px;
}

.acedes-public-offer__price strong {
    font-size: 32px;
    line-height: 1;
}

.acedes-public-offer__price span {
    color: var(--acedes-muted, #667382);
    font-size: 14px;
}

.acedes-public-offer__body > p:not(.acedes-public-offer__price) {
    min-height: 42px;
    color: var(--acedes-muted, #667382);
}

.acedes-public-offer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 10px;
    padding: 10px 20px;
    border-radius: 10px;
    background: var(--acedes-primary, #123c69);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.acedes-public-offer__cta:hover,
.acedes-public-offer__cta:focus-visible {
    background: var(--acedes-primary-dark, #0b2948);
    color: #fff;
}

.acedes-public-offers__login {
    margin: 20px 0 0;
    text-align: center;
    color: var(--acedes-muted, #667382);
}

.acedes-public-offers__login a {
    color: var(--acedes-primary, #123c69);
    font-weight: 700;
}

@media (max-width: 680px) {
    .acedes-public-offers__grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   BUILD 04 — ACCÈS ADHÉSION / VISITEUR DÉCONNECTÉ
   ========================================================= */

.acedes-membership-gate {
    max-width: 860px;
    margin: 0 auto;
    padding: 56px 48px;
    background: #fff;
    border: 1px solid var(--acedes-border, #e2e8f0);
    border-radius: 18px;
    box-shadow: var(--acedes-shadow, 0 8px 24px rgba(16,24,40,.07));
    text-align: center;
}

.acedes-membership-gate__eyebrow {
    margin-bottom: 12px;
    color: var(--acedes-primary, #123c69);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.acedes-membership-gate h2 {
    margin: 0;
    color: var(--acedes-primary-dark, #0b2948);
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.15;
}

.acedes-membership-gate > p {
    max-width: 620px;
    margin: 18px auto 0;
    color: var(--acedes-muted, #667382);
    font-size: 15px;
    line-height: 1.7;
}

.acedes-membership-gate__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.acedes-membership-gate__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.acedes-membership-gate__button:hover,
.acedes-membership-gate__button:focus-visible {
    transform: translateY(-1px);
}

.acedes-membership-gate__button--primary {
    background: var(--acedes-primary, #123c69);
    border: 1px solid var(--acedes-primary, #123c69);
    color: #fff !important;
}

.acedes-membership-gate__button--primary:hover,
.acedes-membership-gate__button--primary:focus-visible {
    background: var(--acedes-primary-dark, #0b2948);
    border-color: var(--acedes-primary-dark, #0b2948);
}

.acedes-membership-gate__button--secondary {
    background: #fff;
    border: 1px solid var(--acedes-border, #d7dee7);
    color: var(--acedes-primary, #123c69) !important;
}

.acedes-membership-gate__button--secondary:hover,
.acedes-membership-gate__button--secondary:focus-visible {
    background: #f7f9fb;
    border-color: var(--acedes-primary, #123c69);
}

@media (max-width: 680px) {
    .acedes-membership-gate {
        padding: 40px 24px;
    }

    .acedes-membership-gate__actions {
        flex-direction: column;
    }

    .acedes-membership-gate__button {
        width: 100%;
    }
}

/* =========================================================
   BUILD 04 — PREMIUM PUBLIC AUTH / MEMBERSHIP ENTRY
   Presentation only — no business-rule changes.
   ========================================================= */

/* ADHÉSION — intégration pleine largeur, sans carte flottante */
.acedes-membership-gate {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(78px, 9vw, 120px) 24px clamp(86px, 10vw, 130px);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.acedes-membership-gate::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: -210px;
    border-radius: 50%;
    background: rgba(18,60,105,.045);
    pointer-events: none;
}

.acedes-membership-gate::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -130px;
    bottom: -150px;
    border-radius: 50%;
    border: 1px solid rgba(18,60,105,.08);
    pointer-events: none;
}

.acedes-membership-gate > * {
    position: relative;
    z-index: 1;
}

.acedes-membership-gate__eyebrow {
    margin-bottom: 16px;
    color: #123c69;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.acedes-membership-gate h2 {
    max-width: 850px;
    margin: 0 auto;
    color: #0b2948;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.acedes-membership-gate > p {
    max-width: 680px;
    margin: 24px auto 0;
    color: #667382;
    font-size: 16px;
    line-height: 1.75;
}

.acedes-membership-gate__actions {
    margin-top: 34px;
    gap: 14px;
}

.acedes-membership-gate__button {
    min-height: 50px;
    padding: 0 28px;
    border-radius: 5px;
    font-size: 14px;
    transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.acedes-membership-gate__button--primary {
    background: #0969d8;
    border-color: #0969d8;
    box-shadow: 0 10px 24px rgba(9,105,216,.16);
}

.acedes-membership-gate__button--primary:hover,
.acedes-membership-gate__button--primary:focus-visible {
    background: #1685ff;
    border-color: #1685ff;
    box-shadow: 0 14px 28px rgba(9,105,216,.20);
}

.acedes-membership-gate__button--secondary {
    background: rgba(255,255,255,.72);
    border-color: rgba(18,60,105,.16);
}

.acedes-membership-gate__button--secondary:hover,
.acedes-membership-gate__button--secondary:focus-visible {
    background: #fff;
    border-color: #123c69;
}

/* INSCRIPTION — nouvelle composition premium */
.acedes-register-premium {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(64px, 7vw, 96px) 24px clamp(76px, 8vw, 110px);
    background: #f3f8fc;
    color: #17212b;
    box-sizing: border-box;
    overflow: hidden;
}

.acedes-register-premium__intro {
    max-width: 1080px;
    margin: 0 auto 42px;
    text-align: center;
}

.acedes-register-premium__eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #123c69;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.acedes-register-premium__intro h1 {
    margin: 0;
    color: #0b2948;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5.2vw, 64px);
    line-height: 1.04;
    letter-spacing: -.025em;
}

.acedes-register-premium__intro p {
    max-width: 690px;
    margin: 20px auto 0;
    color: #667382;
    font-size: 15px;
    line-height: 1.75;
}

.acedes-register-premium__layout {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(18,60,105,.10);
    border-radius: 20px;
    box-shadow: 0 22px 55px rgba(18,60,105,.10);
    overflow: hidden;
}

.acedes-register-premium__aside {
    position: relative;
    padding: 48px 42px;
    background: #0f1720;
    color: #fff;
    overflow: hidden;
}

.acedes-register-premium__aside::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    right: -120px;
    bottom: -120px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
}

.acedes-register-premium__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 52px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    color: #7bb8ff;
    font-size: 12px;
    font-weight: 800;
}

.acedes-register-premium__aside h2 {
    max-width: 310px;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.08;
}

.acedes-register-premium__aside > p {
    max-width: 320px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.70);
    font-size: 14px;
    line-height: 1.75;
}

.acedes-register-premium__points {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-top: 38px;
}

.acedes-register-premium__points span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.88);
    font-size: 13px;
}

.acedes-register-premium__points span::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #1685ff;
}

.acedes-register-premium__form-card {
    padding: 46px 48px 40px;
    background: #fff;
}

.acedes-register-premium__notice {
    margin: 0 0 22px;
    padding: 13px 15px;
    border-left: 3px solid #c98b1d;
    background: #fff8e9;
    color: #73520e;
    font-size: 13px;
    line-height: 1.5;
}

.acedes-register-premium__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 20px 18px;
}

.acedes-register-premium__field {
    margin: 0;
}

.acedes-register-premium__field label {
    display: block;
    color: #24374b;
    font-size: 13px;
    font-weight: 700;
}

.acedes-register-premium__field label > span {
    margin-left: 3px;
    color: #0969d8;
}

.acedes-register-premium__field input,
.acedes-register-premium__field select {
    width: 100%;
    min-height: 48px;
    margin-top: 8px;
    padding: 0 14px;
    border: 1px solid #d8e0e8;
    border-radius: 6px;
    background: #fbfcfd;
    color: #17212b;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.acedes-register-premium__field input:focus,
.acedes-register-premium__field select:focus {
    border-color: #1685ff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22,133,255,.10);
}

.acedes-register-premium__field small {
    display: block;
    margin-top: 7px;
    color: #7b8794;
    font-size: 11px;
    font-weight: 400;
}

.acedes-register-premium__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 28px;
    padding: 0 24px;
    border: 0;
    border-radius: 5px;
    background: #0969d8;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(9,105,216,.16);
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.acedes-register-premium__submit span {
    margin-left: 12px;
    transition: transform .25s ease;
}

.acedes-register-premium__submit:hover,
.acedes-register-premium__submit:focus-visible {
    background: #1685ff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(9,105,216,.20);
}

.acedes-register-premium__submit:hover span,
.acedes-register-premium__submit:focus-visible span {
    transform: translateX(4px);
}

.acedes-register-premium__login {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #edf0f3;
    color: #71808f;
    font-size: 13px;
}

.acedes-register-premium__login a {
    color: #123c69;
    font-weight: 700;
    text-decoration: none;
}

.acedes-register-premium__login a span {
    display: inline-block;
    margin-left: 6px;
    transition: transform .2s ease;
}

.acedes-register-premium__login a:hover span {
    transform: translateX(4px);
}

@media (max-width: 820px) {
    .acedes-register-premium__layout {
        grid-template-columns: 1fr;
    }

    .acedes-register-premium__aside {
        padding: 38px 32px;
    }

    .acedes-register-premium__step {
        margin-bottom: 28px;
    }

    .acedes-register-premium__aside h2,
    .acedes-register-premium__aside > p {
        max-width: none;
    }
}

@media (max-width: 620px) {
    .acedes-membership-gate {
        padding-left: 20px;
        padding-right: 20px;
    }

    .acedes-membership-gate__actions {
        flex-direction: column;
        width: 100%;
    }

    .acedes-membership-gate__button {
        width: min(100%, 310px);
    }

    .acedes-register-premium {
        padding-left: 16px;
        padding-right: 16px;
    }

    .acedes-register-premium__intro {
        margin-bottom: 30px;
    }

    .acedes-register-premium__form-card {
        padding: 32px 24px 28px;
    }

    .acedes-register-premium__fields {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .acedes-register-premium__submit {
        width: 100%;
    }

    .acedes-register-premium__login {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =========================================================
   BUILD 04 — GLOBAL ACEDES USA MEMBER EXPERIENCE
   v0.9.36 — UI/UX only + shortcode rendering resilience
   ========================================================= */

:root {
    --ac-global-blue: #0969d8;
    --ac-global-blue-2: #1685ff;
    --ac-global-navy: #101820;
    --ac-global-ink: #12243a;
    --ac-global-muted: #667382;
    --ac-global-bg: #eef7fc;
    --ac-global-line: rgba(18,60,105,.11);
}

/* Public member pages: escape Elementor's content width */
.acedes-auth,
.acedes-membership-gate,
.acedes-member-app,
.acedes-public-offers {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
}

/* subtle animated atmosphere shared by member entry pages */
.acedes-auth-premium,
.acedes-reset-premium,
.acedes-member-app {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.acedes-auth-premium::before,
.acedes-reset-premium::before,
.acedes-member-app::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -260px;
    top: -250px;
    border: 1px solid rgba(9,105,216,.09);
    border-radius: 50%;
    animation: acedesOrbitFloat 12s ease-in-out infinite;
    pointer-events: none;
}

.acedes-auth-premium::after,
.acedes-reset-premium::after,
.acedes-member-app::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -140px;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(9,105,216,.035);
    animation: acedesSoftFloat 9s ease-in-out infinite;
    pointer-events: none;
}

@keyframes acedesOrbitFloat {
    0%,100% { transform: translate3d(0,0,0) rotate(0deg); }
    50% { transform: translate3d(-22px,18px,0) rotate(12deg); }
}

@keyframes acedesSoftFloat {
    0%,100% { transform: translate3d(0,0,0); }
    50% { transform: translate3d(18px,-14px,0); }
}

/* LOGIN */
.acedes-auth-premium {
    padding: clamp(70px,8vw,112px) 24px clamp(80px,9vw,120px);
    background: var(--ac-global-bg);
    color: var(--ac-global-ink);
}

.acedes-auth-premium__intro {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto 44px;
    text-align: center;
}

.acedes-auth-premium__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--ac-global-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.acedes-auth-premium__intro h1 {
    margin: 0;
    color: var(--ac-global-ink);
    font-family: Georgia,"Times New Roman",serif;
    font-size: clamp(40px,5.5vw,68px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.acedes-auth-premium__intro p {
    max-width: 680px;
    margin: 20px auto 0;
    color: var(--ac-global-muted);
    font-size: 15px;
    line-height: 1.8;
}

.acedes-auth-premium__layout {
    position: relative;
    z-index: 2;
    width: min(1080px,100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    min-height: 490px;
    border: 1px solid rgba(18,60,105,.10);
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 70px rgba(18,60,105,.11);
}

.acedes-auth-premium__visual {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    background: #101820;
}

.acedes-auth-premium__visual::before {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    animation: acedesVisualOrbit 16s linear infinite;
}

.acedes-auth-premium__visual::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    left: 50%;
    top: 50%;
    border: 1px dashed rgba(22,133,255,.28);
    border-radius: 50%;
    transform: translate(-50%,-50%);
    animation: acedesVisualOrbitReverse 11s linear infinite;
}

@keyframes acedesVisualOrbit {
    to { transform: translate(-50%,-50%) rotate(360deg); }
}

@keyframes acedesVisualOrbitReverse {
    to { transform: translate(-50%,-50%) rotate(-360deg); }
}

.acedes-auth-premium__visual-copy {
    position: absolute;
    left: 42px;
    right: 42px;
    bottom: 46px;
    z-index: 4;
}

.acedes-auth-premium__visual-copy span {
    display: block;
    margin-bottom: 12px;
    color: #6fb2ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
}

.acedes-auth-premium__visual-copy strong {
    color: #fff;
    font-family: Georgia,"Times New Roman",serif;
    font-size: clamp(27px,3vw,40px);
    line-height: 1.08;
}

.acedes-auth-premium__orbit {
    position: absolute;
    z-index: 3;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1685ff;
    box-shadow: 0 0 18px rgba(22,133,255,.7);
}

.acedes-auth-premium__orbit.orbit-a { left: 28%; top: 25%; animation: acedesNodeFloat 5s ease-in-out infinite; }
.acedes-auth-premium__orbit.orbit-b { right: 22%; top: 42%; animation: acedesNodeFloat 6s ease-in-out infinite reverse; }
.acedes-auth-premium__node { position:absolute; z-index:3; width:5px; height:5px; border-radius:50%; background:rgba(255,255,255,.65); }
.acedes-auth-premium__node.node-a { left:23%; top:52%; }
.acedes-auth-premium__node.node-b { right:28%; top:28%; }
.acedes-auth-premium__node.node-c { right:17%; bottom:25%; }

@keyframes acedesNodeFloat {
    0%,100% { transform: translate(0,0); }
    50% { transform: translate(18px,-15px); }
}

.acedes-auth-premium__form {
    padding: 50px 54px 42px;
    align-self: center;
}

.acedes-auth-premium__form form { margin: 0; }
.acedes-auth-premium__form p { margin: 0 0 20px; }
.acedes-auth-premium__form label,
.acedes-reset-premium label {
    display: block;
    color: #24374b;
    font-size: 13px;
    font-weight: 700;
}

.acedes-auth-premium__form label > span,
.acedes-reset-premium label > span { margin-left: 3px; color: var(--ac-global-blue); }

.acedes-auth-premium__form input[type="text"],
.acedes-auth-premium__form input[type="password"],
.acedes-reset-premium input[type="email"] {
    width: 100%;
    min-height: 52px;
    margin-top: 8px;
    padding: 0 15px;
    border: 1px solid #d8e0e8;
    border-radius: 6px;
    background: #fbfcfd;
    color: #17212b;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: .2s ease;
}

.acedes-auth-premium__form input:focus,
.acedes-reset-premium input:focus {
    border-color: var(--ac-global-blue-2);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22,133,255,.10);
}

.acedes-auth-premium__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 2px 0 26px;
    font-size: 12px;
}

.acedes-auth-premium__remember {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    color: #71808f !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

.acedes-auth-premium__remember input { margin: 0; }
.acedes-auth-premium__row > a { color: var(--ac-global-blue); font-weight: 700; text-decoration: none; }

.acedes-auth-premium__submit {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 5px;
    background: var(--ac-global-blue);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(9,105,216,.17);
    transition: .25s ease;
}

.acedes-auth-premium__submit span { margin-left: 12px; transition: transform .2s ease; }
.acedes-auth-premium__submit:hover { background: var(--ac-global-blue-2); transform: translateY(-1px); box-shadow: 0 16px 32px rgba(9,105,216,.21); }
.acedes-auth-premium__submit:hover span { transform: translateX(4px); }

.acedes-auth-premium__register {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #edf0f3;
    color: #71808f;
    font-size: 13px;
}
.acedes-auth-premium__register a { color: #123c69; font-weight: 800; text-decoration: none; }
.acedes-auth-premium__register a span { margin-left: 5px; }

.acedes-auth-premium__notice,
.acedes-auth-premium__success {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
}
.acedes-auth-premium__notice { background:#fff7e7; border-left:3px solid #c98b1d; color:#73520e; }
.acedes-auth-premium__success { background:#edf9f2; border-left:3px solid #2e9b61; color:#246e47; }

/* RESET PASSWORD */
.acedes-reset-premium { background: #f3f8fc; min-height: 620px; }
.acedes-reset-premium .acedes-auth-premium__intro { margin-bottom: 38px; }
.acedes-reset-premium__card {
    position: relative;
    z-index: 2;
    width: min(620px,100%);
    margin: 0 auto;
    padding: 46px 52px 40px;
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(18,60,105,.10);
    border-radius: 20px;
    box-shadow: 0 22px 60px rgba(18,60,105,.10);
    box-sizing: border-box;
}
.acedes-reset-premium__icon {
    display:flex; align-items:center; justify-content:center;
    width:48px; height:48px; margin:0 auto 24px;
    border-radius:50%; background:#101820; color:#6fb2ff; font-size:18px;
}
.acedes-reset-premium__card form { margin:0; }
.acedes-reset-premium__card p { margin:0 0 22px; }
.acedes-reset-premium__back { display:block; margin-top:24px; color:#667382; font-size:13px; text-align:center; text-decoration:none; }
.acedes-reset-premium__back:hover { color:#0969d8; }

/* MEMBER APP — public header/footer remain the site's chrome */
.acedes-member-app {
    min-height: calc(100vh - 86px);
    padding: clamp(58px,7vw,94px) 24px clamp(70px,8vw,110px);
    background: #edf7fc;
    color: var(--ac-global-ink);
}
.acedes-member-app__intro {
    position:relative; z-index:2;
    width:min(1180px,100%); margin:0 auto 38px;
}
.acedes-member-app__intro > span {
    color:var(--ac-global-blue); font-size:11px; font-weight:800; letter-spacing:.18em;
}
.acedes-member-app__intro h1 {
    margin:10px 0 0; color:var(--ac-global-ink); font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(36px,4.8vw,58px); line-height:1.02; letter-spacing:-.03em;
}
.acedes-member-app__intro p { max-width:650px; margin:16px 0 0; color:var(--ac-global-muted); line-height:1.7; }
.acedes-member-app__decor { position:absolute; z-index:0; border-radius:50%; pointer-events:none; }
.acedes-member-app__decor--one { width:300px; height:300px; right:-150px; top:80px; border:1px solid rgba(9,105,216,.08); animation:acedesOrbitFloat 12s ease-in-out infinite; }
.acedes-member-app__decor--two { width:120px; height:120px; left:8%; bottom:8%; background:rgba(9,105,216,.035); animation:acedesSoftFloat 8s ease-in-out infinite; }
.acedes-elementor-shell__body { position:relative; z-index:2; width:min(1180px,100%); margin:0 auto; padding:0; }
.acedes-elementor-shell__layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:24px; align-items:start; }
.acedes-elementor-shell__sidebar { position:sticky; top:25px; }
.acedes-elementor-shell .acedes-member-nav { background:rgba(255,255,255,.82); border:1px solid rgba(18,60,105,.10); border-radius:16px; box-shadow:0 16px 40px rgba(18,60,105,.07); backdrop-filter:blur(10px); }
.acedes-elementor-shell .acedes-member-nav a { padding:12px 13px; border-radius:9px; }
.acedes-elementor-shell__content { min-width:0; }
.acedes-elementor-shell__content > .acedes-dashboard { width:100%; }

/* dashboard cards become part of the same visual system */
.acedes-elementor-shell .acedes-dashboard-header {
    position:relative; overflow:hidden; border-radius:18px; padding:28px 30px;
    background:linear-gradient(135deg,#101820 0%,#123c69 100%);
    box-shadow:0 18px 40px rgba(16,24,32,.13);
}
.acedes-elementor-shell .acedes-dashboard-header::after { content:""; position:absolute; width:210px; height:210px; right:-90px; top:-100px; border:1px solid rgba(255,255,255,.12); border-radius:50%; animation:acedesVisualOrbit 14s linear infinite; }
.acedes-elementor-shell .acedes-dashboard .acedes-card { border-radius:16px; border-color:rgba(18,60,105,.10); box-shadow:0 14px 34px rgba(18,60,105,.06); transition:transform .25s ease,box-shadow .25s ease; }
.acedes-elementor-shell .acedes-dashboard .acedes-card:hover { transform:translateY(-3px); box-shadow:0 20px 42px rgba(18,60,105,.09); }

/* member detail pages */
.acedes-elementor-shell__content > .acedes-member-page,
.acedes-elementor-shell__content > .acedes-documents,
.acedes-elementor-shell__content > .acedes-payments {
    width:100%; max-width:none; margin:0; padding:34px 36px; background:rgba(255,255,255,.86);
    border:1px solid rgba(18,60,105,.10); border-radius:18px; box-shadow:0 16px 40px rgba(18,60,105,.07); box-sizing:border-box;
}
.acedes-elementor-shell__content > .acedes-member-page > h2,
.acedes-elementor-shell__content > .acedes-documents > h2 { margin-top:10px; font-family:Georgia,"Times New Roman",serif; color:var(--ac-global-ink); font-size:clamp(30px,4vw,46px); }
.acedes-member-page button,
.acedes-documents button,
.acedes-member-page .acedes-primary-action,
.acedes-documents .acedes-primary-action { border-radius:5px; }

@media (max-width: 820px) {
    .acedes-auth-premium__layout { grid-template-columns:1fr; }
    .acedes-auth-premium__visual { min-height:280px; }
    .acedes-auth-premium__visual-copy { left:28px; bottom:30px; }
    .acedes-elementor-shell__layout { grid-template-columns:1fr; }
    .acedes-elementor-shell__sidebar { position:static; }
    .acedes-elementor-shell .acedes-member-nav ul { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 620px) {
    .acedes-auth-premium { padding-left:16px; padding-right:16px; }
    .acedes-auth-premium__intro h1 { font-size:clamp(36px,11vw,52px); }
    .acedes-auth-premium__form { padding:34px 24px 30px; }
    .acedes-auth-premium__row,
    .acedes-auth-premium__register { flex-direction:column; align-items:flex-start; }
    .acedes-reset-premium__card { padding:34px 24px 30px; }
    .acedes-member-app { padding-left:16px; padding-right:16px; }
    .acedes-member-app__intro h1 { font-size:clamp(34px,10vw,48px); }
    .acedes-elementor-shell__content > .acedes-member-page,
    .acedes-elementor-shell__content > .acedes-documents,
    .acedes-elementor-shell__content > .acedes-payments { padding:24px 20px; }
    .acedes-elementor-shell .acedes-member-nav ul { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .acedes-auth-premium::before,
    .acedes-auth-premium::after,
    .acedes-reset-premium::before,
    .acedes-reset-premium::after,
    .acedes-member-app::before,
    .acedes-member-app::after,
    .acedes-auth-premium__visual::before,
    .acedes-auth-premium__visual::after,
    .acedes-auth-premium__orbit,
    .acedes-auth-premium__decor,
    .acedes-member-app__decor { animation:none !important; }
}


/* =========================================================
   BUILD 04 — MEMBER DETAIL PAGES / v0.9.36
   Full-width visual system aligned with Connexion.
   ========================================================= */

.acedes-member-detail-app {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: calc(100vh - 86px);
    padding: clamp(64px, 8vw, 110px) 24px clamp(80px, 9vw, 120px);
    background: var(--ac-global-bg, #eef7fc);
    color: var(--ac-global-ink, #12243a);
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
}

.acedes-member-detail-app::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -260px;
    top: -250px;
    border: 1px solid rgba(9,105,216,.09);
    border-radius: 50%;
    animation: acedesOrbitFloat 12s ease-in-out infinite;
    pointer-events: none;
}

.acedes-member-detail-app::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    left: -140px;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(9,105,216,.035);
    animation: acedesSoftFloat 9s ease-in-out infinite;
    pointer-events: none;
}

.acedes-member-detail-app__inner {
    position: relative;
    z-index: 2;
    width: min(1080px, 100%);
    margin: 0 auto;
}

.acedes-member-detail-app .acedes-member-page,
.acedes-member-detail-app .acedes-documents,
.acedes-member-detail-app .acedes-payments {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

.acedes-member-detail-app .acedes-member-page > p:first-child,
.acedes-member-detail-app .acedes-documents > p:first-child,
.acedes-member-detail-app .acedes-payments > p:first-child {
    margin: 0 0 18px;
    text-align: center;
}

.acedes-member-detail-app .acedes-member-page > p:first-child a,
.acedes-member-detail-app .acedes-documents > p:first-child a,
.acedes-member-detail-app .acedes-payments > p:first-child a {
    color: var(--ac-global-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color .2s ease;
}

.acedes-member-detail-app .acedes-member-page > p:first-child a:hover,
.acedes-member-detail-app .acedes-documents > p:first-child a:hover,
.acedes-member-detail-app .acedes-payments > p:first-child a:hover {
    color: var(--ac-global-blue);
}

.acedes-member-detail-app .acedes-member-page > h2,
.acedes-member-detail-app .acedes-documents > h2,
.acedes-member-detail-app .acedes-payments > h2 {
    position: relative;
    margin: 0 auto 34px;
    padding: 0;
    border: 0;
    color: var(--ac-global-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(40px, 5.2vw, 62px);
    line-height: 1.04;
    letter-spacing: -.035em;
    text-align: center;
}

.acedes-member-detail-app .acedes-member-page > h2::before,
.acedes-member-detail-app .acedes-documents > h2::before,
.acedes-member-detail-app .acedes-payments > h2::before {
    content: "ESPACE MEMBRE";
    display: block;
    margin-bottom: 13px;
    color: var(--ac-global-blue);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .20em;
    line-height: 1.2;
}

/* PROFILE */
.acedes-member-detail-app .acedes-profile form {
    width: 100%;
    margin: 0 auto;
    padding: 34px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(18,60,105,.10);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(18,60,105,.10);
    box-sizing: border-box;
}

.acedes-member-detail-app .acedes-profile form p {
    margin: 0;
}

.acedes-member-detail-app .acedes-profile form p:last-child {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.acedes-member-detail-app .acedes-profile form label {
    margin-bottom: 8px;
    color: var(--ac-global-ink);
    font-size: 13px;
    font-weight: 700;
}

.acedes-member-detail-app .acedes-profile form input {
    min-height: 48px;
    border-radius: 6px;
    border-color: rgba(18,60,105,.14);
    background: #fff;
}

.acedes-member-detail-app .acedes-profile form button {
    min-height: 50px;
    padding: 0 24px;
    border-radius: 5px;
    background: var(--ac-global-blue);
    box-shadow: 0 10px 24px rgba(9,105,216,.14);
}

/* MEMBERSHIP */
.acedes-member-detail-app .acedes-membership-summary {
    margin: 0;
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(18,60,105,.10);
}

.acedes-member-detail-app .acedes-membership-details {
    margin-top: 14px;
    border-radius: 16px;
    overflow: hidden;
}

/* DOCUMENTS */
.acedes-member-detail-app .acedes-document-card,
.acedes-member-detail-app .acedes-document-empty,
.acedes-member-detail-app .acedes-documents form {
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(18,60,105,.09);
}

.acedes-member-detail-app .acedes-documents form {
    margin-top: 18px;
}

/* PAYMENTS */
.acedes-member-detail-app .acedes-payment-list,
.acedes-member-detail-app .acedes-payment-empty {
    width: 100%;
}

.acedes-member-detail-app .acedes-payment-item {
    border-radius: 18px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(18,60,105,.10);
    box-shadow: 0 18px 50px rgba(18,60,105,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.acedes-member-detail-app .acedes-payment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 60px rgba(18,60,105,.11);
}

.acedes-member-detail-app .acedes-payment-empty {
    padding: 42px 28px;
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(18,60,105,.10);
    box-shadow: 0 24px 70px rgba(18,60,105,.09);
    text-align: center;
}

@media (max-width: 720px) {
    .acedes-member-detail-app {
        padding-left: 16px;
        padding-right: 16px;
    }

    .acedes-member-detail-app .acedes-member-page > h2,
    .acedes-member-detail-app .acedes-documents > h2,
    .acedes-member-detail-app .acedes-payments > h2 {
        font-size: clamp(36px, 10vw, 50px);
    }

    .acedes-member-detail-app .acedes-profile form {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .acedes-member-detail-app .acedes-profile form p:last-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acedes-member-detail-app::before,
    .acedes-member-detail-app::after,
    .acedes-member-detail-app .acedes-payment-item {
        animation: none !important;
        transition: none !important;
    }
}

/* UI-04 Build 04 — member pages full-width integration with ACEDES public background */
.acedes-elementor-shell {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #eef7fc;
    color: var(--acedes-text, #17212b);
    overflow: hidden;
    isolation: isolate;
}

.acedes-elementor-shell::before,
.acedes-elementor-shell::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 50%;
}

.acedes-elementor-shell::before {
    width: 520px;
    height: 520px;
    right: -300px;
    top: -280px;
    border: 1px solid rgba(9,105,216,.075);
    animation: acedesMemberAtmosphere 13s ease-in-out infinite;
}

.acedes-elementor-shell::after {
    width: 300px;
    height: 300px;
    left: -180px;
    bottom: -180px;
    background: rgba(9,105,216,.035);
    animation: acedesMemberAtmosphereSoft 10s ease-in-out infinite;
}

@keyframes acedesMemberAtmosphere {
    0%,100% { transform: translate3d(0,0,0) rotate(0deg); }
    50% { transform: translate3d(-18px,20px,0) rotate(10deg); }
}

@keyframes acedesMemberAtmosphereSoft {
    0%,100% { transform: translate3d(0,0,0); }
    50% { transform: translate3d(20px,-16px,0); }
}

.acedes-elementor-shell__header,
.acedes-elementor-shell__body,
.acedes-elementor-shell__footer,
.acedes-elementor-shell__layout,
.acedes-elementor-shell__content,
.acedes-elementor-shell__sidebar {
    position: relative;
    z-index: 1;
}

.acedes-elementor-shell__body {
    max-width: none;
    padding: clamp(55px,7vw,90px) clamp(18px,5vw,70px);
}

.acedes-elementor-shell__layout {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.acedes-elementor-shell__content > .acedes-member-page,
.acedes-elementor-shell__content > .acedes-payments,
.acedes-elementor-shell__content > .acedes-profile,
.acedes-elementor-shell__content > .acedes-membership,
.acedes-elementor-shell__content > .acedes-documents {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* The dashboard becomes part of the page background rather than a floating outer card. */
.acedes-elementor-shell__content > .acedes-dashboard {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.acedes-elementor-shell__content > .acedes-dashboard > .acedes-dashboard-grid {
    margin-top: 0;
}

/* Keep only intentional inner cards white. */
.acedes-elementor-shell .acedes-member-page .acedes-card,
.acedes-elementor-shell .acedes-profile .acedes-card,
.acedes-elementor-shell .acedes-membership .acedes-card,
.acedes-elementor-shell .acedes-documents .acedes-card,
.acedes-elementor-shell .acedes-payments .acedes-card {
    background: #fff;
}

@media (max-width: 820px) {
    .acedes-elementor-shell__body {
        padding: 42px 18px 55px;
    }

    .acedes-elementor-shell__layout {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acedes-elementor-shell::before,
    .acedes-elementor-shell::after {
        animation: none;
    }
}


/* =========================================================
   BUILD 04.2 — ELEMENTOR PARENT CONTAINER RESET / v0.9.38
   Presentation-only. Targets the Elementor container that wraps
   the member shortcodes. No page structure or business logic changes.
   ========================================================= */

/*
 * The member shortcodes already render their own visual system.
 * Elementor's parent container was still painting the large white/
 * grey rounded surface around them. Modern browsers support :has(),
 * allowing us to neutralize only containers that actually contain
 * an ACEDES member app.
 */
.elementor .e-con:has(.acedes-member-detail-app),
.elementor .e-container:has(.acedes-member-detail-app),
.elementor .elementor-element:has(.acedes-member-detail-app),
.elementor .e-con:has(.acedes-member-app),
.elementor .e-container:has(.acedes-member-app),
.elementor .elementor-element:has(.acedes-member-app) {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

/* Keep the vertical rhythm controlled by the member app itself. */
.elementor .e-con:has(.acedes-member-detail-app),
.elementor .e-container:has(.acedes-member-detail-app),
.elementor .e-con:has(.acedes-member-app),
.elementor .e-container:has(.acedes-member-app) {
    gap: 0 !important;
}

/* Do not let Elementor's generic widget wrapper introduce another surface. */
.elementor .elementor-widget-shortcode:has(.acedes-member-detail-app),
.elementor .elementor-widget-shortcode:has(.acedes-member-app) {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Dashboard refinement: keep the same visual language, but reduce the
 * feeling of an oversized empty canvas and give the cockpit more hierarchy. */
.acedes-member-app {
    padding-top: clamp(42px, 5vw, 68px) !important;
    padding-bottom: clamp(58px, 6vw, 82px) !important;
}

.acedes-member-app__intro {
    width: min(1120px, 100%) !important;
    margin-bottom: 28px !important;
}

.acedes-member-app__intro h1 {
    font-size: clamp(38px, 4.3vw, 54px) !important;
}

.acedes-member-app .acedes-elementor-shell__body {
    width: min(1120px, 100%) !important;
}

.acedes-member-app .acedes-elementor-shell__layout {
    grid-template-columns: 214px minmax(0, 1fr) !important;
    gap: 24px !important;
}

.acedes-member-app .acedes-dashboard-header {
    min-height: 112px !important;
    padding: 24px 28px !important;
    margin-bottom: 16px !important;
}

.acedes-member-app .acedes-dashboard-grid {
    gap: 16px !important;
}

.acedes-member-app .acedes-dashboard .acedes-card {
    min-height: 142px !important;
    padding: 20px !important;
}

@media (max-width: 820px) {
    .elementor .e-con:has(.acedes-member-detail-app),
    .elementor .e-container:has(.acedes-member-detail-app),
    .elementor .elementor-element:has(.acedes-member-detail-app),
    .elementor .e-con:has(.acedes-member-app),
    .elementor .e-container:has(.acedes-member-app),
    .elementor .elementor-element:has(.acedes-member-app) {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .acedes-member-app .acedes-elementor-shell__layout {
        grid-template-columns: 1fr !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acedes-member-app__decor--one,
    .acedes-member-app__decor--two {
        animation: none !important;
    }
}
