@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Pages/Private/Admin/Offline/OfflineClassDraft.razor.rz.scp.css */
/* ===== Upload area ===== */
.upload-area[b-mtvb0dcesa] {
    background: #fff;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}

.upload-area:hover[b-mtvb0dcesa] {
    border-color: #0d6efd !important;
    background: #f8f9fa;
}

/* ===== Previews ===== */
.video-preview[b-mtvb0dcesa],
.image-preview[b-mtvb0dcesa] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-preview video[b-mtvb0dcesa],
.image-preview img[b-mtvb0dcesa] {
    background: #000;
}

/* ===== Viewport frame (cabecera de clase) ===== */
.viewport-frame[b-mtvb0dcesa] {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 300px;
    max-height: 820px;
    background: #0b0b0b;
    overflow: hidden;
    border-radius: 0.5rem;
}

.viewport-media[b-mtvb0dcesa] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.viewport-frame > video[b-mtvb0dcesa],
.viewport-frame > img[b-mtvb0dcesa],
.viewport-frame > iframe[b-mtvb0dcesa] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.viewport-frame video[b-mtvb0dcesa],
.viewport-frame img[b-mtvb0dcesa] {
    object-fit: contain;
    background: #0b0b0b;
}

/* ===== PDF Slides (PDF.js) ===== */
.pdfslides[b-mtvb0dcesa] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b0b0b;
}

.pdfslides canvas[b-mtvb0dcesa] {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    image-rendering: auto;
    background: #0b0b0b;
}

/* Toolbar flotante centrada sobre el visor */
.pdfslides-toolbar[b-mtvb0dcesa] {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
    padding: 6px 12px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    white-space: nowrap;
}

.pdfslides-toolbar .label[b-mtvb0dcesa] {
    margin: 0 4px;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-btn[b-mtvb0dcesa] {
    background: transparent;
    border: none;
    padding: 2px 6px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.15s;
}

.nav-btn:hover[b-mtvb0dcesa] {
    background: rgba(0, 0, 0, 0.1);
}

.nav-btn .nav-icon[b-mtvb0dcesa] {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    width: 1em;
    text-align: center;
}

/* ===== Quill editor ===== */
#classEditorMainWrapper .ql-toolbar[b-mtvb0dcesa] {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    background: #fff;
    border-left: none;
    border-right: none;
    border-top: none;
    position: sticky;
    top: 55px;
    z-index: 10;
}

#classEditorMainWrapper .ql-container[b-mtvb0dcesa] {
    font-size: 1rem;
    height: 520px;
    overflow-y: auto;
    border: none;
}

#classEditorMainWrapper .ql-editor[b-mtvb0dcesa] {
    min-height: 100%;
    padding: 20px;
}

#classEditorMainWrapper .ql-editor img[b-mtvb0dcesa] {
    display: inline-block;
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
}

#classEditorMainWrapper .ql-editor pre[b-mtvb0dcesa] {
    background-color: #1e1e1e;
    color: #d4d4d4;
    border-radius: 0.375rem;
    padding: 1em;
    overflow-x: auto;
    white-space: pre;
    word-wrap: normal;
}

#classEditorMainWrapper .ql-editor blockquote[b-mtvb0dcesa] {
    border-left: 4px solid #dee2e6;
    padding-left: 1em;
    margin-left: 0;
    font-style: italic;
}

/* ===== iOS Safari viewport fix ===== */
@supports (-webkit-touch-callout: none) {
    .viewport-frame[b-mtvb0dcesa] { height: 62vh; }
}

/* ===== Responsive ===== */
@media (max-width: 576px) {
    .viewport-frame[b-mtvb0dcesa] { height: 50vh; }
}
/* /Pages/Private/Admin/SalesDashboard.razor.rz.scp.css */
.kpi-card[b-fiihox5izb] {
    border-radius: 10px;
    transition: box-shadow 0.15s ease;
}

.kpi-card:hover[b-fiihox5izb] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.kpi-value[b-fiihox5izb] {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.kpi-label[b-fiihox5izb] {
    font-size: 0.72rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 2px;
}
/* /Pages/Private/User/OfflineCourse/CourseCard.razor.rz.scp.css */
.course-card[b-veyk7ioytz] {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.course-card:hover[b-veyk7ioytz] {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.13);
}

.course-card.completed[b-veyk7ioytz] {
    opacity: 0.88;
}

.course-card.completed:hover[b-veyk7ioytz] {
    opacity: 1;
}

/* ── Portada ─────────────────────────────────────────────── */
.course-cover[b-veyk7ioytz] {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #f0f0f0;
    overflow: hidden;
}

.course-cover img[b-veyk7ioytz] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-placeholder[b-veyk7ioytz] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: rgba(255,255,255,.5);
}

/* ── Overlay de progreso ─────────────────────────────────── */
.progress-overlay[b-veyk7ioytz] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,.65));
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar-mini[b-veyk7ioytz] {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,.3);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill[b-veyk7ioytz] {
    height: 100%;
    background: #0d6efd;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-text[b-veyk7ioytz] {
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 35px;
    text-align: right;
}

/* ── Badge completado ────────────────────────────────────── */
.completed-badge[b-veyk7ioytz] {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #198754;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

/* ── Info ────────────────────────────────────────────────── */
.course-info[b-veyk7ioytz] {
    padding: 1rem;
    flex: 1;
}

.course-title[b-veyk7ioytz] {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.course-trainer[b-veyk7ioytz] {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.course-meta[b-veyk7ioytz] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.meta-item[b-veyk7ioytz] {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.8rem;
}

/* ── Acción ──────────────────────────────────────────────── */
.course-action[b-veyk7ioytz] {
    padding: 0 1rem 1rem;
}

@media (max-width: 576px) {
    .course-card[b-veyk7ioytz] {
        border-radius: 8px;
    }
}
/* /Pages/Private/User/OfflineCourse/CourseViewer.razor.rz.scp.css */
/* ===== Course Viewer Layout ===== */
.cv-container[b-5ltezw33wv] {
    display: flex !important;
    flex-direction: row !important;
    height: calc(100vh - 60px);
    overflow: hidden;
    min-height: 500px;
    background: #f8f9fa;
    width: 100%;
}

.cv-loading[b-5ltezw33wv] {
    height: calc(100vh - 60px);
}

/* ===== Content Panel (left/main) ===== */
.cv-content[b-5ltezw33wv] {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    transition: all 0.3s ease;
    min-width: 0;
}

.cv-content.cv-content--expanded[b-5ltezw33wv] {
    flex: 1 1 100%;
}

.cv-header[b-5ltezw33wv] {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.cv-quiz-area[b-5ltezw33wv] {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== Content Skeleton ===== */
@keyframes skeletonShimmer-b-5ltezw33wv {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

.skeleton-line[b-5ltezw33wv],
.skeleton-media[b-5ltezw33wv] {
    background: linear-gradient(90deg, #e9ecef 25%, #f4f5f6 50%, #e9ecef 75%);
    background-size: 1200px 100%;
    animation: skeletonShimmer-b-5ltezw33wv 1.4s infinite linear;
    border-radius: 6px;
}

.content-skeleton[b-5ltezw33wv] {
    width: 100%;
}

.skeleton-media[b-5ltezw33wv] {
    width: 100%;
    height: clamp(280px, 50vh, 600px);
    border-radius: 0;
}

.skeleton-body[b-5ltezw33wv] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.skeleton-line[b-5ltezw33wv] {
    height: 14px;
    border-radius: 4px;
}
.skeleton-line--title[b-5ltezw33wv]          { height: 20px; width: 55%; margin-bottom: 0.4rem; }
.skeleton-line--full[b-5ltezw33wv]           { width: 100%; }
.skeleton-line--three-quarters[b-5ltezw33wv] { width: 75%; }
.skeleton-line--half[b-5ltezw33wv]           { width: 45%; }

/* ===== Media skeleton overlay ===== */
.media-skeleton-overlay[b-5ltezw33wv] {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #e9ecef 25%, #f4f5f6 50%, #e9ecef 75%);
    background-size: 1200px 100%;
    animation: skeletonShimmer-b-5ltezw33wv 1.4s infinite linear;
    border-radius: 8px;
    z-index: 2;
    pointer-events: none;
}
.media-skeleton-overlay--pdf[b-5ltezw33wv] {
    border-radius: 0;
}

/* ===== Media Wrapper (Video/Image) ===== */
.media-wrapper[b-5ltezw33wv] {
    position: relative;
    background: #fff;
    width: 100%;
    height: clamp(280px, 50vh, 600px);
    min-height: 280px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.media-wrapper video[b-5ltezw33wv],
.media-wrapper img[b-5ltezw33wv] {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}

.media-wrapper.image-zoomable img[b-5ltezw33wv] {
    cursor: zoom-in;
}

.no-media-placeholder[b-5ltezw33wv] {
    height: 200px;
    background: #e9ecef;
}

/* ===== PDF Slides Viewer ===== */
.pdfslides[b-5ltezw33wv] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    width: 100%;
    height: clamp(320px, 58vh, 700px);
}

.pdfslides canvas[b-5ltezw33wv] {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    image-rendering: auto;
    background: white;
    border-radius: 12px;
}

.pdfslides-toolbar[b-5ltezw33wv] {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.30);
    color: #fff;
    backdrop-filter: blur(4px);
    z-index: 5;
}

.pdfslides-toolbar .page-label[b-5ltezw33wv] {
    margin: 0 4px;
    display: inline-block;
    font-size: 0.875rem;
}

.pdfslides-toolbar .nav-btn[b-5ltezw33wv] {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.pdfslides-toolbar .nav-btn:hover[b-5ltezw33wv] {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== Tutor markdown ===== */
.tutor-markdown p:last-child[b-5ltezw33wv] { margin-bottom: 0; }

/* ===== Image Lightbox ===== */
.image-zoomable[b-5ltezw33wv] { cursor: zoom-in; }

.image-lightbox-overlay[b-5ltezw33wv] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1055;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInOverlay-b-5ltezw33wv 0.2s ease;
}

@keyframes fadeInOverlay-b-5ltezw33wv {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.image-lightbox-content[b-5ltezw33wv] {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img[b-5ltezw33wv] {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    animation: scaleInImg-b-5ltezw33wv 0.2s ease;
}

@keyframes scaleInImg-b-5ltezw33wv {
    from { transform: scale(0.94); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.lightbox-close-btn[b-5ltezw33wv] {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
    z-index: 10;
}

.lightbox-close-btn:hover[b-5ltezw33wv] {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== Class Actions Bar ===== */
.class-actions[b-5ltezw33wv] {
    position: sticky;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
    z-index: 10;
}

/* ===== Tree / Sidebar (right panel) ===== */
.cv-tree[b-5ltezw33wv] {
    width: 380px;
    min-width: 380px;
    max-width: 380px;
    flex-shrink: 0;
    border-left: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    background: #f8f9fa;
    overflow: hidden;
}

.cv-tree.cv-tree--collapsed[b-5ltezw33wv] {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
}

.cv-tree.cv-tree--collapsed .cv-tree-body[b-5ltezw33wv],
.cv-tree.cv-tree--collapsed .progress-container[b-5ltezw33wv] {
    display: none;
}

.cv-tree-header[b-5ltezw33wv] {
    flex-shrink: 0;
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.cv-tree-body[b-5ltezw33wv] {
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
    padding: 0.5rem;
}

/* ===== Module Items ===== */
.module-header[b-5ltezw33wv] {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    user-select: none;
}

.module-header:hover[b-5ltezw33wv],
.module-header.active[b-5ltezw33wv] {
    background: #e9ecef;
    border-color: #dee2e6;
}

.module-title[b-5ltezw33wv] {
    font-size: 0.9rem;
    line-height: 1.3;
    word-break: break-word;
    font-weight: 500;
}

/* ===== Class Items ===== */
.class-item[b-5ltezw33wv] {
    transition: all 0.2s;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #fff;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2px;
}

.class-item:hover[b-5ltezw33wv] { background: #f8f9fa; }

.class-item.active[b-5ltezw33wv] {
    background: #d1e7ff;
    border-color: #0d6efd;
}

.class-title[b-5ltezw33wv] {
    font-size: 0.85rem;
    line-height: 1.3;
    word-break: break-word;
}

.class-icon[b-5ltezw33wv] { flex-shrink: 0; }

/* ===== Complementary Files ===== */
.complementary-files[b-5ltezw33wv] {
    border-top: 1px dashed #dee2e6;
    padding-top: 4px;
}

.files-toggle[b-5ltezw33wv] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.5rem;
    cursor: pointer;
    border-radius: 4px;
}

.files-toggle:hover[b-5ltezw33wv] { background-color: #e9ecef; }

.file-item[b-5ltezw33wv] {
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
}

.file-item:hover[b-5ltezw33wv] { background: #f8f9fa; }

/* ===== Quiz Tree Item ===== */
.quiz-tree-item[b-5ltezw33wv] {
    transition: all 0.2s;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #fff;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2px;
}

.quiz-tree-item:hover:not(.disabled)[b-5ltezw33wv] { background: #f8f9fa; }

.quiz-tree-item.active[b-5ltezw33wv] {
    background: #d1e7ff;
    border-color: #0d6efd;
}

.quiz-tree-item.disabled[b-5ltezw33wv] {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* ===== Question Indicators ===== */
.question-indicator[b-5ltezw33wv] {
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 0.8rem;
    border-radius: 50% !important;
}

/* ===== Options ===== */
.option-item[b-5ltezw33wv] {
    transition: all 0.2s;
    cursor: pointer;
}

.option-item:hover[b-5ltezw33wv] {
    background: #f8f9fa;
    border-color: #0d6efd !important;
}

.option-item.selected[b-5ltezw33wv] {
    background: #e8f0fe;
    border-color: #0d6efd !important;
}

.option-radio[b-5ltezw33wv] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    border: 2px solid #dee2e6;
    margin-top: 2px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.option-radio.checked[b-5ltezw33wv] {
    border-color: #0d6efd;
    background: #0d6efd;
    box-shadow: inset 0 0 0 3px #fff;
}

.option-checkbox[b-5ltezw33wv] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 4px;
    border: 2px solid #dee2e6;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 0.7rem;
    color: #fff;
    flex-shrink: 0;
}

.option-checkbox.checked[b-5ltezw33wv] {
    border-color: #0d6efd;
    background: #0d6efd;
}

.option-letter[b-5ltezw33wv] {
    min-width: 1.5rem;
}

/* ===== Tutor IA ===== */
.tutor-fab[b-5ltezw33wv] {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    height: 3rem;
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 2rem;
    font-size: 0.90rem;
    box-shadow: 0 6px 9px rgba(13, 110, 253, 0.35);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.tutor-fab:hover[b-5ltezw33wv] {
    background: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.45);
}

.tutor-fab svg[b-5ltezw33wv],
.tutor-fab i[b-5ltezw33wv] {
    font-size: 1.15rem;
    flex-shrink: 0;
}

.tutor-fab-icon[b-5ltezw33wv] {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    flex-shrink: 0;
}

.tutor-panel[b-5ltezw33wv] {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                top 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tutor-panel.tutor-panel--open[b-5ltezw33wv] { transform: translateX(0); }

/* Modo expandido: ventana flotante centrada */
.tutor-panel.tutor-panel--expanded[b-5ltezw33wv] {
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: min(860px, 90vw);
    height: min(85vh, 820px);
    border-radius: 1rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.tutor-panel-header[b-5ltezw33wv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    flex-shrink: 0;
    border-radius: inherit;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.tutor-expand-btn[b-5ltezw33wv] {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #6c757d;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
    padding: 0;
    font-size: 0.9rem;
}

.tutor-expand-btn:hover[b-5ltezw33wv] {
    background: #e9ecef;
    color: #212529;
}

.tutor-chat-area[b-5ltezw33wv] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scroll-behavior: smooth;
}

.tutor-empty-state[b-5ltezw33wv] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    text-align: center;
    padding: 2rem;
}

.tutor-msg[b-5ltezw33wv] { display: flex; }
.tutor-msg.tutor-msg--user[b-5ltezw33wv] { justify-content: flex-end; }
.tutor-msg.tutor-msg--assistant[b-5ltezw33wv] { justify-content: flex-start; }

.tutor-msg-bubble[b-5ltezw33wv] {
    max-width: 85%;
    padding: 0.6rem 0.9rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
}

.tutor-msg.tutor-msg--user .tutor-msg-bubble[b-5ltezw33wv] {
    background: #0d6efd;
    color: #fff;
    border-bottom-right-radius: 0.25rem;
    white-space: pre-wrap;
}

.tutor-msg.tutor-msg--assistant .tutor-msg-bubble[b-5ltezw33wv] {
    background: #f1f3f5;
    color: #212529;
    border-bottom-left-radius: 0.25rem;
}

.tutor-msg-bubble.tutor-typing[b-5ltezw33wv] {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f1f3f5;
    padding: 0.75rem 1rem;
    border-bottom-left-radius: 0.25rem;
}

.tutor-msg-bubble.tutor-typing span[b-5ltezw33wv] {
    width: 8px;
    height: 8px;
    background: #adb5bd;
    border-radius: 50%;
    animation: tutorBounce-b-5ltezw33wv 1.2s infinite;
    display: block;
}

.tutor-msg-bubble.tutor-typing span:nth-child(2)[b-5ltezw33wv] { animation-delay: 0.2s; }
.tutor-msg-bubble.tutor-typing span:nth-child(3)[b-5ltezw33wv] { animation-delay: 0.4s; }

@keyframes tutorBounce-b-5ltezw33wv {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

.tutor-input-area[b-5ltezw33wv] {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    flex-shrink: 0;
}

.tutor-textarea-wrapper[b-5ltezw33wv] {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tutor-textarea[b-5ltezw33wv] {
    flex: 1;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    line-height: 1.4;
}

.tutor-textarea:focus[b-5ltezw33wv] {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.tutor-char-counter[b-5ltezw33wv] {
    align-self: flex-end;
    font-size: 0.7rem;
    color: #adb5bd;
    margin-top: 2px;
    line-height: 1;
    user-select: none;
}

.tutor-char-counter--limit[b-5ltezw33wv] {
    color: #dc3545;
    font-weight: 600;
}

.tutor-send-btn[b-5ltezw33wv] {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tutor-quick-actions[b-5ltezw33wv] {
    display: flex;
    gap: 0.4rem;
    padding: 0.5rem 1rem 0;
    background: #f8f9fa;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.tutor-quick-btn[b-5ltezw33wv] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: #fff;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    flex-shrink: 0;
}

.tutor-quick-btn:hover:not(:disabled)[b-5ltezw33wv] {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.tutor-quick-btn:disabled[b-5ltezw33wv] { opacity: 0.45; cursor: not-allowed; }

.tutor-backdrop[b-5ltezw33wv] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1045;
    transition: background 0.3s ease;
}

.tutor-backdrop.tutor-backdrop--expanded[b-5ltezw33wv] {
    background: rgba(0, 0, 0, 0.55);
}

.tutor-divider[b-5ltezw33wv] {
    border: none;
    border-top: 1px solid #e9ecef;
    margin: 0.5rem 0;
    opacity: 1;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .cv-tree[b-5ltezw33wv] {
        width: 300px;
        min-width: 300px;
        max-width: 300px;
        flex: 0 0 300px;
    }
}

@media (max-width: 768px) {
    .cv-container[b-5ltezw33wv] {
        flex-direction: column !important;
        height: auto !important;
        min-height: calc(100vh - 60px);
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .cv-content[b-5ltezw33wv] {
        height: auto;
        flex: 0 0 auto;
        max-width: 100%;
        overflow-y: visible;
    }

    .cv-tree[b-5ltezw33wv] {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
        height: auto;
        min-height: 250px;
        max-height: 380px;
        border-left: none;
        border-top: 1px solid #dee2e6;
        overflow-y: auto;
    }

    .cv-tree.cv-tree--collapsed[b-5ltezw33wv] {
        height: 50px;
        min-height: 50px;
        max-height: 50px;
        flex: 0 0 50px !important;
    }

    .media-wrapper[b-5ltezw33wv] {
        height: clamp(200px, 40vh, 350px);
        min-height: 200px;
        max-height: 350px;
    }

    .pdfslides[b-5ltezw33wv] {
        height: clamp(250px, 45vh, 400px);
    }
}

@media (max-width: 576px) {
    .tutor-fab-label[b-5ltezw33wv] { display: none; }
    .tutor-fab[b-5ltezw33wv] {
        padding: 0;
        width: 3.25rem;
        height: 3.25rem;
        border-radius: 50%;
        justify-content: center;
        gap: 0;
    }
    .tutor-panel[b-5ltezw33wv] { width: 100vw; }

    /* En móvil el modo expandido siempre es pantalla completa */
    .tutor-panel.tutor-panel--expanded[b-5ltezw33wv] {
        top: 0;
        left: 0;
        right: 0;
        transform: none;
        width: 100vw;
        height: 100dvh;
        border-radius: 0;
    }

    /* Ocultar el botón expand en móvil (el panel ya ocupa todo) */
    .tutor-expand-btn[b-5ltezw33wv] { display: none; }
}

@media (min-width: 577px) and (max-width: 992px) {
    /* Tablet: expandido ocupa casi toda la pantalla */
    .tutor-panel.tutor-panel--expanded[b-5ltezw33wv] {
        width: min(680px, 92vw);
        height: min(88vh, 780px);
    }
}

/* ===== iOS Safari fix ===== */
@supports (-webkit-touch-callout: none) {
    .pdfslides[b-5ltezw33wv] {
        height: 55vh;
    }
}

/* ===== Scrollbar Styling ===== */
.cv-tree-body[b-5ltezw33wv]::-webkit-scrollbar,
.cv-content[b-5ltezw33wv]::-webkit-scrollbar {
    width: 6px;
}

.cv-tree-body[b-5ltezw33wv]::-webkit-scrollbar-track,
.cv-content[b-5ltezw33wv]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.cv-tree-body[b-5ltezw33wv]::-webkit-scrollbar-thumb,
.cv-content[b-5ltezw33wv]::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.cv-tree-body[b-5ltezw33wv]::-webkit-scrollbar-thumb:hover,
.cv-content[b-5ltezw33wv]::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}
/* /Pages/Private/User/OfflineCourse/MyCourses.razor.rz.scp.css */
.my-courses-container[b-giiwfdvqdk] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
}

.page-header[b-giiwfdvqdk] {
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Secciones ───────────────────────────────────────────── */
.course-type-section[b-giiwfdvqdk] {
    padding-left: 0.5rem;
}

.type-label[b-giiwfdvqdk] {
    font-size: 0.95rem;
}

/* ── Grid ────────────────────────────────────────────────── */
.courses-grid[b-giiwfdvqdk] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* ── Skeleton loader ─────────────────────────────────────── */
.skeleton-card[b-giiwfdvqdk] {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.skeleton-cover[b-giiwfdvqdk] {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: shimmer-b-giiwfdvqdk 1.4s infinite;
}

.skeleton-line[b-giiwfdvqdk] {
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: shimmer-b-giiwfdvqdk 1.4s infinite;
}

.skeleton-line.w-75[b-giiwfdvqdk] { width: 75%; }
.skeleton-line.w-50[b-giiwfdvqdk] { width: 50%; }
.skeleton-line.w-40[b-giiwfdvqdk] { width: 40%; }

.skeleton-btn[b-giiwfdvqdk] {
    height: 32px;
    border-radius: 6px;
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: shimmer-b-giiwfdvqdk 1.4s infinite;
}

@keyframes shimmer-b-giiwfdvqdk {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Estado vacío ────────────────────────────────────────── */
.empty-state[b-giiwfdvqdk] {
    background: #fff;
    border-radius: 12px;
    padding: 3rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .my-courses-container[b-giiwfdvqdk] {
        padding: 0 1rem 2rem;
    }

    .courses-grid[b-giiwfdvqdk] {
        grid-template-columns: 1fr;
    }
}
/* /Shared/BackLayout.razor.rz.scp.css */
.page[b-a6z71pyjue] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-a6z71pyjue] {
    flex: 1;
}

.sidebar[b-a6z71pyjue] {
    background: #6196F9 !important;
}

.top-row[b-a6z71pyjue] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-a6z71pyjue]  a, .top-row .btn-link[b-a6z71pyjue] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-a6z71pyjue] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-a6z71pyjue] {
        display: none;
    }

    .top-row.auth[b-a6z71pyjue] {
        justify-content: space-between;
    }

    .top-row a[b-a6z71pyjue], .top-row .btn-link[b-a6z71pyjue] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-a6z71pyjue] {
        flex-direction: row;
    }

    .sidebar[b-a6z71pyjue] {
        width: 210px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-a6z71pyjue] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-a6z71pyjue], article[b-a6z71pyjue] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-feh7bmpb34] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-feh7bmpb34] {
    height: 3.5rem;
    background-color: rgba(0,50,175,1);
}

.navbar-brand[b-feh7bmpb34] {
    font-size: 1.1rem;
}

.oi[b-feh7bmpb34] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-feh7bmpb34] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-feh7bmpb34] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-feh7bmpb34] {
        padding-bottom: 1rem;
    }

    .nav-item[b-feh7bmpb34]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-feh7bmpb34]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-feh7bmpb34]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-feh7bmpb34] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 3.5rem);
}

.nav-scrollable nav[b-feh7bmpb34] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.logout-item[b-feh7bmpb34] {
    margin-top: auto;
}

.btn-logout[b-feh7bmpb34] {
    background: none;
    border: none;
    color: #d7d7d7;
    border-radius: 4px;
    height: 3rem;
    display: flex;
    align-items: center;
    line-height: 3rem;
    width: 100%;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

.btn-logout:hover[b-feh7bmpb34] {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-feh7bmpb34] {
        display: none;
    }

    .collapse[b-feh7bmpb34] {
        /* Never collapse the sidebar for wide screens */
        display: block !important;
    }

    .nav-scrollable[b-feh7bmpb34] {
        display: block !important;
    }
}
