/* ============================================================
   OWL GENERAL TRAINING — STYLES
   ============================================================ */

:root {
    --owl-green:       #00AA44;
    --owl-dark-green:  #007733;
    --owl-black:       #111111;
    --owl-white:       #FFFFFF;
    --owl-gray:        #444444;
    --owl-border:      #333333;
    --owl-director:    #0073aa;
    --owl-director-bg: #001a2e;
}

/* ── Wrapper ─────────────────────────────────────────────── */
.owl-gt-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
    color: #ffffff;
}

/* ── Notices ─────────────────────────────────────────────── */
.owl-gt-notice {
    background: #1a1a1a;
    border: 1px solid var(--owl-border);
    border-radius: 6px;
    padding: 20px;
    color: #aaa;
    text-align: center;
}
.owl-gt-notice a { color: var(--owl-green); }

.owl-gt-locked-notice {
    border-color: #555;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.owl-gt-success {
    background: #0d2d1a;
    border: 1px solid var(--owl-green);
    color: var(--owl-green);
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.owl-gt-empty {
    color: #555;
    font-style: italic;
    padding: 20px 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.owl-gt-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--owl-border);
    background: transparent;
    color: #ccc;
    text-decoration: none;
    transition: all 0.2s;
    line-height: 1.4;
}
.owl-gt-btn:hover { border-color: var(--owl-green); color: var(--owl-green); }

.owl-gt-btn-primary {
    background: var(--owl-green);
    border-color: var(--owl-green);
    color: #000 !important;
}
.owl-gt-btn-primary:hover { background: var(--owl-dark-green); border-color: var(--owl-dark-green); color: #000 !important; }

.owl-gt-btn-done {
    background: #0d2d1a;
    border-color: var(--owl-green);
    color: var(--owl-green) !important;
}
.owl-gt-btn-done:hover { background: #0a2215; }

.owl-gt-btn-mark {
    border-color: #555;
    color: #aaa !important;
}
.owl-gt-btn-mark:hover { border-color: var(--owl-green); color: var(--owl-green) !important; }

.owl-gt-btn-view {
    border-color: #444;
    color: #ccc !important;
    font-size: 13px;
    padding: 6px 14px;
}
.owl-gt-btn-view:hover { border-color: var(--owl-green); color: var(--owl-green) !important; }

.owl-gt-btn-sm { padding: 5px 12px; font-size: 12px; }

.owl-gt-btn-lg { padding: 14px 32px; font-size: 15px; width: 100%; justify-content: center; }

.owl-gt-btn-danger { border-color: #aa0000; color: #ff6666 !important; }
.owl-gt-btn-danger:hover { background: #2d0d0d; }

.owl-gt-btn-add-lesson {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
    padding: 12px;
    border-style: dashed;
}

/* ── Badges ──────────────────────────────────────────────── */
.owl-gt-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.owl-gt-badge-owl      { background: #0d2d1a; color: var(--owl-green); border: 1px solid #1a5a2a; }
.owl-gt-badge-director { background: var(--owl-director-bg); color: #4fc3f7; border: 1px solid #1a4a7a; }
.owl-gt-badge-tier     { background: #2a1a00; color: #ffa000; border: 1px solid #4a3000; }
.owl-gt-badge-video    { background: #1a0a2a; color: #9b59b6; border: 1px solid #3a1a5a; }

/* ── Library Header ──────────────────────────────────────── */
.owl-gt-library-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.owl-gt-library-title h2 {
    margin: 0 0 4px;
    color: #ffffff !important;
    font-size: 1.6rem;
}
.owl-gt-library-sub { color: #888; margin: 0; font-size: 14px; }

.owl-gt-library-progress { min-width: 220px; }

.owl-gt-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}
.owl-gt-pct { color: var(--owl-green); font-weight: 700; }

.owl-gt-progress-bar-wrap {
    background: #222;
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
}
.owl-gt-progress-bar {
    background: var(--owl-green);
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* ── Lesson List ─────────────────────────────────────────── */
.owl-gt-lesson-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.owl-gt-lesson-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 14px 16px;
    transition: border-color 0.2s, background 0.2s;
}
.owl-gt-lesson-row:hover { border-color: #3a3a3a; background: #1e1e1e; }
.owl-gt-lesson-row.owl-gt-lesson-done { border-left: 3px solid var(--owl-green); }
.owl-gt-lesson-row.owl-gt-lesson-locked { opacity: 0.7; }
.owl-gt-lesson-row.owl-gt-lesson-director { border-left: 3px solid #4fc3f7; }

.owl-gt-lesson-status {
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    font-size: 18px;
}
.owl-gt-open-icon { color: #444; font-size: 20px; line-height: 1; }
.owl-gt-lock-icon { font-size: 16px; }

.owl-gt-lesson-main { flex: 1; min-width: 0; }

.owl-gt-lesson-title {
    display: block;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    margin-bottom: 6px;
    transition: color 0.2s;
}
.owl-gt-lesson-title:hover { color: var(--owl-green) !important; }
.owl-gt-title-locked { color: #777 !important; cursor: default; }

.owl-gt-lesson-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.owl-gt-lesson-excerpt {
    color: #888;
    font-size: 12px;
    margin-left: 4px;
}

.owl-gt-lesson-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.owl-gt-upgrade-prompt { font-size: 12px; color: #888; }
.owl-gt-upgrade-prompt a { color: var(--owl-green); text-decoration: none; }

/* ── Director Divider ────────────────────────────────────── */
.owl-gt-director-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0 12px;
}
.owl-gt-director-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #1a4a7a, transparent);
}
.owl-gt-director-divider-label {
    color: #4fc3f7;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    background: #001a2e;
    border: 1px solid #1a4a7a;
    border-radius: 20px;
    padding: 4px 14px;
}

/* ── Lesson View ─────────────────────────────────────────── */
.owl-gt-lesson-wrap { padding-bottom: 40px; }

.owl-gt-lesson-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}
.owl-gt-back-link {
    color: #888 !important;
    font-size: 14px;
    text-decoration: none !important;
    transition: color 0.2s;
}
.owl-gt-back-link:hover { color: var(--owl-green) !important; }

.owl-gt-lesson-complete-badge {
    background: #0d2d1a;
    border: 1px solid var(--owl-green);
    color: var(--owl-green);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}

.owl-gt-lesson-header { margin-bottom: 24px; }
.owl-gt-lesson-badges { margin-bottom: 10px; }
.owl-gt-lesson-title-heading {
    color: #ffffff !important;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

/* ── Video ───────────────────────────────────────────────── */
.owl-gt-video-wrap {
    margin-bottom: 28px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}
.owl-gt-video {
    width: 100%;
    display: block;
    max-height: 480px;
}
.owl-gt-video-embed-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.owl-gt-video-embed-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Lesson Content ──────────────────────────────────────── */
.owl-gt-lesson-content {
    background: #1a1a1a;
    border: 1px solid var(--owl-border);
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 28px;
    color: #ddd;
    line-height: 1.8;
    font-size: 15px;
}
.owl-gt-lesson-content h1,
.owl-gt-lesson-content h2,
.owl-gt-lesson-content h3,
.owl-gt-lesson-content h4 { color: #ffffff !important; }
.owl-gt-lesson-content a { color: var(--owl-green); }
.owl-gt-lesson-content img { max-width: 100%; border-radius: 4px; }
.owl-gt-lesson-content ul, .owl-gt-lesson-content ol { padding-left: 24px; }
.owl-gt-lesson-content li { margin-bottom: 6px; }
.owl-gt-lesson-content blockquote {
    border-left: 3px solid var(--owl-green);
    padding-left: 16px;
    color: #aaa;
    margin: 16px 0;
}

/* ── Complete Section ────────────────────────────────────── */
.owl-gt-complete-section {
    margin-bottom: 32px;
    text-align: center;
}
.owl-gt-complete-section .owl-gt-btn-lg { max-width: 400px; margin: 0 auto; }

/* ── Comments ────────────────────────────────────────────── */
.owl-gt-comments {
    background: #1a1a1a;
    border: 1px solid var(--owl-border);
    border-radius: 8px;
    padding: 24px;
    margin-top: 28px;
}

.owl-gt-comments-title {
    color: var(--owl-green) !important;
    margin: 0 0 20px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--owl-border);
}
.owl-gt-comment-count {
    background: var(--owl-green);
    color: #000;
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 12px;
    font-weight: 700;
}

.owl-gt-comment-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }

.owl-gt-comment {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 14px 16px;
}

.owl-gt-comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.owl-gt-comment-avatar { border-radius: 50%; flex-shrink: 0; }
.owl-gt-comment-info { flex: 1; }
.owl-gt-comment-author { color: #fff; font-weight: 600; font-size: 14px; display: block; }
.owl-gt-comment-time { color: #666; font-size: 12px; }

.owl-gt-delete-comment {
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
    margin-left: auto;
    flex-shrink: 0;
}
.owl-gt-delete-comment:hover { background: #2d0d0d; color: #ff6666; }

.owl-gt-comment-body {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
}

.owl-gt-no-comments { color: #555; font-style: italic; font-size: 14px; margin-bottom: 20px; }

.owl-gt-comment-form { margin-top: 20px; }

.owl-gt-comment-input {
    width: 100%;
    background: #0d0d0d;
    border: 1px solid var(--owl-border);
    border-radius: 6px;
    color: #fff;
    padding: 12px 14px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s;
}
.owl-gt-comment-input:focus { outline: none; border-color: var(--owl-green); }

.owl-gt-comment-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}
.owl-gt-char-count { color: #555; font-size: 12px; }

.owl-gt-submit-comment { padding: 8px 20px; }

.owl-gt-comment-locked {
    color: #555;
    font-style: italic;
    font-size: 14px;
    margin-top: 16px;
    text-align: center;
    padding: 12px;
    border: 1px dashed #333;
    border-radius: 6px;
}

/* ── Director Manager ────────────────────────────────────── */
.owl-gt-manager-wrap { max-width: 960px; }

.owl-gt-manager-header {
    margin-bottom: 28px;
}
.owl-gt-manager-header h2 {
    color: #ffffff !important;
    margin: 0 0 6px;
    font-size: 1.6rem;
}
.owl-gt-manager-sub { color: #888; margin: 0; }

.owl-gt-manager-section {
    background: #1a1a1a;
    border: 1px solid var(--owl-border);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.owl-gt-manager-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--owl-border);
    flex-wrap: wrap;
    gap: 12px;
}
.owl-gt-manager-section-header h3 {
    color: var(--owl-green) !important;
    margin: 0;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.owl-gt-manager-section-header p {
    color: #888;
    font-size: 13px;
    margin: 4px 0 0;
}

/* Slots info */
.owl-gt-slots-info {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 14px;
    color: #888;
    background: #111;
    border: 1px solid var(--owl-border);
    border-radius: 20px;
    padding: 4px 12px;
}
.owl-gt-slots-used { color: var(--owl-green); font-weight: 700; font-size: 16px; }
.owl-gt-slots-sep { color: #555; }
.owl-gt-slots-limit { color: #aaa; }
.owl-gt-slots-full { color: #888; font-style: italic; font-size: 14px; margin-top: 12px; }

/* Visibility list rows */
.owl-gt-visibility-list { display: flex; flex-direction: column; gap: 2px; }

.owl-gt-vis-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #111;
    border: 1px solid #222;
    border-radius: 5px;
    padding: 10px 14px;
    transition: border-color 0.2s;
}
.owl-gt-vis-row:hover { border-color: #3a3a3a; }
.owl-gt-vis-row.owl-gt-vis-required { border-left: 3px solid #c0392b; opacity: 0.9; }
.owl-gt-vis-row.owl-gt-vis-hidden { opacity: 0.5; }

.owl-gt-vis-drag { flex-shrink: 0; width: 24px; text-align: center; }
.owl-gt-drag-handle { color: #444; font-size: 16px; cursor: grab; }
.owl-gt-drag-handle:active { cursor: grabbing; }
.owl-gt-vis-row.sortable-ghost { opacity: 0.4; background: #0d2d1a; }
.owl-gt-vis-row.owl-gt-vis-required .owl-gt-drag-handle { cursor: not-allowed; }

.owl-gt-vis-title { flex: 1; color: #ccc; font-size: 14px; }
.owl-gt-vis-meta { flex-shrink: 0; }

.owl-gt-vis-toggle { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.owl-gt-toggle-fixed { color: #666; font-size: 12px; font-style: italic; }
.owl-gt-toggle-label { font-size: 12px; color: #888; min-width: 50px; }

/* Toggle switch */
.owl-gt-toggle-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
    flex-shrink: 0;
}
.owl-gt-toggle-switch input { opacity: 0; width: 0; height: 0; }
.owl-gt-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #333;
    border-radius: 22px;
    transition: 0.2s;
}
.owl-gt-toggle-slider:before {
    content: '';
    position: absolute;
    height: 16px; width: 16px;
    left: 3px; bottom: 3px;
    background: #777;
    border-radius: 50%;
    transition: 0.2s;
}
.owl-gt-toggle-switch input:checked + .owl-gt-toggle-slider { background: #0d2d1a; }
.owl-gt-toggle-switch input:checked + .owl-gt-toggle-slider:before {
    transform: translateX(20px);
    background: var(--owl-green);
}

/* Director lesson list rows */
.owl-gt-dir-lessons-list { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }

.owl-gt-dir-lesson-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--owl-director-bg);
    border: 1px solid #1a4a7a;
    border-radius: 5px;
    padding: 12px 14px;
}
.owl-gt-dir-lesson-row:hover { border-color: #2a6a9a; }
.owl-gt-dir-lesson-row.sortable-ghost { opacity: 0.4; }

.owl-gt-dir-lesson-info { flex: 1; min-width: 0; }
.owl-gt-dir-lesson-info strong { color: #fff; font-size: 14px; display: block; }
.owl-gt-dir-excerpt { color: #888; font-size: 12px; display: block; margin-top: 3px; }

.owl-gt-dir-lesson-btns { display: flex; gap: 6px; flex-shrink: 0; }

/* ── Add/Edit Form ───────────────────────────────────────── */
.owl-gt-add-form-section {
    border: 1px solid #1a4a7a;
    background: var(--owl-director-bg);
}
.owl-gt-add-form-section .owl-gt-manager-section-header h3 { color: #4fc3f7 !important; }

.owl-gt-director-form { display: flex; flex-direction: column; gap: 18px; }

.owl-gt-form-group { display: flex; flex-direction: column; gap: 6px; }
.owl-gt-form-group label { color: #ccc; font-size: 14px; font-weight: 600; }
.owl-gt-label-hint { color: #666; font-weight: 400; font-size: 12px; }

.owl-gt-director-form input[type="text"],
.owl-gt-director-form input[type="url"],
.owl-gt-director-form textarea {
    background: #0d1a2a;
    border: 1px solid #2a4a6a;
    border-radius: 5px;
    color: #fff;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
    width: 100%;
}
.owl-gt-director-form input:focus,
.owl-gt-director-form textarea:focus { outline: none; border-color: #4fc3f7; }

.owl-gt-richtext {
    min-height: 200px;
    resize: vertical;
}

.owl-gt-hint { color: #666; font-size: 12px; margin: 4px 0 0; }

.owl-gt-video-options {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.owl-gt-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
}

.owl-gt-video-input { margin-top: 4px; }

.owl-gt-form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid #1a4a7a;
}

/* ── TinyMCE dark theme override ─────────────────────────── */
.owl-gt-manager-wrap .mce-container,
.owl-gt-manager-wrap .mce-tinymce {
    border-color: #2a4a6a !important;
}
.owl-gt-manager-wrap .mce-toolbar-grp { background: #0d1a2a !important; }
.owl-gt-manager-wrap .mce-edit-area { background: #0a1520 !important; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .owl-gt-library-header { flex-direction: column; align-items: flex-start; }
    .owl-gt-lesson-row { flex-wrap: wrap; }
    .owl-gt-lesson-actions { width: 100%; justify-content: flex-end; margin-top: 6px; }
    .owl-gt-lesson-title-heading { font-size: 1.4rem; }
    .owl-gt-manager-section-header { flex-direction: column; align-items: flex-start; }
    .owl-gt-video-options { flex-direction: column; gap: 10px; }
    .owl-gt-form-actions { flex-direction: column; }
    .owl-gt-btn-lg { max-width: 100%; }
    .owl-gt-vis-row { flex-wrap: wrap; }
}

/* ============================================================
   v1.0.2 ADDITIONS
   ============================================================ */

/* ── Search Bar ──────────────────────────────────────────── */
.owl-gt-search-wrap {
    margin-bottom: 20px;
}
.owl-gt-search-inner {
    display: flex;
    align-items: center;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0 14px;
    gap: 10px;
    transition: border-color 0.2s;
}
.owl-gt-search-inner:focus-within { border-color: var(--owl-green); }
.owl-gt-search-icon { color: #555; font-size: 16px; flex-shrink: 0; }
.owl-gt-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
    padding: 12px 0;
    font-family: inherit;
}
.owl-gt-search-input::placeholder { color: #555; }
.owl-gt-search-clear {
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 6px;
    border-radius: 4px;
    flex-shrink: 0;
    transition: color 0.2s;
}
.owl-gt-search-clear:hover { color: #fff; }
.owl-gt-search-no-results {
    color: #666;
    font-style: italic;
    font-size: 14px;
    padding: 16px 0 0;
    text-align: center;
}

/* ── Modules badge ───────────────────────────────────────── */
.owl-gt-badge-modules { background: #1a1a2e; color: #7c9cbf; border: 1px solid #2a3a5a; }

/* ── Accordion ───────────────────────────────────────────── */
.owl-gt-accordion {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 28px;
}

.owl-gt-accordion-item {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.owl-gt-accordion-item.owl-gt-accordion-open {
    border-color: #3a3a3a;
}

.owl-gt-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.15s;
    font-family: inherit;
}
.owl-gt-accordion-trigger:hover { background: #222; }
.owl-gt-accordion-item.owl-gt-accordion-open .owl-gt-accordion-trigger {
    background: #1e2e1e;
    border-bottom: 1px solid #2a2a2a;
}

.owl-gt-accordion-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #333;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    color: #aaa;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.owl-gt-accordion-item.owl-gt-accordion-open .owl-gt-accordion-num {
    background: var(--owl-green);
    color: #000;
}

.owl-gt-accordion-title { flex: 1; }

.owl-gt-accordion-video-dot {
    color: #9b59b6;
    font-size: 11px;
    opacity: 0.8;
}

.owl-gt-accordion-chevron {
    color: #555;
    font-size: 12px;
    flex-shrink: 0;
    transition: color 0.2s;
}
.owl-gt-accordion-item.owl-gt-accordion-open .owl-gt-accordion-chevron { color: var(--owl-green); }

.owl-gt-accordion-body {
    padding: 24px 24px 28px;
}
.owl-gt-accordion-body .owl-gt-video-wrap { margin-bottom: 20px; }
.owl-gt-accordion-body .owl-gt-lesson-content { margin-bottom: 0; }

/* ── contenteditable comment box ─────────────────────────── */
.owl-gt-comment-input[contenteditable] {
    min-height: 80px;
    padding: 12px 14px;
    background: #0d0d0d;
    border: 1px solid var(--owl-border);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.5;
    outline: none;
    word-break: break-word;
    transition: border-color 0.2s;
    cursor: text;
    width: 100%;
    box-sizing: border-box;
}
.owl-gt-comment-input[contenteditable]:focus { border-color: var(--owl-green); }
.owl-gt-comment-input[contenteditable]:empty:before {
    content: attr(data-placeholder);
    color: #555;
    pointer-events: none;
    display: block;
}

/* ── Pagination ───────────────────────────────────────────── */
.owl-gt-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 0 8px;
    flex-wrap: wrap;
}
.owl-gt-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 5px;
    color: #aaa !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}
.owl-gt-page-btn:hover { border-color: var(--owl-green); color: var(--owl-green) !important; }
.owl-gt-page-current {
    background: var(--owl-green);
    border-color: var(--owl-green);
    color: #000 !important;
}
.owl-gt-page-current:hover { color: #000 !important; }

/* ── Director tier select ─────────────────────────────────── */
.owl-gt-tier-select {
    background: #0d1a2a;
    border: 1px solid #2a4a6a;
    border-radius: 5px;
    color: #fff;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
    width: 100%;
    cursor: pointer;
}
.owl-gt-tier-select:focus { outline: none; border-color: #4fc3f7; }

/* ── Quill Editor — Director content ─────────────────────── */
.owl-gt-quill-container {
    background: #0d1a2a;
    border: 1px solid #2a4a6a;
    border-radius: 0 0 5px 5px;
    color: #fff;
    min-height: 200px;
}
.owl-gt-quill-container .ql-editor {
    min-height: 200px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.6;
}
.owl-gt-quill-container .ql-editor.ql-blank::before {
    color: #556;
    font-style: italic;
}
/* Quill toolbar dark */
.ql-toolbar.ql-snow {
    background: #0d1a2a !important;
    border: 1px solid #2a4a6a !important;
    border-bottom: 1px solid #1a3a5a !important;
    border-radius: 5px 5px 0 0;
}
.ql-toolbar.ql-snow .ql-stroke { stroke: #aaa !important; }
.ql-toolbar.ql-snow .ql-fill  { fill:   #aaa !important; }
.ql-toolbar.ql-snow .ql-picker-label { color: #aaa !important; }
.ql-toolbar.ql-snow button:hover .ql-stroke,
.ql-toolbar.ql-snow .ql-active .ql-stroke { stroke: #4fc3f7 !important; }
.ql-toolbar.ql-snow button:hover .ql-fill,
.ql-toolbar.ql-snow .ql-active .ql-fill   { fill:   #4fc3f7 !important; }
.ql-container.ql-snow { border: none !important; }
.ql-picker-options { background: #0d1a2a !important; border-color: #2a4a6a !important; }
.ql-picker-item     { color: #aaa !important; }
.ql-picker-item:hover { color: #4fc3f7 !important; }

/* ── Director lesson tier badge in manager list ──────────── */
.owl-gt-dir-lesson-tier-badge {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex-shrink: 0;
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
}
.owl-gt-badge-tier-free     { background: #1a2a1a; color: #7acc7a; border: 1px solid #2a4a2a; }
.owl-gt-badge-tier-pro      { background: #2a1a00; color: #ffa000; border: 1px solid #4a3000; }
.owl-gt-badge-tier-director { background: #1a001a; color: #cc88ff; border: 1px solid #3a1a3a; }

/* ── Cross-list (90 Day) badge ───────────────────────────── */
.owl-gt-badge-crosslist {
    background: #1a1400;
    color: #f0c040;
    border: 1px solid #3a3000;
}

/* ── Cross-listed row in combined OWL list ───────────────── */
.owl-gt-vis-crosslist {
    border-left: 3px solid #3a3000 !important;
    background: #1a1500 !important;
}
.owl-gt-vis-crosslist:hover {
    border-left-color: #7a6000 !important;
    background: #1e1800 !important;
}
