#mooduellTabContent div.card-deck,
#mooduellEarmarkContent div.card-deck {
    margin-top: 8px;
    text-align: center;
}

#mooduellTabContent div.wbblue,
#mooduellEarmarkContent div.wbblue {
    background-color: #263683;
}

.mooduell-earmark-nav .nav-link {
    white-space: nowrap;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: .5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.mooduell-earmark-nav .nav-item {
    margin-bottom: .35rem;
}

.mooduell-earmark-nav .nav-link.active {
    font-weight: 600;
    box-shadow: inset 2px 0 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .mooduell-earmark-tabs {
        flex-direction: column;
    }

    .mooduell-earmark-nav {
        flex-direction: row;
        overflow-x: auto;
        width: 100%;
    }

    .mooduell-earmark-nav .nav-item {
        margin-right: .4rem;
        margin-bottom: 0;
    }

    .mooduell-earmark-nav .nav-link {
        border-radius: .5rem;
    }
}

#mooduellTabContent div.wborange,
#mooduellEarmarkContent div.wborange {
    background-color: #ed8701;
}

#mooduellTabContent h1,
#mooduellEarmarkContent h1 {
    font-size: 3.5vw;
    font-weight: bold;
}

#mooduellTabContent h1.smallheader,
#mooduellEarmarkContent h1.smallheader {
    font-size: 2.5vw;
}

#mooduellTabContent .card-body .card-text.subheader,
#mooduellEarmarkContent .card-body .card-text.subheader {
    font-size: 1.7vw;
}

#mooduellTabContent .text-black h1,
#mooduellEarmarkContent .text-black h1 {
    color: black;
}

#mooduellTabContent .text-white h1,
#mooduellEarmarkContent .text-white h1 {
    color: white;
}

#page-mod-mooduell-view .wunderbyte-table-table span.correct {
    color: green;
}

/* ── Launch preview (phone frame + sidebar) ─────────────────────────────────
   Rules apply both on the native view page AND wherever the [mooduell]
   shortcode is used (any course page, dashboard, site homepage, etc.).
   ─────────────────────────────────────────────────────────────────────────── */

#page-mod-mooduell-view .mooduell-launch-preview,
.mooduell-launch-preview {
    margin: 1rem 0 1.5rem;
    background:
        radial-gradient(ellipse at 35% 48%, rgba(0, 200, 255, 0.2) 0%, transparent 48%),
        radial-gradient(ellipse at 80% 55%, rgba(0, 116, 151, 0.16) 0%, transparent 55%),
        linear-gradient(160deg, #001e2e 0%, #002d40 45%, #001219 100%);
    border-radius: 16px;
    padding: 1.5rem;
}

#page-mod-mooduell-view .mooduell-launch-stage,
.mooduell-launch-stage {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

#page-mod-mooduell-view .mooduell-phone-wrap,
.mooduell-phone-wrap {
    flex-shrink: 0;
}

#page-mod-mooduell-view .mooduell-phone-shell,
.mooduell-phone-shell {
    position: relative;
    width: 390px;
    height: 844px;
    background: #111;
    border-radius: 54px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 0 3px #001e29,
        0 0 0 5px rgba(0, 150, 190, 0.4),
        0 32px 80px rgba(0, 0, 0, 0.7),
        0 0 120px rgba(0, 116, 151, 0.25);
}

#page-mod-mooduell-view .mooduell-phone-shell::before,
.mooduell-phone-shell::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 126px;
    width: 3px;
    height: 34px;
    background: linear-gradient(180deg, #1a5a6e, #0f3d4d);
    border-radius: 2px 0 0 2px;
    box-shadow: 0 46px 0 #1a5a6e, 0 88px 0 #1a5a6e;
}

#page-mod-mooduell-view .mooduell-phone-shell::after,
.mooduell-phone-shell::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 172px;
    width: 3px;
    height: 64px;
    background: linear-gradient(180deg, #1a5a6e, #0f3d4d);
    border-radius: 0 2px 2px 0;
}

#page-mod-mooduell-view .mooduell-phone-screen,
.mooduell-phone-screen {
    position: absolute;
    inset: 6px;
    border-radius: 48px;
    overflow: hidden;
    background: #000;
    display: flex;
    flex-direction: column;
}

#page-mod-mooduell-view .mooduell-phone-statusbar,
.mooduell-phone-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    background: #1c5870;
    padding: 0.5rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 48px 48px 0 0;
}

#page-mod-mooduell-view .mooduell-phone-time,
.mooduell-phone-time {
    letter-spacing: 0.02em;
}

#page-mod-mooduell-view .mooduell-phone-iframe,
.mooduell-phone-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

#page-mod-mooduell-view .mooduell-launch-sidebar,
.mooduell-launch-sidebar {
    width: 360px;
    max-width: 100%;
    flex: 0 1 360px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

#page-mod-mooduell-view .mooduell-launch-eyebrow,
.mooduell-launch-eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.35;
    font-size: 0.68rem;
}

#page-mod-mooduell-view .mooduell-launch-logo,
.mooduell-launch-logo {
    width: 140px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 24px rgba(0, 200, 255, 0.45)) drop-shadow(0 4px 32px rgba(0, 116, 151, 0.5));
}

#page-mod-mooduell-view .mooduell-launch-tagline,
.mooduell-launch-tagline {
    margin: -0.45rem 0 0;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
}

#page-mod-mooduell-view .mooduell-launch-title,
.mooduell-launch-title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 700;
    max-width: 12ch;
}

#page-mod-mooduell-view .mooduell-launch-text,
.mooduell-launch-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.45;
    max-width: 32ch;
}

#page-mod-mooduell-view .mooduell-launch-features,
.mooduell-launch-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

#page-mod-mooduell-view .mooduell-launch-features li::marker,
.mooduell-launch-features li::marker {
    content: '';
}

#page-mod-mooduell-view .mooduell-launch-features li,
.mooduell-launch-features li {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.92rem;
    line-height: 1.42;
    position: relative;
    padding-left: 1.35rem;
    max-width: 34ch;
}

#page-mod-mooduell-view .mooduell-launch-features li::before,
.mooduell-launch-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.84);
}

#page-mod-mooduell-view .mooduell-launch-buttons,
.mooduell-launch-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

#page-mod-mooduell-view .mooduell-launch-buttons .btn-warning,
.mooduell-launch-buttons .btn-warning {
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ec8600, #d67300);
    box-shadow: 0 4px 20px rgba(236, 134, 0, 0.35);
}

#page-mod-mooduell-view .mooduell-login-qr-button-wrap .btn-primary,
.mooduell-login-qr-button-wrap .btn-primary {
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, #007497, #00546d);
    box-shadow: 0 4px 20px rgba(0, 116, 151, 0.4);
}

#page-mod-mooduell-view .mooduell-launch-note,
.mooduell-launch-note {
    margin: 0.1rem 0 0;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.65;
}

#page-mod-mooduell-view .mooduell-qr-image,
.mooduell-qr-image {
    width: 220px;
    max-width: 100%;
}

@media (max-width: 991px) {

    #page-mod-mooduell-view .mooduell-launch-stage,
    .mooduell-launch-stage {
        gap: 1.4rem;
    }

    #page-mod-mooduell-view .mooduell-launch-sidebar,
    .mooduell-launch-sidebar {
        width: 100%;
        max-width: 560px;
        flex-basis: auto;
    }

    #page-mod-mooduell-view .mooduell-phone-shell,
    .mooduell-phone-shell {
        width: 340px;
        height: 736px;
    }

    #page-mod-mooduell-view .mooduell-phone-iframe,
    .mooduell-phone-iframe {
        height: 100%;
    }

    #page-mod-mooduell-view .mooduell-launch-title,
    .mooduell-launch-title {
        font-size: 1.6rem;
    }
}