/* ============================================================
   OWL 90 DAY TRAINING — STYLES
   ============================================================ */

/* ── Wrapper ─────────────────────────────────────────────── */
.owl-training-wrap {
    padding: 10px 0 40px;
    color: #cccccc;
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.owl-training-breadcrumb {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 24px;
}

.owl-training-breadcrumb a {
    color: var(--owl-green, #00AA44);
    text-decoration: none;
}

.owl-training-breadcrumb a:hover {
    text-decoration: underline;
}

/* ── Training Header ─────────────────────────────────────── */
.owl-training-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 28px 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.owl-training-header h2 {
    color: #ffffff !important;
    margin: 0 0 6px;
    font-size: 1.6rem;
}

.owl-training-sub {
    color: #999;
    margin: 0;
    font-size: 0.95rem;
}

.owl-training-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    min-width: 260px;
}

.owl-training-overall-progress {
    width: 100%;
}

.owl-training-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #aaa;
    margin-bottom: 6px;
}

.owl-training-pct {
    color: var(--owl-green, #00AA44);
    font-weight: 700;
}

.owl-training-progress-bar-wrap {
    background: #333;
    border-radius: 4px;
    height: 8px;
    overflow: hidden;
    width: 100%;
}

.owl-training-progress-bar {
    background: var(--owl-green, #00AA44);
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

/* ── Continue Button ─────────────────────────────────────── */
.owl-training-continue-btn {
    display: inline-block;
    background: var(--owl-green, #00AA44);
    color: #000 !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.owl-training-continue-btn:hover {
    background: #00e865;
    transform: translateY(-1px);
    color: #000 !important;
}

/* ── Phase Cards ─────────────────────────────────────────── */
.owl-training-phases {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.owl-phase-card {
    display: grid;
    grid-template-columns: 60px 1fr auto 30px;
    align-items: center;
    gap: 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-left: 4px solid var(--phase-color, #00AA44);
    border-radius: 8px;
    padding: 22px 24px;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.1s;
    color: #ffffff;
}

.owl-phase-card:hover {
    background: #222;
    transform: translateX(3px);
    color: #ffffff;
    text-decoration: none !important;
}

.owl-phase-card.owl-phase-complete {
    border-left-color: #00AA44;
    opacity: 0.85;
}

.owl-phase-icon {
    font-size: 2rem;
    text-align: center;
}

.owl-phase-name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.owl-phase-subtitle {
    color: #e8e8e8;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.owl-phase-days {
    color: #888;
    font-size: 0.82rem;
    margin-bottom: 5px;
}

.owl-phase-desc {
    color: #aaa;
    font-size: 0.88rem;
    line-height: 1.5;
}

.owl-phase-progress {
    min-width: 160px;
    text-align: right;
}

.owl-phase-progress-label {
    font-size: 0.82rem;
    color: #aaa;
    margin-bottom: 6px;
}

.owl-phase-progress-bar-wrap {
    background: #333;
    border-radius: 3px;
    height: 6px;
    overflow: hidden;
}

.owl-phase-progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.owl-phase-arrow {
    color: #555;
    font-size: 1.2rem;
    transition: color 0.2s;
}

.owl-phase-card:hover .owl-phase-arrow {
    color: var(--phase-color, #00AA44);
}

/* ── Phase Header (phase detail view) ───────────────────── */
.owl-phase-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 28px;
}

.owl-phase-header-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.owl-phase-header h2 {
    color: #ffffff !important;
    margin: 0 0 4px;
    font-size: 1.5rem;
}

.owl-phase-header p {
    color: #888;
    margin: 0 0 4px;
    font-size: 0.9rem;
}

.owl-phase-header-subtitle {
    color: #f4f4f4;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 6px;
}

.owl-phase-header-desc {
    color: #aaa !important;
    font-size: 0.9rem !important;
}

/* ── Lesson List (phase view) ────────────────────────────── */
.owl-lesson-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.owl-lesson-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px 20px;
    transition: background 0.2s;
}

.owl-lesson-row.owl-lesson-complete {
    opacity: 0.75;
}

.owl-lesson-row.owl-lesson-unlocked:hover {
    background: #222;
}

.owl-lesson-row.owl-lesson-locked {
    opacity: 0.5;
}

.owl-lesson-day-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.owl-lesson-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.owl-lesson-title a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.owl-lesson-title a:hover {
    color: var(--owl-green, #00AA44) !important;
}

.owl-lesson-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.owl-lesson-tag {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.owl-tag-video   { background: #1a2a3a; color: #66aaff; }
.owl-tag-tasks   { background: #1a2a1a; color: #66cc66; }
.owl-tag-complete { background: #0d2d1a; color: #00AA44; }

.owl-lesson-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s;
    white-space: nowrap;
}

.owl-btn-start {
    background: var(--owl-green, #00AA44);
    color: #000 !important;
}

.owl-btn-start:hover {
    background: #00e865;
    color: #000 !important;
}

.owl-btn-review {
    background: transparent;
    border: 1px solid #555;
    color: #aaa !important;
}

.owl-btn-review:hover {
    border-color: var(--owl-green, #00AA44);
    color: var(--owl-green, #00AA44) !important;
}

.owl-lesson-locked-icon {
    font-size: 1.2rem;
    opacity: 0.4;
}

/* ── Locked Notice ───────────────────────────────────────── */
.owl-lesson-locked-notice {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 48px 32px;
    text-align: center;
    max-width: 500px;
    margin: 40px auto;
}

.owl-locked-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.owl-lesson-locked-notice h3 {
    color: #ffffff !important;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.owl-lesson-locked-notice p {
    color: #aaa;
    margin-bottom: 8px;
}

/* ── Lesson View ─────────────────────────────────────────── */
.owl-lesson-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 22px 26px;
    margin-bottom: 28px;
}

.owl-lesson-day-num {
    padding: 8px 16px;
    border-radius: 6px;
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
    white-space: nowrap;
    align-self: flex-start;
    margin-top: 4px;
}

.owl-lesson-title-block h1 {
    color: #ffffff !important;
    font-size: 1.6rem;
    margin: 0 0 8px;
}

.owl-complete-badge {
    display: inline-block;
    background: #0d2d1a;
    color: #00AA44;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid #00AA44;
}

/* ── Video Player ────────────────────────────────────────── */
.owl-lesson-video {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.owl-video-player {
    width: 100%;
    max-height: 520px;
    display: block;
}

/* oEmbed (YouTube/Vimeo) responsive wrapper */
.owl-lesson-video .wp-block-embed__wrapper,
.owl-lesson-video iframe {
    width: 100% !important;
    aspect-ratio: 16/9;
    display: block;
    border: none;
}

/* ── Lesson Content ──────────────────────────────────────── */
.owl-lesson-content {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 28px;
    color: #ddd;
    line-height: 1.8;
    font-size: 1rem;
}

.owl-lesson-content h2,
.owl-lesson-content h3,
.owl-lesson-content h4 {
    color: #ffffff !important;
}

.owl-lesson-content a {
    color: var(--owl-green, #00AA44);
}

.owl-lesson-content ul,
.owl-lesson-content ol {
    padding-left: 24px;
}

.owl-lesson-content li {
    margin-bottom: 6px;
}

/* ── Tasks Section ───────────────────────────────────────── */
.owl-lesson-tasks-section {
    background: #1a2a1a;
    border: 1px solid #2a4a2a;
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 24px;
}

.owl-lesson-tasks-section h3 {
    color: #ffffff !important;
    margin: 0 0 6px;
    font-size: 1.1rem;
}

.owl-tasks-intro {
    color: #888;
    font-size: 0.88rem;
    margin-bottom: 16px;
}

.owl-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.owl-task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    cursor: default;
    transition: all 0.2s;
}

.owl-task-item:hover {
    border-color: #00AA44;
    background: #0d1a0d;
}

.owl-task-item.owl-task-checked {
    border-color: #00AA44;
    background: #0d2d1a;
    opacity: 0.85;
}

.owl-task-item input[type="checkbox"] {
    display: none;
}

.owl-task-check-icon {
    cursor: pointer;
    width: 22px;
    height: 22px;
    border: 2px solid #555;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: transparent;
}

.owl-task-item.owl-task-checked .owl-task-check-icon {
    background: var(--owl-green, #00AA44);
    border-color: var(--owl-green, #00AA44);
}

.owl-task-item.owl-task-checked .owl-task-check-icon::after {
    content: '✓';
    color: #000;
    font-size: 0.85rem;
    font-weight: 900;
    line-height: 1;
}

.owl-task-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.4;
    flex: 1;
}

.owl-task-item.owl-task-checked .owl-task-text {
    text-decoration: line-through;
    color: #666;
}

/* ── Mark Complete Section ───────────────────────────────── */
.owl-lesson-complete-section {
    text-align: center;
    padding: 28px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    margin-bottom: 28px;
}

.owl-mark-complete-btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.owl-mark-complete-btn.owl-btn-ready {
    background: var(--owl-green, #00AA44);
    color: #000;
}

.owl-mark-complete-btn.owl-btn-ready:hover {
    background: #00e865;
    transform: translateY(-2px);
}

.owl-mark-complete-btn.owl-btn-waiting {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

.owl-complete-hint {
    color: #666;
    font-size: 0.85rem;
    margin: 10px 0 0;
}

.owl-already-complete p {
    color: #00AA44;
    font-size: 1rem;
    margin-bottom: 16px;
}

/* Completion animation */
.owl-complete-flash {
    animation: owl-flash 0.5s ease;
}

@keyframes owl-flash {
    0%   { opacity: 1; }
    50%  { opacity: 0.5; background: #0d4a2a; }
    100% { opacity: 1; }
}

/* ── Lesson Navigation ───────────────────────────────────── */
.owl-lesson-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.owl-lesson-nav-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid #333;
    color: #aaa !important;
    background: #1a1a1a;
    transition: all 0.2s;
}

.owl-lesson-nav-btn:hover {
    border-color: var(--owl-green, #00AA44);
    color: var(--owl-green, #00AA44) !important;
    background: #0d1a0d;
}

.owl-nav-locked {
    opacity: 0.4;
    cursor: default;
}

.owl-nav-overview {
    background: transparent;
    border-color: #444;
}

/* ── Upgrade / Access Notices ────────────────────────────── */
.owl-training-upgrade-notice {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 48px 32px;
    text-align: center;
    max-width: 540px;
    margin: 40px auto;
}

.owl-upgrade-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.owl-training-upgrade-notice h3 {
    color: #ffffff !important;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.owl-training-upgrade-notice p {
    color: #aaa;
    margin-bottom: 10px;
    line-height: 1.6;
}

.owl-training-notice {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    color: #888;
}

.owl-training-notice a {
    color: var(--owl-green, #00AA44);
}

.owl-training-empty {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    color: #666;
}

/* ── Dashboard Stat Box ──────────────────────────────────── */
.owl-training-stat-link {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.owl-training-stat-title {
    color: #aaa;
    font-size: 0.8rem;
    margin: 2px 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.owl-training-stat-bar-wrap {
    background: #333;
    border-radius: 3px;
    height: 5px;
    overflow: hidden;
    margin: 6px 0;
}

.owl-training-stat-bar {
    background: var(--owl-green, #00AA44);
    height: 100%;
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .owl-training-header {
        flex-direction: column;
        padding: 20px;
    }

    .owl-training-header-right {
        align-items: flex-start;
        min-width: 0;
        width: 100%;
    }

    .owl-phase-card {
        grid-template-columns: 48px 1fr 24px;
        gap: 12px;
    }

    .owl-phase-progress {
        display: none;
    }

    .owl-lesson-row {
        grid-template-columns: 44px 1fr;
        gap: 12px;
    }

    .owl-lesson-action {
        grid-column: 1 / -1;
    }

    .owl-lesson-header {
        flex-direction: column;
        gap: 12px;
        padding: 18px 20px;
    }

    .owl-lesson-content {
        padding: 20px;
    }

    .owl-lesson-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .owl-mark-complete-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/* ============================================================
   PHASE 1 — START HERE SPECIAL TREATMENT
   ============================================================ */

.owl-phase-first {
    position: relative;
    padding: 28px 24px 28px 24px !important;
    border: 2px solid #ffd700 !important;
    border-left: 6px solid #ffd700 !important;
    background: linear-gradient(135deg, #1a1800 0%, #1a1a1a 60%) !important;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15);
    /* Larger feel */
    transform: none;
    margin-bottom: 6px;
}

.owl-phase-first:hover {
    background: linear-gradient(135deg, #222200 0%, #222 60%) !important;
    transform: translateX(3px);
    box-shadow: 0 6px 28px rgba(255, 215, 0, 0.25);
}

.owl-phase-first .owl-phase-name {
    font-size: 1.25rem !important;
    color: #ffd700 !important;
}

.owl-phase-first .owl-phase-icon {
    font-size: 2.6rem !important;
}

.owl-phase-first .owl-phase-arrow {
    color: #ffd700;
}

/* Start Here badge */
.owl-phase-first-badge {
    position: absolute;
    top: -13px;
    left: 24px;
    background: #ffd700;
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.owl-phase-first .owl-phase-progress-bar {
    background: #ffd700 !important;
}

/* ============================================================
   ESSENTIAL LESSONS — amber row highlight
   ============================================================ */

.owl-lesson-row.owl-lesson-essential {
    background: #1f1500 !important;
    border-color: #cc6600 !important;
    border-left: 3px solid #ff8800 !important;
}

.owl-lesson-row.owl-lesson-essential:hover {
    background: #2a1c00 !important;
}

.owl-lesson-row.owl-lesson-essential .owl-lesson-title a {
    color: #ffcc88 !important;
}

.owl-lesson-row.owl-lesson-essential .owl-lesson-title a:hover {
    color: #ff8800 !important;
}

.owl-tag-essential {
    background: #2a1000;
    color: #ff8800;
    border: 1px solid #cc4400;
}

/* Critical lesson — keep completed state readable */
.owl-lesson-row.owl-lesson-essential.owl-lesson-complete {
    background: #141000 !important;
    opacity: 0.7;
}

/* ============================================================
   COMPLETED LESSONS SECTION
   ============================================================ */

.owl-completed-section {
    margin-top: 28px;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

.owl-completed-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 16px 22px;
    background: #1a1a1a;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
    color: #ffffff;
}

.owl-completed-toggle:hover {
    background: #222;
}

.owl-completed-toggle-icon {
    font-size: 1.1rem;
}

.owl-completed-toggle-label {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    flex: 1;
}

.owl-completed-count {
    background: var(--owl-green, #00AA44);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 20px;
    min-width: 24px;
    text-align: center;
}

.owl-completed-chevron {
    color: #666;
    font-size: 0.8rem;
    transition: transform 0.2s;
}

/* Body */
.owl-completed-body {
    background: #111;
    border-top: 1px solid #333;
    padding: 20px 22px;
}

/* Phase group */
.owl-completed-phase-group {
    margin-bottom: 20px;
}

.owl-completed-phase-group:last-child {
    margin-bottom: 0;
}

.owl-completed-phase-label {
    color: #aaa;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 0 4px 10px;
    margin-bottom: 10px;
}

/* Lesson links */
.owl-completed-lessons {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.owl-completed-lesson-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background 0.2s, border-color 0.2s;
    color: #ccc !important;
}

.owl-completed-lesson-link:hover {
    background: #222;
    border-color: #444;
    color: #fff !important;
    text-decoration: none !important;
}

.owl-completed-day-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: #000;
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.owl-completed-lesson-title {
    flex: 1;
    font-size: 0.9rem;
    color: #ccc;
}

.owl-completed-lesson-link:hover .owl-completed-lesson-title {
    color: #fff;
}

.owl-completed-review {
    font-size: 0.78rem;
    color: var(--owl-green, #00AA44);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
}

.owl-completed-lesson-link:hover .owl-completed-review {
    opacity: 1;
}

@media (max-width: 768px) {
    .owl-completed-review {
        display: none;
    }
}

/* ============================================================
   LESSON 4-CARD LAYOUT
   ============================================================ */

/* Base card */
.owl-lesson-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px 28px;
    margin-bottom: 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* Card label */
.owl-card-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555;
    margin-bottom: 12px;
    display: block;
}

/* Card label row (for action steps with counter) */
.owl-card-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.owl-card-label-row .owl-card-label {
    margin-bottom: 0;
}

/* Card 1 — Objective */
.owl-card-objective {
    border-left: 4px solid #cc9900;
}

.owl-card-objective .owl-card-label {
    color: #996600;
}

.owl-card-objective .owl-card-text {
    color: #222;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Card 2 — Why This Matters */
.owl-card-why {
    border-left: 4px solid #0077cc;
}

.owl-card-why .owl-card-label {
    color: #0055aa;
}

.owl-card-why .owl-card-text {
    color: #333;
    font-size: 0.97rem;
    line-height: 1.75;
    font-style: italic;
    margin: 0;
}

/* Card 3 — Today's Lesson */
.owl-card-lesson {
    border-left: 4px solid var(--owl-green, #00AA44);
}

.owl-card-lesson .owl-card-label {
    color: #007733;
}

.owl-card-content {
    color: #222;
    line-height: 1.8;
    font-size: 1rem;
}

.owl-lesson-card.owl-card-lesson .owl-card-content h2,
.owl-lesson-card.owl-card-lesson .owl-card-content h3,
.owl-lesson-card.owl-card-lesson .owl-card-content h4,
.owl-card-content h2,
.owl-card-content h3,
.owl-card-content h4 {
    color: #111111 !important;
}

.owl-card-content a {
    color: var(--owl-green, #00AA44);
}

.owl-card-content ul,
.owl-card-content ol {
    padding-left: 24px;
}

.owl-card-content li {
    margin-bottom: 6px;
}

/* Video inside lesson card */
.owl-card-lesson .owl-lesson-video {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
}

/* Card 4 — Action Steps */
.owl-card-actions {
    border-left: 4px solid #cc6600;
}

.owl-card-actions .owl-card-label {
    color: #994400;
}

/* Actions counter badge */
.owl-actions-counter {
    background: #fff3e0;
    color: #cc6600;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #ffaa44;
}

/* Action step rows */
.owl-actions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.owl-task-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: default;
    transition: all 0.2s;
}

.owl-task-item:hover {
    border-color: #ff8800;
    background: #fff8f0;
}

.owl-task-item.owl-task-checked {
    border-color: var(--owl-green, #00AA44);
    background: #f0faf4;
}

.owl-task-item.owl-task-checked:hover {
    border-color: #00cc55;
}

/* Step number */
.owl-task-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #e0e0e0;
    border: 1px solid #bbb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #444;
    transition: all 0.2s;
    margin-top: 1px;
}

.owl-task-item.owl-task-checked .owl-task-num {
    background: var(--owl-green, #00AA44);
    border-color: var(--owl-green, #00AA44);
    color: #fff;
}

/* Check icon */
.owl-task-check-icon {
    cursor: pointer;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #aaa;
    border-radius: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-top: 2px;
}

.owl-task-item.owl-task-checked .owl-task-check-icon {
    background: var(--owl-green, #00AA44);
    border-color: var(--owl-green, #00AA44);
}

.owl-task-item.owl-task-checked .owl-task-check-icon::after {
    content: '✓';
    color: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1;
}

/* Task text */
.owl-task-text {
    color: #222;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    flex: 1;
}

.owl-task-text a {
    color: var(--owl-green, #00AA44);
    text-decoration: underline;
}

.owl-task-item.owl-task-checked .owl-task-text {
    color: #999;
    text-decoration: line-through;
}

.owl-task-item.owl-task-checked .owl-task-text a {
    color: #aaa;
}

/* Complete button area */
.owl-complete-btn-wrap {
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.owl-already-complete p {
    color: var(--owl-green, #00AA44);
    margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .owl-lesson-card {
        padding: 18px 16px;
    }
    .owl-card-label-row {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* ============================================================
   CARD TITLE & DAY HEADER UPDATES
   ============================================================ */

/* Card label — now a proper heading size */
.owl-card-label {
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 14px !important;
    display: block !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.owl-card-label-row .owl-card-label {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Card label row border */
.owl-card-label-row {
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 16px !important;
}

/* Card content text — slightly smaller than the label */
.owl-card-text,
.owl-card-content {
    font-size: 0.97rem !important;
}

/* Day header — solid colored background instead of border */
.owl-lesson-header {
    border-left: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    padding: 0 !important;
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
}

.owl-lesson-day-num {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 24px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    color: #000 !important;
    min-width: 100px !important;
    text-align: center !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    align-self: stretch !important;
}

.owl-lesson-title-block {
    padding: 20px 24px !important;
    flex: 1 !important;
}

.owl-lesson-title-block h1 {
    margin: 0 0 6px !important;
    font-size: 1.5rem !important;
}

/* ============================================================
   ACTION STEPS — counter badge responsive
   ============================================================ */

.owl-actions-counter {
    font-size: 0.8rem !important;
    font-weight: 800 !important;
    padding: 4px 14px !important;
    border-radius: 20px !important;
}

/* ============================================================
   UPGRADE WALL — Free Member Day 5+ Page
   ============================================================ */
.owl-upgrade-wall {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.owl-upgrade-wall-video {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #1a3a1a;
    box-shadow: 0 4px 20px rgba(0,200,83,0.1);
}

.owl-upgrade-wall-video iframe {
    width: 100%;
    display: block;
}

/* Congrats block */
.owl-upgrade-congrats {
    background: linear-gradient(135deg, #0a1f0a 0%, #1a1a1a 100%);
    border: 1px solid #00AA44;
    border-radius: 10px;
    padding: 36px 32px;
    text-align: center;
}

.owl-upgrade-congrats-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.owl-upgrade-congrats h2 {
    color: #ffffff !important;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.owl-upgrade-congrats p {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    max-width: 620px;
    margin: 0 auto;
}

/* Matrix block */
.owl-upgrade-matrix-block {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-left: 4px solid #00AA44;
    border-radius: 8px;
    padding: 28px 28px;
}

.owl-upgrade-matrix-block h3 {
    color: #00AA44 !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.owl-upgrade-matrix-block p {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

.owl-upgrade-matrix-block strong {
    color: #ffffff;
}

.owl-matrix-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.owl-matrix-stat {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 16px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.owl-matrix-stat-num {
    color: #00AA44;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.owl-matrix-stat-label {
    color: #888;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.owl-matrix-note {
    color: #555 !important;
    font-size: 0.8rem !important;
    margin: 0 !important;
    font-style: italic;
}

/* Preview lessons */
.owl-upgrade-preview {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 28px;
}

.owl-upgrade-preview h3 {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.owl-upgrade-preview > p {
    color: #888;
    font-size: 0.9rem;
    margin: 0 0 16px 0;
}

.owl-preview-lessons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.owl-preview-lesson-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #111;
    border: 1px solid #222;
    border-radius: 6px;
}

.owl-preview-day-badge {
    background: #333;
    color: #888;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.owl-preview-lesson-title {
    color: #666;
    font-size: 0.9rem;
}

.owl-preview-more {
    background: transparent;
    border-color: transparent;
    padding: 6px 14px;
}

.owl-preview-more-text {
    color: #444;
    font-size: 0.85rem;
    font-style: italic;
}

/* Why upgrade reasons */
.owl-upgrade-reasons {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 28px;
}

.owl-upgrade-reasons h3 {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.owl-upgrade-bullets {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.owl-upgrade-bullets li {
    color: #ccc;
    font-size: 0.95rem;
    padding: 10px 14px 10px 42px;
    background: #111;
    border: 1px solid #222;
    border-radius: 6px;
    position: relative;
    list-style: none !important;
}

.owl-upgrade-bullets li::before {
    content: '✓';
    color: #00AA44;
    font-weight: 900;
    font-size: 1rem;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

/* Bonus notice */
.owl-upgrade-bonus-notice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #1a2a0a;
    border: 1px solid #00AA44;
    border-radius: 8px;
    padding: 20px 24px;
}

.owl-bonus-icon {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.owl-bonus-text strong {
    color: #00AA44;
    font-size: 1rem;
    display: block;
    margin-bottom: 6px;
}

.owl-bonus-text p {
    color: #bbb;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* CTA */
.owl-upgrade-cta-wrap {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #0a1f0a 0%, #1a1a1a 100%);
    border: 1px solid #00AA44;
    border-radius: 10px;
}

.owl-upgrade-cta-btn {
    display: inline-block;
    background: #00AA44;
    color: #000 !important;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 18px 48px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.02em;
    margin-bottom: 14px;
}

.owl-upgrade-cta-btn:hover {
    background: #00cc55;
    transform: translateY(-2px);
    color: #000 !important;
}

.owl-upgrade-cta-sub {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 600px) {
    .owl-matrix-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .owl-matrix-stat-num { font-size: 1.2rem; }
    .owl-upgrade-congrats { padding: 24px 20px; }
    .owl-upgrade-congrats h2 { font-size: 1.3rem; }
    .owl-upgrade-cta-btn { font-size: 1rem; padding: 16px 32px; }
    .owl-upgrade-wall { gap: 20px; }
}

/* ============================================================
   BLURRED LOCKED LESSONS
   ============================================================ */

/* Phase view — locked future lessons */
.owl-lesson-blurred {
    filter: blur(3px);
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
    position: relative;
    transition: filter 0.2s;
}

/* Upgrade wall preview lessons */
.owl-preview-lesson-blurred {
    filter: blur(4px);
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}

/* ============================================================
   PREVIEW LESSON TITLE — partial blur (first 2 words clear)
   ============================================================ */
.owl-preview-lesson-row {
    /* remove old full-row blur */
    filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.owl-preview-title-blur {
    filter: blur(4px);
    opacity: 0.6;
    user-select: none;
    display: inline;
}

.owl-preview-lesson-title {
    color: #ccc;
    font-size: 0.9rem;
}
