﻿body {
    font-family: 'Segoe UI', sans-serif;
    background: #f5f7fa;
}

/* NAVBAR */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* HERO */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: #fff;
    background-image: url('/assets/img/login-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    /* Grey overlay (soft, not dark) */
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        /* Light grey overlay */
        background: rgba(40, 40, 40, 0.45);
    }

    /* Make content appear above overlay */
    .hero .container {
        position: relative;
        z-index: 2;
    }

/* Feature cards */
.feature-card {
    border: none;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: 0.25s;
    background: white;
}

    .feature-card:hover {
        transform: translateY(-4px);
    }

/* Icon circle */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    font-size: 26px;
    color: white;
}

/* Maritime CTA */
.cta {
    background: #0c2d6b;
    color: white;
    padding: 60px 0;
}

/* Footer */
footer {
    background: white;
    border-top: 1px solid #ddd;
    color: #666;
    padding: 25px;
}

/* Tabs */
.nav-tabs .nav-link {
    color: #444;
}

    .nav-tabs .nav-link.active {
        border-bottom: 3px solid #e60000;
    }

/* Footer */
footer {
    background: white;
    border-top: 1px solid #ddd;
    color: #555;
    padding: 15px;
}
/* Mega menu base */
.mega-dropdown {
    position: static;
}

.mega-menu {
    width: 500px;
    left: 50%;
    transform: translateX(-10%);
    padding: 24px 30px;
    border-radius: 16px;
}

/* Mobile friendly */
@media (max-width: 991px) {
    .mega-menu {
        width: 100%;
        transform: none;
        left: 0;
        border-radius: 10px;
    }
}

/* Disable Bootstrap arrow */
.dropdown-toggle::after {
    display: none;
}

/* Progress Container */
.course-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 10px;
}

    /* Progress Line */
    .course-progress::before {
        content: "";
        position: absolute;
        top: 18px;
        left: 0;
        width: 100%;
        height: 4px;
        background: #e9ecef;
        z-index: 0;
        border-radius: 10px;
    }

/* Step */
.step {
    text-align: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Circle */
.step-circle {
    width: 36px;
    height: 36px;
    margin: auto;
    border-radius: 50%;
    background: #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid #dee2e6;
}

/* Label */
.step-label {
    margin-top: 6px;
    font-size: 12px;
    color: #6c757d;
}

/* Completed Step */
.step.completed .step-circle {
    background: #198754;
    border-color: #198754;
    color: #fff;
}

.step.completed .step-label {
    color: #198754;
    font-weight: 500;
}

/* Active Step */
.step.active .step-circle {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

.step.active .step-label {
    color: #0d6efd;
    font-weight: 600;
}


/* START COURSE CSS*/
.content-loading {
    position: absolute;
    inset: 0;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}
/* ===============================
       SHARED CONTENT FRAME
    =============================== */

/*.viewer-frame {
    background: black;
    border-radius: 10px;
    overflow: hidden;
    height: 550px;
    position: relative;
}*/

/* ===============================
    VIDEO
=============================== */

.viewer-frame video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* keep aspect ratio */
    background: black;
}
    /* ===============================
   PDF CONTAINER
=============================== */

.viewer-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #e9edf2;
    height: 80vh; /* NOT 100vh */
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Scroll area */
.pdf-scroll {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: auto;
    padding: 90px 40px 40px 40px;
    background: #dfe3e8;
    text-align: center;
}
#pdfPagesContainer {
    display: inline-block;
}

/* ===============================
   TOP CONTROL BAR
=============================== */

.pdf-player-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    height: 70px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 30px;

    border-bottom: 1px solid #e6e9ed;
    z-index: 10;
}

/* Groups */
.left-controls,
.right-controls {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* Navigation buttons */
.player-btn {
    background: #1f6feb;
    border: none;
    color: white;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.player-btn:hover {
    background: #1558c0;
}
.pdf-page {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 24px;
}

/* IMPORTANT */
.pdf-page canvas {
    display: block;
    transition: transform .15s ease;
}
/* Zoom buttons */
.icon-btn {
    background: #f5f6f8;
    border: 1px solid #dde2e6;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
}

.icon-btn:hover {
    background: #e7eaee;
}

/* Text styling */
.page-info {
    font-size: 15px;
    font-weight: 500;
    color: #344054;
}

.zoom-level {
    font-weight: 600;
    font-size: 14px;
    color: #344054;
    min-width: 45px;
    text-align: center;
}

/* ===============================
       PLACEHOLDER
    =============================== */
/* ===============================
   CORPORATE CONTENT PLACEHOLDER
=============================== */

.content-placeholder {
    height: 65vh;
    border-radius: 16px;
    background: linear-gradient( 180deg, #f8fafc 0%, #eef2f6 100% );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 1px solid #e6e9ef;
}

.placeholder-inner {
    text-align: center;
    max-width: 420px;
}

.placeholder-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    background: #e9f2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f6feb;
    font-size: 28px;
}

.placeholder-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.placeholder-subtitle {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* Section title */
.section-title {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #6c757d;
    letter-spacing: 0.04em;
}
.course-section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 0 0px;
}

.course-section-title {
    font-size: .85rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    word-break: break-word;
}
.lesson-sync {
    background: #fff8f8;
    border: 1px solid #ffd6d6;
}

    .lesson-sync:hover {
        background: #fff3f3;
    }
.course-section-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: #6c757d;
}

    .course-section-date i {
        color: #0d6efd;
        font-size: .9rem;
    }

    .course-section-date .corporate-badge {
        white-space: normal;
        text-align: left;
    }
/* Lesson item */
.lesson {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
    transition: background 0.2s, box-shadow 0.2s;
}
.lesson {
    position: relative;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all .2s ease;
}

.lesson-file-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #edf4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .lesson-file-icon i {
        font-size: 20px;
        color: #0d6efd;
    }

.lesson-content {
    flex: 1;
    min-width: 0;
}

.lesson-title {
    font-size: .95rem;
    font-weight: 600;
    color: #23324d;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}

.lesson-meta {
    margin-top: 3px;
    font-size: .78rem;
    color: #8a94a6;
}

.lesson-inline .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ced4da;
    border-radius: 6px;
    transition: .2s;
}

.lesson-inline input:checked + .checkmark {
    background: #0d6efd;
    border-color: #0d6efd;
}

    .lesson-inline input:checked + .checkmark::after {
        content: "\2713";
        color: #fff;
        font-size: 12px;
        font-weight: bold;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -52%);
    }
    .lesson i {
        font-size: 1.1rem;
        color: #0d6efd;
    }

    /* Hover */
    .lesson:hover {
        background: #f5f8ff;
    }

    /* Active lesson */
    .lesson.active {
        background: #eaf1ff;
        font-weight: 600;
        box-shadow: inset 3px 0 0 #0d6efd;
    }

    /* Disabled / locked lesson (future-ready) */
    .lesson.locked {
        opacity: 0.5;
        cursor: not-allowed;
    }

        .lesson.locked i {
            color: #adb5bd;
        }

/* Tabs */
.nav-tabs .nav-link {
    color: #444;
}

    .nav-tabs .nav-link.active {
        border-bottom: 3px solid #e60000;
    }

.lesson-check {
    padding: 6px 0;
}

.lesson-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

    /* Hide default checkbox */
    .lesson-inline input {
        display: none;
    }

    /* Custom checkbox */
    .lesson-inline .checkmark {
        width: 18px;
        height: 18px;
        border: 2px solid #ced4da;
        border-radius: 5px;
        margin-left: 7px;
        position: relative;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    /* Checked state */
    .lesson-inline input:checked + .checkmark {
        background-color: #0d6efd;
        border-color: #0d6efd;
    }

        /* Check icon */
        .lesson-inline input:checked + .checkmark::after {
            content: "✓";
            color: #fff;
            font-size: 13px;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

    /* Icon spacing */
    .lesson-inline i {
        font-size: 1.1rem;
        color: #495057;
    }

/* Title */
.lesson-title {
    margin-left: 2px;
}

/* Mobile friendly */
@media (max-width: 991px) {
    .add-mt-4 {
        margin-top: 1.5rem !important;
    }
}

.builder-card {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #E5EAF1;
    box-shadow: 0 12px 40px rgba(15,23,42,.06);
    padding: 0px 25px 25px 25px;
    overflow: hidden;
    margin-bottom: 24px;
}
/* =========================================
   SIDEBAR HEADER
========================================= */

.card-title-floating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px 16px;
    background: #fff;
    border-bottom: 1px solid #E9EEF5;
}

.sidebar-title-group {
    min-width: 0;
}

.sidebar-main-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1E293B;
    line-height: 1.2;
    margin-bottom: 2px;
}

.sidebar-subtitle {
    font-size: .8rem;
    color: #94A3B8;
    font-weight: 400;
}

.sidebar-header-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #2563EB;
    font-size: 18px;
    flex-shrink: 0;
}

.card-title-floating::before {
    display: none;
}

/* ===============================
       RIGHT PANE COLLAPSE SYSTEM
    =============================== */

/* Make right column relative */
.col-lg-4 {
    position: relative;
    transition: all .35s ease;
}

/* Viewer column transition */
.col-lg-8 {
    transition: all .35s ease;
}


/* ===== COLLAPSED STATE ===== */

.right-collapsed .col-lg-4 {
    flex: 0 0 0%;
    max-width: 0%;
    padding: 0;
}

    .right-collapsed .col-lg-4 .builder-card {
        display: none;
    }

/* Viewer expands */
.right-collapsed .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
}


/* ===============================
       FLOATING TOGGLE BUTTON
    =============================== */

.panel-toggle {
    position: absolute;
    top: 18px;
    left: -14px; /* sits between viewer & panel */

    width: 30px;
    height: 30px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    z-index: 50;
}

/* When collapsed, move button to edge */

.right-collapsed .panel-toggle {
    left: -40px;
}
/* ===============================
       GLOBAL FLOATING TOGGLE
    =============================== */

.panel-toggle-global {
    position: fixed;
    top: 50%;
    right: 12px; /* stick to screen edge */

    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
    z-index: 9999;
    transition: all .25s ease;
}

    /* Hover */

    .panel-toggle-global:hover {
        background: #f9fafb;
    }

/* Collapse right column */

.right-collapsed .col-lg-4 {
    display: none;
}

/* Viewer full width */

.right-collapsed .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (max-width: 1000px) {
    .panel-toggle-global {
        display: none !important;
    }
}

/* ===============================
       SYNC MODAL CORPORATE STYLE
    ================================= */

.sync-modal {
    border-radius: 18px;
    padding: 10px 5px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    border: none;
}

/* Info grid */
.sync-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

    .sync-info-grid label {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: .05em;
        color: #6b7280;
        margin-bottom: 4px;
        display: block;
    }

    .sync-info-grid div div {
        font-weight: 600;
        color: #111827;
    }

/* Instruction box */
.sync-instruction-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 14px;
    font-size: 0.95rem;
    color: #374151;
    border: 1px solid #e5e7eb;
}

/* Join button */
#syncJoinBtn {
    border-radius: 999px;
    font-weight: 600;
    padding: 10px 22px;
    box-shadow: 0 4px 12px rgba(13,110,253,.25);
    transition: .2s;
}

    #syncJoinBtn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 18px rgba(13,110,253,.35);
    }
/* ===============================
       CHAT WRAPPER
    ================================= */

.chat-wrapper {
    display: flex;
    flex-direction: column;
    height: 520px;
    overflow: hidden;
}


/* ===============================
       CHAT BODY
    ================================= */

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: transparent;
}


/* Row layout */
.chat-row {
    display: flex;
    margin-bottom: 14px;
    align-items: flex-end;
}

    /* Left / Right positioning */
    .chat-row.left {
        justify-content: flex-start;
    }

    .chat-row.right {
        justify-content: flex-end;
    }


/* ===============================
       AVATAR
    ================================= */

.chat-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 10px;
    font-size: 0.85rem;
}


/* ===============================
       BUBBLE
    ================================= */

.chat-bubble {
    max-width: 65%;
    padding: 12px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

    /* My bubble */
    .chat-bubble.mine {
        background: linear-gradient(135deg,#0d6efd,#0b5ed7);
        color: white;
        border: none;
    }


/* ===============================
       TEXT ELEMENTS
    ================================= */

.chat-user {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #6b7280;
}

.chat-bubble.mine .chat-user {
    color: rgba(255,255,255,0.85);
}

.chat-message {
    font-size: 0.95rem;
    line-height: 1.4;
}

.chat-time {
    font-size: 0.7rem;
    margin-top: 6px;
    text-align: right;
    opacity: 0.7;
}


/* ===============================
       INPUT BOX
    ================================= */

.chat-input-box {
    border-top: 1px solid #e5e7eb;
    padding: 12px;
    display: flex;
    gap: 10px;
    background: #fff;
}

    .chat-input-box textarea {
        resize: none;
        border-radius: 12px;
        padding: 10px 12px;
    }

    .chat-input-box button {
        border-radius: 12px;
        padding: 0 20px;
        font-weight: 600;
    }


/*MY COURSE */

.course-card {
    background: white;
    border: none;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
    transition: 0.25s;
}

    .course-card:hover {
        transform: translateY(-5px);
    }

.course-desc {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#loadingIndicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Greyed-out background */
    z-index: 9999; /* Ensure it's above all content */
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    color: white; /* Spinner color */
}
.content-loader {
    position: absolute;
    inset: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-loader-card {
    width: 320px;
    background: white;
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    animation: fadeInUp .25s ease;
}

.loader-spinner {
    margin-bottom: 20px;
}

.content-loader-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.content-loader-card p {
    color: #6c757d;
    margin-bottom: 0;
}

.pdf-loading-state,
.pdf-error-state {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pdf-page-wrapper {
    margin-bottom: 4px;
    background: white;
    border: 1px solid #eef1f5;
}

.pdf-page-loader {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* ========================================
   VIDEO SHELL
======================================== */

.video-shell {
    background: #0f172a;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.06);
    margin-bottom: 24px;
}

/* ========================================
   TOP BAR
======================================== */

.video-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    background: linear-gradient( to right, #0f172a, #111827 );
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.video-course-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.video-live-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34,197,94,.8);
}

.video-label {
    color: rgba(255,255,255,.55);
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.video-title-current {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-top: 2px;
}

.video-status-badge {
    background: rgba(59,130,246,.18);
    color: #93c5fd;
    border: 1px solid rgba(59,130,246,.3);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
}

/* ========================================
   PLAYER WRAPPER
======================================== */

.video-player-wrapper {
    position: relative;
    background: black;
}

/* ========================================
   VIDEO
======================================== */

#lmsVideoPlayer {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: black;
    display: block;
}
.onboarding-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

.onboarding-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.onboarding-card {
    position: fixed;
    z-index: 10002;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    display: flex;
    gap: 16px;
    max-width: 420px;
    pointer-events: auto;
}

.onboarding-mascot {
    width: 100px;
}

.onboarding-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.onboarding-actions {
    margin-top: 15px;
    text-align: right;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.tour-highlight {
    position: relative !important;
    z-index: 10003 !important;
    box-shadow: 0 0 0 6px rgba(13,110,253,0.45);
    border-radius: 10px;
    background-color: #ffffff;
}

.onboarding-card {
    position: fixed;
}

@media (max-width: 768px) {
    .onboarding-card {
        left: 0 !important;
        right: 0 !important;
        bottom: 0;
        top: auto !important;
        transform: none !important;
        width: 100%;
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        padding: 20px;
        flex-direction: row;
        align-items: flex-start;
    }

    .onboarding-mascot {
        width: 70px;
    }

    .tour-highlight {
        box-shadow: 0 0 0 4px rgba(13,110,253,0.45);
    }
}

/* ========================================
           COURSE INFO
        ======================================== */

.course-info {
    margin-top: 24px;
    background: white;
    border-radius: 24px;
    border: 1px solid #E5E7EB;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.course-title {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -.8px;
    margin-bottom: 10px;
}

.course-desc {
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
}

.course-stats {
    display: flex;
    gap: 16px;
    margin-top: 26px;
    flex-wrap: wrap;
}

.stat-card {
    background: #F8FAFC;
    border-radius: 18px;
    padding: 18px 20px;
    min-width: 180px;
    border: 1px solid #EEF2F7;
}

.stat-label {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 22px;
    font-weight: 700;
}
/* =========================================
   DISCUSSION SHELL
========================================= */

.mtc-discussion-shell {
    margin-top: 28px;
    background: white;
    border-radius: 28px;
    border: 1px solid #E7ECF3;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(15,23,42,.05);
}

/* =========================================
   HEADER
========================================= */

.mtc-discussion-header {
    padding: 24px 28px;
    border-bottom: 1px solid #EEF2F7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mtc-discussion-title {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
}

.mtc-discussion-subtitle {
    margin-top: 5px;
    font-size: 14px;
    color: #64748B;
}

.mtc-discussion-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(37,99,235,.08);
    color: #2563EB;
    font-size: 13px;
    font-weight: 600;
}

/* =========================================
   CHAT BODY
========================================= */

.mtc-chat-body {
    height: 520px;
    overflow-y: auto;
    padding: 28px;
    background: linear-gradient( to bottom, #FAFBFD, #F8FAFC );
}

/* =========================================
   EMPTY
========================================= */

.mtc-chat-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    .mtc-chat-empty i {
        font-size: 70px;
        color: #CBD5E1;
    }

    .mtc-chat-empty h5 {
        margin-top: 20px;
        font-weight: 700;
    }

    .mtc-chat-empty p {
        margin-top: 10px;
        color: #64748B;
    }

/* =========================================
   ROW
========================================= */

.mtc-chat-row {
    display: flex;
    margin-bottom: 22px;
    align-items: flex-end;
    gap: 14px;
}

    .mtc-chat-row.mine {
        justify-content: flex-end;
    }

/* =========================================
   AVATAR
========================================= */

.mtc-chat-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient( 135deg, #2563EB, #1D4ED8 );
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

/* =========================================
   BUBBLE
========================================= */

.mtc-chat-bubble {
    max-width: 70%;
    border-radius: 22px;
    padding: 16px 18px;
    position: relative;
}

    .mtc-chat-bubble.other {
        background: white;
        border: 1px solid #E5EAF1;
        border-bottom-left-radius: 8px;
    }

    .mtc-chat-bubble.mine {
        background: linear-gradient( 135deg, #2563EB, #1D4ED8 );
        color: white;
        border-bottom-right-radius: 8px;
        box-shadow: 0 8px 20px rgba(37,99,235,.22);
    }

/* =========================================
   USER
========================================= */

.mtc-chat-user {
    font-size: 13px;
    font-weight: 700;
    color: #2563EB;
    margin-bottom: 8px;
}

/* =========================================
   MESSAGE
========================================= */

.mtc-chat-message {
    line-height: 1.7;
    font-size: 15px;
    word-break: break-word;
}

/* =========================================
   TIME
========================================= */

.mtc-chat-time {
    margin-top: 10px;
    font-size: 11px;
    opacity: .7;
}

/* =========================================
   INPUT AREA
========================================= */

.mtc-chat-input-area {
    border-top: 1px solid #EEF2F7;
    padding: 24px;
    background: white;
}

.mtc-chat-input-wrapper {
    display: flex;
    gap: 16px;
    align-items: end;
}

.mtc-chat-textarea {
    flex: 1;
    border: 1px solid #DCE3EC;
    border-radius: 18px;
    padding: 16px 18px;
    resize: none;
    min-height: 64px;
    max-height: 180px;
    outline: none;
    transition: .2s ease;
    font-size: 15px;
}

    .mtc-chat-textarea:focus {
        border-color: #2563EB;
        box-shadow: 0 0 0 4px rgba(37,99,235,.08);
    }

/* =========================================
   SEND BUTTON
========================================= */

.mtc-chat-send-btn {
    height: 64px;
    padding: 0 24px;
    border: none;
    border-radius: 18px;
    background: linear-gradient( 135deg, #2563EB, #1D4ED8 );
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .2s ease;
}

    .mtc-chat-send-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(37,99,235,.25);
    }

/* =========================================
   DISABLED
========================================= */

.mtc-discussion-disabled {
    padding: 80px 30px;
    text-align: center;
}

    .mtc-discussion-disabled i {
        font-size: 64px;
        color: #CBD5E1;
    }

    .mtc-discussion-disabled h5 {
        margin-top: 18px;
        font-weight: 700;
    }

    .mtc-discussion-disabled p {
        margin-top: 10px;
        color: #64748B;
    }

/* FEEDBACK */

.feedback-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

@media(max-width: 992px) {

    .feedback-grid {
        grid-template-columns: 1fr;
    }
}

.feedback-wrapper {
    padding: 40px 20px 60px;
}

.feedback-container {
    width: 100%;
    max-width: 1050px;
    margin: auto;
}

.feedback-header {
    margin-bottom: 28px;
}

    .feedback-header h2 {
        font-size: 34px;
        font-weight: 700;
        color: #0F172A;
        margin-bottom: 10px;
    }

    .feedback-header p {
        font-size: 16px;
        color: #64748B;
        max-width: 700px;
    }

.feedback-section {
    background: white;
    border-radius: 28px;
    padding: 32px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
}

.section-title-feedback {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;
}

.section-icon {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    background: #E0EAFF;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

    .section-icon.instructor {
        background: #E8F7EC;
        color: #16A34A;
    }

.section-title-feedback h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.section-title-feedback p {
    margin: 4px 0 0;
    color: #64748B;
}

.question-card-feedback {
    padding: 22px 0;
    border-top: 1px solid #EDF2F7;
}

.question-card-feedback:first-of-type {
    border-top: none;
    padding-top: 0;
}

.question-title-feedback {
    font-size: 18px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 18px;
    line-height: 1.5;
}

.rating-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.rating-input {
    display: none;
}

.rating-pill {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    border: 1px solid #D7E0EC;
    background: #F8FAFC;
    color: #475569;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .18s ease;
}

    .rating-pill:hover {
        border-color: #93C5FD;
        background: #EFF6FF;
        color: #2563EB;
    }

.rating-input:checked + .rating-pill {
    background: #2563EB;
    color: white;
    border-color: #2563EB;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .18);
}

.rating-caption {
    margin-top: 12px;
    font-size: 14px;
    color: #64748B;
}

.submit-wrapper {
    margin-top: 30px;
    text-align: right;
}

.btn-submit {
    border: none;
    background: #2563EB;
    color: white;
    padding: 14px 34px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    transition: .2s ease;
}

    .btn-submit:hover {
        background: #1D4ED8;
    }

@media(max-width:768px) {

    .feedback-section {
        padding: 24px;
    }

    .question-title {
        font-size: 16px;
    }

    .rating-pill {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .section-title-feedback h4 {
        font-size: 20px;
    }

    .feedback-header h2 {
        font-size: 28px;
    }
}

.feedback-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}

.feedback-page-info h2 {
    font-size: 34px;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
}

.feedback-page-info p {
    color: #64748B;
    font-size: 16px;
    max-width: 720px;
    line-height: 1.7;
    margin: 0;
}

.feedback-action {
    flex-shrink: 0;
}

.btn-submit {
    border: none;
    background: linear-gradient(135deg, #2563EB, #1D4ED8);
    color: white;
    padding: 15px 28px;
    border-radius: 18px;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .2s ease;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .18);
}

    .btn-submit:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(37, 99, 235, .24);
    }

.feedback-status {
    background: #E8F7EC;
    color: #15803D;
    border-radius: 16px;
    padding: 14px 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media(max-width: 992px) {

    .feedback-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .feedback-action {
        width: 100%;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .feedback-page-info h2 {
        font-size: 28px;
    }
}

.flyer-modal-dialog {
    width: auto;
    max-width: min(92vw, 790px);
    margin: 1.75rem auto;
}

.flyer-modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.flyer-header {
    height: 92px;
    padding: 0 28px;
    border-bottom: 1px solid #eceff3;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flyer-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.1;
}

.flyer-subtitle {
    margin-top: 6px;
    font-size: 14px;
    color: #6b7280;
}

.flyer-close-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
    padding: 0;
    outline: none;
    box-shadow: none;
    color: #4b5563;
    flex-shrink: 0;
}

    .flyer-close-btn i {
        font-size: 18px;
        line-height: 1;
    }

    .flyer-close-btn:hover {
        background: #eef2f7;
        border-color: #d1d5db;
        transform: scale(1.03);
    }

    .flyer-close-btn:focus,
    .flyer-close-btn:active {
        outline: none !important;
        box-shadow: none !important;
    }



.flyer-body {
    background: #f3f4f6;
    padding: 12px;
}

.carousel-item {
    min-height: 620px;
}

.flyer-image-wrapper {
    position: relative;
    width: 100%;
    height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
}

.flyer-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    background: #ffffff;
}
/* NAVIGATION BUTTONS */
.flyer-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(15, 23, 42, 0.68);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: all .2s ease;
    backdrop-filter: blur(4px);
}

    .flyer-nav-btn:hover {
        background: rgba(15, 23, 42, 0.9);
        transform: translateY(-50%) scale(1.06);
    }

.flyer-nav-prev {
    left: 18px;
}

.flyer-nav-next {
    right: 18px;
}

.flyer-nav-btn i {
    font-size: 24px;
    line-height: 1;
}

/* INDICATORS WRAPPER */
.flyer-indicators-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 18px;
}

/* DOT CONTAINER */
.carousel-indicators {
    position: static;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
}

    /* DOT */
    .carousel-indicators [data-bs-target] {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 2px solid #ffffff;
        background: rgba(255,255,255,0.55);
        opacity: 1;
        transition: all .25s ease;
    }

    /* ACTIVE DOT */
    .carousel-indicators .active {
        background: #ffffff;
        transform: scale(1.15);
    }

/* MOBILE */
@media (max-width: 768px) {

    .flyer-modal-dialog {
        margin: 10px;
    }

    .flyer-header {
        padding: 18px;
        height: auto;
    }

    .flyer-title {
        font-size: 1.5rem;
    }

    .flyer-body {
        padding: 14px;
    }

    .carousel-item {
        min-height: 620px;
    }

    .flyer-image-wrapper {
        height: 70vh;
    }
}
.corporate-footer {
    background: linear-gradient( 135deg, #0f172a 0%, #111827 100% );
    color: rgba(255,255,255,0.88);
    padding: 70px 0 24px;
    position: relative;
    overflow: hidden;
}

    .corporate-footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient( 90deg, #0ea5e9, #2563eb, #1d4ed8 );
    }

.footer-logo {
    width: 210px;
    margin-bottom: 22px;
    filter: brightness(0) invert(1);
}

.footer-company {
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-description {
    line-height: 1.9;
    color: rgba(255,255,255,0.7);
    max-width: 420px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 22px;
    letter-spacing: .3px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
}

    .footer-item i {
        color: #60a5fa;
        font-size: 1rem;
        width: 18px;
        flex-shrink: 0;
    }

.footer-bottom {
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .92rem;
    color: rgba(255,255,255,0.5);
}

.footer-bottom-right {
    color: rgba(255,255,255,0.4);
}

/* MOBILE */
@media (max-width: 768px) {

    .corporate-footer {
        text-align: center;
        padding: 55px 0 20px;
    }

    .footer-description {
        margin: auto;
    }

    .footer-item {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .footer-logo {
        width: 180px;
    }
}
.empty-course-state {
    background: #ffffff;
    border-radius: 24px;
    padding: 70px 40px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(15,23,42,0.05);
    border: 1px solid #eef2f7;
    max-width: 900px;
    margin: 40px auto 70px;
}

.empty-course-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: linear-gradient( 135deg, #eff6ff, #dbeafe );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

    .empty-course-icon i {
        font-size: 3rem;
        color: #2563eb;
    }

.empty-course-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 18px;
}

.empty-course-description {
    max-width: 650px;
    margin: auto;
    color: #64748b;
    line-height: 1.9;
    font-size: 1.05rem;
}

.empty-course-actions {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.empty-btn-primary,
.empty-btn-secondary {
    height: 52px;
    padding: 0 28px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.empty-btn-primary {
    background: #2563eb;
    border: none;
    box-shadow: 0 10px 24px rgba(37,99,235,0.25);
}

    .empty-btn-primary:hover {
        background: #1d4ed8;
    }

.empty-btn-secondary {
    border: 1px solid #dbe2ea;
    background: #ffffff;
    color: #334155;
}

    .empty-btn-secondary:hover {
        background: #f8fafc;
    }

/* MOBILE */
@media (max-width: 768px) {

    .empty-course-state {
        padding: 50px 25px;
    }

    .empty-course-title {
        font-size: 1.5rem;
    }

    .empty-course-description {
        font-size: .97rem;
    }

    .empty-course-actions {
        flex-direction: column;
    }

    .empty-btn-primary,
    .empty-btn-secondary {
        width: 100%;
    }
}

.course-preview-modal {
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

.video-container {
    background: #000;
}

    .video-container video {
        width: 100%;
        height: 65vh;
        object-fit: contain;
    }

.course-preview-info {
    display: flex;
    gap: 16px;
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
}

.info-icon {
    font-size: 24px;
    color: #2563eb;
}

.course-tag {
    display: inline-block;
    background: #eff6ff;
    color: #2563eb;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

@media(max-width:768px) {

    .video-container video {
        height: 40vh;
    }

    .modal-footer {
        flex-direction: column;
    }

        .modal-footer .btn {
            width: 100%;
        }
}
.course-card {
    position: relative;
}

.rewatch-video-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #0d6efd;
    transition: .2s;
}

    .rewatch-video-btn:hover {
        background: #0d6efd;
        color: #fff;
        transform: scale(1.08);
    }

/* ===========================================
   COURSE SUMMARY
===========================================*/

.lms-course-summary {
    background: #fff;
    border-radius: 24px;
    border: 1px solid #e8edf5;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(15,23,42,.05);
    margin-top: -6px;
}

/* Header */

.lms-course-summary-header{
    display:flex;
    gap:15px;
    align-items:flex-start;
    padding:16px;
    margin-top: 15px;
}

.lms-course-accent{
    width:5px;
    min-width:5px;
    border-radius:10px;
    background:linear-gradient(180deg,#1d4ed8,#3b82f6);
}

.lms-course-text{
    flex:1;
}

.lms-course-title{
    margin:0;
    font-size:1.7rem;
    font-weight:700;
    color:#0f172a;
    line-height:1.2;
}

.lms-course-description{
    margin-top:14px;
    color:#64748b;
    line-height:1.8;
    font-size:15px;
    max-width:900px;
}

/* Metrics */

.lms-course-metrics{

    border-top:1px solid #eef2f7;

    display:grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:18px;

    padding:28px;
}

.lms-course-metric{

    display:flex;
    gap:16px;
    align-items:flex-start;

    background:#f8fafc;

    border:1px solid #edf2f7;

    border-radius:18px;

    padding:18px;
}

.lms-course-metric-icon{

    width:48px;
    height:48px;

    border-radius:14px;

    background:#eff6ff;

    color:#2563eb;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:20px;

    flex-shrink:0;
}

.lms-course-metric-label{

    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.08em;

    color:#64748b;

    margin-bottom:6px;
}

.lms-course-metric-value{

    font-weight:700;
    color:#0f172a;
    font-size:16px;
    line-height:1.5;
}

.lms-course-progress{

    margin-top:10px;

    width:100%;
    height:6px;

    background:#e2e8f0;

    border-radius:999px;

    overflow:hidden;
}

.lms-course-progress-bar{

    height:100%;

    background:linear-gradient(90deg,#2563eb,#60a5fa);

    border-radius:999px;
}

/* Tablet */

@media (max-width:992px){

    .lms-course-metrics{
        grid-template-columns:1fr;
    }

    .lms-course-title{
        font-size:1.7rem;
    }

}

/* Mobile */

@media (max-width:768px){

    .lms-course-summary{
        border-radius:18px;
    }

    .lms-course-summary-header{

        padding:15px;

        gap:14px;
    }

    .lms-course-title{

        font-size:1.45rem;
    }

    .lms-course-description{

        font-size:14px;
        line-height:1.7;
    }

    .lms-course-metrics{

        padding:18px;
        gap:12px;
    }

    .lms-course-metric{

        padding:14px;
    }

    .lms-course-metric-icon{

        width:42px;
        height:42px;

        font-size:18px;
    }

    .lms-course-metric-value{

        font-size:15px;
    }

}
/* =========================================
   VIEWER NAVIGATION
========================================= */

.viewer-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0 !important;
    padding: 16px 22px;
    background: #ffffff;
    border: 1px solid #E5EAF1;
    border-top: none;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 10px 28px rgba(15,23,42,.06);
}

/* Make it look attached to the viewer */

.video-shell,
.viewer-frame,
.content-placeholder {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
}

/* Buttons */

.viewer-navigation .btn {
    min-width: 130px;
    height: 46px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: .2s ease;
}

.viewer-navigation #btnPrev {
    background: #fff;
    color: #64748b;
    border: 1px solid #D7DEE8;
}

    .viewer-navigation #btnPrev:hover {
        background: #F8FAFC;
        border-color: #CBD5E1;
    }

.viewer-navigation #btnNext {
    background: linear-gradient(135deg,#2563EB,#1D4ED8);
    border: none;
    color: white;
    box-shadow: 0 8px 20px rgba(37,99,235,.22);
}

    .viewer-navigation #btnNext:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(37,99,235,.28);
    }

/* Mobile */

@media (max-width:768px) {

    .viewer-navigation {
        padding: 14px;
        gap: 10px;
    }

        .viewer-navigation .btn {
            flex: 1;
            min-width: 0;
            height: 44px;
        }
}

/* ===========================
   NAVBAR
=========================== */

.lms-navbar {
    background: #fff;
    height: 72px;
    border-bottom: 1px solid #ececec;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-logo {
    height: 34px;
    width: auto;
}

.navbar-nav {
    gap: 14px;
}

    .navbar-nav .nav-link {
        font-size: 15px;
        font-weight: 600;
        color: #333;
        padding: .75rem 1rem;
        position: relative;
        transition: .25s;
    }

        .navbar-nav .nav-link:hover {
            color: #0d6efd;
        }

        .navbar-nav .nav-link::after {
            content: '';
            position: absolute;
            left: 18px;
            right: 18px;
            bottom: 8px;
            height: 2px;
            background: #0d6efd;
            transform: scaleX(0);
            transition: .25s;
        }

        .navbar-nav .nav-link:hover::after {
            transform: scaleX(1);
        }

/* Right Area */

.navbar-right {
    display: flex;
    align-items: center;
    gap: 22px;
}

.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: .2s;
}

    .icon-btn:hover {
        background: #f4f6f8;
        color: #0d6efd;
    }

    .icon-btn i {
        font-size: 20px;
    }

.user-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px #ddd;
}

.user-name {
    font-weight: 600;
    font-size: 15px;
}

/* Dropdown */

.dropdown-menu {
    margin-top: 15px;
    padding: 10px 0;
    min-width: 240px;
}

.dropdown-item {
    padding: 10px 18px;
    font-weight: 500;
}

    .dropdown-item:hover {
        background: #f5f8fb;
    }

/* ===========================
   MOBILE
=========================== */

@media(max-width:991px) {

    .lms-navbar {
        height: 64px;
    }

    .navbar-logo {
        height: 28px;
    }

    .navbar-collapse {
        margin-top: 16px;
        background: #fff;
        border-radius: 16px;
        padding: 18px;
        box-shadow: 0 10px 30px rgba(0,0,0,.08);
    }

    .navbar-nav {
        gap: 0;
    }

        .navbar-nav .nav-link {
            padding: 14px 4px;
            border-bottom: 1px solid #eee;
        }

            .navbar-nav .nav-link::after {
                display: none;
            }

    .navbar-toggler {
        font-size: 28px;
    }
}
.support-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}

    .support-card h6 {
        margin-bottom: 10px;
        font-size: 1.15rem;
        font-weight: 700;
        color: #212529;
    }

    .support-card p {
        margin-bottom: 16px;
        color: #6c757d;
        font-size: .92rem;
        line-height: 1.6;
    }

.support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    border: 1px solid #dcdcdc;
    border-radius: 10px;
    color: #212529;
    background: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

    .support-btn:hover {
        border-color: #212529;
        background: #212529;
        color: #fff;
        text-decoration: none;
    }

    .support-btn i {
        font-size: 1rem;
    }


.corporate-badge {
    background: #e8f4ff;
    color: #0d6efd;
    border-radius: 20px;
    font-size: 11px;
    padding: 6px 12px;
    font-weight: 600;
}
.lesson a,
.lesson-content a,
.builder-card a {
    text-decoration: none;
    color: inherit;
}

    .lesson a:hover,
    .lesson-content a:hover,
    .builder-card a:hover {
        text-decoration: none;
        color: #0d6efd; /* Corporate blue */
    }