:root {
    --dark-green: #203b60;
    --primary-green: #e42128;
    --purple: #587fba;
    --pink: #e42128;
    --light-green-bg: #fff0f1;
    --card-bg: #ffffff;
    --text-muted: #6b7280;
    --bg-gradient-start: #fff7f7;
    --bg-gradient-end: #edf3fc;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: radial-gradient(circle at top left, var(--bg-gradient-start) 0%, transparent 40%),
                radial-gradient(circle at top right, var(--bg-gradient-end) 0%, transparent 40%);
    background-color: #f8faff;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.text-dark-green { color: var(--dark-green); }

.text-purple { color: var(--purple); }

.text-primary-green { color: var(--primary-green) !important; }

.mb-0.fw-bold.text-dark-green {
    font-weight: 700 !important;
}

.bg-transparent-custom {
    background-color: rgba(255, 255, 255, 0.8) !important;
    position: relative;
}

.bg-transparent-custom::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: -1;
}

.logo-box {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    background-color: var(--primary-green);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
     display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-text {
    color: var(--dark-green);
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.brand-text-purple {
    color: var(--purple);
}

.navbar-nav .nav-link {
    color: #4a5568;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green);
}

.nav-link-active {
    color: var(--primary-green) !important;
}

.btn-outline-nav {
    border: 1.5px solid var(--primary-green);
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.btn-outline-nav:hover {
    background-color: var(--primary-green);
    color: white;
}

.badge-custom {
    background-color: var(--light-green-bg);
    color: var(--primary-green);
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.hero-title {
    color: var(--dark-green);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 90%;
}

.btn-primary-custom {
    background-color: var(--primary-green);
    color: white;
    border-radius: 8px;
    border: 2px solid var(--primary-green);
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #e42128;
    border-color: #e42128;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 33, 40, 0.2);
}

.btn-outline-purple {
    border: 1.5px solid var(--purple);
    color: var(--purple);
    border-radius: 8px;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-purple:hover {
    background-color: var(--purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(88, 127, 186, 0.2);
}

.hero-img {
    border-radius: 20px;
    object-fit: cover;
    height: 500px;
    width: 100%;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -40px;
    border-radius: 12px;
    min-width: 220px;
    z-index: 2;
}

.floating-icon {
    width: 36px;
    height: 36px;
    background-color: var(--pink);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-icon i {
    font-size: 1rem;
    line-height: 1;
}

.feature-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 2.25rem 1.5rem !important;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05) !important;
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    background-color: var(--light-green-bg);
    border-radius: 12px !important;
    margin-right: 1.25rem;
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-box i {
    font-size: 1.6rem;
    line-height: 1;
}

.feature-card h5 {
    font-size: 1.4rem !important;
}

.feature-card span.text-muted {
    font-size: 0.9rem !important;
}

.offcanvas {
    background-color: #ffffff !important;
}

.bg-light-purple {
    background-color: #edf3fc !important;
}

.bg-light-green {
    background-color: var(--light-green-bg) !important;
}

.text-dark-purple {
    color: #315b94 !important;
}

.benefit-card {
    border-radius: 20px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06) !important;
}

.benefit-card p {
    line-height: 1.6;
}

.custom-footer {
    background-color: var(--dark-green);
}

.footer-brand-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.benefit-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon-box i {
    font-size: 1.55rem;
    line-height: 1;
}

.custom-sidebar {
    width: 280px;
    z-index: 1050;
}

.sidebar-link {
    color: #6b7280;
    font-size: 0.95rem;
    padding: 14px 28px;
    font-weight: 500;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-link:hover {
    color: var(--primary-green);
    background-color: #f8faff;
}

.sidebar-link.active {
    color: var(--dark-green) !important;
    background-color: var(--light-green-bg);
    border-left-color: var(--primary-green);
    font-weight: 600;
}

.main-content {
    background-color: #f1f4fa;
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
}

.form-card {
    border-radius: 16px;
    border: none;
    overflow: hidden;
}

.form-card-header {
    background-color: var(--dark-green);
    padding: 2.5rem 2rem;
}

.form-section-title {
    color: var(--primary-green);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.custom-form-label {
    font-size: 0.85rem;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.custom-form-control {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
}

.custom-form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(228, 33, 40, 0.15);
}

.badge-light-green {
    background-color: var(--light-green-bg);
    color: var(--dark-green);
    font-size: 0.7rem;
    padding: 8px 16px;
    font-weight: 700;
}

.badge-light-purple {
    background-color: #eef2ff !important;
    color: #315b94 !important;
    font-size: 0.7rem;
    padding: 8px 16px;
    font-weight: 700;
}

label.error {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 500;
    display: block;
}

.custom-form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.offcanvas-backdrop {
    background-color: transparent !important;
}

.logo-box-sm {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
}

.form-header-logo {
    background-color: var(--pink);
    border: 2px solid var(--primary-green);
}

.input-helper-text {
    font-size: 0.75rem;
    font-style: italic;
}

.privacy-footer-text {
    font-size: 0.8rem;
}

.breadcrumb-custom {
    color: #a0aec0;
    font-size: 0.85rem;
    font-weight: 500;
}

.overall-progress-card {
    width: 100%;
    max-width: 380px;
}

.custom-progress-bar {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
}

.custom-progress-width-33 { width: 33%; }

.custom-progress-width-100 { width: 100%; }

.custom-progress-width-0 { width: 0%; }

.module-text-xs { font-size: 0.75rem; }

.module-text-sm { font-size: 0.85rem; }

.module-card {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 2.25rem 1.5rem !important;
}

.module-card h4 {
    margin-top: 0.5rem;
    margin-bottom: 2rem !important;
}

.module-card .btn-watch-action, .module-card .btn-locked {
    margin-bottom: 2rem !important;
}

.card-completed::before, .card-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--primary-green);
    border-radius: 0 10px 10px 0;
}

.badge-primary-green {
    background-color: var(--primary-green);
    color: white;
    font-size: 0.7rem;
    padding: 6px 12px;
}

.badge-locked {
    background-color: #f1f5f9;
    font-size: 0.7rem;
    padding: 6px 12px;
}

.badge-locked-status {
    background-color: #f8f9fa;
    font-size: 0.7rem;
    padding: 6px 12px;
}

.speaker-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.card-locked {
    background-color: #fcfcfc !important;
    border-style: dashed;
}

.btn-locked {
    background-color: #f1f5f9 !important;
    color: #a0aec0 !important;
    border-radius: 8px;
    border: none;
    padding: 10px 0;
    opacity: 1 !important;
    font-weight: 600;
}

.bg-dark-green {
    background-color: var(--dark-green);
}

.support-banner-desc {
    max-width: 550px;
    line-height: 1.6;
}

.btn-white-custom {
    background-color: #ffffff;
    color: var(--dark-green);
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-white-custom:hover {
    background-color: #fff0f1;
    color: var(--dark-green);
    transform: translateY(-2px);
}

.btn-outline-white-custom {
    background-color: transparent;
    color: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.btn-outline-white-custom:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
    border-color: #ffffff;
}

.breadcrumb-link {
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: var(--primary-green) !important;
}

.bg-primary-green {
    background-color: var(--primary-green) !important;
}

.custom-text-width {
    max-width: 700px;
}

.video-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.video-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.video-breadcrumb a:hover {
    color: var(--primary-green);
}

.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #000;
}

.video-thumbnail {
    height: 450px;
    object-fit: cover;
    opacity: 0.85;
}

.video-play-btn {
    width: 64px;
    height: 64px;
    background-color: var(--primary-green);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    background-color: #e42128;
    transform: translate(-50%, -50%) scale(1.08);
}

.video-time {
    position: absolute;
    bottom: 20px;
    left: 24px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.custom-video-tabs {
    border-bottom: 1px solid #e2e8f0;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-video-tabs::-webkit-scrollbar {
    display: none;
}

.custom-video-tabs .nav-link {
    color: var(--text-muted);
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.custom-video-tabs::-webkit-scrollbar {
    display: none;
}

.custom-video-tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.custom-video-tabs .nav-link.active {
    color: var(--dark-green);
    border-bottom: 2px solid var(--primary-green);
}

.custom-video-tabs .nav-link:hover:not(.active) {
    color: var(--primary-green);
}

.video-desc-text {
    line-height: 1.7;
    font-size: 0.95rem;
}

.info-pill-box {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-green);
}

.module-comments-panel {
    border: 1px solid rgba(228, 33, 40, 0.16);
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(32, 59, 96, 0.08);
    margin-top: 2rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.module-comments-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--purple));
}

.module-comments-kicker {
    background-color: #fff7f7;
    color: var(--primary-green);
    font-size: 0.72rem;
    letter-spacing: 0.5px;
}

.module-comments-kicker i {
    font-size: 0.9rem;
}

.module-comments-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.module-comments-count {
    min-width: 96px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(228, 33, 40, 0.18);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    text-align: center;
}

.module-comments-count strong,
.module-comments-count span {
    display: block;
}

.module-comments-count strong {
    color: var(--dark-green);
    font-size: 1.4rem;
    line-height: 1;
}

.module-comments-count span {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.module-comment-form {
    background-color: #fbfcff;
    border: 1px solid rgba(228, 33, 40, 0.12);
    border-radius: 14px;
    margin-bottom: 1.25rem;
    padding: 1rem;
}

.module-comment-composer,
.module-comment-item {
    display: flex;
    gap: 0.9rem;
}

.module-comment-avatar {
    align-items: center;
    background: linear-gradient(135deg, var(--light-green-bg), #eef2ff);
    border: 1px solid rgba(228, 33, 40, 0.16);
    border-radius: 50%;
    color: var(--dark-green);
    display: inline-flex;
    flex: 0 0 42px;
    font-size: 0.95rem;
    font-weight: 800;
    height: 42px;
    justify-content: center;
    text-transform: uppercase;
    width: 42px;
}

.module-comment-input-wrap {
    flex: 1;
    min-width: 0;
}

.module-comment-input-wrap textarea {
    min-height: 96px;
    resize: vertical;
}

.module-comment-replying {
    align-items: center;
    background-color: #fff7f7;
    border: 1px solid rgba(228, 33, 40, 0.16);
    border-radius: 10px;
    color: var(--text-muted);
    display: flex;
    font-size: 0.8rem;
    justify-content: space-between;
    margin-bottom: 0.65rem;
    padding: 0.55rem 0.75rem;
}

.module-comment-replying strong {
    color: var(--dark-green);
}

.module-comment-replying button {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1;
}

.module-comments-stream {
    max-height: 430px;
    overflow-y: auto;
    padding-right: 0.45rem;
    position: relative;
    scrollbar-color: rgba(228, 33, 40, 0.35) transparent;
    scrollbar-width: thin;
}

.module-comments-stream::-webkit-scrollbar {
    width: 8px;
}

.module-comments-stream::-webkit-scrollbar-track {
    background: transparent;
}

.module-comments-stream::-webkit-scrollbar-thumb {
    background-color: rgba(228, 33, 40, 0.28);
    border-radius: 999px;
}

.module-comments-list {
    display: grid;
    gap: 0.85rem;
}

.module-comment-item {
    background-color: #ffffff;
    border: 1px solid #e7edf0;
    border-radius: 14px;
    padding: 1rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.module-comment-item:hover {
    border-color: rgba(228, 33, 40, 0.25);
    box-shadow: 0 8px 24px rgba(32, 59, 96, 0.06);
    transform: translateY(-1px);
}

.module-comment-item.is-new {
    background-color: #fff7f7;
    border-color: rgba(228, 33, 40, 0.45);
}

.module-comment-body {
    flex: 1;
    min-width: 0;
}

.module-comment-topline {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.35rem;
}

.module-comment-topline strong {
    color: var(--dark-green);
    font-size: 0.9rem;
}

.module-comment-topline span {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.module-comment-body p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    overflow-wrap: anywhere;
}

.module-comment-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.6rem;
}

.module-comment-upvote-btn,
.module-comment-reply-btn {
    align-items: center;
    border: 0;
    color: var(--primary-green);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    gap: 0.3rem;
    padding: 0;
}

.module-comment-upvote-btn:hover,
.module-comment-reply-btn:hover {
    color: var(--dark-green);
}

.module-comment-upvote-btn.is-upvoted {
    color: var(--purple);
}

.module-comment-upvote-btn:disabled {
    opacity: 0.65;
}

.module-comment-replies {
    border-left: 2px solid rgba(228, 33, 40, 0.18);
    display: grid;
    gap: 0.65rem;
    margin-top: 0.85rem;
    padding-left: 0.85rem;
}

.module-comment-reply {
    display: flex;
    gap: 0.75rem;
}

.module-comment-reply .module-comment-avatar {
    flex-basis: 34px;
    font-size: 0.78rem;
    height: 34px;
    width: 34px;
}

.module-comment-reply.is-new {
    background-color: #fff7f7;
    border-radius: 10px;
    margin-left: -0.35rem;
    padding: 0.35rem;
}

.module-comments-empty {
    align-items: center;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    color: var(--text-muted);
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

.module-comments-empty i {
    color: var(--primary-green);
    font-size: 1.25rem;
}

.module-comments-footer {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
}

.module-comments-load-more {
    align-items: center;
    background-color: #ffffff;
    border: 1px solid rgba(228, 33, 40, 0.22);
    border-radius: 999px;
    color: var(--dark-green);
    display: inline-flex;
    font-size: 0.86rem;
    font-weight: 700;
    gap: 0.45rem;
    padding: 0.65rem 1.1rem;
    transition: all 0.25s ease;
}

.module-comments-load-more:hover {
    background-color: var(--light-green-bg);
    border-color: rgba(228, 33, 40, 0.42);
    color: var(--dark-green);
}

.module-comments-load-more.is-loading i {
    animation: module-comment-spin 0.8s linear infinite;
}

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

.speaker-widget, .quiz-widget, .tracker-widget {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.speaker-avatar-lg {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.course-overview-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(237,243,252,0.45) 100%);
}

.course-overview-subtitle {
    color: var(--purple);
    font-weight: 700;
    font-size: 1.05rem;
}

.course-about-panel,
.course-agenda-card {
    border: 1px solid rgba(228, 33, 40, 0.12);
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
    position: relative;
}

.course-about-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--purple));
}

.course-about-copy {
    max-width: 100%;
}

.course-overview-stats {
    display: grid;
    gap: 12px;
}

.course-overview-stat {
    background-color: #f8faff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
}

.course-overview-stat span {
    display: block;
    color: var(--dark-green);
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 800;
}

.course-overview-stat small {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.course-section-heading {
    position: relative;
}

.course-section-line {
    display: block;
    width: min(520px, 100%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(88,127,186,0.6), transparent);
    margin: 0 auto 14px;
}

.course-person-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.75rem 1rem 1.5rem;
    box-shadow: 0 4px 18px rgba(32,59,96,0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.course-person-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 72px;
    background: linear-gradient(135deg, rgba(228, 33, 40,0.14), rgba(88,127,186,0.14));
}

.course-person-card:hover {
    transform: translateY(-5px);
    border-color: rgba(228, 33, 40,0.35);
    box-shadow: 0 14px 28px rgba(32,59,96,0.08);
}

.course-person-photo-wrap {
    width: 112px;
    height: 112px;
    border-radius: 24px;
    background-color: #ffffff;
    padding: 6px;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 18px rgba(32,59,96,0.1);
}

.course-person-photo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
    background-color: #ffffff;
}

.course-person-meta {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.45;
}

.course-agenda-count {
    color: var(--dark-green);
    background-color: var(--light-green-bg);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    font-weight: 800;
}

.course-agenda-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.course-agenda-table thead th {
    background-color: var(--dark-green);
    color: #ffffff;
    border-bottom: none;
    font-size: 0.76rem;
    letter-spacing: 0.4px;
    padding: 1rem;
}

.course-agenda-table tbody td {
    padding: 1rem;
    border-color: #edf2f7;
    color: #475569;
    font-size: 0.9rem;
}

.course-agenda-table tbody tr:nth-child(even) td {
    background-color: #f8faff;
}

.course-agenda-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: #edf3fc;
    color: var(--purple);
    font-weight: 800;
}

.course-next-card {
    border-radius: 16px;
    overflow: hidden;
}

.course-next-session {
    background-color: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 12px;
}

.module-speaker-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-speaker-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(32,59,96,0.06);
}

.module-speaker-photo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    border: 4px solid var(--light-green-bg);
    flex-shrink: 0;
}

.agenda-time {
    color: var(--primary-green);
    font-size: 0.82rem;
    font-weight: 800;
}

.episode-agenda-public {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.episode-agenda-public-title {
    background: #587fba;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    padding: 1rem;
    text-align: center;
}

.episode-agenda-public table th {
    width: 24%;
    color: #111827;
    font-weight: 800;
    text-align: center;
}

.episode-agenda-public table td {
    color: #111827;
    font-weight: 600;
    text-align: center;
}

.episode-agenda-public-section td {
    background: #edf3fc;
    font-weight: 800;
}

.topic-video-list {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
}

.topic-video-item {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    text-align: left;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.topic-video-item + .topic-video-item {
    margin-top: 0.75rem;
}

.topic-video-item.active,
.topic-video-item:hover {
    background: #f1f5fc;
    border-color: var(--primary-green);
}

.topic-video-count {
    color: var(--primary-green);
    font-weight: 800;
    min-width: 2rem;
}

.topic-video-copy {
    display: grid;
    gap: 0.2rem;
}

.topic-video-title {
    color: var(--dark-green);
    font-weight: 800;
}

.topic-video-time {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
}

.mobile-number-group {
    display: grid;
    grid-template-columns: 118px minmax(150px, 1fr);
    gap: 0.5rem;
    align-items: stretch;
}

.mobile-number-group #mobileCountryPicker {
    font-weight: 700;
    padding-left: 0.75rem;
}

@media (max-width: 575.98px) {
    .mobile-number-group {
        grid-template-columns: 108px minmax(0, 1fr);
    }
}

.module-brand-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem;
    background-color: #f8faff;
}

.module-brand-logo {
    width: 150px;
    max-width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 6px;
}

.module-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.module-brand-slider-card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    overflow: hidden;
    position: relative;
}

.module-brand-slider-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--purple));
}

.module-brand-slide {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0 2rem;
}

.module-brand-slide-logo {
    width: 260px;
    max-width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid #e2e8f0;
    padding: 10px;
    box-shadow: 0 10px 24px rgba(32,59,96,0.06);
}

.module-brand-slide-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.module-brand-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-green);
    background-color: var(--light-green-bg);
    padding: 0;
}

.module-brand-nav:hover {
    color: #ffffff;
    background-color: var(--primary-green);
}

.module-brand-indicators {
    position: static;
    margin: 0;
    gap: 6px;
}

.module-brand-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: 0;
    opacity: 1;
}

.module-brand-indicators .active {
    width: 22px;
    border-radius: 999px;
    background-color: var(--primary-green);
}

.speaker-designation {
    color: var(--primary-green);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.quiz-widget {
    background: linear-gradient(135deg, #587fba, #829fd0);
    color: white;
}

.quiz-widget-text {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.9;
}

.quiz-unlock-text {
    font-size: 0.75rem;
    opacity: 0.7;

}

.module-feedback-btn {
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    color: #315b94;
    font-weight: 700;
    transition: all 0.25s ease;
}

.module-feedback-btn:hover {
    background-color: #edf3fc;
    border-color: #ffffff;
    color: #315b94;
    transform: translateY(-1px);
}

.btn-pink-custom {
    background-color: var(--pink);
    color: white;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-pink-custom:hover {
    background-color: #e42128;
    color: white;
    transform: translateY(-2px);
}

.text-sm { font-size: 0.85rem; }

.text-xs { font-size: 0.7rem; }

.tracker-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.tracker-item:last-child {
    margin-bottom: 0;
}

.tracker-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 16px;
    position: relative;
}

.tracker-circle.done {
    background-color: var(--primary-green);
}

.tracker-circle.done::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 5px;
    width: 7px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.tracker-circle.pending {
    border: 2px solid #e2e8f0;
    background-color: transparent;
}

.next-series-title {
    color: #a0aec0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.next-series-wrapper {
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background-color: #f8fafc;
}

.next-series-img-placeholder {
    width: 100px;
    height: 70px;
    background-color: #e2e8f0;
    border-radius: 8px;
    flex-shrink: 0;
}

.quiz-assessment-label {
    font-size: 0.7rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.quiz-timer-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--primary-green);
    font-size: 0.9rem;
    background-color: transparent;
}

.quiz-question-text {
    line-height: 1.6;
    font-size: 1.15rem;
}

.quiz-option-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quiz-option-card:hover {
    border-color: #cbd5e1;
    background-color: #f8fafc;
}

.quiz-option-card .option-text {
    color: #64748b;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.quiz-option-card.selected {
    background-color: #eef2ff;
    border-color: var(--purple);
}

.quiz-option-card.selected .option-text {
    color: #475569;
    font-weight: 500;
}

.custom-radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background-color: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quiz-option-card.selected .custom-radio-circle {
    border: 6px solid var(--purple);
    background-color: #ffffff;
    box-shadow: none;
}

.quiz-option-card.answer-locked {
    cursor: default;
}

.quiz-option-card.correct-answer {
    background-color: #e8f7f1;
    border-color: var(--primary-green);
}

.quiz-option-card.correct-answer .option-text {
    color: var(--dark-green);
    font-weight: 700;
}

.quiz-option-card.correct-answer .custom-radio-circle {
    border-color: var(--primary-green);
    background-color: var(--primary-green);
}

.quiz-option-card.correct-answer .custom-radio-circle::after {
    content: "";
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translateY(-1px) rotate(45deg);
}

.quiz-option-card.wrong-answer {
    background-color: #fff1f2;
    border-color: #e11d48;
}

.quiz-option-card.wrong-answer .option-text {
    color: #9f1239;
    font-weight: 700;
}

.quiz-answer-feedback {
    border-radius: 10px;
    padding: 1rem 1.15rem;
    border: 1px solid transparent;
    line-height: 1.55;
}

.quiz-answer-feedback.is-correct {
    color: var(--dark-green);
    background-color: #e8f7f1;
    border-color: rgba(28, 166, 121, 0.28);
}

.quiz-answer-feedback.is-wrong {
    color: #7f1d1d;
    background-color: #fff6f7;
    border-color: rgba(225, 29, 72, 0.2);
}

.quiz-feedback-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.quiz-feedback-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 0.8rem;
    line-height: 1;
}

.quiz-answer-feedback.is-correct .quiz-feedback-icon {
    background-color: var(--primary-green);
}

.quiz-answer-feedback.is-wrong .quiz-feedback-icon {
    background-color: #e11d48;
}

.quiz-feedback-answer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    color: #334155;
    font-weight: 600;
}

.quiz-feedback-answer span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.quiz-feedback-answer strong {
    color: var(--dark-green);
}

.quiz-feedback-description {
    margin: 0.65rem 0 0;
    color: #475569;
    font-weight: 500;
}

.course-dashboard-brand-header {
    width: fit-content;
    max-width: 100%;
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding: 0.75rem;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(32,59,96,0.05);
}

.course-dashboard-brand-header img {
    width: min(260px, 100%);
    height: auto;
    display: block;
}

.course-dashboard-partners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.15rem 1.5rem 1.3rem;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 4px solid var(--primary-green);
}

.course-dashboard-makers {
    flex: 1 1 auto;
}

.course-dashboard-footer-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #111827;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    white-space: nowrap;
}

.course-dashboard-footer-title span {
    width: 92px;
    height: 1px;
    background-color: #111827;
    opacity: 0.65;
}

.course-dashboard-footer-title-sm {
    gap: 0.45rem;
    font-size: 0.88rem;
    margin-bottom: 0.55rem;
}

.course-dashboard-footer-title-sm span {
    width: 36px;
}

.course-dashboard-maker-logos {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1.65rem;
}

.course-dashboard-maker-logos img,
.course-dashboard-academic img {
    max-width: 220px;
    max-height: 62px;
    object-fit: contain;
    display: block;
}

.course-dashboard-academic {
    flex: 0 0 240px;
    min-height: 94px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 1.65rem;
    border-left: 1px solid #cbd5e1;
}

@media (max-width: 991.98px) {
    .course-dashboard-partners {
        flex-direction: column;
        gap: 1rem;
    }

    .course-dashboard-academic {
        flex-basis: auto;
        width: 100%;
        padding-left: 0;
        padding-top: 1rem;
        border-left: 0;
        border-top: 1px solid #cbd5e1;
    }
}

@media (max-width: 575.98px) {
    .course-dashboard-maker-logos {
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
    }

    .course-dashboard-footer-title {
        font-size: 0.95rem;
    }

    .course-dashboard-footer-title span {
        width: 52px;
    }
}

.profile-edit-shell {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(32,59,96,0.06);
    overflow: hidden;
}

.profile-edit-header {
    padding: 1.5rem;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.profile-edit-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 22px rgba(32,59,96,0.12);
    flex-shrink: 0;
}

.profile-edit-form {
    padding: 1.5rem;
}

.sidebar-avatar {
    width: 48px;
    height: 48px;
}

.sidebar-role-text {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.sidebar-logout-link {
    transition: color 0.3s ease;
}

.sidebar-logout-link:hover {
    color: var(--pink) !important;
}

.tracker-label {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.course-timeline-dots {
    height: 12px;
    width: 250px;
}

.course-timeline-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.course-timeline-dots .dot.done {
    background-color: var(--primary-green);
}

.course-timeline-dots .dot.pending {
    border: 2px solid #cbd5e1;
    background-color: white;
}

.course-timeline-dots .line {
    height: 2px;
    flex-grow: 1;
    margin: 0 4px;
}

.course-timeline-dots .line.done {
    background-color: var(--primary-green);
}

.course-timeline-dots .line.pending {
    background-color: #e2e8f0;
}

.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.stat-icon-placeholder {
    width: 40px;
    height: 40px;
}

.stat-badge {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.activity-feed .activity-dot {
    width: 12px;
    height: 12px;
}

.activity-feed .activity-line {
    width: 2px;
    background-color: #e2e8f0;
    min-height: 25px;
}

.live-session-card {
    background: linear-gradient(135deg, #587fba, #315b94);
}

.live-badge {
    background-color: rgba(255,255,255,0.2);
    font-size: 0.65rem;
    letter-spacing: 1px;
    padding: 6px 12px;
}

.live-card-graphic {
    min-height: 140px;
}

.live-card-bg-shape {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    top: -50px;
    right: -100px;
    z-index: 0;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.green-dot { background-color: var(--primary-green); }

.purple-dot { background-color: var(--purple); }

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.quiz-stat-badge {
    min-width: 180px;
    border: 1px solid rgba(0,0,0,0.03);
}

.circle-icon {
    width: 48px;
    height: 48px;
}

.stat-title {
    font-size: 0.65rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

.chart-container-line {
    position: relative;
    min-height: 250px;
    width: 100%;
}

.text-xs { font-size: 0.7rem; }

.custom-progress-bar-light {
    height: 6px;
    background-color: #f1f5f9;
    border-radius: 10px;
}

.w-92 { width: 92%; }

.w-78 { width: 78%; }

.w-65 { width: 65%; }

.recommendation-box {
    background-color: #f0fdf4;
}

.rec-icon {
    font-size: 1rem;
}

.certificate-wrapper {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.certificate-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

.certificate-img {
    max-height: 65vh;
    object-fit: contain;
    width: 100%;
    display: block;
    margin: 0 auto;
    background-color: #fafafa;
}

.sidebar-scrollable-menu {
    flex-grow: 1;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.sidebar-scrollable-menu::-webkit-scrollbar {
    display: none;
}

.main-content {
    background-color: #f1f4fa;
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
}

.sidebar-avatar {
    width: 48px;
    height: 48px;
}

.sidebar-role-text {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
}

.sidebar-logout-link {
    transition: all 0.3s ease;
}

.sidebar-logout-link:hover {
    color: #b02a37 !important;
    transform: translateX(4px);
}

.tracker-label {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.course-timeline-dots {
    height: 12px;
    width: 250px;
}

.course-timeline-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.course-timeline-dots .dot.done {
    background-color: var(--primary-green);
}

.course-timeline-dots .dot.pending {
    border: 2px solid #cbd5e1;
    background-color: white;
}

.course-timeline-dots .line {
    height: 2px;
    flex-grow: 1;
    margin: 0 4px;
}

.course-timeline-dots .line.done {
    background-color: var(--primary-green);
}

.course-timeline-dots .line.pending {
    background-color: #e2e8f0;
}

.stat-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.stat-icon-box {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-box i {
    font-size: 1.45rem;
    line-height: 1;
}

.stat-badge {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.activity-feed .activity-dot {
    width: 12px;
    height: 12px;
}

.activity-feed .activity-line {
    width: 2px;
    background-color: #e2e8f0;
    min-height: 25px;
}

.live-session-card {
    background: linear-gradient(135deg, #587fba, #315b94);
}

.live-badge {
    background-color: rgba(255,255,255,0.2);
    font-size: 0.65rem;
    letter-spacing: 1px;
    padding: 6px 12px;
}

.live-card-graphic {
    min-height: 140px;
}

.live-card-bg-shape {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    top: -50px;
    right: -100px;
    z-index: 0;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.green-dot { background-color: var(--primary-green); }

.purple-dot { background-color: var(--purple); }

.chart-container {
    position: relative;
    min-height: 300px;
}

.custom-search-input {
    transition: all 0.3s ease;
}

.custom-search-input:focus {
    box-shadow: 0 0 0 3px rgba(228, 33, 40, 0.15) !important;
    background-color: #ffffff !important;
    border: 1px solid var(--primary-green) !important;
}

.cursor-pointer { cursor: pointer; }

.profile-dropdown {
    position: absolute;
    top: 150%;
    right: 0;
    width: 220px;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1050;
    border: 1px solid #e2e8f0;
}

.profile-dropdown::before {
    content: "";
    position: absolute;
    top: -8px;
    right: 25px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffffff;
}

.profile-info::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 20px;
}

.profile-info:hover .profile-dropdown,
.profile-info.active .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: calc(100% + 15px);
}

.profile-info:hover .profile-chevron,
.profile-info.active .profile-chevron {
    transform: rotate(180deg);
}

.profile-chevron { transition: transform 0.3s ease; }

.profile-dropdown .dropdown-item {
    font-size: 0.85rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.profile-dropdown .dropdown-item:hover {
    background-color: var(--light-green-bg);
    color: var(--dark-green) !important;
}

.top-header {
    z-index: 1040;
}

.sidebar-brand-wrapper {
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    padding-left: 28px;
}

.search-box {
    max-width: 350px;
}

.header-profile-avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

@media (max-width: 420px) {
    .custom-video-tabs {
        flex-wrap: wrap !important;
        overflow-x: visible !important;
    }

    .custom-video-tabs .nav-item {
        flex: 1 1 auto;
        text-align: center;
    }

    .custom-video-tabs .nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-img {
        height: 300px;
    }

    .module-comments-panel {
        padding: 1rem;
    }

    .module-comments-header {
        align-items: stretch;
        flex-direction: column;
    }

    .module-comments-count {
        width: 100%;
    }

    .module-comments-stream {
        max-height: 360px;
        padding-right: 0.2rem;
    }

    .module-comment-composer,
    .module-comment-item {
        gap: 0.75rem;
    }

    .module-comment-avatar {
        flex-basis: 36px;
        height: 36px;
        width: 36px;
    }

    .module-comment-input-wrap .d-flex {
        align-items: stretch !important;
        flex-direction: column;
    }

    .module-comment-input-wrap .btn {
        width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .search-box {
        max-width: 250px !important;
    }
}

@media (max-width: 991px) {
    .course-timeline-dots {
        width: 100%;
        max-width: 300px;
    }

    .floating-card {
        left: 20px;
        bottom: 20px;
    }

    .hero-img {
        height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .offcanvas-end {
        width: 70vw !important;
        min-width: 260px !important;
        max-width: 320px !important;
        box-shadow: -5px 0 15px rgba(0,0,0,0.08);
    }

    .offcanvas-body .nav-item {
        border-bottom: 1px solid rgba(32, 59, 96, 0.1);
        padding: 8px 0;
    }

    .offcanvas-body .nav-item:last-child {
        border-bottom: none;
    }

    .video-thumbnail {
        height: 250px;
    }

    .course-timeline-dots {
        width: 100%;
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .custom-sidebar {
        position: sticky;
        top: 74px;
        height: calc(100vh - 74px);
        max-height: calc(100vh - 74px);
        overflow: hidden;
    }
}

@media (min-width: 1400px) {
    .certificate-img {
        max-height: 70vh;
    }
}

/* PULCE Connect 2026 brand presentation. Existing utility names remain compatible. */
.pulce-logo {
    display: block;
    width: 265px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    flex-shrink: 1;
}
.navbar-brand { max-width: calc(100% - 56px); }
.navbar.bg-transparent-custom { border-bottom: 1px solid #e1e8f3; }
.navbar.sticky-top { position: sticky; }
.custom-footer { border-top: 4px solid #e42128; }
.custom-footer .pulce-logo { width: 240px; }
.form-card-header { background: linear-gradient(135deg, #203b60, #315b94); }
.form-card-header .pulce-logo { width: 320px; padding: 12px; }
.sidebar-brand-wrapper .pulce-logo { width: 220px; }
.hero-img { border: 1px solid #e1e8f3; }
.btn-primary-custom:focus-visible, .btn-outline-nav:focus-visible,
.btn-outline-purple:focus-visible { outline: 3px solid #587fba; outline-offset: 3px; }
@media (max-width: 575.98px) {
    .navbar .pulce-logo { width: 205px; }
    .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
    .hero-section .badge-custom { font-size: 0.65rem; }
}

/* Dashboard navigation spans the page above the content. */
.dashboard-navigation { z-index: 1040; background: #fff; }
.dashboard-horizontal .top-header { min-height: 90px; gap: 1rem; }
.dashboard-brand .pulce-logo { width: 220px; }
.dashboard-menu { border-bottom: 1px solid #e1e8f3; box-shadow: 0 3px 12px rgba(32,59,96,.04); }
.dashboard-menu .dashboard-menu-link {
    color: #53647d; font-size: .9rem; font-weight: 500;
    padding: .75rem 1rem; border-radius: 8px; white-space: nowrap;
}
.dashboard-menu .dashboard-menu-link:hover,
.dashboard-menu .dashboard-menu-link:focus-visible { background: #edf3fc; color: #203b60; }
.dashboard-menu .dashboard-menu-link.active { background: #fff0f1; color: #e42128; font-weight: 600; }
.dashboard-horizontal .main-content { flex: 1; display: flex; flex-direction: column; }
@media (max-width: 991.98px) {
    .dashboard-horizontal .top-header { min-height: 80px; gap: .5rem; }
    .dashboard-brand .pulce-logo { width: 180px; }
    .dashboard-menu .navbar-collapse { max-height: calc(100dvh - 100px); overflow-y: auto; }
    .dashboard-menu .dashboard-menu-link { display: block; }
}
@media (max-width: 420px) {
    .dashboard-brand .pulce-logo { width: 150px; }
    .dashboard-horizontal .header-profile-avatar { width: 32px; height: 32px; }
    .dashboard-horizontal .profile-chevron { display: none; }
}


/* Shared website footer */
.site-partner-footer{background:#fff;border-top:1px solid #ded8cf;padding:28px 0 24px;margin-top:auto;flex-shrink:0}
.site-partner-footer-inner{width:min(1120px,calc(100% - 40px));margin-inline:auto;text-align:center}
.site-partner-strip{display:block;width:min(1040px,100%);max-width:100%;height:auto;margin:0 auto 22px}
.site-partner-footer p{border-top:1px solid #ded8cf;padding-top:16px;margin:0;color:#758092;font-size:12px;line-height:1.6}
@media(max-width:575px){.site-partner-footer{padding:20px 0}.site-partner-footer-inner{width:calc(100% - 28px)}.site-partner-strip{width:100%;margin-bottom:18px}.site-partner-footer p{font-size:10px;padding-top:14px}}


/* Partner branding in logged-in website headers */
.member-header-logos{display:flex;align-items:center;gap:16px}
.member-header-logos img{display:block;object-fit:contain;height:64px}
.member-esc-logo{width:108px}.member-hetero-logo{width:82px}
.member-logo-divider{height:48px;width:1px;background:#e4e7eb;flex:none}
@media(max-width:767px){.member-header-logos{gap:10px}.member-header-logos img{height:48px}.member-esc-logo{width:80px}.member-hetero-logo{width:60px}.member-logo-divider{height:36px}}
@media(max-width:420px){.member-header-logos{gap:7px}.member-header-logos img{height:40px}.member-esc-logo{width:66px}.member-hetero-logo{width:48px}.member-logo-divider{height:30px}}

.module-programme-logo-heading{line-height:1}.module-programme-logo{display:block;width:320px;max-width:100%;height:auto;object-fit:contain}@media(max-width:575px){.module-programme-logo{width:260px}}

/* Logged-in endorsement strip and profile-side sponsor */
.member-header-logos .member-endorsement-strip{width:290px;max-width:100%;height:auto;max-height:96px;object-fit:contain}
.member-profile-hetero{display:block;width:76px;height:62px;object-fit:contain;margin-right:22px;flex-shrink:0}
@media(max-width:767px){.member-header-logos .member-endorsement-strip{width:190px;max-height:64px}.member-profile-hetero{width:48px;height:44px;margin-right:12px}}
@media(max-width:420px){.member-header-logos .member-endorsement-strip{width:145px;max-height:50px}.member-profile-hetero{width:38px;height:36px;margin-right:8px}}

.homepage-endorsement-logo{display:block;width:290px;max-width:100%;height:auto;max-height:96px;object-fit:contain}@media(max-width:767px){.homepage-endorsement-logo{width:190px;max-height:64px}}@media(max-width:575px){.homepage-endorsement-logo{width:145px;max-height:50px}}

/* Shared background for all public and member website pages. */
body.site-background{background:#fff url('../image/launch-horizontal.png') center center / cover no-repeat fixed}
body.site-background .main-content,body.site-background .microsite-home,body.site-background .micro-hero{background:transparent}
body.site-background .micro-grid,body.site-background .micro-hero::after{display:none}

.module-live-poll[hidden],.module-live-poll form[hidden]{display:none!important}.module-live-poll label{cursor:pointer;font-size:13px;line-height:1.6}.module-live-poll label:has(input:checked){border-color:#e42128!important;background:#faf3f5}

.country-location-button{align-self:flex-start;background:none;border:0;padding:3px 0;color:#e42128;text-decoration:underline;font:600 11px 'Poppins',sans-serif;cursor:pointer}.country-location-button:disabled{opacity:.6;cursor:wait}.country-location-button:focus-visible{outline:2px solid #e42128;outline-offset:2px}.country-location-note{font-size:10px!important;font-weight:400!important;line-height:1.5;color:#697486;margin-top:3px}
