/* ============================================================
   BATCH 3 — Student/Instructor Dashboard + Wishlist
   ============================================================ */

/* --- Dashboard: profile header --- */
.dashboard__top-wrap {
    border-radius: 16px !important;
    overflow: hidden !important;
    margin-bottom: 32px !important;
    border: 1px solid #E5E7EB !important;
}
.dashboard__instructor-info {
    background: #fff !important;
    padding: 20px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}
.dashboard__instructor-info-left .content h4.title {
    color: #1B3A2D !important;
    font-size: 18px !important;
    font-weight: 700 !important;
}
.dashboard__instructor-info-left .content ul li {
    color: #6B7280 !important;
    font-size: 13px !important;
}
.dashboard__instructor-info-left .content ul li img.injectable {
    filter: invert(43%) sepia(52%) saturate(530%) hue-rotate(108deg) brightness(82%) contrast(95%) !important;
    width: 14px !important;
    margin-right: 5px !important;
}
.dashboard__instructor-info-left .thumb img {
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    border: 3px solid #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12) !important;
    object-fit: cover !important;
}

/* --- Dashboard: sidebar --- */
.dashboard__sidebar-wrap {
    background: #fff !important;
    border-radius: 14px !important;
    padding: 20px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07) !important;
    border: 1px solid #E5E7EB !important;
    position: sticky !important;
    top: 90px !important;
}
.dashboard__sidebar-title h6.title {
    color: #9CA3AF !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
}
.dashboard__sidebar-menu ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    color: #374151 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: background 0.15s, color 0.15s !important;
    text-decoration: none !important;
}
.dashboard__sidebar-menu ul li a img,
.dashboard__sidebar-menu ul li a i {
    width: 18px !important;
    flex-shrink: 0 !important;
    opacity: 0.65 !important;
    font-size: 16px !important;
    color: #6B7280 !important;
}
.dashboard__sidebar-menu ul li a:hover {
    background: #F0FAF4 !important;
    color: #1B3A2D !important;
}
.dashboard__sidebar-menu ul li a:hover img,
.dashboard__sidebar-menu ul li a:hover i {
    opacity: 1 !important;
    color: #1B7A47 !important;
    filter: invert(43%) sepia(52%) saturate(530%) hue-rotate(108deg) brightness(82%) contrast(95%) !important;
}
.dashboard__sidebar-menu ul li.active a {
    background: #E8F5EE !important;
    color: #1B3A2D !important;
    font-weight: 600 !important;
}
.dashboard__sidebar-menu ul li.active a img,
.dashboard__sidebar-menu ul li.active a i {
    opacity: 1 !important;
    color: #1B3A2D !important;
    filter: invert(43%) sepia(52%) saturate(530%) hue-rotate(108deg) brightness(82%) contrast(95%) !important;
}

/* --- Dashboard: content area --- */
.dashboard__content-wrap {
    background: #fff !important;
    border-radius: 14px !important;
    padding: 24px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
    border: 1px solid #E5E7EB !important;
    margin-bottom: 24px !important;
}
.dashboard__content-title h4.title {
    color: #1B3A2D !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #E8F5EE !important;
    padding-bottom: 12px !important;
    margin-bottom: 20px !important;
}

/* --- Dashboard: counter items --- */
.dashboard__counter-item {
    background: #F0FAF4 !important;
    border-radius: 12px !important;
    border: 1px solid #B8DFC9 !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
    transition: box-shadow 0.2s !important;
}
.dashboard__counter-item:hover {
    box-shadow: 0 4px 16px rgba(27,122,71,0.1) !important;
}
.dashboard__counter-item .icon {
    width: 52px !important;
    height: 52px !important;
    background: #1B3A2D !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    font-size: 22px !important;
    color: #fff !important;
}
.dashboard__counter-item .icon img {
    width: 24px !important;
    filter: brightness(0) invert(1) !important;
}
.dashboard__counter-item .icon i {
    color: #fff !important;
}
.dashboard__counter-item .content .count {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #1B3A2D !important;
    display: block !important;
}
.dashboard__counter-item .content p {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #1B7A47 !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

/* --- Dashboard: review/order tables --- */
.dashboard__review-table table thead tr {
    background: #1B3A2D !important;
}
.dashboard__review-table table thead tr th {
    color: #fff !important;
    font-weight: 600 !important;
    padding: 12px 16px !important;
    font-size: 13px !important;
    border: none !important;
}
.dashboard__review-table table tbody tr:hover {
    background: #F0FAF4 !important;
}
.dashboard__review-table table tbody td {
    padding: 12px 16px !important;
    vertical-align: middle !important;
    border-bottom: 1px solid #F3F4F6 !important;
    font-size: 14px !important;
    color: #374151 !important;
}

/* --- Wishlist card (courses__item-four) --- */
.courses__item-four {
    background: #fff !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07) !important;
    transition: box-shadow 0.2s, transform 0.2s !important;
    border: none !important;
    margin-bottom: 20px !important;
}
.courses__item-four:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.13) !important;
    transform: translateY(-3px) !important;
}
.courses__item-thumb-three {
    position: relative !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    display: block !important;
}
.courses__item-thumb-three img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s !important;
}
.courses__item-four:hover .courses__item-thumb-three img {
    transform: scale(1.04) !important;
}
.courses__price {
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    background: #1B3A2D !important;
    color: #fff !important;
    border-radius: 8px !important;
    padding: 4px 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}
.courses__item-content-three {
    padding: 14px 16px !important;
}
.courses__item-content-three h2.title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 6px 0 !important;
    line-height: 1.45 !important;
}
.courses__item-content-three h2.title a {
    color: inherit !important;
    text-decoration: none !important;
}
.courses__item-content-three h2.title a:hover {
    color: #1B7A47 !important;
}
.courses__item-content-three .courses__item-tag a {
    color: #1B7A47 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}
.courses__item-content-three .courses__review .rating .fa-star {
    color: #F5A623 !important;
    font-size: 12px !important;
}
.courses__item-content-three .courses__review span {
    color: #6B7280 !important;
    font-size: 12px !important;
}
.courses__item-bottom-three ul li {
    color: #6B7280 !important;
    font-size: 12px !important;
}
.courses__item-bottom-three ul li i {
    color: #2FBF71 !important;
    margin-right: 4px !important;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .sfc-hero-title {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .sfc-ecourse-hero {
        padding: 40px 0 28px;
    }

    .sfc-hero-title {
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .sfc-hero-desc {
        font-size: 14px;
    }

    .sfc-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .sfc-sort-select {
        width: 100%;
    }

    .sfc-pills-wrap {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .sfc-courses-bg,
    .sfc-courses-main {
        padding: 24px 0 48px;
    }

    .sfc-pill {
        flex-shrink: 0;
    }
}


