/* =========================
   GRID LAYOUT (CLEAN)
========================= */
.robo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tablet */
@media (max-width: 1024px) {
    .robo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .robo-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   CARD
========================= */
.robo-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: all .3s ease;
}

.robo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}


/* =========================
   IMAGE
========================= */
.robo-thumb {
    position: relative;
    overflow: hidden;
}

.robo-thumb img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.robo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
}


/* =========================
   CONTENT
========================= */
.robo-content {
    padding: 16px;
}

.robo-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}


/* =========================
   PRICE
========================= */
.robo-price {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #ff7a00;
    margin-bottom: 10px;
}

.robo-old-price {
    display: block;
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 4px;
}


/* =========================
   BADGES
========================= */
.robo-badge {
    display: inline-block;
    background: #999;
    color: #fff;
    font-size: 18px;
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.robo-badge-best {
    display: inline-block;
    background: #ff3b3b;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
}


/* =========================
   BUTTON
========================= */
.robo-btn {
    display: inline-block;
    background: #ff7a00;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.robo-btn:hover {
    background: #e66d00;
}

.robo-btn.disabled {
    background: #bbb;
    cursor: not-allowed;
    pointer-events: none;
}


/* =========================
   PAGINATION
========================= */
.robo-pagination {
    margin-top: 30px;
    text-align: center;
}

.robo-pagination a,
.robo-pagination span {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 10px;
    border-radius: 6px;
    background: #eee;
    color: #333;
    text-decoration: none;
}

.robo-pagination .current {
    background: #ff7a00;
    color: #fff;
}


/* =========================
   ELEMENTOR FIX (MINIMAL)
========================= */

/* cukup ini doang, jangan overkill */
.elementor-widget-shortcode {
    width: 100%;
}

/* =========================
   DASHBOARD MENTOR
========================= */
.robo-dashboard h2 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.robo-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.robo-table th,
.robo-table td {
    border: 1px solid #ddd;
    padding: 8px;
}

.robo-table th {
    background: #f5f5f5;
}

.robo-detail {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}

.upload-box{
    position:relative;
    display:block;
    cursor:pointer;
    overflow:hidden;
    border-radius:12px;
}

.upload-box input{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    cursor:pointer;
    z-index:2;
}

.upload-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.4);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    opacity:0;
    transition:.3s;
}

.upload-box:hover .upload-overlay{
    opacity:1;
}

.avatar-wrap{
    width:100px;
    margin-top:-50px;
}

.ct-dashboard{
    max-width:1100px;
    margin:auto;
    color:#fff;
}

/* HEADER */
.ct-header{
    width:100%;
    height:260px;
    background-size:cover;
    background-position:center;
    border-radius:16px;
    overflow:hidden;
}

.ct-header h2{
    font-size:24px;
    margin-top:10px;
    font-weight:600;
}

.ct-header img{
    width:70px;
    border-radius:50%;
    border:3px solid #fff;
}

/* STATS */
.ct-stats{
    display:flex;
    gap:50px;
    margin-top:50px;
}

.ct-card{
    background:#ffffff;
    padding:18px;
    border-radius:12px;
    flex:1;
    color:#111;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition:0.2s;
}


.ct-card h4{
    font-size:14px;
    margin-bottom:5px;
    color:#666;
}

.ct-card strong{
    font-size:20px;
}

/* COURSES */
.ct-courses{
    margin-top:30px;
}

.ct-courses h3{
    color:#fff;
    font-size:22px;
    margin-bottom:15px;
}

.ct-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:20px;
}

.ct-course{
    background:#ffffff;
    padding:18px;
    border-radius:12px;
    color:#111;

    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition:0.25s;
}

.ct-course strong{
    font-size:14px;
    font-weight:600;
    color:#111;
}

/* PROGRESS */
.ct-progress{
    background:#eee;
    height:6px;
    border-radius:999px;
    margin-top:10px;
}

.ct-progress-bar{
    background:#2563eb;
    height:100%;
    border-radius:999px;
}

.ct-course small{
    font-size:12px;
    color:#666;
}

/* BUTTON */
.ct-btn{
    display:inline-block;
    margin-top:10px;
    padding:8px 12px;
    background:#2563eb;
    color:#fff;
    border-radius:6px;
    text-decoration:none;
    font-size:13px;
    transition:0.2s;
}

.ct-btn:hover{
    background:#1e40af;
    color:#fff;
}

/* FORCE TEXT PUTIH DI HEADER */
.ct-header h2{
    color:#fff !important;
}

/* JUDUL SECTION */
.ct-courses h3{
    color:#fff !important;
}

.ct-header h2{
    color:#fff !important;
    text-shadow: 
        0 2px 4px rgba(0,0,0,0.6),
        0 6px 12px rgba(0,0,0,0.4);
}

.ct-course:hover{
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}


/* ================================================
   DASHBOARD — CLEAN MOBILE-FIRST CSS
   Covers: member dashboard + mentor dashboard
   ================================================ */

/* -----------------------------------------------
   LAYOUT: sidebar kiri + main kanan (desktop)
----------------------------------------------- */
.ct-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: #0f172a;
}

.ct-sidebar {
    width: 220px;
    min-width: 220px;
    background: linear-gradient(180deg, #0b1527, #1e293b);
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 12px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 10;
}

.ct-main {
    flex: 1;
    padding: 24px;
    background: #0f172a;
    min-width: 0;
    color: #fff;
}

.ct-content { width: 100%; }

/* -----------------------------------------------
   SIDEBAR: logo + nav links
----------------------------------------------- */
.ct-logo {
    text-align: center;
    padding: 0 8px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 8px;
}

.ct-logo img, .ct-icon {
    max-width: 80px;
    width: 100%;
}

.ct-sidebar a,
.ct-sidebar .ct-tab,
.ct-sidebar .ct-logout {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
    cursor: pointer;
}

.ct-sidebar a:hover,
.ct-sidebar .ct-tab:hover {
    background: rgba(255,255,255,0.06);
    color: #e2e8f0;
}

.ct-sidebar a.active,
.ct-sidebar .ct-tab.active {
    background: rgba(59,130,246,0.18);
    color: #60a5fa;
}

.ct-sidebar h3 {
    color: #94a3b8;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 14px 4px;
    margin: 0;
}

.ct-sidebar .ct-logout {
    margin-top: auto;
    color: #f87171;
}

.ct-sidebar .ct-logout:hover {
    background: rgba(248,113,113,0.1);
    color: #fca5a5;
}

/* -----------------------------------------------
   TAB CONTENT
----------------------------------------------- */
.ct-tab-content { display: none; }
.ct-tab-content.active { display: block; }

/* -----------------------------------------------
   HEADER / COVER BANNER
----------------------------------------------- */
.ct-header, .ct-mentor-banner {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 14px;
    overflow: hidden;
}

/* -----------------------------------------------
   USER BOX
----------------------------------------------- */
.ct-user-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 20px;
    margin-top: 16px;
}

.ct-avatar {
    width: 72px !important;
    height: 72px !important;
    border-radius: 12px !important;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.15) !important;
    flex-shrink: 0;
}

.ct-user-info h3 { color: #f1f5f9; font-size: 18px; margin: 0 0 4px; }
.ct-user-info p  { color: #94a3b8; font-size: 13px; margin: 0 0 2px; }
.ct-user-info span { color: #64748b; font-size: 12px; }

/* -----------------------------------------------
   STATS CARDS
----------------------------------------------- */
.ct-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.ct-card {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 18px 16px;
    text-align: center;
}

.ct-card h4 {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
}

.ct-card strong {
    font-size: 24px;
    color: #f1f5f9;
    display: block;
}

/* -----------------------------------------------
   MENTOR INFO SECTION
----------------------------------------------- */
.ct-mentor-info {
    position: relative;
    padding-top: 50px;
    padding-left: 20px;
}

.ct-mentor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #0f172a;
    position: absolute;
    bottom: 0px;
    left: 24px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.ct-mentor-info > div {
    padding-left: 110px;
}

.ct-mentor-info h2 { color: #f1f5f9; font-size: 20px; margin: 0 0 4px; }
.ct-mentor-info p  { color: #94a3b8; font-size: 13px; margin: 0; }

/* -----------------------------------------------
   COURSES GRID
----------------------------------------------- */
.ct-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.ct-course {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 16px;
    transition: 0.2s;
}

.ct-course:hover {
    transform: translateY(-3px);
    border-color: rgba(59,130,246,0.3);
}

.ct-thumb img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.ct-course-body strong { display: block; color: #e2e8f0; margin-bottom: 10px; font-size: 14px; }

/* -----------------------------------------------
   BUTTONS
----------------------------------------------- */
.ct-btn {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    transition: 0.2s;
    margin-top: 8px;
}

.ct-btn:hover { background: #1d4ed8; color: #fff; }

.ct-btn-primary {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s;
}

.ct-btn-primary:hover { background: #1d4ed8; }

/* -----------------------------------------------
   PROFILE FORM
----------------------------------------------- */
.ct-profile-form,
.ct-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 480px;
}

.ct-profile-form label,
.ct-form label {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: -6px;
}

.ct-profile-form input,
.ct-profile-form textarea,
.ct-form input,
.ct-form textarea {
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: #1e293b;
    color: #f1f5f9;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.ct-profile-form textarea,
.ct-form textarea { min-height: 90px; resize: vertical; }

.ct-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

/* Cropper */
.ct-crop-area {
    margin-top: 10px;
    max-height: 300px;
    overflow: hidden;
    border-radius: 10px;
    background: #1e293b;
}

.ct-cropper-wrap {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.ct-cropper-wrap > div { flex: 1; min-width: 200px; }

/* Badge */
.ct-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.ct-badge.free   { background: #334155; color: #cbd5e1; }
.ct-badge.pro    { background: linear-gradient(135deg,#3b82f6,#2563eb); color:#fff; }
.ct-badge.vip    { background: linear-gradient(135deg,#f59e0b,#f97316); color:#fff; }
.ct-badge.elite  { background: linear-gradient(135deg,#ef4444,#dc2626); color:#fff; }

/* Section headings */
.ct-main h2, .ct-main h3 { color: #f1f5f9; }

/* -----------------------------------------------
   MOBILE — sidebar jadi top navbar horizontal
----------------------------------------------- */
@media (max-width: 768px) {

    .ct-layout {
        flex-direction: column;
    }

    .ct-sidebar {
        width: 100%;
        min-width: unset;
        height: auto;
        position: sticky;
        top: 0;
        flex-direction: row;
        align-items: center;
        gap: 4px;
        padding: 10px 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        z-index: 100;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .ct-sidebar::-webkit-scrollbar { display: none; }

    .ct-logo { display: none; }
    .ct-sidebar h3 { display: none; }

    .ct-sidebar a,
    .ct-sidebar .ct-tab,
    .ct-sidebar .ct-logout {
        white-space: nowrap;
        padding: 8px 14px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .ct-sidebar .ct-logout { margin-top: 0; margin-left: auto; }

    .ct-main { padding: 16px 14px; }

    .ct-header, .ct-mentor-banner { height: 130px; border-radius: 10px; }

    .ct-user-box {
        flex-direction: row;
        align-items: center;
        padding: 14px;
        gap: 12px;
        margin-top: 12px;
    }

    .ct-avatar {
        width: 56px !important;
        height: 56px !important;
    }

    .ct-user-info h3 { font-size: 15px; }
    .ct-user-info p  { font-size: 12px; }

    .ct-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 12px;
    }

    .ct-card { padding: 14px 12px; }
    .ct-card strong { font-size: 20px; }

    .ct-grid {
        grid-template-columns: 1fr;
    }

    .ct-row {
        grid-template-columns: 1fr;
    }

    .ct-cropper-wrap {
        flex-direction: column;
    }

    /* Mentor info di mobile */
    .ct-mentor-info {
        padding-top: 50px;
        padding-left: 0;
        text-align: center;
    }

    .ct-mentor-avatar {
        left: 50%;
        transform: translateX(-50%);
        bottom: 75px;
    }

    .ct-mentor-info > div {
        padding-left: 0;
        margin-top: 44px;
        text-align: center;
    }

    .ct-mentor-info h2 { font-size: 35px; }
}

/* Bersihkan footer di halaman dashboard */
body:has(.ct-layout) .site-footer,
body:has(.ct-layout) #colophon,
body:has(.ct-layout) footer.ast-builder-grid-row-container {
    display: none !important;
}



.robo-mentor-list{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
}

.robo-mentor-card{
    background:#0f172a;
    padding:20px;
    border-radius:12px;
    text-align:center;
    color:#fff;
    text-decoration:none;
}

.robo-mentor-card img{
    width:80px;
    height:80px;
    border-radius:50%;
    object-fit:cover;
}

.robo-mentor-header{
    text-align:center;
    margin-bottom:40px;
}

.robo-mentor-header h2{
    font-size:32px;
    font-weight:700;
    margin-bottom:10px;
}

.robo-mentor-header p{
    color:#94a3b8;
    font-size:16px;
}

/* ===== SINGLE MENTOR ===== */

.mentor-single{
    background:#0b172a;
    color:#fff;
    min-height:100vh;
}

/* BANNER */
.mentor-banner{
    height:300px;
    background-size:cover;
    background-position:center;
}

/* PROFILE */
.mentor-profile{
    max-width:800px;
    margin:-80px auto 0;
    text-align:center;
    padding:0 20px;
}

.mentor-avatar{
    width:120px;
    height:120px;
    border-radius:50%;
    border:4px solid #fff;
    margin-bottom:15px;
}

.mentor-title{
    opacity:0.8;
    margin-bottom:15px;
}

.mentor-bio{
    line-height:1.6;
    opacity:0.9;
    margin-bottom:20px;
}

/* CTA */
.mentor-cta{
    display:inline-block;
    padding:12px 24px;
    background:#f59e0b;
    color:#000;
    border-radius:8px;
    font-weight:600;
    text-decoration:none;
}

/* COURSES */
.mentor-courses{
    max-width:1000px;
    margin:60px auto;
    padding:0 20px;
}

.course-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.course-card{
    background:#111827;
    padding:20px;
    border-radius:12px;
}

/* RESET BIAR GA KETIMPA THEME */
.mentor-page{
    background:#0b172a;
    color:#fff;
    min-height:100vh;
    padding-bottom:60px;
}

/* BANNER */
.mentor-banner{
    height:260px;
    background-size:cover;
    background-position:center;
}

/* CONTENT */
.mentor-content{
    max-width:800px;
    margin:-80px auto 40px;
    text-align:center;
    padding:0 20px;
}

/* AVATAR */
.mentor-avatar{
    width:120px;
    height:120px;
    border-radius:50%;
    border:4px solid #fff;
    margin-bottom:15px;
}

/* TEXT */
.mentor-title{
    opacity:0.8;
    margin-bottom:10px;
}

.mentor-bio{
    line-height:1.6;
    opacity:0.9;
    margin-bottom:20px;
}

/* BUTTON */
.mentor-cta{
    display:inline-block;
    padding:12px 24px;
    background:#f59e0b;
    color:#000;
    border-radius:8px;
    font-weight:600;
    text-decoration:none;
}

/* COURSES */
.mentor-courses{
    max-width:1000px;
    margin:0 auto;
    padding:0 20px;
}

.course-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.course-card{
    background:#111827;
    padding:20px;
    border-radius:12px;
}

/* FORCE OVERRIDE ASTRA */
.mentor-page h1,
.mentor-page h2,
.mentor-page h3,
.mentor-page h4,
.mentor-page h5,
.mentor-page h6{
    color:#fff !important;
}


/* RESET BACKGROUND ASTRA */


/* WRAPPER LU */
.mentor-page{
    background:#0b172a;
    color:#fff;
    min-height:200vh;
}

.mentor-content h1{
    position:relative;
    z-index:2;
    background:none !important;
}

.mentor-content h1::before,
.mentor-content h1::after{
    display:none !important;
}

/* Header diatur di Astra Custom CSS - jangan taruh di sini */

.mentor-page {
    margin-top: -80px;
    padding-top: 80px;
}

.rating-stars span {
    font-size: 28px;
    cursor: pointer;
    color: #555;
    transition: 0.2s;
}

.rating-stars span.active,
.rating-stars span:hover,
.rating-stars span:hover ~ span {
    color: #f59e0b;
}

.review-item {
    background: #0f1e3a;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.stars span {
    color: #555;
}

.stars .filled {
    color: #f59e0b;
}

/* ONLY mentor single page */
body.mentor-page {
    background: #071a2f !important;
}

.mentor-courses h2,
.mentor-reviews h2 {
    font-size: 22px !important;
    margin-bottom: 10px;
    font-weight: 600;
}

.mentor-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:30px;
}

.mentor-card{
    text-decoration:none;
    color:#fff;
}

.mentor-card-inner{
    background:#0b1e36;
    padding:30px;
    border-radius:12px;
    text-align:center;
    transition:.3s;
}

.mentor-card-inner:hover{
    transform:translateY(-5px);
}

.mentor-avatar{
    width:80px;
    height:80px;
    border-radius:50%;
    margin-bottom:15px;
    object-fit:cover;
}



/* FORCE FULLWIDTH SINGLE MENTOR (ASTRA HARD OVERRIDE) */
.single-mentor .ast-container,
.single-mentor .ast-container.ast-container-fluid,
.single-mentor .site-content > .ast-container,
.single-mentor .site-main,
.single-mentor .content-area,
.single-mentor .ast-article-post {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Hilangin inner wrapper Astra */
.single-mentor .ast-container > div {
    max-width: 100% !important;
    width: 100% !important;
}

/* Elementor (kalau kepake di dalam template) */
.single-mentor .elementor-container {
    max-width: 100% !important;
}

/* Biar section bener2 full bleed */
.single-mentor .elementor-section {
    width: 100% !important;
}

.single-mentor .ast-container,
.single-mentor .ast-container * {
    box-sizing: border-box;
}

.single-mentor .entry-content {
    max-width: 100% !important;
}

/* ================================================
   FIX: MENTOR LIST — nama putih (khusus .mentor-card)
   ================================================ */
.mentor-card h3,
.mentor-card-inner h3,
.mentor-card p,
.mentor-card-inner p {
    color: #ffffff !important;
}

/* robo-mentor-card juga pastiin putih */
.robo-mentor-card h3,
.robo-mentor-card p {
    color: #ffffff !important;
}


/* ================================================
   FIX: SINGLE MENTOR — fullwidth, konten tengah
   ================================================ */

/* Hapus constraint dari Astra */
body.mentor-page .ast-container,
body.mentor-page .entry-content,
body.mentor-page .ast-article-single,
body.mentor-page #content,
body.mentor-page .site-content,
body.mentor-page .ast-container-fluid {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Banner full width */
body.mentor-page .mentor-banner {
    width: 100% !important;
    max-width: 100% !important;
    height: 320px;
    border-radius: 0 !important;
}

/* Konten tengah dengan max-width yang lebih lebar */
body.mentor-page .mentor-content {
    max-width: 760px !important;
    margin: -80px auto 40px !important;
    padding: 0 24px !important;
    text-align: center;
}

/* Courses & reviews tengah */
body.mentor-page .mentor-courses,
body.mentor-page .mentor-reviews {
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 24px !important;
}

/* Wrapper utama fullwidth */
body.mentor-page .mentor-page {
    width: 100% !important;
    max-width: 100% !important;
}

/* Mobile */
@media (max-width: 768px) {
    body.mentor-page .mentor-banner { height: 200px; }
    body.mentor-page .mentor-content { margin-top: -50px !important; }
}


/* ════════════════════════════════════════════════════
   ROBOEDU DASHBOARD — SCOPED UI COMPONENTS
   Semua selector pakai prefix .roboedu-dashboard
   agar tidak bocor ke global theme
   ════════════════════════════════════════════════════ */

/* ── All Available Courses section title ── */
.roboedu-dashboard .roboedu-section-title {
    color: #f1f5f9 !important;
    font-size: 20px;
    font-weight: 700;
    margin: 36px 0 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

/* ── Course Card Grid ── */
.roboedu-dashboard .roboedu-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.roboedu-dashboard .roboedu-course-card {
    background: #1e293b;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.roboedu-dashboard .roboedu-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

.roboedu-dashboard .roboedu-course-thumb {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: #0f172a;
}

.roboedu-dashboard .roboedu-course-body {
    padding: 16px;
}

.roboedu-dashboard .roboedu-course-title {
    color: #f1f5f9 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 0 8px !important;
    line-height: 1.4;
}

.roboedu-dashboard .roboedu-course-price {
    font-size: 18px;
    font-weight: 700;
    color: #f59e0b !important;
    margin: 8px 0 14px;
}

/* WooCommerce price override — scoped */
.roboedu-dashboard .roboedu-course-price .woocommerce-Price-amount {
    color: #f59e0b !important;
}

.roboedu-dashboard .roboedu-course-price del .woocommerce-Price-amount {
    color: #64748b !important;
    font-size: 14px;
}

/* ── Course Action Buttons ── */
.roboedu-dashboard .roboedu-course-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.roboedu-dashboard .roboedu-btn {
    display: block;
    width: 100%;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.1s;
    box-sizing: border-box;
}

.roboedu-dashboard .roboedu-btn:hover {
    opacity: 0.88;
    transform: translateY(-1px);
}

.roboedu-dashboard .roboedu-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.roboedu-dashboard .roboedu-btn-ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #94a3b8 !important;
}

.roboedu-dashboard .roboedu-btn-cart {
    background: #2563eb;
    color: #fff !important;
}

.roboedu-dashboard .roboedu-btn-buy {
    background: #f59e0b;
    color: #000 !important;
}

/* ── Progress Bar ── */
.roboedu-dashboard .roboedu-progress-wrap {
    margin: 12px 0 8px;
}

.roboedu-dashboard .roboedu-progress-bar {
    height: 5px;
    background: #0f172a;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 5px;
}

.roboedu-dashboard .roboedu-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 999px;
    min-width: 2px;
}

.roboedu-dashboard .roboedu-progress-text {
    font-size: 11px;
    color: #64748b;
}

/* ── Status Badge ── */
.roboedu-dashboard .roboedu-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}

.roboedu-dashboard .roboedu-status-not-started  { background:rgba(100,116,139,.2); color:#cbd5e1; }
.roboedu-dashboard .roboedu-status-in-progress  { background:rgba(59,130,246,.2);  color:#60a5fa; }
.roboedu-dashboard .roboedu-status-completed    { background:rgba(34,197,94,.2);   color:#4ade80; }

/* ── Empty State ── */
.roboedu-dashboard .roboedu-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    font-size: 15px;
}

/* ── Schedule ── */
.roboedu-dashboard .roboedu-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
    gap: 18px;
    margin-top: 24px;
}

.roboedu-dashboard .roboedu-schedule-card {
    background: #1e293b;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.06);
    position: relative;
}

.roboedu-dashboard .roboedu-schedule-card.roboedu-live {
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239,68,68,.25);
}

.roboedu-dashboard .roboedu-live-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: #ef4444;
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.roboedu-dashboard .roboedu-schedule-card h4 { color:#f1f5f9 !important; margin:0 0 6px; }
.roboedu-dashboard .roboedu-schedule-date    { color:#94a3b8; font-size:14px; margin:0 0 12px; }

.roboedu-dashboard .roboedu-countdown {
    background: rgba(59,130,246,.1);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin: 12px 0;
}

.roboedu-dashboard .roboedu-countdown-timer {
    font-family: monospace;
    font-size: 17px;
    font-weight: 700;
    color: #60a5fa;
}

/* ── Student Table ── */
.roboedu-dashboard .roboedu-student-table {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 24px;
}

.roboedu-dashboard .roboedu-student-table table { width:100%; border-collapse:collapse; }

.roboedu-dashboard .roboedu-student-table th {
    background: #0f172a;
    color: #64748b;
    padding: 11px 16px;
    text-align: left;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.roboedu-dashboard .roboedu-student-table td {
    padding: 13px 16px;
    border-top: 1px solid rgba(255,255,255,.05);
    color: #e2e8f0;
    font-size: 14px;
}

.roboedu-dashboard .roboedu-tag {
    display: inline-block;
    background: rgba(59,130,246,.15);
    color: #60a5fa;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin: 2px 2px 2px 0;
}

/* ── Activity Timeline ── */
.roboedu-dashboard .roboedu-activity-timeline { margin-top: 24px; }

.roboedu-dashboard .roboedu-activity-item {
    display: flex;
    gap: 14px;
    padding: 15px;
    background: #1e293b;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 3px solid #3b82f6;
}

.roboedu-dashboard .roboedu-activity-icon { font-size: 22px; flex-shrink: 0; }
.roboedu-dashboard .roboedu-activity-content strong { color: #f1f5f9; }
.roboedu-dashboard .roboedu-activity-content span   { color: #94a3b8; margin: 0 4px; }
.roboedu-dashboard .roboedu-activity-time           { color: #64748b; font-size: 12px; margin: 3px 0 0; }

/* ── Mobile ── */
@media (max-width: 768px) {
    .roboedu-dashboard .roboedu-course-grid    { grid-template-columns: 1fr; }
    .roboedu-dashboard .roboedu-schedule-grid  { grid-template-columns: 1fr; }
    .roboedu-dashboard .roboedu-student-table  { overflow-x: auto; }
}

.robo-lesson-wrapper {
    padding: 30px;
    background: #0B1E3A;
    color: #fff;
}

.robo-progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

.robo-progress-circle svg {
    transform: rotate(-90deg);
}

.robo-progress-circle circle:first-child {
    stroke: #1e293b;
}

.robo-progress-circle .progress {
    stroke: #3b82f6;
}

.robo-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: bold;
}


/* FORCE BACKGROUND */
body.single-sfwd-lessons {
    background: #0B1E3A !important;
}

/* WRAPPER */
.robo-lesson-wrapper {
    background: #0B1E3A;
    color: #fff;
    padding: 40px;
}


#robo-lesson-root {
    background: #0B1E3A;
    min-height: 100vh;
    padding: 40px;
}

.single-sfwd-lessons .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
}

#robo-lesson-root {
    background: #0B1E3A;
    min-height: 100vh;
    padding: 40px;
}

.robo-lesson-wrapper {
    max-width: 900px;
    margin: auto;
}

.robo-lesson-wrapper h1 {
    color: #fff;
    font-size: 32px;
    margin-bottom: 20px;
}

/* ===== LESSON UI IMPROVEMENT ===== */

#robo-lesson-root {
    padding: 40px;
    background: transparent;
}

/* CARD WRAPPER */
.robo-lesson-wrapper {
    background: linear-gradient(135deg, #0b1a2b, #0e2238);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    max-width: 900px;
    margin: auto;
}

/* TITLE FIX */
.robo-lesson-wrapper h1 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* CONTENT */
.robo-lesson-content {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
}

/* PROGRESS WRAPPER */
.robo-progress-circle {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* CIRCLE FIX */
.robo-progress-circle svg {
    transform: rotate(-90deg);
}

/* TEXT DALAM CIRCLE */
.robo-progress-text {
    position: absolute;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

/* BIKIN CIRCLE POSISI BAGUS */
.robo-progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

/* VIDEO / EMBED FIX */
.robo-lesson-content iframe {
    border-radius: 12px;
    margin-bottom: 20px;
}

/* BUTTON AREA (BIAR NYATU) */
.robo-lesson-nav {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .robo-lesson-wrapper {
        padding: 20px;
    }

    .robo-lesson-wrapper h1 {
        font-size: 22px;
    }
}

/* ===== LESSON UI IMPROVEMENT ===== */

#robo-lesson-root {
    padding: 40px;
    background: transparent;
}

/* CARD WRAPPER */
.robo-lesson-wrapper {
    background: linear-gradient(135deg, #0b1a2b, #0e2238);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    max-width: 900px;
    margin: auto;
}

/* TITLE FIX */
.robo-lesson-wrapper h1 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* CONTENT */
.robo-lesson-content {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.7;
}

/* PROGRESS WRAPPER */
.robo-progress-circle {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* CIRCLE FIX */
.robo-progress-circle svg {
    transform: rotate(-90deg);
}

/* TEXT DALAM CIRCLE */
.robo-progress-text {
    position: absolute;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

/* BIKIN CIRCLE POSISI BAGUS */
.robo-progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

/* VIDEO / EMBED FIX */
.robo-lesson-content iframe {
    border-radius: 12px;
    margin-bottom: 20px;
}

/* BUTTON AREA (BIAR NYATU) */
.robo-lesson-nav {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .robo-lesson-wrapper {
        padding: 20px;
    }

    .robo-lesson-wrapper h1 {
        font-size: 22px;
    }
}

.robo-lesson-wrapper:hover {
    transform: translateY(-3px);
    transition: 0.3s;
}

.learndash-wrapper
 {
    background: #4c69bb;
}

/* ===== FORCE RESET NON-LESSON PAGES ===== */



body.login {
    background: #f1f5f9 !important;
}

body.single-sfwd-lessons #robo-lesson-root {
    background: #0B1E3A;
    min-height: 100vh;
}

/* ===== DASHBOARD CATEGORY CARD GRID ===== */
.robo-arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.robo-arch-card {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.robo-arch-card:hover {
    transform: translateY(-6px);
}

.robo-arch-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.robo-arch-body {
    padding: 16px;
}

.robo-arch-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.robo-arch-btns {
    padding: 16px;
}

.btn-view-detail {
    display: inline-block;
    background: #f59e0b;
    color: #000;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

.roboedu-dashboard .robo-arch-card {
    display: block !important;
}

.roboedu-dashboard .robo-arch-grid {
    display: grid !important;
}

.roboedu-all-categories {
    margin-top: 30px;
}

.roboedu-section-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}

.robo-affiliate-dashboard {
    color: #fff;
}

.robo-card {
    background: #1e293b;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.robo-card-header {
    font-weight: bold;
    margin-bottom: 10px;
}

.robo-ref-wrap {
    display: flex;
    gap: 10px;
}

.robo-ref-wrap input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: none;
}

.robo-ref-wrap button {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

.robo-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.robo-stat {
    background: #1e293b;
    padding: 20px;
    border-radius: 12px;
    flex: 1;
    text-align: center;
}

.robo-stat span {
    font-size: 16px;
    font-weight: bold;
}

.robo-table {
    width: 100%;
    margin-top: 10px;
}

.robo-table th, .robo-table td {
    padding: 10px;
    text-align: left;
}

/* GLOBAL */
.robo-affiliate-dashboard {
    color: #e2e8f0;
    font-size: 14px;
}

/* CARD */
.robo-card {
    background: #1e293b;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 18px;
}

/* HEADER */
.robo-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

/* REF LINK */
.robo-ref-wrap input {
    font-size: 13px;
    padding: 8px;
}

.robo-ref-wrap button {
    font-size: 12px;
    padding: 8px 14px;
}

/* STATS */
.robo-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.robo-stat {
    background: #1e293b;
    padding: 16px;
    border-radius: 10px;
    flex: 1;
}

.robo-stat span {
    font-size: 20px;   /* sebelumnya kegedean */
    font-weight: 600;
}

.robo-stat label {
    font-size: 12px;
    opacity: 0.7;
}

/* TABLE */
.robo-table th {
    font-size: 12px;
    opacity: 0.7;
}

.robo-table td {
    font-size: 13px;
}

/* SMALL TEXT */
.robo-card small {
    font-size: 11px;
    opacity: 0.6;
}

.robo-card {
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.robo-stat {
    transition: 0.2s;
}

.robo-stat:hover {
    transform: translateY(-3px);
}

.robo-affiliate-dashboard {
    color: #e2e8f0;
    font-size: 14px;
}

.robo-card {
    background: #1e293b;
    padding: 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transition: 0.25s;
}

.robo-card:hover {
    transform: translateY(-4px);
}

.robo-ref-wrap {
    display: flex;
    gap: 10px;
}

.robo-ref-wrap input {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
}

.robo-ref-wrap button {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
}

.robo-ref-wrap button:hover {
    background: #2563eb;
}

.robo-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 18px;
}

.robo-stat {
    background: #1e293b;
    padding: 16px;
    border-radius: 10px;
    flex: 1;
    text-align: center;
    transition: 0.2s;
}

.robo-stat:hover {
    background: #334155;
}

.robo-stat span {
    font-size: 20px;
    font-weight: 600;
}

.robo-stat label {
    font-size: 12px;
    opacity: 0.7;
}

.robo-table {
    width: 100%;
}

.robo-table th {
    font-size: 12px;
    opacity: 0.7;
}

.robo-table td {
    font-size: 13px;
}

/* TOAST */
#robo-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #22c55e;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.3s;
    font-size: 13px;
}

#robo-toast.show {
    opacity: 1;
    transform: translateY(0);
}

canvas#roboChart {
    margin-top: 10px;
}

.robo-table th {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.robo-table tr td {
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.robo-table tr:hover {
    background: rgba(255,255,255,0.03);
}

.robo-table {
    border-collapse: collapse;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.robo-table th:first-child {
    border-top-left-radius: 10px;
}

.robo-table th:last-child {
    border-top-right-radius: 10px;
}

.status-paid { color: #22c55e; }
.status-pending { color: #f59e0b; }
.status-unpaid { color: #ef4444; }

.robo-filter {
    margin-bottom: 15px;
}

.filter-btn {
    background: #1e293b;
    color: #94a3b8;
    border: none;
    padding: 8px 14px;
    margin-right: 6px;
    border-radius: 8px;
    cursor: pointer;
}

.filter-btn.active {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
}

.robo-card input {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 6px;
    border: none;
}

.robo-card button {
    background: orange;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
}

/* FORCE FULL WIDTH — FIX SEMUA LAYER ASTRA + ELEMENTOR */
.page-id-2994 #content,
.page-id-2994 .site-content,
.page-id-2994 .ast-container,
.page-id-2994 .elementor-section,
.page-id-2994 .elementor-container,
.page-id-2994 .elementor-column-gap-default {

    max-width: 100% !important;
    width: 100% !important;
}

/* buang padding default theme */
.page-id-2994 .ast-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.page-id-2994 .elementor-container {
    max-width: 100% !important;
}

.page-id-2994 .elementor-section-boxed > .elementor-container {
    max-width: 100% !important;
}

.page-id-2994 .ast-container {
    padding: 0 !important;
}

.page-id-2994 .elementor-section {
    padding-left: 40px;
    padding-right: 40px;
}

/* 💣 HANCURKAN SEMUA BATAS LAYOUT ASTRA */
.page-id-2994 #page,
.page-id-2994 .site,
.page-id-2994 .site-content,
.page-id-2994 .ast-container,
.page-id-2994 .content-area,
.page-id-2994 .ast-article-post {

    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 🔥 ILANGIN BOX PUTIH LUAR */
.page-id-2994 #content,
.page-id-2994 .site-content {
    background: transparent !important;
}

/* 🔥 ELEMENTOR FULL BLEED */
.page-id-2994 .elementor-section,
.page-id-2994 .elementor-container {
    max-width: 100% !important;
    width: 100% !important;
}

/* 🎯 KONTEN DALAM (BIAR TETEP RAPI) */
.page-id-2994 .elementor-container {
    padding-left: 40px;
    padding-right: 40px;
}

header.site-header {
  display: block !important;
}

.robo-lesson-layout {
    display: flex;
    min-height: 100vh;
}

.lesson-sidebar {
    width: 260px;
    background: #0f172a;
    padding: 20px;
}

.lesson-content {
    flex: 1;
    padding: 40px;
}

.lesson-list h3 {
    color: #fff;
    margin-bottom: 15px;
}

.lesson-item {
    display: block;
    padding: 10px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 6px;
}

.lesson-item:hover {
    background: #1e293b;
    color: #fff;
}

.lesson-item.active {
    background: #1e293b;
    color: #fff;
    border-left: 3px solid #f59e0b;
}

.course-description {
  position: relative;
}

.desc-content {
  max-height: 140px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.course-description.expanded .desc-content {
  max-height: 1000px;
}

.read-more-btn {
  margin-top: 10px;
  background: none;
  border: none;
  color: #4da6ff;
  cursor: pointer;
  font-weight: 600;
}

/* FIX TEXT CHECKOUT */
.woocommerce-checkout,
.woocommerce-checkout * {
    color: #ffffff !important;
}

/* FORM INPUT */
.woocommerce-checkout input,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    background: #1e293b !important;
    color: #fff !important;
    border: 1px solid #334155 !important;
}

/* ORDER SUMMARY */
.woocommerce-checkout-review-order-table {
    background: transparent !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    color: #fff !important;
}

/* PAYMENT BOX */
.woocommerce-checkout-payment {
    background: #1e293b !important;
    color: #fff !important;
}

/* BANK TRANSFER BOX */
.payment_box {
    background: #334155 !important;
    color: #fff !important;
}

/* BUTTON */
button#place_order {
    background: #f97316 !important;
    color: #fff !important;
    border: none;
}

/* ===== BASE ===== */
.woocommerce-checkout {
    background: #0b1220;
    color: #e5e7eb;
}

/* ===== CONTAINER ===== */
.woocommerce-checkout .col2-set,
.woocommerce-checkout-review-order {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* ===== HEADINGS ===== */
.woocommerce-checkout h3 {
    color: #f8fafc;
    font-weight: 600;
    margin-bottom: 16px;
}

/* ===== INPUT ===== */
.woocommerce-checkout input,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    background: #020617;
    border: 1px solid #1e293b;
    color: #fff;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.2s ease;
}

.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
}

/* ===== LABEL ===== */
.woocommerce-checkout label {
    color: #94a3b8;
    font-size: 13px;
}

/* ===== ORDER TABLE ===== */
.woocommerce-checkout-review-order-table {
    background: transparent;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    color: #e5e7eb;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* TOTAL */
.woocommerce-checkout-review-order-table tfoot tr:last-child td {
    font-size: 18px;
    font-weight: bold;
    color: #facc15;
}

/* ===== PAYMENT ===== */
.woocommerce-checkout-payment {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 14px;
    padding: 20px;
}

/* PAYMENT METHOD */
.wc_payment_method {
    margin-bottom: 10px;
}

.wc_payment_method label {
    color: #fff;
    font-weight: 500;
}

/* PAYMENT BOX */
.payment_box {
    background: rgba(30, 41, 59, 0.9);
    border-radius: 10px;
    padding: 14px;
    color: #cbd5f5;
}

/* ===== BUTTON ===== */
button#place_order {
    width: 100%;
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    padding: 14px;
    border: none;
    transition: all 0.2s ease;
}

button#place_order:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(249,115,22,0.4);
}

/* ===== COUPON ===== */
.woocommerce-form-coupon {
    background: rgba(30,41,59,0.7);
    border-radius: 10px;
    padding: 12px;
}

/* ===== LINK ===== */
.woocommerce-checkout a {
    color: #38bdf8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout-review-order {
        padding: 16px;
    }
}

/* ===== FIX NOTICE TOP ===== */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: rgba(15, 23, 42, 0.9) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 10px;
}

/* TEXT LINK (coupon click here) */
.woocommerce-info a,
.woocommerce-message a {
    color: #38bdf8 !important;
    font-weight: 500;
}

/* ICON CHECKLIST */
.woocommerce-message::before {
    color: #22c55e !important;
}

/* BUTTON VIEW CART */
.woocommerce-message .button {
    background: linear-gradient(135deg, #f97316, #fb923c) !important;
    color: #fff !important;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
}

/* COUPON BAR */
.woocommerce-form-coupon-toggle {
    background: rgba(30,41,59,0.8) !important;
    color: #fff !important;
    border-radius: 10px;
}

.woocommerce-message,
.woocommerce-info {
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ===== CART BASE ===== */
.woocommerce-cart {
    background: #0b1220;
    color: #e5e7eb;
}

/* ===== TABLE ===== */
.woocommerce-cart table.shop_table {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

/* HEADER */
.woocommerce-cart th {
    background: transparent !important;
    color: #94a3b8;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ROW */
.woocommerce-cart td {
    color: #e5e7eb;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* PRODUCT NAME */
.woocommerce-cart .product-name a {
    color: #38bdf8;
    font-weight: 500;
}

/* PRICE */
.woocommerce-cart .amount {
    color: #facc15;
    font-weight: 600;
}

/* INPUT QTY */
.woocommerce-cart input.qty {
    background: #020617;
    border: 1px solid #1e293b;
    color: #fff;
    border-radius: 8px;
    padding: 6px;
}

/* REMOVE BUTTON */
.woocommerce-cart .product-remove a {
    color: #ef4444 !important;
    font-size: 18px;
}

/* ===== COUPON ===== */
.woocommerce-cart .coupon input {
    background: #020617;
    border: 1px solid #1e293b;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
}

/* APPLY BUTTON */
.woocommerce-cart .coupon button {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff;
    border-radius: 20px;
    border: none;
    padding: 10px 18px;
}

/* UPDATE CART */
.woocommerce-cart button[name="update_cart"] {
    background: #334155 !important;
    color: #fff !important;
    border-radius: 20px;
}

/* ===== TOTAL BOX ===== */
.cart_totals {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* TOTAL TEXT */
.cart_totals th,
.cart_totals td {
    color: #e5e7eb;
}

/* GRAND TOTAL */
.cart_totals tr:last-child td {
    color: #facc15;
    font-weight: bold;
    font-size: 18px;
}

/* ===== CHECKOUT BUTTON ===== */
.wc-proceed-to-checkout a {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: #fff !important;
    border-radius: 12px;
    padding: 14px;
    font-weight: 600;
    display: block;
    text-align: center;
    transition: 0.2s;
}

.wc-proceed-to-checkout a:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(34,197,94,0.4);
}

/* ===== MAIN CTA CHECKOUT ===== */
.wc-proceed-to-checkout a {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: #fff !important;
    border-radius: 999px;
    padding: 16px 24px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    display: block;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 10px 30px rgba(249,115,22,0.35);
}




.wc-proceed-to-checkout a {
    backdrop-filter: blur(6px);
}

/* APPLY COUPON */
.woocommerce-cart .coupon button {
    border-radius: 999px;
    box-shadow: 0 6px 15px rgba(249,115,22,0.3);
}

/* UPDATE CART */
button[name="update_cart"] {
    opacity: 0.7;
    transition: 0.2s;
}

button[name="update_cart"]:hover {
    opacity: 1;
}


.wc-proceed-to-checkout a {
    width: auto !important;
    display: inline-block !important;
    padding: 12px 22px !important;
    font-size: 14px !important;
    border-radius: 999px;
    min-width: 220px;
}

.wc-proceed-to-checkout {
    text-align: right;
}


/* ===== MOBILE COURSE FIX ===== */
@media (max-width: 768px) {

    /* wrapper biar ga mepet */
    .learndash-wrapper {
        padding: 16px !important;
    }

    /* layout jadi vertical */
    .robo-lesson-wrap {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px;
    }

    /* SIDEBAR MODULE */
    .lesson-sidebar {
        width: 100% !important;
        max-height: 220px;
        overflow-y: auto;
        border-radius: 12px;
        padding: 12px;
        background: rgba(255,255,255,0.03);
    }

    .lesson-sidebar li {
        font-size: 13px;
        line-height: 1.4;
        padding: 8px 10px;
    }

    /* ACTIVE MODULE */
    .lesson-sidebar .current {
        background: rgba(255,255,255,0.08);
        border-radius: 8px;
    }

    /* CONTENT AREA */
    .lesson-content {
        width: 100% !important;
    }

    /* CARD STYLE (yang tengah itu) */
    .lesson-card {
        padding: 16px !important;
        border-radius: 16px;
    }

    /* TITLE */
    .lesson-card h2,
    .lesson-card h3 {
        font-size: 16px !important;
        line-height: 1.4;
    }

    /* TEXT */
    .lesson-card p {
        font-size: 14px;
        line-height: 1.6;
    }

    /* PROGRESS CIRCLE biar ga kegedean */
    .lesson-progress {
        transform: scale(0.8);
        margin: 0 auto 10px;
    }

}

/* ===== MOBILE SIDEBAR SLIDE ===== */
.lesson-toggle {
    position: fixed;
    top: 70px;
    left: 12px;
    z-index: 999999;

    background: #1abc9c;
    color: #fff;
    border: none;
    border-radius: 8px;

    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;

    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .lesson-toggle {
        top: 65px;
        left: 10px;
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* SIDEBAR BASE */
.lesson-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #0f172a;
    z-index: 999998;

    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

/* ACTIVE */
.lesson-sidebar.active {
    transform: translateX(0);
}

/* OVERLAY */
.lesson-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999997;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.lesson-overlay.active {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 768px) {

    .robo-lesson-layout {
        display: block !important;
    }

    .lesson-content {
        width: 100% !important;
        margin: 0 !important;
        padding: 16px !important;
    }

    /* IMPORTANT: sidebar jangan makan layout */
    .lesson-sidebar {
        position: fixed;
    }
}

.lesson-toggle {
    position: absolute;
    top: 100px; /* SESUAI tinggi header lu */
    left: 16px;
    z-index: 1001;

    background: #14b8a6;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* ICON */
.lesson-toggle .icon {
    font-size: 16px;
}

/* MOBILE: HILANGIN TEXT */
@media (max-width: 768px) {
    .lesson-toggle .label {
        display: none;
    }

    .lesson-toggle {
        padding: 10px;
        border-radius: 10px;
    }
}

.lesson-toggle.active .icon {
    content: "✕";
}

/* tombol HARUS paling atas & bisa diklik */
.lesson-toggle {
    z-index: 1000000 !important;
    pointer-events: auto !important;
}

/* overlay di bawah tombol */
.lesson-overlay {
    z-index: 999998 !important;
}

/* sidebar di bawah tombol, di atas overlay */
.lesson-sidebar {
    z-index: 999999 !important;
}

/* DEFAULT (sidebar ketutup) */
.lesson-toggle {
    left: 16px;
}

/* SAAT SIDEBAR KEBOUKA */
.lesson-sidebar.active ~ .lesson-toggle {
    left: 270px; /* sesuai lebar sidebar lu */
}

@media (max-width: 768px) {
    .lesson-toggle {
        padding: 8px;
        font-size: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lesson-toggle::before {
        content: "☰";
        font-size: 18px;
    }
}

.robo-lesson-layout {
    position: relative;
}

.lesson-sidebar .course-title,
.lesson-sidebar h2 {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
}

.lesson-sidebar .course-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 12px;
    margin-bottom: 10px;

    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}

.lesson-sidebar {
    padding-top: 12px;
}

.lesson-sidebar ul li {
    padding: 8px 10px;
}

.lesson-sidebar h2 {
    max-width: 140px;
}

.lesson-toggle {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border-radius: 8px;

    background: #14b8a6;
    color: #fff;

    font-size: 16px;
}

.lesson-toggle .label {
    display: none;
}

.lesson-sidebar {
    padding-top: 150px;
}

@media (max-width: 768px) {
    .lesson-toggle {
        top: 70px;
        left: 12px;
    }
}

.lesson-toggle .icon {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 768px) {
  .lesson-toggle::before,
  .lesson-toggle::after {
    content: none !important;
  }
}

.lesson-toggle .icon {
  display: inline-block;
}

.lesson-toggle::before,
.lesson-toggle::after {
  display: none !important;
}

.lesson-toggle.active .icon {
  content: "×";
}

@media (max-width: 768px) {
  .course-categories,
  .courses-grid,
  .course-list,
  .row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .col-md-4,
  .col-lg-4,
  .col-4 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

@media (max-width: 768px) {
  .course-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .row {
    display: flex !important;
    flex-direction: column !important;
  }

  .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

@media (max-width: 768px) {
  .col-md-4,
  .col-lg-4,
  .col-sm-6,
  .col-6,
  .col-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .robo-arch-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 16px;
    padding: 0 12px;
  }

  .robo-arch-card {
    width: 100%;
  }
}

/* FIX footer text biar kebaca */
.site-footer,
.site-footer p,
.site-footer span,
.site-footer a,
.site-footer li {
  color: #1a1a1a !important;
  opacity: 1 !important;
}

/* biar link lebih jelas */
.site-footer a {
  color: #0d6efd !important;
}

.site-footer a:hover {
  color: #0a58ca !important;
}

.site-footer {
  background: #ffffff !important;
}

.site-footer p {
  line-height: 1.7;
}

/* FORCE footer text warna gelap */
body.single-sfwd-courses .site-footer,
body.single-sfwd-courses .site-footer * {
  color: #1a1a1a !important;
  opacity: 1 !important;
}

/* kalau masih ke override */
body.single-sfwd-courses .site-footer p,
body.single-sfwd-courses .site-footer span,
body.single-sfwd-courses .site-footer li {
  color: #1a1a1a !important;
}



body.single-sfwd-courses .ast-container > div h2 {
  display: none !important;
}

/* Hide harga saja (jangan tombol) */
body.single-sfwd-courses #roboedu-buy-box > div:first-child {
  display: none !important;
}

/* Fix Order Received (Thank You Page) */
.woocommerce-order-details__title,
.woocommerce-column__title {
    color: #ffffff !important;
    background: transparent !important;
}

/* Header "Order details" */
.woocommerce-order-details__title {
    padding: 10px 15px;
    font-weight: 700;
}

/* Table text biar kontras */
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    color: #ffffff !important;
}

/* Background biar konsisten gelap */
.woocommerce-order,
.woocommerce-order-details,
.woocommerce-customer-details {
    background: #1e293b !important;
    border-radius: 12px;
    padding: 20px;
}

/* Hilangin background abu2 yg ganggu */
.woocommerce-order-details__title {
    background: none !important;
}

/* Kasih garis bawah biar tetep keliatan */
.woocommerce-order-details__title {
    border-bottom: 2px solid #f59e0b;
}

/* FIX: Upload bukti section biar kebaca */
.tf-pay-upload-wrapper,
.tf-upload-proof,
.upload-bukti-wrapper {
    background: #ffffff !important;
    color: #111 !important;
}

/* Text di dalamnya */
.tf-pay-upload-wrapper *,
.tf-upload-proof *,
.upload-bukti-wrapper * {
    color: #111 !important;
}

/* Input file */
.tf-pay-upload-wrapper input[type="file"] {
    background: #f5f5f5;
    color: #111;
    border: 1px solid #ccc;
    padding: 8px;
}

/* Button upload */
.tf-pay-upload-wrapper button,
.tf-pay-upload-wrapper .button {
    background: #ff8c3a !important;
    color: #fff !important;
    border: none;
}

.tf-pay-upload-wrapper {
    background: #ffffff !important;
}

.tf-pay-upload-wrapper p,
.tf-pay-upload-wrapper label,
.tf-pay-upload-wrapper span {
    color: #000000 !important;
}

.tf-pay-upload-wrapper {
    border-radius: 12px;
    padding: 20px;
}

/* FIX: Override global white text di checkout */
.woocommerce-checkout .tf-pay-upload-wrapper,
.woocommerce-checkout .tf-pay-upload-wrapper * {
    color: #111 !important;
}

/* Background tetap putih */
.woocommerce-checkout .tf-pay-upload-wrapper {
    background: #ffffff !important;
}

/* Heading */
.woocommerce-checkout .tf-pay-upload-wrapper h3 {
    color: #111 !important;
}

/* Text biasa */
.woocommerce-checkout .tf-pay-upload-wrapper p {
    color: #333 !important;
}

/* FORCE FIX untuk box upload */
.woocommerce-checkout form[action*="tf"] {
    background: #fff !important;
}

.woocommerce-checkout form[action*="tf"] * {
    color: #111 !important;
}

.woocommerce-checkout {
    color: #000000;
}

/* ===== TF PAY UPLOAD - FINAL UI ===== */

.woocommerce-checkout .tf-pay-upload-wrapper,
.woocommerce-order .tf-pay-upload-wrapper {

    background: #4e79a7 !important; /* biru */
    padding: 24px;
    border-radius: 12px;
    margin-top: 20px;
}

/* Judul */
.tf-pay-upload-wrapper h3 {
    color: #0b1f33 !important;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Deskripsi */
.tf-pay-upload-wrapper p {
    color: #0b1f33 !important;
    opacity: 0.9;
    margin-bottom: 15px;
}

/* Input file */
.tf-pay-upload-wrapper input[type="file"] {
    background: #1f2d3d;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    width: 100%;
    margin-bottom: 15px;
}

/* Button upload */
.tf-pay-upload-wrapper button,
.tf-pay-upload-wrapper .button {
    background: #ff8c3a !important;
    color: #fff !important;
    border: none;
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
}

/* Hover */
.tf-pay-upload-wrapper button:hover {
    background: #ff7a1a !important;
}

/* FORCE TEXT DARK di box ini aja */
.tf-pay-upload-wrapper * {
    color: #0b1f33 !important;
}

/* TARGET LANGSUNG WRAPPER INLINE */
.woocommerce-order section.woocommerce-order-details div[style*="#f8f9fa"] {
    background: #4e79a7 !important;
    padding: 24px !important;
    border-radius: 12px !important;
}

/* TEXT DI DALAMNYA */
.woocommerce-order section.woocommerce-order-details div[style*="#f8f9fa"] * {
    color: #0b1f33 !important;
}

/* INPUT FILE */
.woocommerce-order section.woocommerce-order-details input[type="file"] {
    background: #1f2d3d !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 10px;
}

/* BUTTON */
.woocommerce-order section.woocommerce-order-details button,
.woocommerce-order section.woocommerce-order-details .button {
    background: #ff8c3a !important;
    color: #fff !important;
    border-radius: 25px;
    padding: 10px 18px;
    font-weight: 600;
}

body.single-sfwd-lessons .robo-lesson-content a {
    color: #ffffff !important;
}

/* Hide custom lesson header */
.robo-lesson-header {
    display: none !important;
}

/* Show default Astra header */
body.single-sfwd-lessons .site-header {
    display: block !important;
}

/* FORCE SHOW Astra header - HIGHEST PRIORITY */
body.single-sfwd-lessons .site-header,
body.single-sfwd-lessons .main-header-bar,
body.single-sfwd-lessons header#masthead {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 99999 !important;
    background: transparent !important;
}

/* Hide custom lesson header kalau masih ada */
#robo-lesson-header,
.robo-lesson-header {
    display: none !important;
}


/* NUCLEAR OPTION - FORCE SHOW ASTRA HEADER */
body.single-sfwd-lessons .site-header,
body.single-sfwd-lessons #masthead,
body.single-sfwd-lessons .main-header-bar,
body.single-sfwd-lessons .ast-header-break-point .site-header,
body.single-sfwd-lessons .ast-header-break-point #masthead {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 999999 !important;
}

/* Paksa semua child element juga visible */
body.single-sfwd-lessons .site-header *,
body.single-sfwd-lessons #masthead * {
    visibility: visible !important;
    opacity: 1 !important;
}

/* HIDE LEARNDASH FOCUS MODE SIDEBAR */
body.single-sfwd-lessons .ld-focus-sidebar,
body.single-sfwd-lessons .ld-course-navigation,
body.single-sfwd-lessons .ld-focus-mode-course-heading {
    display: none !important;
}

/* FORCE SHOW ASTRA HEADER */
body.single-sfwd-lessons .site-header,
body.single-sfwd-lessons #masthead {
    display: block !important;
    position: relative !important;
    z-index: 999999 !important;
}

/* HIDE LEARNDASH FOCUS LAYOUT */
body.single-sfwd-lessons .ld-focus {
    display: block !important;
}

/* ================================================
   COURSE CONTENT SECTION - DARK THEME OVERRIDE
   ================================================ */

/* Container Course Content */
.learndash-wrapper .ld-course-content {
    background: #0f172a !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
    overflow: hidden;
    margin-top: 32px;
}

/* Header "Course Content" */
.learndash-wrapper .ld-course-content h2,
.learndash-wrapper .ld-course-content .ld-table-list-header {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    padding: 16px 20px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* Header Row "LESSONS" dan "STATUS" */
.learndash-wrapper .ld-table-list-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 14px 20px !important;
    font-size: 13px !important;
    border-bottom: 2px solid rgba(255,255,255,0.15) !important;
}

/* Lesson Items */
.learndash-wrapper .ld-table-list-item {
    background: #1e293b !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    padding: 14px 20px !important;
    transition: all 0.2s ease;
}

.learndash-wrapper .ld-table-list-item:hover {
    background: #334155 !important;
}

/* Lesson Title Link */
.learndash-wrapper .ld-table-list-item a,
.learndash-wrapper .ld-table-list-item .ld-item-title {
    color: #94a3b8 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.learndash-wrapper .ld-table-list-item a:hover {
    color: #60a5fa !important;
}

/* Active/Current Lesson */
.learndash-wrapper .ld-table-list-item.ld-is-current-lesson {
    background: rgba(59, 130, 246, 0.1) !important;
    border-left: 4px solid #3b82f6 !important;
}

.learndash-wrapper .ld-table-list-item.ld-is-current-lesson a {
    color: #60a5fa !important;
    font-weight: 700 !important;
}

/* Completed Lesson */
.learndash-wrapper .ld-table-list-item.ld-is-completed {
    opacity: 0.7;
}

.learndash-wrapper .ld-table-list-item.ld-is-completed .ld-status-icon {
    color: #4ade80 !important;
}

/* Status Icons */
.learndash-wrapper .ld-status-icon {
    color: #64748b !important;
}

.learndash-wrapper .ld-status-complete {
    color: #4ade80 !important;
}

.learndash-wrapper .ld-status-incomplete {
    color: #f59e0b !important;
}

/* Remove Orange Color Completely */
.learndash-wrapper .ld-table-list-header,
.learndash-wrapper .ld-course-content * {
    background-color: transparent !important;
}

/* Force Dark Background for All Elements */
.ld-table-list,
.ld-course-content,
.ld-item-list {
    background: #0f172a !important;
}

/* Checkbox/Status Column */
.learndash-wrapper .ld-table-list-item-status {
    color: #64748b !important;
}

/* Expand/Collapse Icon */
.learndash-wrapper .ld-item-list-item-expanded,
.learndash-wrapper .ld-item-list-item-collapse {
    color: #94a3b8 !important;
}

.learndash-wrapper .ld-item-list-item-expanded:hover,
.learndash-wrapper .ld-item-list-item-collapse:hover {
    color: #60a5fa !important;
}

/* FORCE DARK THEME - NUCLEAR OPTION */
body .learndash-wrapper .ld-table-list-header,
body .learndash-wrapper .ld-course-content .ld-table-list-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
    color: #ffffff !important;
}

body .learndash-wrapper .ld-table-list-item,
body .learndash-wrapper .ld-course-content .ld-table-list-item {
    background: #1e293b !important;
    color: #94a3b8 !important;
}

/* Remove ALL Orange */
body .learndash-wrapper *[style*="background"] {
    background: #1e293b !important;
}

/* SUPER AGGRESSIVE OVERRIDE - HIGHEST SPECIFICITY */
body.single-sfwd-courses div.learndash_course_content[style],
body div.learndash_course_content[style],
div.learndash_course_content[style] {
    background: #0f172a !important;
    background-color: #0f172a !important;
    background-image: none !important;
}

/* Force remove inline background */
body .learndash_course_content {
    background: #0f172a !important;
}

/* Header - Kill Orange */
body .ld-table-list-header,
body .learndash_course_content .ld-table-list-header,
.ld-table-list-header[style] {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
    background-color: #1e3a8a !important;
    background-image: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
    color: #ffffff !important;
    padding: 16px 20px !important;
    font-weight: 700 !important;
}

/* Lesson Items */
body .ld-table-list-item,
body .learndash_course_content .ld-item-list-item,
.ld-table-list-item[style] {
    background: #1e293b !important;
    background-color: #1e293b !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    padding: 14px 20px !important;
}

body .ld-table-list-item:hover {
    background: #334155 !important;
}

/* Links */
body .learndash_course_content a,
body .ld-table-list-item a {
    color: #94a3b8 !important;
}

body .learndash_course_content a:hover {
    color: #60a5fa !important;
}

.mentor-reviews-pagination a:hover {
    background-color: #007bff !important;
    color: white !important;
    border-color: #007bff !important;
}

.mentor-reviews-pagination a {
    cursor: pointer;
}


