@font-face {
    font-family: 'Inter';
    src: url("../fonts/inter/Inter_18pt-Regular-qIlWrpV.ttf") format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url("../fonts/inter/Inter_18pt-Medium-vVR_1Pv.ttf") format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url("../fonts/inter/Inter_18pt-SemiBold-PFImOAH.ttf") format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url("../fonts/inter/Inter_18pt-Bold-qVyVXuO.ttf") format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url("../fonts/inter/Inter_18pt-Italic-aRjse9J.ttf") format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Regular-HUQMpjN.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto-Italic-ouh0_aA.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "DidactGothic";
    src: url("../fonts/DidactGothic-Regular-N7i4-F1.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --bs-body-font-family: "Inter", sans-serif;
    --orthogram-bg: #ffffff;
    --orthogram-surface: rgb(247, 248, 252);
    --orthogram-navbar-bg: #f6f2eb;
    --orthogram-navbar-border: #374151;
    --orthogram-text: #111827;
    --orthogram-muted: #4b5563;
    --orthogram-brand: #f59e0b;
    --orthogram-brand-hover: #f97316;
    --orthogram-border: rgb(213, 215, 217);
    --orthogram-input-bg: #ffffff;
    --orthogram-input-text: #0d161b;
    --orthogram-input-placeholder: #7a8288;
    --orthogram-focus-ring: rgba(245, 158, 11, 0.25);
    --orthogram-footer-bg: #ffffff;
    --orthogram-footer-card-bg: #ffffff;
    --orthogram-footer-muted: #334155;
    --orthogram-dropdown-bg: #ffffff;
    --orthogram-dropdown-border: rgba(17, 24, 39, 0.12);
    --orthogram-dropdown-shadow: 0 18px 36px rgba(17, 24, 39, 0.14);
    --orthogram-avatar-ring: rgba(17, 24, 39, 0.16);
}

[data-bs-theme="dark"] {
    --orthogram-bg: #1f2429;
    --orthogram-surface: #151b22;
    --orthogram-navbar-bg: #171d23;
    --orthogram-navbar-border: #f59e0b;
    --orthogram-text: #f8fafc;
    --orthogram-muted: #cbd5e1;
    --orthogram-brand: #f59e0b;
    --orthogram-brand-hover: #f97316;
    --orthogram-border: rgba(203, 213, 225, 0.22);
    --orthogram-input-bg: #101720;
    --orthogram-input-text: #f8fafc;
    --orthogram-input-placeholder: #9aa6b2;
    --orthogram-focus-ring: rgba(245, 158, 11, 0.28);
    --orthogram-footer-bg: #181f27;
    --orthogram-footer-card-bg: #202832;
    --orthogram-footer-muted: #cbd5e1;
    --orthogram-dropdown-bg: #202832;
    --orthogram-dropdown-border: rgba(203, 213, 225, 0.22);
    --orthogram-dropdown-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
    --orthogram-avatar-ring: rgba(245, 158, 11, 0.55);
}

body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.hero-title,
.section-title {
    font-family: "DidactGothic", sans-serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--bs-body-color);
}

/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/
.navbar {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    padding-bottom: .5rem !important;
    padding-top: .5rem !important;
    position: relative !important;
}

.container-fluid {
    max-width: 1440px;
    padding-right: 20px !important;
    padding-left: 20px !important;
}

@media (min-width: 576px) {
    .container-fluid {
        padding-right: 32px !important;
        padding-left: 32px !important;
    }
}

@media (min-width: 992px) {
    .container-fluid {
        padding-right: 48px !important;
        padding-left: 48px !important;
    }
}

.orthogram-navbar {
    background-color: var(--orthogram-navbar-bg);
    border-top: 3px solid var(--orthogram-navbar-border);
}

.nav-link {
    color: var(--orthogram-muted);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--orthogram-text);
}

.btn-connect {
    background-color: var(--orthogram-brand) !important;
    border-color: var(--orthogram-brand) !important;
    color: #111827 !important;
    font-family: "Inter", sans-serif;
    font-weight: 600;
}

.btn-connect:hover,
.btn-connect:focus,
.btn-connect:active {
    color: #111827 !important;
    background-color: var(--orthogram-brand-hover) !important;
    border-color: var(--orthogram-brand-hover) !important;
}

.dropdown-user {
    font-size: 13px;
    letter-spacing: 0em;
    line-height: 22px;
    text-transform: uppercase;
    color: var(--orthogram-muted) !important;
    outline: none;
    font-weight: 600 !important;
    text-decoration: none;
    border-radius: 8px !important;
    padding: 4px 8px !important;
    font-family: "Inter", sans-serif;
}

.dropdown-user:hover,
.dropdown-user:focus,
.dropdown-user:active {
    color: #111827 !important;
    background-color: var(--orthogram-brand) !important;
    text-decoration: none;
}

.orthogram-navbar .dropdown-menu {
    background-color: var(--orthogram-dropdown-bg);
    border-color: var(--orthogram-dropdown-border);
    border-radius: 8px;
    box-shadow: var(--orthogram-dropdown-shadow);
    min-width: 180px;
}

.space-between {
    height: 0;
    border-top: 1px solid var(--orthogram-border);
}

.color-btn-logout {
    color: var(--orthogram-muted) !important;
}

.color-btn-logout:hover,
.color-btn-logout:focus,
.color-btn-logout:active {
    color: #111827 !important;
    background-color: var(--orthogram-brand) !important;
    text-decoration: none;
}

html[data-bs-theme="dark"] .color-btn-logout:hover,
html[data-bs-theme="dark"] .color-btn-logout:focus,
html[data-bs-theme="dark"] .color-btn-logout:active {
    color: #111827 !important;
    background-color: var(--orthogram-brand-hover) !important;
}

.btn-dropdown-user {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    background-color: transparent;
    outline: none;
    padding: 0;
}

.btn-dropdown-user:focus-visible {
    outline: 3px solid var(--orthogram-focus-ring);
    outline-offset: 4px;
    border-radius: 50%;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
    align-items: center;
    background: #c7c7c7;
    border: 0;
    border-radius: 50%;
    bottom: 20px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    height: 52px;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    right: 20px;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
    visibility: hidden;
    width: 52px;
    z-index: 99999;
}

.back-to-top i {
    font-size: 28px;
    line-height: 1;
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: #000000;
    color: #ffffff;
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(246, 178, 107, 0.75);
    outline-offset: 4px;
}

.back-to-top.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

.sc-img-gravatar {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center center;
    object-position: center center;
    margin: 0 auto;
    border-radius: 0;
    aspect-ratio: unset;
    width: 100%;
}

.sc-gravatar .sc-img-gravatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--orthogram-brand);
    box-shadow: 0 0 0 2px var(--orthogram-avatar-ring);
    color: #111827;
    font-weight: 700;
    line-height: 1;
}

.sc-avatar-placeholder {
    font-size: 16px;
    text-transform: uppercase;
}

.vihbpq {
    max-width: 100px;
    -o-object-fit: cover;
    object-fit: cover;
}

.q6csu5 {
    align-items: center;
}

@media (max-width: 992px) {
    .q6csu5 {
        align-items: flex-start;
    }
}

.navbar-toggler {
    border-color: rgba(17, 24, 39, 0.15);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg);
    -webkit-filter: invert(0);
    filter: invert(0);
}

/*--------------------------------------------------------------
# Logo / Branding
--------------------------------------------------------------*/
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* gap: 4px; */
}

.logo-symbol {
    width: 78px;
    height: auto;
    display: block;
    transition: transform .2s ease;
}

.logo-link:hover .logo-symbol {
    transform: scale(1.03);
}

.logo-text {
    font-family: "Inter", sans-serif;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    color: var(--orthogram-text);
    text-transform: uppercase;
    line-height: 1;
    margin-top: 2px;
    margin-left: -20px;
}

@media (max-width: 768px) {
    .logo-symbol {
        width: 56px;
    }

    .logo-text {
        font-size: 1.6rem;
    }
}

/*--------------------------------------------------------------
# Homepage
--------------------------------------------------------------*/
.home-page {
    overflow: hidden;
}

.home-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background-image: url("../img/home/bg_accueil_orthogram_pix_2-dRrzg5c.png");
    background-size: cover;
    background-position: center;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, .50) 0%,
            rgba(255, 255, 255, .34) 38%,
            rgba(255, 255, 255, .06) 100%);
}

[data-bs-theme="dark"] .home-hero-overlay {
    background: linear-gradient(90deg,
            rgba(17, 24, 39, .48) 0%,
            rgba(17, 24, 39, .28) 40%,
            rgba(17, 24, 39, .04) 100%);
}

.home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.home-hero-content::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: rgba(255, 255, 255, .13);
    -webkit-backdrop-filter: blur(1px);
            backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 32px;
    z-index: -1;
}

[data-bs-theme="dark"] .home-hero-content::before {
    background: rgba(17, 24, 39, .10);
    /* backdrop-filter: blur(8px); */
    border-color: rgba(255, 255, 255, .08);
}

.home-kicker {
    color: #d97706;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .85rem;
    margin-bottom: .75rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, .35);
}

[data-bs-theme="dark"] .home-kicker {
    color: #fbbf24;
    text-shadow: none;
}

.home-title {
    font-family: "DidactGothic", sans-serif;
    color: #1f2937;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: .95;
    max-width: 820px;
    margin-top: -.2rem;
    margin-bottom: 1.5rem;
}

[data-bs-theme="dark"] .home-title {
    color: #f9fafb;
}

.home-lead {
    max-width: 650px;
    font-size: 1.25rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 2rem;
}

[data-bs-theme="dark"] .home-lead {
    color: rgba(249, 250, 251, .82);
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-orthogram-primary {
    background-color: #f59e0b;
    color: #111827;
    border: 1px solid #f59e0b;
    border-radius: 999px;
    padding: .85rem 1.4rem;
    font-weight: 700;
}

.btn-orthogram-primary:hover,
.btn-orthogram-primary:focus {
    background-color: #f97316;
    border-color: #f97316;
    color: #111827;
}

.btn-orthogram-light {
    background-color: rgba(255, 255, 255, .84);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    color: #111827;
    border: 1px solid rgba(17, 24, 39, .12);
    border-radius: 999px;
    padding: .85rem 1.4rem;
    font-weight: 700;
}

.btn-orthogram-light:hover,
.btn-orthogram-light:focus {
    background-color: #ffffff;
    color: #111827;
    transform: translateY(-1px);
}

.home-section {
    padding: 6rem 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 3rem;
}

.section-heading.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

/*--------------------------------------------------------------
# Homepage - Benefits
--------------------------------------------------------------*/
.home-benefits {
    background-color: var(--bs-body-bg);
}

.benefit-card {
    height: 100%;
    overflow: hidden;
    border-radius: 36px;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(15, 23, 42, .12);
}

.benefit-media {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background-color: #f8fafc;
}

.benefit-img {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center;
       object-position: center;
}

.benefit-content {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 2rem;
}

.benefit-icon {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.benefit-icon-purple {
    color: #8b5cf6;
    background-color: rgba(139, 92, 246, .13);
}

.benefit-icon-green {
    color: #10b981;
    background-color: rgba(16, 185, 129, .13);
}

.benefit-icon-orange {
    color: #f59e0b;
    background-color: rgba(245, 158, 11, .15);
}

.benefit-content h3 {
    font-family: "Inter", sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--bs-body-color);
    margin-bottom: 1rem;
}

.benefit-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--bs-secondary-color);
    margin: 0;
}

/*--------------------------------------------------------------
# Homepage - Paths
--------------------------------------------------------------*/
.home-paths {
    background-color: var(--bs-tertiary-bg);
}

.path-card {
    height: 100%;
    padding: 2rem;
    border-radius: 28px;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
}

.path-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background-color: rgba(245, 158, 11, .14);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.path-card h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
}

.path-card p {
    color: var(--bs-secondary-color);
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Homepage - Hero badges
--------------------------------------------------------------*/
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}

.hero-badges span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .55rem .9rem;
    background-color: rgba(255, 255, 255, .78);
    border: 1px solid rgba(17, 24, 39, .10);
    color: #111827;
    font-weight: 600;
    font-size: .95rem;
}

[data-bs-theme="dark"] .hero-badges span {
    background-color: rgba(17, 24, 39, .72);
    border-color: rgba(255, 255, 255, .12);
    color: #f9fafb;
}

/*--------------------------------------------------------------
# Homepage - Steps
--------------------------------------------------------------*/
.home-steps {
    background-color: var(--bs-tertiary-bg);
}

.step-card {
    height: 100%;
    padding: 2rem;
    border-radius: 30px;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

.step-number {
    display: inline-flex;
    margin-bottom: 1.5rem;
    color: #f59e0b;
    font-weight: 800;
    font-size: .95rem;
    letter-spacing: .12em;
}

.step-card h3 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--bs-secondary-color);
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Homepage - Audience
--------------------------------------------------------------*/
.home-audience {
    background-color: var(--bs-body-bg);
}

.audience-box {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    border-radius: 36px;
    background-color: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
}

.audience-box h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.audience-tags span {
    display: inline-flex;
    padding: .8rem 1rem;
    border-radius: 999px;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    font-weight: 700;
    color: var(--bs-body-color);
}

/*--------------------------------------------------------------
# Homepage - Method
--------------------------------------------------------------*/
.home-method {
    background-color: #111827;
    color: #f9fafb;
}

.home-method .home-kicker {
    color: #fbbf24;
}

.method-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.method-box h2 {
    color: #f9fafb;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.method-box p {
    max-width: 720px;
    color: rgba(249, 250, 251, .78);
    font-size: 1.15rem;
}

/*--------------------------------------------------------------
# Homepage - Dark mode
--------------------------------------------------------------*/
[data-bs-theme="dark"] .benefit-card {
    background-color: #1a2231;
    border-color: rgba(255, 255, 255, .06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

[data-bs-theme="dark"] .benefit-media {
    background-color: #1a2231;
}

/*--------------------------------------------------------------
# Homepage - Responsive
--------------------------------------------------------------*/
@media (max-width: 992px) {
    .home-hero {
        min-height: 560px;
        background-position: center right;
    }

    .method-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .audience-box {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .benefit-content {
        gap: 1rem;
        padding: 1.4rem;
    }

    .benefit-icon {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        font-size: 1.4rem;
    }

    .benefit-content h3 {
        font-size: 1.45rem;
    }

    .benefit-content p {
        font-size: .98rem;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .home-section {
        padding: 4rem 0;
    }

    .home-hero {
        min-height: 520px;
    }

    .home-actions .btn {
        width: 100%;
    }

    .hero-badges span {
        font-size: .85rem;
    }
}

/*--------------------------------------------------------------
# Program - Show
--------------------------------------------------------------*/
.font-18 {
    font-size: 1.125rem !important;
}

.font-36 {
    font-size: 2.25rem !important;
}

.fpTULK {
    color: #f9fafb !important;
}

.show-program {
    position: relative;
    background-color: var(--bs-body-bg);
    margin-top: 0;
}

.kcKEGd {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, .16), transparent 34rem),
        #111827;
    overflow: hidden;
}

.kcKEGd::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, .96) 0%, rgba(17, 24, 39, .88) 48%, rgba(17, 24, 39, .72) 100%);
    pointer-events: none;
}

.container-programs {
    position: relative;
    margin: 0 auto;
    z-index: 1;
    padding: 5rem 20px;
    width: auto;
    font-size: 1.125rem;
}

@media (min-width: 768px) {
    .container-programs {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .container-programs {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .container-programs {
        width: 1120px;
    }
}

.intro-program {
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
}

@media (min-width: 768px) {
    .intro-program {
        flex-wrap: nowrap;
        flex-direction: row-reverse;
    }
}

.img-program {
    width: 100%;
}

@media (min-width: 768px) {
    .img-program {
        width: 50%;
    }
}

.program-img {
    object-fit: cover;
    object-position: center center;
    margin: 0 auto;
    border-radius: 28px;
    aspect-ratio: 4 / 3;
    width: 100%;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .28);
}

.refunded-content,
.intro-text-program {
    flex: 1 1 100%;
    width: 100%;
}

@media (min-width: 768px) {

    .refunded-content,
    .intro-text-program {
        flex-basis: 50%;
    }
}

.payment-terms-program {
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    margin: 0;
    color: var(--bs-body-color);
    font-weight: 500 !important;
    font-size: 1rem;
}

.payment-terms-list {
    padding-left: 0;
    margin: 0 0 .75rem;
    padding-inline-start: 0;
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    font-weight: 500 !important;
}

.payment-terms-list li {
    display: inline-block;
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    font-weight: 500 !important;
    font-size: 1rem;
    white-space: nowrap;
}

.payment-terms-list li:first-child {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .45rem .8rem;
    color: #111827;
    background-color: #f59e0b;
    font-weight: 800 !important;
}

.payment-terms-list li::before {
    display: inline-block;
    content: "•";
    padding: 0px 8px;
}

.payment-terms-list li:first-child::before {
    content: "";
    padding: 0px;
}

.title-program {
    letter-spacing: 0em;
    line-height: 1.25;
    text-transform: none;
    font-weight: 700 !important;
    margin: 0;
    color: var(--bs-body-color);
    font-size: 1.7rem;
    font-family: "Inter", sans-serif;
}

.kcKEGd .title-program {
    font-family: "DidactGothic", sans-serif;
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 400 !important;
    line-height: .98;
}

.content-program {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 12px;
    color: var(--bs-secondary-color);
    overflow-wrap: anywhere;
    word-break: normal;
    white-space: normal;
    font-size: 1rem;
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    font-weight: 500 !important;
}

@media (min-width: 768px) {
    .content-program {
        flex-basis: 50%;
    }
}

.content-program p:last-child,
.content-program ul:last-child,
.content-program ol:last-child {
    margin-bottom: 0;
}

.content-program strong {
    color: var(--bs-body-color);
    font-weight: 800;
}

.kcKEGd .payment-terms-program,
.kcKEGd .content-program,
.kcKEGd .content-program strong {
    color: rgba(249, 250, 251, .84);
}

.content-button-go {
    display: flex;
    margin-top: 24px;
}

.wrap-button-go {
    display: flex;
    flex-flow: wrap;
    gap: 16px;
}

.show-detail-program {
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #f59e0b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    outline: none;
    padding: .85rem 1.4rem;
    font-size: 1rem;
    border-radius: 999px;
    background-color: #f59e0b;
    color: #111827;
    font-weight: 800 !important;
}

.show-detail-program:not([disabled]):hover {
    box-shadow: 0 18px 40px rgba(245, 158, 11, .22);
    transform: translateY(-2px);
    background-color: #f97316;
    border-color: #f97316;
    color: #111827;
    text-decoration: none;
}

.why-this-training {
    position: relative;
    background-color: var(--bs-tertiary-bg);
    overflow: hidden;
}

.show-title-program {
    margin: 0;
    color: var(--bs-body-color);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-family: "DidactGothic", sans-serif;
    font-weight: 400 !important;
}

.program-highlights {
    position: relative;
    background-color: #111827;
    color: #f9fafb;
    overflow: hidden;
}

.program-test {
    position: relative;
    background-color: var(--bs-tertiary-bg);
    overflow: hidden;
}

.show-highlights-program {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.mw-0 {
    min-width: 0;
}

.detailed-items-program,
.grid-items-credentials {
    display: flex;
    flex-flow: column wrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.25rem;
    height: 100%;
    padding: 2rem;
    border-radius: 28px;
    background-color: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
}

@media (min-width: 768px) {

    .detailed-items-program,
    .grid-items-credentials {
        flex-wrap: nowrap;
    }
}

.show-detailed-program {
    display: grid;
    gap: 2rem;
    grid-template-areas: "header";
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 992px) {
    .show-detailed-program {
        grid-template-areas: "header header";
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .show-detailed-program {
        grid-template-areas: "header header header";
        grid-template-columns: repeat(3, 1fr);
    }
}

.grid-header {
    grid-area: header / header / header / header;
    margin-bottom: 16px;
}

.cjl4i1 {
    margin-top: 1.5rem;
}

.opvhv0 {
    display: flex;
    justify-content: flex-start;
    text-align: left;
}

.opr6f4 {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .wrap-button-go {
        row-gap: 0px;
    }
}

.gab819 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
}

@media (min-width: 768px) {
    .gab819 {
        flex-direction: row;
    }
}

.ud1v5m {
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #f59e0b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    outline: none;
    padding: .85rem 1.4rem;
    font-size: 1rem;
    background-color: #f59e0b;
    color: #111827;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    border-radius: 999px;
    font-weight: 800 !important;
}

.ud1v5m:hover,
.ud1v5m:focus {
    background-color: #f97316;
    border-color: #f97316;
    color: #111827;
    box-shadow: 0 18px 40px rgba(245, 158, 11, .22);
    transform: translateY(-2px);
}

.program-highlights .title-program,
.program-highlights .content-program,
.program-highlights .content-program strong {
    color: #f9fafb;
}

.program-highlights .detailed-items-program {
    background-color: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .10);
    box-shadow: none;
}

.program-highlights .content-program {
    color: rgba(249, 250, 251, .78);
}

[data-bs-theme="dark"] .kcKEGd {
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, .12), transparent 34rem),
        #0f172a;
}

[data-bs-theme="dark"] .kcKEGd::before {
    background: linear-gradient(90deg, rgba(15, 23, 42, .96) 0%, rgba(15, 23, 42, .88) 48%, rgba(15, 23, 42, .72) 100%);
}

[data-bs-theme="dark"] .why-this-training,
[data-bs-theme="dark"] .program-test {
    background-color: #111827;
}

[data-bs-theme="dark"] .show-program {
    background-color: var(--bs-body-bg);
}

[data-bs-theme="dark"] .detailed-items-program {
    background-color: #1a2231;
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

[data-bs-theme="dark"] .title-program,
[data-bs-theme="dark"] .show-title-program,
[data-bs-theme="dark"] .content-program strong {
    color: #f9fafb;
}

[data-bs-theme="dark"] .content-program {
    color: rgba(249, 250, 251, .78);
}

[data-bs-theme="dark"] .payment-terms-list li:first-child {
    color: #111827;
}

@media (max-width: 768px) {
    .container-programs {
        padding: 4rem 20px;
    }

    .intro-program {
        gap: 2rem;
    }

    .detailed-items-program {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .show-detail-program,
    .ud1v5m {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Nav floating
--------------------------------------------------------------*/
.pzkyw5 {
    position: relative;
    background-color: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(17, 24, 39, .10);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .10);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
}

.xya3m1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
    transition: transform .28s ease, opacity .28s ease;
    opacity: 0;
    transform: translateY(-300%);
}

.i3u89z {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1020;
    transition: transform .28s ease, opacity .28s ease;
    opacity: 1;
    transform: translateY(0);
}

.k727f2 {
    position: relative;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 1rem;
    max-width: 100%;
    width: 1120px;
}

.fg56zp {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    gap: 1rem;
    padding-top: .85rem;
    padding-bottom: .85rem;
}

@media (min-width: 768px) {
    .fg56zp {
        align-items: center;
        flex-direction: row;
    }
}

.a0zity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.s6ovti {
    font-weight: 800 !important;
    color: #111827;
}

.uuzh95 {
    font-size: .95rem;
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    overflow-wrap: anywhere;
    word-break: normal;
    transition: 0.15s ease-in-out;
    text-decoration: none;
}

.uuzh95:hover,
.uuzh95:focus {
    color: #d97706;
    text-decoration: none;
}

.nhjfiu {
    font-size: .95rem;
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    overflow-wrap: anywhere;
    word-break: normal;
    font-weight: 400 !important;
}

.pa9ar1 {
    color: rgba(17, 24, 39, .42);
}

.fx627i {
    color: #111827;
}

.vfd9uh {
    display: flex;
    flex-flow: wrap;
    gap: 0.5rem;
}

.psoqp3 {
    flex: 0 1 auto;
}

.j4njag {
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 1px solid #f59e0b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
    outline: none;
    padding: .55rem 1rem;
    font-size: .95rem;
    background-color: #f59e0b;
    color: #111827;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    border-radius: 999px;
    font-weight: 800 !important;
}

.j4njag:hover,
.j4njag:focus {
    background-color: #f97316;
    border-color: #f97316;
    color: #111827;
    box-shadow: 0 14px 30px rgba(245, 158, 11, .22);
    transform: translateY(-1px);
}

[data-bs-theme="dark"] .pzkyw5 {
    background-color: rgba(17, 24, 39, .88);
    border-bottom-color: rgba(255, 255, 255, .08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .30);
}

[data-bs-theme="dark"] .s6ovti,
[data-bs-theme="dark"] .fx627i {
    color: #f9fafb;
}

[data-bs-theme="dark"] .pa9ar1 {
    color: rgba(249, 250, 251, .42);
}

@media (max-width: 576px) {
    .j4njag {
        width: 100%;
    }

    .vfd9uh {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Login page
--------------------------------------------------------------*/
.login-page {
    padding-bottom: 48px;
    padding-top: 48px;
}

.login-panel {
    margin-bottom: 32px;
    margin-top: 32px;
    max-width: 480px;
    width: 100%;
}

.card-fill {
    background-color: #fff !important;
    background-clip: border-box !important;
    border: 1px solid #d5d7d9 !important;
    border-radius: 0.5rem !important;
    flex: 1 1 auto !important;
}

.card-fill .card-body {
    display: flex;
    align-items: center;
    padding: 20px !important;
}

@media (min-width: 576px) {
    .card-fill .card-body {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
        padding-left: 28px !important;
        padding-right: 28px !important;
    }
}

.my-8 {
    margin-top: 32px !important;
    margin-bottom: 32px !important;
}

@media (max-width: 575.98px) {
    .login-page {
        padding: 24px 14px 88px;
    }

    .login-page .card-fill .card-body {
        align-items: stretch;
        padding: 18px !important;
    }

    .login-panel {
        margin-bottom: 16px;
        margin-top: 16px;
    }

    .login-panel h1 {
        font-size: 1.35rem !important;
        line-height: 1.25;
        margin-bottom: 1.5rem !important;
    }

    .login-panel .alert {
        font-size: 0.95rem;
        line-height: 1.45;
        padding: 0.9rem 1rem;
    }

    .login-panel .form-group {
        margin-bottom: 1rem !important;
    }

    .login-panel .btn[type="submit"] {
        width: 100%;
    }

    .remember-me-label,
    .login-panel .text-muted {
        font-size: 0.98rem;
        line-height: 1.45;
    }
}

.lh-label {
    line-height: 1.35rem;
}

.form-control-login {
    height: calc(1.75em + 0.875rem + 2px) !important;
    padding: 0.4375rem 1rem !important;
    line-height: 1.75 !important;
    color: var(--orthogram-input-text) !important;
    background-color: var(--orthogram-input-bg) !important;
    background-clip: padding-box !important;
    border: 1px solid #d5d7d9 !important;
    border-radius: 0.5rem !important;
}

.form-control-login::-webkit-input-placeholder {
    color: var(--orthogram-input-placeholder) !important;
}

.form-control-login::-moz-placeholder {
    color: var(--orthogram-input-placeholder) !important;
}

.form-control-login:-ms-input-placeholder {
    color: var(--orthogram-input-placeholder) !important;
}

.form-control-login::-ms-input-placeholder {
    color: var(--orthogram-input-placeholder) !important;
}

.form-control-login::placeholder {
    color: var(--orthogram-input-placeholder) !important;
}

.form-control-login:focus {
    color: var(--orthogram-input-text) !important;
    background-color: var(--orthogram-input-bg) !important;
    border-color: var(--orthogram-brand) !important;
    outline: 0 !important;
    box-shadow: 0 0 0 0.1875rem var(--orthogram-focus-ring) !important;
}

.form-control-login:-webkit-autofill,
.form-control-login:-webkit-autofill:hover,
.form-control-login:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--orthogram-input-text) !important;
    box-shadow: 0 0 0 1000px var(--orthogram-input-bg) inset !important;
    caret-color: var(--orthogram-input-text) !important;
}

.toggle-password-container {
    position: relative;
}

.toggle-password-container .form-control-login,
.toggle-password-container .form-control {
    padding-right: 3rem !important;
}

.toggle-password-button {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0.375rem;
    color: #53595c;
    cursor: pointer;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 0.45rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
}

.toggle-password-button:hover,
.toggle-password-button:focus {
    color: #0d161b;
}

.toggle-password-button:focus-visible {
    box-shadow: 0 0 0 0.1875rem rgba(245, 158, 11, 0.25);
    outline: 0;
}

form:invalid button.btn-dark[type=submit],
.btn-dark:disabled {
    color: #111827;
    background-color: var(--orthogram-brand);
    border-color: var(--orthogram-brand);
    opacity: 0.55;
}

.text-muted a {
    color: #53595c !important;
}

.remember-me-label {
    align-items: center;
    color: #53595c;
    cursor: pointer;
    display: inline-flex;
    gap: 0.5rem;
    line-height: 1.35rem;
}

.remember-me-checkbox {
    accent-color: var(--orthogram-brand);
    border-color: #d5d7d9 !important;
    cursor: pointer;
    margin-top: 0;
}

.remember-me-checkbox:checked {
    background-color: var(--orthogram-brand) !important;
    border-color: var(--orthogram-brand) !important;
}

.remember-me-checkbox:focus {
    border-color: var(--orthogram-brand) !important;
    box-shadow: 0 0 0 0.1875rem rgba(245, 158, 11, 0.25) !important;
}

/* =========================
   Login — Dark mode ready
   ========================= */

html[data-bs-theme="dark"] .card-fill {
    background-color: var(--orthogram-surface) !important;
    border-color: var(--orthogram-border) !important;
}

html[data-bs-theme="dark"] .card-fill .card-body {
    color: var(--orthogram-text);
}

/* Labels (tu as fw-semibold + form-label) */
html[data-bs-theme="dark"] .card-fill .form-label {
    color: var(--orthogram-text);
}

/* Inputs login */
html[data-bs-theme="dark"] .form-control-login {
    color: var(--orthogram-input-text) !important;
    background-color: var(--orthogram-input-bg) !important;
    border-color: var(--orthogram-border) !important;
}

/* Placeholder */
html[data-bs-theme="dark"] .form-control-login::-webkit-input-placeholder {
    color: var(--orthogram-input-placeholder) !important;
}

html[data-bs-theme="dark"] .form-control-login::-moz-placeholder {
    color: var(--orthogram-input-placeholder) !important;
}

html[data-bs-theme="dark"] .form-control-login:-ms-input-placeholder {
    color: var(--orthogram-input-placeholder) !important;
}

html[data-bs-theme="dark"] .form-control-login::-ms-input-placeholder {
    color: var(--orthogram-input-placeholder) !important;
}

html[data-bs-theme="dark"] .form-control-login::placeholder {
    color: var(--orthogram-input-placeholder) !important;
}

/* Focus (on garde un focus visible, mais pas "halo gris clair") */
html[data-bs-theme="dark"] .form-control-login:focus {
    color: var(--orthogram-input-text) !important;
    background-color: var(--orthogram-input-bg) !important;
    border-color: var(--orthogram-brand) !important;
    box-shadow: 0 0 0 0.1875rem var(--orthogram-focus-ring) !important;
}

/* Liens éventuels dans la zone login (tu as .text-muted a en dur) */
html[data-bs-theme="dark"] .text-muted,
html[data-bs-theme="dark"] .text-muted a {
    color: var(--orthogram-muted) !important;
}

/* Toggle password */
html[data-bs-theme="dark"] .toggle-password-button {
    color: var(--orthogram-muted) !important;
}

html[data-bs-theme="dark"] .toggle-password-button:hover,
html[data-bs-theme="dark"] .toggle-password-button:focus {
    color: var(--orthogram-text) !important;
}

html[data-bs-theme="dark"] .avatar .card {
    background-color: var(--orthogram-surface);
}

html[data-bs-theme="dark"] .hfos1d,
html[data-bs-theme="dark"] .eblipi,
html[data-bs-theme="dark"] .qzvfbm {
    color: #5BAEBE !important;
}

/*--------------------------------------------------------------
# Entropy indicator colors
--------------------------------------------------------------*/
.text-very-weak {
    color: #842029;
    font-weight: 600;
}

.text-weak {
    color: #dc3545;
    font-weight: 600;
}

.text-medium {
    color: #fd7e14;
    font-weight: 600;
}

.text-strong {
    color: #20c997;
    font-weight: 600;
}

.text-very-strong {
    color: #198754;
    font-weight: 600;
}

.spin {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Newsletter && About && footer && legal
--------------------------------------------------------------*/
.newsletter,
.about {
    position: relative;
    overflow: hidden;
}

.container-news,
.container-about,
.container-footer,
.container-legal {
    position: relative;
    margin: 0px auto;
    z-index: 1;
    padding: 40px 20px;
    width: auto;
    font-size: 18px;
}

@media (min-width: 768px) {

    .container-news,
    .container-about,
    .container-footer,
    .container-legal {
        width: 750px;
    }
}

@media (min-width: 992px) {

    .container-news,
    .container-about,
    .container-footer,
    .container-legal {
        width: 970px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 1200px) {

    .container-news,
    .container-about,
    .container-footer,
    .container-legal {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.wrap-news,
.wrap-about {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {

    .wrap-news,
    .wrap-about {
        flex-wrap: nowrap;
    }
}

.content-news,
.content-about {
    flex: 1 1 100%;
    width: 100%;
}

@media (min-width: 768px) {

    .content-news,
    .content-about {
        flex-basis: 50%;
    }
}

.title-news,
.title-about,
.title-legal {
    letter-spacing: 0em;
    line-height: 1.25;
    text-transform: none;
    font-size: 36px;
    font-weight: 400 !important;
    margin: 0px;
    color: var(--orthogram-text);
}

.content-news,
.content-about {
    font-size: 18px;
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    font-weight: 500 !important;
    /* text-align: center; */
    margin-top: 12px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    white-space: initial;
}

.form-news {
    display: flex;
    margin-top: 24px;
    justify-content: center;
    text-align: center;
}

.sign-up-form {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    width: 100%;
    text-align: center;
    align-items: center;
}

.content-sign-up-form {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .content-sign-up-form {
        flex-wrap: nowrap;
    }
}

@media (min-width: 992px) {
    .content-sign-up-form {
        flex-wrap: nowrap;
    }
}

.input-row {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.submit-news {
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: 0px;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    transition-property: transform, box-shadow;
    transition-duration: 0.35s;
    outline: none;
    padding: 12px 20px;
    font-size: 18px;
    border-radius: 4px;
    background-color: #428bca;
    color: rgb(255, 255, 255);
    font-weight: 500 !important;
}

.input-email {
    letter-spacing: 0em;
    line-height: 1.75;
    padding: 12px 20px;
    font-size: 18px;
    color: rgb(26, 38, 45);
    border: 1px solid rgba(26, 38, 45, 0.4);
    outline: none;
    border-radius: 4px;
    background: rgb(255, 255, 255);
    font-weight: 500 !important;
    width: 100%;
}

@media (min-width: 768px) {
    .input-email {
        width: auto;
    }
}

@media (min-width: 768px) {
    .input-email {
        width: 100%;
    }
}

.input-email:not([disabled]):focus,
.input-email:not([disabled]):active {
    border: 1px solid rgba(26, 38, 45, 0.8);
    box-shadow: rgba(26, 38, 45, 0.2) 0px 0px 0px 3px;
}

.submit-news {
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .submit-news {
        flex: 0 0 100%;
    }
}

@media (min-width: 768px) {
    .submit-news {
        flex: 0 0 auto;
    }
}

@media (min-width: 992px) {
    .submit-news {
        flex: 0 0 auto;
    }
}

.submit-news:not([disabled]):hover {
    box-shadow: rgba(31, 35, 65, 0.37) 0px 20px 30px -11px;
    transform: translate(0px, -5px);
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.text-news {
    font-size: 18px;
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    font-weight: 500 !important;
    margin-top: 8px;
}

/*--------------------------------------------------------------
# footer && legal notice
--------------------------------------------------------------*/
.footer,
.legal {
    position: relative;
    overflow: hidden;
}

.footer {
    background-color: var(--orthogram-footer-bg);
}

.legal {
    background-color: var(--orthogram-bg);
}

.jyoYKi {
    min-height: 570px;
}

.legal-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    -moz-column-gap: 12px;
    column-gap: 12px;
    margin-top: 20px;
}

.legal-footer-rgpd {
    padding-left: 24px;
    margin: 0px;
    -webkit-padding-start: 0px;
    padding-inline-start: 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.link-to-legal {
    text-decoration: none;
    font-size: 14.4px;
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    color: var(--orthogram-footer-muted) !important;
    font-weight: 400 !important;
}

.link-to-legal:hover {
    text-decoration: underline;
}

.copy-footer {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    background-color: var(--orthogram-footer-card-bg);
    box-shadow: 0 0 0 1px var(--orthogram-border);
    color: var(--orthogram-text);
    border-radius: 4px;
    padding: 6px 12px;
    padding-left: 0;
    margin-top: 48px;
}

.copy-footer .greater-icon path {
    stroke: currentColor;
}

.logo__mark {
    align-items: center;
    display: inline-flex;
    margin-right: 5px;
}

.logo__mark .greater-icon {
    height: 100%;
    width: 0.95rem;
}

.logo__text {
    font-family: sans-serif;
    font-size: 14px;
    letter-spacing: unset;
    color: var(--orthogram-footer-muted);
    font-weight: 400 !important;
}

.logo__cursor {
    -webkit-animation: cursor 1s infinite;
    animation: cursor 1s infinite;
    background: var(--orthogram-brand);
    border-radius: 1px;
    display: inline-block;
    height: 1rem;
    margin-left: 5px;
    width: 10px;
}

.vertical-bar {
    width: 1px;
    height: 16px;
    background: var(--orthogram-border);
    margin: 0px 12px;
}

.content-legal {
    font-size: 18px;
    color: var(--orthogram-text);
    letter-spacing: 0em;
    line-height: 1.75;
    text-transform: none;
    font-weight: 500 !important;
    margin-top: 12px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    white-space: initial;
}

.content-legal a {
    text-decoration: underline;
}

.content-legal a:hover {
    opacity: 0.75;
}

.container-footer-second {
    position: relative;
    margin: 0px auto;
    z-index: 1;
    padding: 40px 20px;
    max-width: 1440px;
    width: 100%;
    font-size: 18px;
}

@media (min-width: 768px) {
    .container-footer-second {
        width: auto;
    }
}

@media (min-width: 992px) {
    .container-footer-second {
        width: auto;
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (min-width: 1200px) {
    .container-footer-second {
        padding-left: 48px;
        padding-right: 48px;
    }
}

@-webkit-keyframes cursor {
    0% {
        opacity: 0
    }

    50% {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

@keyframes cursor {
    0% {
        opacity: 0
    }

    50% {
        opacity: 1
    }

    to {
        opacity: 0
    }
}

/*--------------------------------------------------------------
# Subscription checkout
--------------------------------------------------------------*/
.bkicbc,
.d8l2ev,
.sb9j1v {
    color: var(--orthogram-text);
}

.ykzkxt {
    width: 100%;
    padding-right: 20px !important;
    padding-left: 20px !important;
    margin-right: auto;
    margin-left: auto;
    max-width: 1440px;
}

.ykzkxt.d6i7ks {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

@media (min-width: 576px) {
    .ykzkxt {
        padding-right: 32px !important;
        padding-left: 32px !important;
    }
}

@media (min-width: 992px) {
    .ykzkxt {
        padding-right: 48px !important;
        padding-left: 48px !important;
    }
}

.spacer-section-checkout {
    margin-bottom: 1.25rem;
}

.bkicbc {
    font-size: 1.125rem;
    margin-bottom: 0;
    font-weight: 600;
    line-height: 1.35;
}

.n46nkd {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1.25rem;
}

@media (min-width: 576px) {
    .n46nkd {
        gap: 1.25rem;
    }
}

@media (min-width: 992px) {
    .n46nkd:not(.embedded-checkout *) {
        grid-template-columns: minmax(0, 372px) minmax(0, 940px);
        grid-gap: 2em;
    }
}

@media (min-width: 992px) {
    .n46nkd.right:not(.embedded-checkout *) {
        grid-template-columns: minmax(0, 940px) minmax(0, 280px);
    }
}

@media (min-width: 1200px) {
    .n46nkd.right:not(.embedded-checkout *) {
        grid-template-columns: minmax(0, 940px) minmax(0, 372px);
    }
}

.n46nkd .main-content {
    display: grid;
    grid-auto-rows: -webkit-min-content;
    grid-auto-rows: min-content;
    grid-template-columns: minmax(0, 940px);
    order: 2;
    position: relative;
}

@media (min-width: 992px) {
    .n46nkd.right:not(.embedded-checkout *) .main-content {
        order: 1;
    }
}

.gap-y-8 {
    gap: 2rem 0 !important;
}

.xo2a4n {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    word-wrap: break-word;
    background-color: var(--orthogram-bg);
    background-clip: border-box;
    border: 1px solid var(--orthogram-border);
    border-radius: 0.5rem;
    padding: var(--bs-card-cap-padding-y, .5rem) var(--bs-card-cap-padding-x, 1rem);
}

@media (max-width: 575.98px) {
    .xo2a4n {
        margin-left: -20px;
        margin-right: -20px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

.pb-7,
.py-7 {
    padding-bottom: 28px !important;
}

.mr-3 {
    margin-right: 12px !important;
}

.my-6 {
    margin-bottom: 24px !important;
}

.gap-y-2 {
    gap: 0.5rem 0 !important;
}

.font-weight-normal {
    font-weight: 400 !important;
}

.badge-grey {
    background-color: #EDEDED;
    color: #59585A !important;
}

.badge span {
    line-height: 1rem;
}

.ml-2 {
    margin-left: 8px !important;
}

.d8l2ev {
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 600;
    line-height: 1.35;
}

.card-header .card-subtitle {
    max-width: 48rem;
    word-break: break-word !important;
    word-wrap: break-word !important;
    margin-top: 4px !important;
    color: #59585A !important;
    margin-bottom: 0px !important;
}

.gy38mz {
    color: #59585A !important;
    background-color: transparent !important;
}

.gy38mz:hover {
    color: #212529 !important;
    background-color: #EDEDED !important;
    border-color: #EDEDED !important;
}

.uxfpfc {
    color: #212529
}

.n46nkd .wcxpat {
    display: flex;
    gap: 1.25rem;
    flex-direction: column;
    order: 1;
}

@media (min-width: 992px) {
    .n46nkd.right:not(.embedded-checkout *) .wcxpat {
        order: 2;
    }
}

.zxl51y {
    flex: 1 1 auto !important;
    min-height: 1px !important;
    padding: 20px !important;
}

@media (min-width: 576px) {
    .zxl51y {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
}

.sb9j1v {
    font-size: 0.9375rem;
    margin-bottom: 0;
    font-weight: 600;
    line-height: 1.35;
}

.kw41uk {
    color: #fff !important;
    background-color: #06040E !important;
    border-color: #06040E !important;
    font-size: 0.875rem !important;
}

.mt-10,
.my-10 {
    margin-top: 40px !important;
}

.etq508 {
    padding: 0 0;
    margin-bottom: 0;
    background-color: transparent;
    border-bottom: 1px solid #D6D6D7;
    padding-top: 20px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    border-bottom: none;
}

@media (min-width: 576px) {
    .etq508 {
        padding-top: 24px !important;
        padding-right: 28px !important;
        padding-left: 28px !important;
    }
}

.etq508:first-child {
    border-radius: calc(0.5rem - 1px) calc(0.5rem - 1px) 0 0;
}

.wwz44q>.xo2a4n:not(:last-child) {
    margin-bottom: 1.25rem;
}

.ixxz17 {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 20px !important;
}

@media (min-width: 576px) {
    .ixxz17 {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
        padding-right: 28px !important;
        padding-left: 28px !important;
    }
}

.hp7ucm {
    padding: 4px;
    margin: 0 -4px;
    border-radius: 8px;
}

.space-y-1>*:not(:last-child) {
    margin-bottom: 4px !important;
}

.a3awwl {
    background-color: transparent !important;
    border-color: transparent !important;
    color: #59585A !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.a3awwl:hover {
    color: #212529 !important;
    background-color: #EDEDED !important;
    border-color: rgba(0, 0, 0, 0) !important;
}

/* =========================
   Subscription checkout — Dark mode ready
   ========================= */

html[data-bs-theme="dark"] .bkicbc,
html[data-bs-theme="dark"] .d8l2ev,
html[data-bs-theme="dark"] .sb9j1v,
html[data-bs-theme="dark"] .uxfpfc {
    color: var(--orthogram-text) !important;
}

html[data-bs-theme="dark"] .xo2a4n {
    background-color: var(--orthogram-surface) !important;
    border-color: var(--orthogram-border) !important;
    color: var(--orthogram-text) !important;
}

html[data-bs-theme="dark"] .card-header .card-subtitle {
    color: var(--orthogram-muted) !important;
}

html[data-bs-theme="dark"] .font-weight-normal,
html[data-bs-theme="dark"] dt,
html[data-bs-theme="dark"] dd,
html[data-bs-theme="dark"] .text-grey-dark {
    color: var(--orthogram-text) !important;
}

html[data-bs-theme="dark"] .text-muted {
    color: var(--orthogram-muted) !important;
}

html[data-bs-theme="dark"] hr.my-6 {
    border-color: var(--orthogram-border) !important;
    opacity: 1;
}

html[data-bs-theme="dark"] .badge-grey {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--orthogram-text) !important;
    border: 1px solid var(--orthogram-border);
}

html[data-bs-theme="dark"] .gy38mz,
html[data-bs-theme="dark"] .a3awwl {
    color: var(--orthogram-muted) !important;
    background-color: transparent !important;
    border-color: transparent !important;
}

html[data-bs-theme="dark"] .gy38mz:hover,
html[data-bs-theme="dark"] .gy38mz:focus,
html[data-bs-theme="dark"] .gy38mz:active,
html[data-bs-theme="dark"] .a3awwl:hover,
html[data-bs-theme="dark"] .a3awwl:focus,
html[data-bs-theme="dark"] .a3awwl:active {
    color: var(--orthogram-text) !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-bs-theme="dark"] .kw41uk {
    color: #111827 !important;
    background-color: var(--orthogram-brand) !important;
    border-color: var(--orthogram-brand) !important;
}

html[data-bs-theme="dark"] .kw41uk:hover,
html[data-bs-theme="dark"] .kw41uk:focus,
html[data-bs-theme="dark"] .kw41uk:active {
    color: #111827 !important;
    background-color: var(--orthogram-brand-hover) !important;
    border-color: var(--orthogram-brand-hover) !important;
}

html[data-bs-theme="dark"] .alert.alert-warning {
    background-color: rgba(255, 193, 7, 0.12) !important;
    border-color: rgba(255, 193, 7, 0.24) !important;
    color: #f7d774 !important;
}

html[data-bs-theme="dark"] .form-text {
    color: var(--orthogram-muted) !important;
}

html[data-bs-theme="dark"] .form-check-label,
html[data-bs-theme="dark"] .form-label {
    color: var(--orthogram-text) !important;
}

html[data-bs-theme="dark"] .form-check-input {
    background-color: var(--orthogram-bg) !important;
    border-color: var(--orthogram-border) !important;
}

html[data-bs-theme="dark"] .form-check-input:checked {
    background-color: var(--orthogram-brand) !important;
    border-color: var(--orthogram-brand) !important;
}

html[data-bs-theme="dark"] .form-check-input:focus {
    border-color: var(--orthogram-brand) !important;
    box-shadow: 0 0 0 0.1875rem var(--orthogram-focus-ring) !important;
}

html[data-bs-theme="dark"] .xo2a4n a {
    color: #8ab4f8 !important;
}

html[data-bs-theme="dark"] .xo2a4n a:hover {
    color: #a8c7fa !important;
}

.subscription-cta {
    color: #111827 !important;
    background-color: var(--orthogram-brand) !important;
    border-color: var(--orthogram-brand) !important;
    font-weight: 600;
}

.subscription-cta:hover,
.subscription-cta:focus,
.subscription-cta:active {
    color: #111827 !important;
    background-color: var(--orthogram-brand-hover) !important;
    border-color: var(--orthogram-brand-hover) !important;
}

/*--------------------------------------------------------------
 # Checkout CSS STRIPE
 --------------------------------------------------------------*/
#payment-form {
    width: min(100%, 620px);
    min-width: 0;
    align-self: center;
    background-color: var(--orthogram-bg);
    border: 1px solid var(--orthogram-border);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    padding: 32px;
}

.hidden {
    display: none;
}

#payment-message {
    color: var(--orthogram-muted);
    font-size: 16px;
    line-height: 20px;
    padding: 12px 14px;
    border: 1px solid var(--orthogram-border);
    border-radius: 8px;
    background-color: var(--orthogram-surface);
    text-align: center;
}

#payment-element {
    margin-bottom: 24px;
}

/* Buttons and links */
#submit {
    background: var(--orthogram-brand);
    color: #111827;
    border-radius: 8px;
    border: 1px solid var(--orthogram-brand);
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: none;
    width: 100%;
}

#submit:hover {
    background: var(--orthogram-brand-hover);
    border-color: var(--orthogram-brand-hover);
    transform: translateY(-1px);
}

#submit:disabled {
    opacity: 0.5;
    cursor: default;
}

/* spinner/processing state, errors */
#payment-form .spinner,
#payment-form .spinner:before,
#payment-form .spinner:after {
    border-radius: 50%;
}

#payment-form .spinner {
    color: #111827;
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    transform: translateZ(0);
}

#payment-form .spinner:before,
#payment-form .spinner:after {
    position: absolute;
    content: "";
}

#payment-form .spinner:before {
    width: 10.4px;
    height: 20.4px;
    background: var(--orthogram-brand);
    border-radius: 20.4px 0 0 20.4px;
    top: -0.2px;
    left: -0.2px;
    transform-origin: 10.4px 10.2px;
    -webkit-animation: loading 2s infinite ease 1.5s;
    animation: loading 2s infinite ease 1.5s;
}

#payment-form .spinner:after {
    width: 10.4px;
    height: 10.2px;
    background: var(--orthogram-brand);
    border-radius: 0 10.2px 10.2px 0;
    top: -0.1px;
    left: 10.2px;
    transform-origin: 0px 10.2px;
    -webkit-animation: loading 2s infinite ease;
    animation: loading 2s infinite ease;
}

@-webkit-keyframes loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media only screen and (max-width: 600px) {
    #payment-form {
        width: 100%;
        padding: 24px 18px;
    }
}

html[data-bs-theme="dark"] #payment-form {
    background-color: var(--orthogram-surface);
    border-color: var(--orthogram-border);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

html[data-bs-theme="dark"] #payment-form .spinner:before,
html[data-bs-theme="dark"] #payment-form .spinner:after {
    background: var(--orthogram-brand);
}

/*--------------------------------------------------------------
# User Subscription page
--------------------------------------------------------------*/
.subscription-card {
    background: var(--bs-body-bg);
    border: 1px solid rgba(125, 125, 125, 0.18);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.subscription-card-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.subscription-card-header p {
    margin: 0.75rem 0 0;
    color: var(--bs-secondary-color);
}

.subscription-card-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 2rem;
}

.subscription-progress-wrapper {
    text-align: center;
}

.subscription-progress {
    --size: 190px;
    width: var(--size);
    height: var(--size);
    margin: 0 auto;
    border-radius: 50%;
    background:
        conic-gradient(#8abfff var(--progress), rgba(138, 191, 255, 0.18) 0);
    display: grid;
    place-items: center;
}

.subscription-progress-inner {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--bs-body-bg);
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: #8abfff;
}

.subscription-remaining {
    margin-top: 1rem;
    font-weight: 700;
}

.subscription-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.subscription-details div {
    border: 1px solid rgba(125, 125, 125, 0.15);
    border-radius: 18px;
    padding: 1rem;
    background: rgba(125, 125, 125, 0.04);
}

.subscription-details span {
    display: block;
    font-size: 0.85rem;
    color: var(--bs-secondary-color);
    margin-bottom: 0.35rem;
}

.subscription-details strong {
    word-break: break-word;
}

.subscription-card-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(125, 125, 125, 0.15);
}

.subscription-card-empty {
    text-align: center;
}

@media (max-width: 768px) {
    .subscription-card-body {
        grid-template-columns: 1fr;
    }

    .subscription-details {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------
# User profile
--------------------------------------------------------------*/
.profile-page {
    background-color: var(--orthogram-surface);
    color: var(--orthogram-text);
    min-height: 70vh;
}

.profile-shell {
    margin: 0 auto;
    max-width: 1440px;
    padding: 32px 20px 64px;
    width: 100%;
}

@media (min-width: 576px) {
    .profile-shell {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media (min-width: 992px) {
    .profile-shell {
        padding-left: 48px;
        padding-right: 48px;
    }
}

.profile-page .card {
    background-color: var(--orthogram-bg);
    border: 1px solid var(--orthogram-border);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    color: var(--orthogram-text);
    margin-bottom: 24px;
}

.profile-page .card-header {
    background-color: transparent;
    border-bottom: 1px solid var(--orthogram-border);
    padding: 18px 20px;
}

.profile-page .card-body {
    padding: 20px;
}

.profile-page .card-title {
    color: var(--orthogram-text);
    font-family: "Inter", sans-serif;
    font-weight: 700;
}

.profile-sidebar {
    position: sticky;
    top: 24px;
}

.edit-nav {
    display: flex;
    flex-direction: column;
    padding: 8px;
}

.edit-nav-item {
    align-items: center;
    border-radius: 8px;
    color: var(--orthogram-muted);
    display: flex;
    font-weight: 600;
    gap: 10px;
    padding: 12px 14px;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.edit-nav-item i {
    font-size: 1rem;
    width: 20px;
}

.edit-nav-item:hover,
.edit-nav-item:focus,
.edit-nav-item.active {
    background-color: rgba(245, 158, 11, 0.14);
    color: var(--orthogram-text);
}

.edit-nav-item.text-danger:hover,
.edit-nav-item.text-danger:focus {
    background-color: rgba(239, 68, 68, 0.12);
    color: #dc3545 !important;
}

.avatar-upload-wrapper {
    position: relative;
    width: 112px;
}

.avatar-upload-preview {
    align-items: center;
    background-color: var(--orthogram-brand);
    border: 3px solid var(--orthogram-bg);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--orthogram-border), 0 10px 24px rgba(15, 23, 42, 0.12);
    color: #111827;
    display: flex;
    font-size: 2rem;
    font-weight: 800;
    height: 112px;
    justify-content: center;
    overflow: hidden;
    width: 112px;
}

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

.avatar-upload-btn {
    align-items: center;
    background-color: var(--orthogram-bg);
    border: 3px solid var(--orthogram-bg);
    border-radius: 50%;
    bottom: 0;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
    color: var(--orthogram-brand);
    cursor: pointer;
    display: inline-flex;
    font-size: 1.1rem;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: -2px;
    transition: background-color 0.18s ease, transform 0.18s ease;
    width: 40px;
}

.avatar-upload-btn:hover,
.avatar-upload-btn:focus {
    background-color: var(--orthogram-brand);
    color: #111827;
    transform: translateY(-1px);
}

.avatar-upload-btn:focus-visible {
    outline: 3px solid var(--orthogram-focus-ring);
    outline-offset: 3px;
}

.profile-avatar-field {
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.profile-avatar-input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.profile-avatar-form .vich-image {
    margin: 0;
}

.profile-avatar-form .form-check,
.profile-avatar-form a {
    font-size: 0.875rem;
}

.bg-primary-light {
    background-color: rgba(13, 110, 253, 0.12) !important;
}

.bg-danger-light {
    background-color: rgba(220, 53, 69, 0.12) !important;
}

.danger-action-desc {
    color: var(--orthogram-muted);
    font-size: 0.875rem;
}

.danger-actions {
    border: 1px solid rgba(220, 53, 69, 0.35);
    border-radius: 8px;
}

.danger-action {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 16px;
}

.danger-action-title {
    color: var(--orthogram-text);
    font-weight: 700;
}

.form-actions-bar {
    align-items: center;
    background-color: var(--orthogram-bg);
    border: 1px solid var(--orthogram-border);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding: 16px 20px;
}

.form-actions-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.modal-icon-wrapper {
    align-items: center;
    border-radius: 50%;
    display: inline-flex;
    font-size: 1.6rem;
    height: 56px;
    justify-content: center;
    width: 56px;
}

.modal-icon-wrapper.danger {
    background-color: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

html[data-bs-theme="dark"] .profile-page .card,
html[data-bs-theme="dark"] .form-actions-bar {
    background-color: var(--orthogram-surface);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

html[data-bs-theme="dark"] .profile-page {
    background-color: var(--orthogram-bg);
}

html[data-bs-theme="dark"] .profile-page .form-control,
html[data-bs-theme="dark"] .profile-page .form-select,
html[data-bs-theme="dark"] .profile-page .input-group-text {
    background-color: var(--orthogram-input-bg);
    border-color: var(--orthogram-border);
    color: var(--orthogram-input-text);
}

html[data-bs-theme="dark"] .profile-page .form-control::placeholder {
    color: var(--orthogram-input-placeholder);
}

html[data-bs-theme="dark"] .profile-page .text-muted {
    color: var(--orthogram-muted) !important;
}

@media (max-width: 991.98px) {
    .profile-sidebar {
        position: static;
    }

    .edit-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .profile-shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    .profile-page .card {
        border-left: 0;
        border-radius: 0;
        border-right: 0;
        margin-left: -12px;
        margin-right: -12px;
    }

    .edit-nav,
    .danger-action,
    .form-actions-bar {
        grid-template-columns: 1fr;
    }

    .edit-nav {
        display: flex;
    }

    .danger-action,
    .form-actions-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .form-actions-buttons,
    .form-actions-buttons .btn {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# 2fa page
--------------------------------------------------------------*/
.label-for-2fa {
    line-height: 1.35rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.form-2fa-text {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem !important;
    line-height: 1.7142857143 !important;
    font-weight: 400;
}

.form-control-2fa {
    display: block;
    width: 100%;
    height: calc(1.75em + 0.875rem + 2px);
    padding: 0.4375rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    color: #0d161b;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d5d7d9;
    border-radius: 0.5rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control-2fa:focus {
    color: #0d161b;
    background-color: #fff;
    border-color: #0d161b;
    outline: 0;
    box-shadow: 0 0 0 0.1875rem #d5d7d9;
}

.custom-control-label-2fa {
    font-weight: 400;
    cursor: pointer;
    line-height: 1.75;
    color: var(--app-text);
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}

.custom-control-2fa {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 1.75rem;
    padding-left: 2rem;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.custom-control-input-2fa {
    position: absolute;
    left: 0;
    z-index: -1;
    width: 1.5rem;
    height: 1.625rem;
    opacity: 0;
}

.custom-control-label-2fa::before {
    position: absolute;
    top: 0.125rem;
    left: -2rem;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    pointer-events: none;
    content: "";
    background-color: #fff;
    border: 1px solid #d5d7d9;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    border-radius: 0.375rem;
}

.custom-control-label-2fa::after {
    position: absolute;
    top: 0.125rem;
    left: -2rem;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    content: "";
    background: 50%/100% 100% no-repeat;
}

.custom-control-input-2fa:not(.is-invalid):checked~.custom-control-label-2fa::before {
    background-color: #0d161b !important;
    border-color: #0d161b !important;
}

.custom-control-input-2fa:checked~.custom-control-label-2fa::after {
    background-image: url("../img/check-cB6sOcq.svg");
}
