/* =====================================================================
   CAITD front-end polish.
   Additive only: loaded AFTER style.css / responsive.css so it wins.
   Keeps the theme's colours, markup, JS and layout positioning intact.
   Remove the single <link> to polish.css to revert everything.
   ===================================================================== */

:root {
    --pl-shadow: 0 6px 24px rgba(30, 30, 47, .08);
    --pl-shadow-lg: 0 12px 40px rgba(30, 30, 47, .14);
    --pl-radius: 10px;
}

/* ---------------------------------------------------------------------
   TOP BAR (.header_3) — same 40px height, just wider breathing room
   and more legible text.
   --------------------------------------------------------------------- */
.header_3 { padding: 0 clamp(16px, 5vw, 120px); }

header.header_3 .wsus__header_left li a { color: rgba(255, 255, 255, .78); transition: color .2s ease; }
header.header_3 .wsus__header_left li a:hover { color: #fff; }
header.header_3 .wsus__header_left li a i { opacity: .9; }

header.header_3 .wsus__header_center p { color: rgba(255, 255, 255, .78); }
header.header_3 .wsus__header_center p span { border-radius: 4px; letter-spacing: .02em; }
header.header_3 .wsus__header_center p a { position: relative; transition: color .2s ease; }
header.header_3 .wsus__header_center p a:hover { color: var(--colorOrange); }

/* ---------------------------------------------------------------------
   MAIN MENU (.main_menu_3)
   --------------------------------------------------------------------- */
.main_menu_3 { padding: 0 clamp(16px, 5vw, 120px); transition: box-shadow .25s ease, background .25s ease; }
.main_menu_3 .navbar-brand img { transition: transform .25s ease; }
.main_menu_3 .navbar-brand:hover img { transform: scale(1.03); }

/* Category button: softer, clearer */
.main_menu_3 .menu_category {
    transition: background .2s ease, box-shadow .2s ease;
    background: rgba(53, 109, 241, .08);
}
.main_menu_3 .menu_category:hover { background: rgba(53, 109, 241, .14); }

/* Nav links: animated underline, clearer active state */
.main_menu_3 .navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    transition: color .2s ease;
}
.main_menu_3 .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 6px;
    height: 2px; border-radius: 2px;
    background: var(--colorPrimary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.main_menu_3 .navbar-nav .nav-link:hover,
.main_menu_3 .navbar-nav .nav-link.active { color: var(--colorPrimary); }
.main_menu_3 .navbar-nav .nav-link:hover::after,
.main_menu_3 .navbar-nav .nav-link.active::after { transform: scaleX(1); }

/* Dropdown (Knowledge pages) — rounded, soft shadow, slide in */
.main_menu_3 .navbar-nav .droap_menu,
.main_menu .droap_menu {
    border-radius: var(--pl-radius);
    box-shadow: var(--pl-shadow-lg);
    overflow: hidden;
    border: 1px solid rgba(30, 30, 47, .06);
    padding: 6px;
}
.main_menu .droap_menu li a { border-radius: 7px; transition: background .18s ease, color .18s ease, padding-left .18s ease; }
.main_menu .droap_menu li a:hover { background: rgba(53, 109, 241, .08); color: var(--colorPrimary); padding-left: 20px; }

/* Category mega list (no overflow:hidden — the sub-menus fly out to the side) */
.main_menu_3 .menu_category > ul {
    border-radius: var(--pl-radius);
    box-shadow: var(--pl-shadow-lg);
}
.main_menu_3 .menu_category > ul > li > a { transition: background .18s ease, color .18s ease; }
.main_menu_3 .menu_category > ul > li > a:hover { background: rgba(53, 109, 241, .06); color: var(--colorPrimary); }
.category_sub_menu { border-radius: var(--pl-radius); box-shadow: var(--pl-shadow-lg); }

/* Right-side icons (search, wishlist, cart): round hover target */
.main_menu_3 .right_menu .menu_search_btn,
.main_menu_3 .right_menu ul > li > a[id="desktop_wishlist_btn"],
.main_menu_3 .right_menu ul > li > a[href*="cart"] {
    border-radius: 50% !important;
    transition: background .2s ease;
}
.main_menu_3 .right_menu .menu_search_btn:hover,
.main_menu_3 .right_menu ul > li > a[id="desktop_wishlist_btn"]:hover,
.main_menu_3 .right_menu ul > li > a[href*="cart"]:hover { background: rgba(53, 109, 241, .10) !important; }

/* Sign-in / dashboard button: a touch more presence */
.main_menu_3 .right_menu .common_btn { box-shadow: 0 4px 12px rgba(53, 109, 241, .25); }

/* Search overlay input: rounded field */
.wsus__menu_3_search_area form input { border-radius: var(--pl-radius); }

/* ---------------------------------------------------------------------
   FOOTER (.footer_3)
   --------------------------------------------------------------------- */
.footer_3 .wsus__footer_link h2,
.footer_3 .wsus__footer_3_logo_area h2,
.footer_3 .wsus__footer_3_subscribe h3 { position: relative; }

.footer_3 .wsus__footer_link ul li a {
    display: inline-block;
    transition: color .2s ease, padding-left .2s ease;
}
.footer_3 .wsus__footer_link ul li a:hover { color: var(--colorPrimary); padding-left: 8px; }

/* Social icons: subtle lift + ring on hover */
.wsus__footer_3_logo_area ul li a { transition: transform .25s ease, box-shadow .25s ease !important; }
.wsus__footer_3_logo_area ul li a:hover { transform: translateY(-3px) !important; box-shadow: 0 8px 18px rgba(0, 0, 0, .25) !important; }
.footer-social-icon { transition: filter .2s ease; }

/* Contact list: align icon + text neatly */
.wsus__footer_3_subscribe ul li { transition: transform .2s ease; }
.wsus__footer_3_subscribe ul li:hover { transform: translateX(3px); }
.wsus__footer_3_subscribe ul li a:hover { color: var(--colorPrimary); }

/* Copyright bar: clearer separation */
.wsus__footer_copyright_area { border-top: 1px solid rgba(255, 255, 255, .10); }

/* ---------------------------------------------------------------------
   MOBILE — offcanvas menu & mobile top bar
   --------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .mobile_menu_area_top { padding-left: 16px; padding-right: 16px; }

    .offcanvas .offcanvas-body .mobile_menu_header li a { transition: background .2s ease, color .2s ease; }

    /* Bigger, comfier tap targets in the mobile nav list */
    #offcanvasWithBothOptions .mobile_menu li a { padding-top: 11px; padding-bottom: 11px; }

    .mobile_menu_search input { border-radius: var(--pl-radius); }
    .mobile_menu_search button { border-radius: var(--pl-radius); }

    /* Keep menu side padding comfortable on tablets */
    .main_menu_3 { padding-left: clamp(14px, 4vw, 40px); padding-right: clamp(14px, 4vw, 40px); }
    .header_3 { padding-left: clamp(14px, 4vw, 40px); padding-right: clamp(14px, 4vw, 40px); }
}

/* ---------------------------------------------------------------------
   TOP BAR hides smoothly on scroll (in sync with the menu docking to top)
   --------------------------------------------------------------------- */
header.header_3 {
    transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
    will-change: transform;
}
body.pl-topbar-hidden header.header_3 {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* =====================================================================
   HEADER v2 — stronger, more branded main menu (colours unchanged)
   ===================================================================== */
/* Course Categories: solid brand button instead of a grey box */
.main_menu_3 .menu_category {
    background: var(--colorPrimary);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(53, 109, 241, .28);
}
.main_menu_3 .menu_category:hover { background: #2c5fd6; }
.main_menu_3 .menu_category .icon img,
.main_menu_3 .menu_category:hover .icon img { filter: brightness(0) invert(1) !important; }

/* Nav links: a touch larger, comfortable spacing */
.main_menu_3 .navbar-nav .nav-link { font-size: 16px; padding-left: 15px; padding-right: 15px; }

/* Search: a subtle round chip so it's discoverable (no bare ring if the icon font is slow) */
.main_menu_3 .right_menu .menu_search_btn {
    background: rgba(30, 30, 47, .06);
    border-radius: 50% !important;
}
.main_menu_3 .right_menu .menu_search_btn:hover { background: rgba(53, 109, 241, .12) !important; }
.main_menu_3 .right_menu .menu_search_btn i { color: var(--colorBlack) !important; font-size: 18px !important; }

/* Sign in button: a bit more padding so it reads as the primary action */
.main_menu_3 .right_menu .common_btn { padding-left: 26px; padding-right: 26px; font-weight: 600; }

/* ---------------------------------------------------------------------
   Guest buttons: outlined "Log in" + filled "Sign up"
   --------------------------------------------------------------------- */
.main_menu_3 .right_menu > ul { display: flex; align-items: center; gap: 10px; }
.main_menu_3 .right_menu .btn_login {
    display: inline-block;
    padding: 9px 22px;
    border-radius: 8px;
    border: 1.5px solid var(--colorPrimary);
    background: #fff;
    color: var(--colorPrimary);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    transition: background .2s ease, color .2s ease;
    white-space: nowrap;
}
.main_menu_3 .right_menu .btn_login:hover { background: var(--colorPrimary); color: #fff; }

/* =====================================================================
   HOMEPAGE sections — safe first pass: card lift + smooth hover.
   (Additive only; deeper per-section work follows from live screenshots.)
   ===================================================================== */
.wsus__single_courses_3,
.wsus__single_blog_4,
.wsus__single_category_4,
.wsus__single_testimonial,
.wsus__single_quality_courses {
    transition: transform .28s ease, box-shadow .28s ease;
    will-change: transform;
}
.wsus__single_courses_3:hover,
.wsus__single_blog_4:hover,
.wsus__single_category_4:hover,
.wsus__single_testimonial:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(30, 30, 47, .12);
}


/* Primary buttons across the page: subtle depth */
section .common_btn { box-shadow: 0 6px 16px rgba(53, 109, 241, .18); }

/* =====================================================================
   HERO (wsus__banner_3)
   ===================================================================== */
/* "Welcome" label → soft pill badge. The theme pins a book icon via ::after
   (left:-4px), so leave room on the left and tuck that icon inside the pill. */
.wsus__banner_3_text h5 {
    display: inline-flex;
    align-items: center;
    background: rgba(53, 109, 241, .10);
    color: var(--colorPrimary);
    padding: 7px 20px 7px 44px;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .02em;
}
.wsus__banner_3_text h5::after {
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
}
/* Primary button a little bigger / bolder */
.wsus__banner_2_btn_area .common_btn { padding: 14px 38px; font-size: 16px; font-weight: 600; }

/* Play button: gentle pulse ring */
.wsus__banner_2_btn_area .play_btn_area .play_btn { position: relative; }
.wsus__banner_2_btn_area .play_btn_area .play_btn::before {
    content: "";
    position: absolute; inset: 0; border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(53, 109, 241, .40);
    animation: pl-pulse 2.2s ease-out infinite;
}
@keyframes pl-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(53, 109, 241, .40); }
    70%  { box-shadow: 0 0 0 16px rgba(53, 109, 241, 0); }
    100% { box-shadow: 0 0 0 0 rgba(53, 109, 241, 0); }
}

/* Feature cards under the hero: lift on hover */
.wsus__banner_features li { transition: transform .25s ease, box-shadow .25s ease; }
.wsus__banner_features li:hover { transform: translateY(-6px); box-shadow: 0 16px 38px rgba(30, 30, 47, .14); }

/* =====================================================================
   STUDENT DASHBOARD  (/student/dashboard, profile, orders, reviews …)
   Shared classes, so this polishes every student panel at once.
   ===================================================================== */

/* --- KPI stat cards: clean white cards, per-metric accent, hover lift --- */
.wsus__dash_earning {
    background: #fff !important;
    border: 1px solid rgba(30, 30, 47, .06);
    border-radius: 14px;
    box-shadow: var(--pl-shadow);
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.wsus__dash_earning::before {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--colorPrimary);
}
.wsus__dashboard .col-xl-8 .row > div:nth-child(2) .wsus__dash_earning::before { background: #F5A623; }
.wsus__dashboard .col-xl-8 .row > div:nth-child(3) .wsus__dash_earning::before { background: #159F46; }
.wsus__dash_earning:hover { transform: translateY(-5px); box-shadow: var(--pl-shadow-lg); }
.wsus__dash_earning h6 { font-size: 12px; letter-spacing: .04em; color: #8A8B93; margin: 0; }
.wsus__dash_earning h6 span { color: var(--colorBlack) !important; font-weight: 600; }
.wsus__dash_earning h6 small { font-weight: 500; text-transform: none; }
.wsus__dash_earning h3 { font-size: 34px; color: var(--colorBlack); margin-top: 6px; }

/* --- Profile card: flexible height, ringed avatar, role as a pill --- */
.wsus__dashboard_sidebar_top {
    height: auto;
    padding-bottom: 28px;
    box-shadow: var(--pl-shadow);
    border: 1px solid rgba(30, 30, 47, .05);
}
.wsus__dashboard_sidebar_top .img {
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(30, 30, 47, .16);
}
.wsus__dashboard_sidebar_top h4 { font-size: 19px; margin-top: 16px; }
.wsus__dashboard_sidebar_top p { margin-top: 8px; }
.wsus__dashboard_sidebar_top p strong {
    display: inline-block;
    background: rgba(53, 109, 241, .10);
    color: var(--colorPrimary);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .04em;
}

/* --- Sidebar menu: softer card, active accent bar, hover slide --- */
.wsus__dashboard_sidebar_menu { box-shadow: var(--pl-shadow); }
.wsus__dashboard_sidebar_menu li a { position: relative; transition: background .25s ease, color .25s ease, padding-left .2s ease; }
.wsus__dashboard_sidebar_menu li a::before {
    content: "";
    position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px;
    border-radius: 0 3px 3px 0;
    background: transparent;
    transition: background .2s ease;
}
.wsus__dashboard_sidebar_menu li a.active::before { background: #fff; }
.wsus__dashboard_sidebar_menu li a:hover { padding-left: 24px; }

/* --- Content card + orders table --- */
.wsus__dashboard_contant {
    box-shadow: var(--pl-shadow);
    border: 1px solid rgba(30, 30, 47, .05);
    border-radius: 14px;
}
.wsus__dash_course_table .table tr th {
    background: #F7F9FC;
    letter-spacing: .03em;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}
.wsus__dash_course_table .table tbody tr:hover td { background: #F9FBFF; }
.wsus__dash_course_table td.invoice { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13px; }
.wsus__dash_course_table td.amount { font-weight: 600; color: var(--colorBlack); }

/* Status chips: soft tinted pills (covers the lowercase .pending in markup too) */
.wsus__dash_course_table .status p {
    width: auto !important;
    display: inline-block;
    min-width: 88px;
    padding: 5px 16px !important;
    border-radius: 999px !important;
    font-weight: 600;
}
.wsus__dash_course_table .status .active { background: rgba(21, 159, 70, .12) !important; color: #159F46 !important; }
.wsus__dash_course_table .status .pending,
.wsus__dash_course_table .status .Pending { background: rgba(231, 149, 32, .14) !important; color: #E79520 !important; }

/* View/invoice action: neat circular button (markup inline size removed) */
.wsus__dash_course_table .icon a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(53, 109, 241, .10);
    transition: background .2s ease, transform .2s ease;
}
.wsus__dash_course_table .icon a:hover { background: rgba(53, 109, 241, .18); transform: translateY(-2px); }
.wsus__dash_course_table .icon img { width: 20px !important; height: 20px !important; }

/* Mobile: comfortable stacking */
@media (max-width: 767.98px) {
    .wsus__dashboard_sidebar { margin-top: 0; }
    .wsus__dash_earning { padding: 22px 22px; }
    .wsus__dash_earning h3 { font-size: 28px; }
    .wsus__dashboard_contant_top { padding: 22px 20px 18px; }
    .wsus__dash_course_table .table tr th,
    .wsus__dash_course_table .table tr td { padding-left: 18px !important; }
}

/* =====================================================================
   BREADCRUMB BANNER (.wsus__breadcrumb) — keep the theme's photo + shapes
   and its original height; just a light polish: a richer overlay tint,
   a more readable title, and a tidy pill breadcrumb with the current page
   highlighted. (No background / padding override — nothing to clip.)
   ===================================================================== */
/* Overlay: branded dark-blue gradient instead of flat 75% black.
   The photo still shows through, text stays crisp. */
.wsus__breadcrumb_overlay {
    background: linear-gradient(118deg, rgba(8, 18, 44, .86) 0%, rgba(10, 24, 60, .72) 55%, rgba(20, 43, 110, .58) 100%) !important;
}

/* Title: a touch more presence and readable over the photo */
.wsus__breadcrumb_text h1 {
    letter-spacing: .01em;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

/* Breadcrumb → translucent glass pill, home icon tucked inside,
   current page in brand gold */
.wsus__breadcrumb_text ul {
    display: inline-flex;
    align-items: center;
    gap: 26px;
    padding: 9px 22px 9px 44px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.wsus__breadcrumb_text ul::after { left: 20px; top: 50%; transform: translateY(-50%); }
.wsus__breadcrumb_text ul li,
.wsus__breadcrumb_text ul li a { font-size: 14px; letter-spacing: .04em; }
.wsus__breadcrumb_text ul li a { color: rgba(255, 255, 255, .82); transition: color .2s ease; }
.wsus__breadcrumb_text ul li a:hover { color: #fff; }
.wsus__breadcrumb_text ul li:last-child { color: #FFD54A; font-weight: 600; }
.wsus__breadcrumb_text ul li a::after { background: rgba(255, 255, 255, .6); }

@media (max-width: 767.98px) {
    .wsus__breadcrumb_text ul { gap: 20px; }
}

/* =====================================================================
   STUDENT PROFILE forms (/student/profile) — shared field styling for the
   Information, Password, Social and Instructor cards.
   ===================================================================== */
/* Labels */
.wsus__dashboard_profile_update_info label,
.wsus__dashboard_password_change_input label,
.wsus__dashboard_social_profile_input label,
.forum_create_topic_input label {
    margin-bottom: 7px;
    font-size: 13.5px;
    letter-spacing: .01em;
}

/* Text inputs, textareas, native selects */
.wsus__dashboard_profile_update_info input,
.wsus__dashboard_profile_update_info textarea,
.wsus__dashboard_profile_update_info select,
.wsus__dashboard_password_change_input input,
.wsus__dashboard_social_profile_input input,
.forum_create_topic_input input[type="text"],
.forum_create_topic_input textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 1.5px solid #E6E8EF !important;
    border-radius: 10px !important;
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    color: var(--colorBlack);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.wsus__dashboard_profile_update_info textarea,
.forum_create_topic_input textarea { min-height: 140px; padding: 14px 18px; line-height: 1.6; }

.wsus__dashboard_profile_update_info input:focus,
.wsus__dashboard_profile_update_info textarea:focus,
.wsus__dashboard_profile_update_info select:focus,
.wsus__dashboard_password_change_input input:focus,
.wsus__dashboard_social_profile_input input:focus,
.forum_create_topic_input input[type="text"]:focus,
.forum_create_topic_input textarea:focus {
    border-color: var(--colorPrimary) !important;
    box-shadow: 0 0 0 4px rgba(53, 109, 241, .12);
    outline: none;
}
::placeholder { color: #A7A9B4; }

/* Gender dropdown (niceSelect) — match the inputs */
.wsus__dashboard_profile_update_info .nice-select {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border: 1.5px solid #E6E8EF;
    border-radius: 10px;
    font-size: 15px;
    line-height: normal;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.wsus__dashboard_profile_update_info .nice-select.open,
.wsus__dashboard_profile_update_info .nice-select:focus {
    border-color: var(--colorPrimary);
    box-shadow: 0 0 0 4px rgba(53, 109, 241, .12);
}
.wsus__dashboard_profile_update_info .nice-select .list {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--pl-shadow-lg);
    border: 1px solid rgba(30, 30, 47, .06);
    padding: 6px;
}
.wsus__dashboard_profile_update_info .nice-select .option { border-radius: 7px; }
.wsus__dashboard_profile_update_info .nice-select .option.selected { color: var(--colorPrimary); }

/* Avatar uploader: ringed image + branded camera badge */
.wsus__dashboard_profile_avatar .img > img {
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(30, 30, 47, .16);
}
.wsus__dashboard_profile_avatar .img label {
    width: 30px; height: 30px;
    bottom: 0; right: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--colorPrimary);
    border: 2px solid #fff;
    box-shadow: 0 3px 8px rgba(53, 109, 241, .30);
}
.wsus__dashboard_profile_avatar .img label img {
    width: 15px !important; height: 12px !important;
    filter: brightness(0) invert(1);
}
.wsus__dashboard_profile_avatar .img label:hover { background: #2c5fd6; transform: translateY(-1px); }

/* Document upload (instructor): rounded, tidy */
.forum_create_topic_input .file label { border-radius: 10px 0 0 10px; }
.forum_create_topic_input .file p { border: 1.5px solid #E6E8EF; border-radius: 0 10px 10px 0; }

/* Submit buttons already lift via section .common_btn; give comfy padding */
.wsus__dashboard_profile_update_btn .common_btn,
.wsus__dashboard_password_change_btn .common_btn,
.wsus__dashboard_social_profile_btn .common_btn { padding: 13px 34px; }

/* =====================================================================
   PROFILE redesign — hero header + avatar crop modal
   ===================================================================== */
.pl-profile-card { overflow: hidden; }

.pl-profile-hero { position: relative; }
.pl-profile-hero-cover {
    height: 110px;
    background:
        radial-gradient(620px 240px at 85% -40%, rgba(53, 109, 241, .60), transparent 60%),
        linear-gradient(120deg, #0B1B3F 0%, #142B63 55%, #1E3C86 100%);
}
.pl-profile-hero-body {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 0 30px 20px;
    margin-top: -16px;
}
.pl-avatar-wrap { position: relative; flex: 0 0 auto; }
.pl-avatar {
    width: 104px; height: 104px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    background: #fff;
    box-shadow: 0 10px 24px rgba(30, 30, 47, .20);
    display: block;
}
.pl-avatar-btn {
    position: absolute; right: 2px; bottom: 2px;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--colorPrimary);
    color: #fff;
    border: 2px solid #fff;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(53, 109, 241, .40);
    transition: background .2s ease, transform .2s ease;
}
.pl-avatar-btn:hover { background: #2c5fd6; transform: translateY(-1px); }
.pl-profile-hero-text { padding-bottom: 4px; min-width: 0; }
.pl-profile-hero-text h4 { font-size: 19px; font-weight: 600; line-height: 1.25; margin: 0; color: var(--colorBlack); }
.pl-profile-hero-text p { margin: 2px 0 7px; color: var(--paraColor); font-size: 13.5px; }
.pl-role-chip {
    display: inline-block;
    background: rgba(53, 109, 241, .10);
    color: var(--colorPrimary);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* Section label inside the forms */
.pl-section-title {
    display: flex; align-items: center; gap: 9px;
    font-size: 15px; font-weight: 600; color: var(--colorBlack);
    padding: 18px 30px 0;
    margin-bottom: -4px;
}
.pl-section-title i { color: var(--colorPrimary); font-size: 14px; }

/* ---- Crop modal ---- */
.pl-crop-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: none; align-items: center; justify-content: center;
    background: rgba(10, 18, 40, .62);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    padding: 16px;
}
.pl-crop-modal.open { display: flex; }
.pl-crop-dialog {
    width: min(94vw, 460px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .38);
    animation: pl-pop .18s ease-out;
}
@keyframes pl-pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.pl-crop-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eef0f4;
    font-size: 16px; font-weight: 600; color: var(--colorBlack);
}
.pl-crop-close { background: none; border: none; font-size: 24px; line-height: 1; color: #8A8B93; cursor: pointer; }
.pl-crop-close:hover { color: var(--colorBlack); }
.pl-crop-body { padding: 18px; background: #f6f7f9; }
.pl-crop-area { height: 300px; width: 100%; }
.pl-crop-area img { max-width: 100%; display: block; }
.pl-crop-hint { margin: 12px 2px 0; font-size: 12.5px; color: #8A8B93; text-align: center; }
.pl-crop-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; }
.pl-btn-ghost {
    padding: 11px 22px;
    border-radius: 9px;
    border: 1.5px solid #E6E8EF;
    background: #fff;
    color: var(--colorBlack);
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}
.pl-btn-ghost:hover { background: #f3f4f6; }
.pl-crop-foot .common_btn { border: none; cursor: pointer; }

@media (max-width: 575.98px) {
    .pl-profile-hero-body { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: -42px; }
    .pl-avatar { width: 92px; height: 92px; }
    .pl-crop-area { height: 240px; }
}

/* Avatar hard-lock — ID selector + !important beats any theme/cropper img rule
   that was overriding the hero avatar's width/height. */
img#avatarPreview,
.wsus__dashboard .pl-profile-hero .pl-avatar {
    width: 104px !important;
    height: 104px !important;
    max-width: 104px !important;
    min-width: 104px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    flex: 0 0 auto;
}
@media (max-width: 575.98px) {
    img#avatarPreview,
    .wsus__dashboard .pl-profile-hero .pl-avatar {
        width: 92px !important; height: 92px !important;
        max-width: 92px !important; min-width: 92px !important;
    }
}

/* =====================================================================
   ENROLLED COURSES table (/student/enroll-courses)
   Reuses .wsus__dash_course_table (header tint + row hover already apply).
   ===================================================================== */
/* Course thumbnail: tidy media card with a gentle zoom on row hover */
.wsus__dash_course_table .image_category img {
    width: 170px !important;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(30, 30, 47, .10);
    transition: transform .3s ease;
}
.wsus__dash_course_table tbody tr:hover .image_category img { transform: scale(1.03); }

/* Title link */
.wsus__dash_course_table .details .title {
    display: inline-block;
    font-weight: 600;
    color: var(--colorBlack);
    line-height: 1.35;
    transition: color .2s ease;
}
.wsus__dash_course_table .details .title:hover { color: var(--colorPrimary); }

/* Rating + instructor */
.wsus__dash_course_table .rating { margin-bottom: 2px; }
.wsus__dash_course_table .rating i { font-size: 13px; }
.wsus__dash_course_table .details .text-muted { font-size: 13.5px; margin-top: 4px; }

/* Watch button: icon + label, no oversized eye */
.wsus__dash_course_table .common_btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 26px;
    white-space: nowrap;
}
.wsus__dash_course_table .common_btn i { font-size: 13px; }

/* Certificate button */
.wsus__dash_course_table .btn-warning.btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    border-radius: 8px;
    padding: 7px 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(245, 166, 35, .25);
}

@media (max-width: 575.98px) {
    .wsus__dash_course_table .image_category img { width: 120px !important; height: 74px; }
    .wsus__dash_course_table .common_btn { padding: 10px 18px; }
}

/* ---- Enrolled Courses: richer row data (category, status, meta, progress) ---- */
.pl-course-toprow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.pl-cat-chip {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(53, 109, 241, .10); color: var(--colorPrimary);
    font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px;
}
.pl-cat-chip i { font-size: 11px; }
.pl-status {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .03em;
}
.pl-status i { font-size: 12px; }
.pl-status-done { background: rgba(21, 159, 70, .12); color: #159F46; }
.pl-status-progress { background: rgba(53, 109, 241, .12); color: var(--colorPrimary); }
.pl-status-new { background: rgba(30, 30, 47, .07); color: #6D6E76; }

.pl-course-meta {
    display: flex; flex-wrap: wrap; gap: 8px 18px;
    margin-top: 10px; font-size: 13px; color: #6D6E76;
}
.pl-course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pl-course-meta i { color: var(--colorPrimary); font-size: 12px; opacity: .85; }

.pl-progress { margin-top: 14px; max-width: 420px; }
.pl-progress-head {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 12.5px; font-weight: 500; color: #6D6E76; margin-bottom: 6px;
}
.pl-progress-pct { color: var(--colorBlack); font-weight: 700; }
.pl-progress-track {
    height: 8px; border-radius: 999px;
    background: rgba(53, 109, 241, .12); overflow: hidden;
}
.pl-progress-fill {
    display: block; height: 100%; border-radius: 999px;
    background: linear-gradient(90deg, #4f86ff, var(--colorPrimary));
    transition: width .6s ease;
}
.pl-progress-fill.is-done { background: linear-gradient(90deg, #22b663, #159F46); }

/* =====================================================================
   ENROLLED COURSES — dynamic Card ⇄ List view component
   ===================================================================== */
.pl-view-toggle { display: inline-flex; gap: 2px; padding: 4px; background: #eef1f6; border-radius: 10px; }
.pl-view-btn {
    width: 38px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: transparent; border-radius: 7px;
    color: #8A8B93; font-size: 14px; cursor: pointer;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.pl-view-btn:hover { color: var(--colorBlack); }
.pl-view-btn.is-active { background: #fff; color: var(--colorPrimary); box-shadow: 0 1px 3px rgba(30, 30, 47, .14); }

.pl-courses { padding: 24px 30px 30px; }

/* ---- Card grid ---- */
.pl-view-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.pl-course-card {
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid rgba(30, 30, 47, .08);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(30, 30, 47, .05);
    transition: transform .28s ease, box-shadow .28s ease;
}
.pl-course-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(30, 30, 47, .12); }
.pl-course-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef1f6; }
.pl-course-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pl-course-card:hover .pl-course-thumb img { transform: scale(1.05); }
.pl-course-thumb .pl-status {
    position: absolute; top: 12px; left: 12px;
    background: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
}
.pl-course-body { display: flex; flex-direction: column; gap: 9px; padding: 18px; flex: 1; }
.pl-course-body .pl-cat-chip { align-self: flex-start; }
.pl-course-title { font-size: 16px; font-weight: 600; color: var(--colorBlack); line-height: 1.4; transition: color .2s ease; }
.pl-course-title:hover { color: var(--colorPrimary); }
.pl-course-instructor { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #6D6E76; }
.pl-course-instructor i { color: var(--colorPrimary); opacity: .8; font-size: 12px; }
.pl-course-rating { color: var(--ratingColor, #f6a623); font-size: 13px; }
.pl-course-rating span { color: var(--colorPrimary); font-weight: 500; margin-left: 4px; }
.pl-course-card .pl-progress { margin-top: 8px; max-width: none; }
.pl-course-actions { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.pl-course-actions .common_btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; }
.pl-course-actions .btn-warning.btn-sm { margin-top: 0; }

/* ---- List view: same cards, laid out horizontally ---- */
.pl-view-list { display: flex; flex-direction: column; gap: 14px; }
.pl-view-list .pl-course-card { flex-direction: row; align-items: stretch; }
.pl-view-list .pl-course-card:hover { transform: translateX(3px); }
.pl-view-list .pl-course-thumb { flex: 0 0 240px; aspect-ratio: auto; }
.pl-view-list .pl-course-body { padding: 18px 24px; }
.pl-view-list .pl-course-actions { margin-top: 14px; }

/* ---- Empty state ---- */
.pl-courses-empty { grid-column: 1 / -1; text-align: center; padding: 54px 20px; color: #6D6E76; }
.pl-courses-empty > i { font-size: 40px; color: var(--colorPrimary); opacity: .35; }
.pl-courses-empty h6 { margin: 16px 0 4px; font-size: 17px; font-weight: 600; color: var(--colorBlack); }
.pl-courses-empty .common_btn { margin-top: 18px; display: inline-block; }

@media (max-width: 575.98px) {
    .pl-courses { padding: 18px 16px 24px; }
    .pl-view-cards { grid-template-columns: 1fr; }
    .pl-view-list .pl-course-card { flex-direction: column; }
    .pl-view-list .pl-course-thumb { flex: none; aspect-ratio: 16 / 9; }
}

/* =====================================================================
   LESSON PLAYER (/student/enroll-courses/{slug}/course-videos)
   Standalone page — polish.css is linked in its own <head>.
   ===================================================================== */
/* --- Top header: sleeker bar + progress meter.
   Fixed 60px height so the content/sidebar (offset 60px) sit flush — no gap. --- */
.wsus__course_header {
    height: 60px;
    padding: 0 30px !important;
    box-shadow: 0 2px 14px rgba(11, 27, 63, .18);
    background: linear-gradient(120deg, #1E3C86 0%, var(--colorPrimary) 100%) !important;
    flex-wrap: nowrap;
}
.wsus__course_header a { display: inline-flex; align-items: center; gap: 6px; }
.pl-course-progress { display: flex; align-items: center; gap: 14px; }
.pl-course-progress p { white-space: nowrap; font-size: 14px !important; opacity: .95; }
.pl-course-progress-track {
    width: 200px; height: 7px; border-radius: 999px;
    background: rgba(255, 255, 255, .22); overflow: hidden;
}
.pl-course-progress-track span {
    display: block; height: 100%; border-radius: 999px;
    background: #FFD54A; transition: width .6s ease;
}

/* --- Sidebar: Course Content --- */
.wsus__course_sidebar .video_heading { font-weight: 600 !important; font-size: 15px !important; }
.wsus__course_sidebar .accordion-item button { transition: background .2s ease; }
.wsus__course_sidebar .accordion-item button:hover b { color: var(--colorPrimary) !important; }
/* section count → pill, vertically centred in the header */
.wsus__course_sidebar .accordion-item button span {
    background: rgba(53, 109, 241, .10);
    color: var(--colorPrimary) !important;
    padding: 3px 11px; border-radius: 999px;
    top: 50% !important; right: 52px !important;
    transform: translateY(-50%);
}

/* Lesson rows: flex so checkbox, title and duration line up cleanly */
.wsus__course_sidebar .form-check {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 2px 0 !important;
    padding: 10px 12px;
    border-radius: 9px;
    transition: background .18s ease;
}
.wsus__course_sidebar .form-check:hover { background: rgba(53, 109, 241, .06); }
.wsus__course_sidebar .form-check input {
    position: static; float: none;
    flex: 0 0 auto;
    margin: 2px 0 0 !important;
    accent-color: var(--colorPrimary);
    width: 17px !important; height: 17px !important;
    cursor: pointer;
    border-radius: 5px !important;
}
.wsus__course_sidebar .form-check label.lesson {
    flex: 1; width: auto; margin: 0;
    cursor: pointer; line-height: 1.45;
    transition: color .2s ease;
}
.wsus__course_sidebar .form-check label.lesson:hover { color: var(--colorPrimary); }
/* duration sits directly under the title (aligned, not far-left) */
.wsus__course_sidebar .form-check label.lesson span { margin-top: 5px; }
/* currently-playing lesson */
.wsus__course_sidebar .form-check label.lesson.active { color: var(--colorPrimary); font-weight: 500; }
/* Completed lesson: muted (modern browsers) */
.wsus__course_sidebar .form-check:has(input:checked) label { color: #9a9ba3; }
.wsus__course_sidebar .form-check:has(input:checked) { background: rgba(21, 159, 70, .05); }

/* Resources button hover */
.wsus__course_sidebar .dropdown button:hover { background: var(--colorPrimary) !important; color: #fff; border-color: var(--colorPrimary); }
.wsus__course_sidebar .dropdown button:hover i { color: #fff; }

/* --- Tabs under the player: animated underline --- */
.video_tabs_area .nav-pills { gap: 6px; }
.video_tabs_area .nav-pills .nav-link {
    position: relative; padding: 14px 20px;
    transition: color .2s ease;
}
.video_tabs_area .nav-pills .nav-link::after {
    content: ""; position: absolute; left: 20px; right: 20px; bottom: -1px;
    height: 2.5px; border-radius: 3px; background: var(--colorPrimary);
    transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.video_tabs_area .nav-pills .nav-link:hover::after,
.video_tabs_area .nav-pills .nav-link.active::after { transform: scaleX(1); }

/* About tab: readable width */
.video_about .short_description { max-width: 760px !important; line-height: 1.7; }

/* --- Reviews --- */
.video_review { padding: 30px; }
.course-review-head {
    display: flex; gap: 16px;
    padding: 20px; margin-bottom: 16px;
    background: #fff; border: 1px solid rgba(30, 30, 47, .07);
    border-radius: 14px; box-shadow: var(--pl-shadow);
}
.course-review-head .review-author-thumb img {
    width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
    border: 2px solid #fff; box-shadow: 0 3px 10px rgba(30, 30, 47, .14);
}
.course-review-head .author-rating i { color: var(--ratingColor, #f6a623); font-size: 13px; }
.course-review-head .author-name span { color: #9a9ba3; font-weight: 400; font-size: 12.5px; }
.video_review_imput { margin-top: 10px; }
.video_review_imput textarea {
    width: 100%; border: 1.5px solid #E6E8EF; border-radius: 12px;
    padding: 14px 16px; font-family: inherit; transition: border-color .2s, box-shadow .2s;
}
.video_review_imput textarea:focus {
    border-color: var(--colorPrimary); box-shadow: 0 0 0 4px rgba(53, 109, 241, .12); outline: none;
}
.video_review_imput .fa-star { color: var(--ratingColor, #f6a623); cursor: pointer; }

@media (max-width: 575.98px) {
    .wsus__course_header { padding: 0 16px !important; }
    .pl-course-progress-track { width: 70px; }
    .pl-course-progress p { font-size: 11.5px !important; }
    .pl-course-progress { gap: 8px; }
}

/* =====================================================================
   STUDENT ORDERS (/student/orders) — summary tiles + richer rows
   ===================================================================== */
.pl-order-summary {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    padding: 22px 30px 4px;
}
.pl-order-stat {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    background: #fff; border: 1px solid rgba(30, 30, 47, .07);
    border-radius: 14px; box-shadow: var(--pl-shadow);
}
.pl-order-ico {
    flex: 0 0 auto;
    width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.pl-ico-blue { background: rgba(53, 109, 241, .12); color: var(--colorPrimary); }
.pl-ico-green { background: rgba(21, 159, 70, .12); color: #159F46; }
.pl-ico-amber { background: rgba(245, 166, 35, .14); color: #E79520; }
.pl-order-stat h4 { font-size: 22px; font-weight: 700; margin: 0; color: var(--colorBlack); line-height: 1.1; }
.pl-order-stat p { margin: 3px 0 0; font-size: 12.5px; color: #8A8B93; }

/* Purchased courses under the invoice id */
.pl-order-courses { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.pl-order-courses span {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; color: #6D6E76;
    font-family: 'Poppins', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    max-width: 260px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pl-order-courses span i { color: var(--colorPrimary); font-size: 11px; opacity: .8; flex: 0 0 auto; }
.pl-order-courses .pl-order-more { color: var(--colorPrimary); font-weight: 600; }

/* Orders empty state */
.pl-orders-empty { padding: 40px 20px; color: #6D6E76; }
.pl-orders-empty > i { font-size: 38px; color: var(--colorPrimary); opacity: .35; }
.pl-orders-empty h6 { margin: 14px 0 4px; font-size: 17px; font-weight: 600; color: var(--colorBlack); }

@media (max-width: 767.98px) {
    .pl-order-summary { grid-template-columns: 1fr; padding: 18px 16px 2px; }
    .pl-order-courses span { max-width: 180px; }
}

/* =====================================================================
   STUDENT REVIEWS (/student/reviews)
   Same table shell; .invoice here holds the REVIEW TEXT, so undo the
   monospace and style it as a quote.
   ===================================================================== */
.pl-reviews-table .details .title { display: inline-block; font-weight: 600; color: var(--colorBlack); line-height: 1.35; transition: color .2s ease; }
.pl-reviews-table .details .title:hover { color: var(--colorPrimary); }
.pl-review-date { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: #8A8B93; }
.pl-review-date i { color: var(--colorPrimary); opacity: .8; font-size: 11px; }

/* Rating badge */
.pl-rating-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(245, 166, 35, .14); color: #E79520;
    font-size: 13px; font-weight: 700;
    padding: 5px 12px; border-radius: 999px;
}

/* Review text → quote, normal font (not the invoice monospace) */
.pl-reviews-table td.invoice,
.pl-review-text p {
    font-family: 'Poppins', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
}
.pl-review-text p {
    margin: 0;
    max-width: 320px;
    color: #4a4b55;
    font-style: italic;
    line-height: 1.55;
    padding-left: 12px;
    border-left: 3px solid rgba(53, 109, 241, .25);
}

/* Rejected status → soft red pill (match the other soft pills) */
.wsus__dash_course_table .status .delete {
    width: auto !important; display: inline-block; min-width: 88px;
    padding: 5px 16px !important; border-radius: 999px !important; font-weight: 600;
    background: rgba(229, 57, 53, .12) !important; color: #E53935 !important;
}

/* Delete action → neat circular red button */
.pl-reviews-table .action .del {
    width: 38px !important; height: 38px !important; line-height: normal !important;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50% !important;
    background: rgba(229, 57, 53, .12) !important; color: #E53935 !important;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.pl-reviews-table .action .del:hover { background: #E53935 !important; color: #fff !important; transform: translateY(-2px); }

/* Student sidebar: group section labels */
.wsus__dashboard_sidebar_menu li.pl-menu-group {
    padding: 15px 20px 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #9a9ba3;
    background: #fff;
    border-bottom: 1px solid var(--borderColor);
}

/* =====================================================================
   ORDER SUCCESS (/order-success)
   ===================================================================== */
#plConfetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

.pl-success-card {
    position: relative; z-index: 1;
    background: #fff;
    border: 1px solid rgba(30, 30, 47, .07);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(30, 30, 47, .10);
    padding: 44px 40px 34px;
    text-align: center;
}
.pl-success-check {
    width: 96px; height: 96px; margin: 0 auto 22px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #2fcf77, #159F46);
    color: #fff; font-size: 40px;
    box-shadow: 0 12px 30px rgba(21, 159, 70, .35);
    position: relative;
    animation: pl-pop-in .5s cubic-bezier(.17, .67, .3, 1.33) both;
}
.pl-success-check::after {
    content: ""; position: absolute; inset: -9px; border-radius: 50%;
    border: 3px solid rgba(34, 182, 99, .45);
    animation: pl-ring 1s ease-out .35s both;
}
@keyframes pl-pop-in { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes pl-ring { 0% { transform: scale(.85); opacity: .85; } 100% { transform: scale(1.45); opacity: 0; } }

.pl-success-card h2 { font-size: 28px; font-weight: 700; color: var(--colorBlack); margin: 0 0 10px; }
.pl-success-sub { color: #6D6E76; font-size: 15px; line-height: 1.7; max-width: 420px; margin: 0 auto 26px; }

.pl-success-order {
    text-align: left;
    background: #F7F9FC;
    border: 1px solid rgba(30, 30, 47, .06);
    border-radius: 14px;
    padding: 6px 20px;
    margin: 0 auto 28px;
    max-width: 420px;
}
.pl-success-order-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px dashed rgba(30, 30, 47, .10);
    font-size: 14px;
}
.pl-success-order-row:last-child { border-bottom: none; }
.pl-success-order-row span { color: #8A8B93; }
.pl-success-order-row b { color: var(--colorBlack); font-weight: 600; }
.pl-success-order-row .pl-mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13px; }

.pl-success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 14px; }
.pl-success-actions .common_btn,
.pl-success-actions .pl-btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 28px; border-radius: 10px; font-weight: 600; font-size: 15px;
}
.pl-success-actions .pl-btn-ghost {
    background: #fff; color: var(--colorPrimary);
    border: 1.5px solid var(--colorPrimary);
    transition: background .2s ease, color .2s ease;
}
.pl-success-actions .pl-btn-ghost:hover { background: var(--colorPrimary); color: #fff; }
.pl-success-home { display: inline-block; margin-top: 6px; color: #8A8B93; font-size: 14px; transition: color .2s ease; }
.pl-success-home:hover { color: var(--colorPrimary); }

@media (max-width: 575.98px) {
    .pl-success-card { padding: 34px 20px 26px; border-radius: 16px; }
    .pl-success-card h2 { font-size: 23px; }
    .pl-success-actions .common_btn,
    .pl-success-actions .pl-btn-ghost { width: 100%; justify-content: center; }
}

/* =====================================================================
   INVOICE (/student/orders/{id}/invoice)
   ===================================================================== */
.pl-invoice { padding: 40px 44px 36px; }

.pl-invoice-head {
    display: flex; justify-content: space-between; align-items: center;
    gap: 24px; padding-bottom: 26px; border-bottom: 2px solid #eef1f6;
}
.pl-invoice-brand { display: flex; flex: 1 1 auto; min-width: 0; gap: 16px; align-items: center; }
.pl-invoice .pl-invoice-brand > img { display: block; flex: 0 0 190px; width: 190px !important; max-width: 190px !important; height: auto !important; max-height: 58px; object-fit: contain; object-position: left center; }
.pl-invoice-from { display: flex; flex-direction: column; gap: 2px; }
.pl-invoice-from strong { font-size: 16px; color: var(--colorBlack); }
.pl-invoice-from span { font-size: 12.5px; line-height: 1.45; color: #8A8B93; overflow-wrap: anywhere; }
.pl-invoice-title { flex: 0 0 auto; text-align: right; }
.pl-invoice-title h2 { font-size: 34px; font-weight: 700; letter-spacing: .06em; color: #c9ccd6; margin: 0 0 8px; }
.pl-invoice-status {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(21, 159, 70, .12); color: #159F46;
    font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 999px;
}
.pl-invoice-status.is-pending { background: #fff5e6; color: #a66a12; }
.pl-invoice-status.is-approved { background: rgba(21, 159, 70, .12); color: #28854a; }
.pl-instructor-invoice .pl-invoice-table .pl-c-course strong { display: block; color: var(--colorBlack); font-weight: 600; }
.pl-invoice-item-tag { display: inline-flex; margin-top: 5px; padding: 3px 8px; border-radius: 999px; background: #eef3ff; color: var(--colorPrimary); font-size: 9px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pl-invoice-current td { background: rgba(53, 109, 241, .055); }
.pl-invoice-current td:first-child { box-shadow: inset 3px 0 0 var(--colorPrimary); }

.pl-invoice-meta {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
    padding: 26px 0; border-bottom: 1px solid #eef1f6;
}
.pl-invoice-billto h6 { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #9a9ba3; margin: 0 0 8px; }
.pl-invoice-billto strong { display: block; font-size: 16px; color: var(--colorBlack); }
.pl-invoice-billto span { font-size: 13px; color: #6D6E76; }
.pl-invoice-info { min-width: 260px; }
.pl-invoice-info > div { display: flex; justify-content: space-between; gap: 30px; padding: 5px 0; font-size: 14px; }
.pl-invoice-info span { color: #8A8B93; }
.pl-invoice-info b { color: var(--colorBlack); font-weight: 600; }
.pl-invoice-info .pl-mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 13px; }

.pl-invoice-table { margin-top: 24px; }
.pl-invoice-table table { width: 100%; margin: 0; }
.pl-invoice-table thead th {
    background: #1E1E2F; color: #fff;
    font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
    padding: 14px 18px; border: none;
}
.pl-invoice-table thead th:first-child { border-radius: 10px 0 0 10px; }
.pl-invoice-table thead th:last-child { border-radius: 0 10px 10px 0; }
.pl-invoice-table tbody td { padding: 16px 18px; border-bottom: 1px solid #eef1f6; font-size: 14px; color: #4a4b55; vertical-align: middle; }
.pl-invoice-table .pl-c-course { color: var(--colorBlack); font-weight: 500; }
.pl-invoice-table .pl-c-num { text-align: right; white-space: nowrap; }
.pl-invoice-table thead .pl-c-num { text-align: right; }
.pl-invoice-table tbody tr:last-child td { border-bottom: 2px solid #eef1f6; }

.pl-invoice-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 24px; }
.pl-invoice-note { display: flex; align-items: center; gap: 8px; color: #159F46; font-weight: 500; font-size: 14px; }
.pl-invoice-totals { min-width: 280px; margin-left: auto; }
.pl-invoice-totline { display: flex; justify-content: space-between; padding: 8px 0; font-size: 15px; }
.pl-invoice-totline span { color: #6D6E76; }
.pl-invoice-totline b { color: var(--colorBlack); font-weight: 600; }
.pl-invoice-paid {
    margin-top: 6px; padding: 12px 16px;
    background: rgba(53, 109, 241, .08); border-radius: 10px;
}
.pl-invoice-paid span { color: var(--colorPrimary); font-weight: 600; }
.pl-invoice-paid b { color: var(--colorPrimary); font-size: 18px; font-weight: 700; }

.pl-invoice-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #eef1f6; }
.pl-invoice-actions .common_btn,
.pl-invoice-actions .pl-btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 10px; font-weight: 600; }
.pl-invoice-actions .pl-btn-ghost { background: #fff; color: var(--colorBlack); border: 1.5px solid #E6E8EF; transition: background .2s ease; }
.pl-invoice-actions .pl-btn-ghost:hover { background: #f3f4f6; }

@media (max-width: 575.98px) {
    .pl-invoice { padding: 24px 18px; }
    .pl-invoice-head { align-items: flex-start; flex-direction: column; gap: 18px; }
    .pl-invoice .pl-invoice-brand > img { flex-basis: 140px; width: 140px !important; max-width: 140px !important; max-height: 46px; }
    .pl-invoice-title { text-align: left; }
    .pl-invoice-title h2 { font-size: 28px; }
    .pl-invoice-meta { gap: 18px; }
    .pl-invoice-info { width: 100%; min-width: 0; }
    .pl-invoice-table .table-responsive { overflow-x: auto; }
    .pl-invoice-table table { min-width: 520px; }
    .pl-invoice-totals { min-width: 100%; }
    .pl-invoice-actions { flex-direction: column; }
    .pl-invoice-actions .common_btn, .pl-invoice-actions .pl-btn-ghost { width: 100%; justify-content: center; }
}

/* ---- Print: show only the invoice, clean page ---- */
@media print {
    header.header_3, .main_menu_3, .mobile_menu_area, .wsus__breadcrumb,
    .footer_3, .scroll-top, #scroll, .wsus__dashboard_sidebar, .no-print,
    .wsus__dashboard .col-xl-3, .wsus__dashboard .col-md-4 { display: none !important; }
    body { background: #fff !important; }
    .wsus__dashboard { margin: 0 !important; padding: 0 !important; }
    .wsus__dashboard .col-xl-9, .wsus__dashboard .col-md-8 { max-width: 100% !important; flex: 0 0 100% !important; }
    .pl-invoice { box-shadow: none !important; border: none !important; padding: 0 !important; }
    .pl-invoice-table thead th { background: #1E1E2F !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .pl-invoice-status, .pl-invoice-paid { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* Orders/Dashboard table: larger, bolder row number in the "No." column */
.wsus__dash_course_table td[class="no."] {
    font-size: 20px;
    font-weight: 700;
    color: var(--colorBlack);
}

/* --- Lesson player: dynamic Overview tab --- */
.pl-overview { padding: 30px !important; }
.pl-overview-course {
    background: linear-gradient(120deg, #0B1B3F 0%, #142B63 55%, #1E3C86 100%);
    border-radius: 16px;
    padding: 22px 24px;
    color: #fff;
    margin-bottom: 26px;
}
.pl-overview-eyebrow { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.pl-overview-course h5 { color: #fff; font-size: 20px; font-weight: 600; margin: 6px 0 12px; }
.pl-overview-course-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 18px; }
.pl-overview-course-meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.pl-overview-course-meta i { color: #FFD54A; font-size: 12px; }
.pl-overview-progress-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .8); margin-bottom: 7px; }
.pl-overview-progress-head .pl-ov-pct { color: #fff; font-size: 15px; }
.pl-overview-progress .pl-progress-track { background: rgba(255, 255, 255, .18); height: 8px; }
.pl-overview-progress .pl-progress-fill { background: linear-gradient(90deg, #ffd54a, #f5a623); }
.pl-overview-progress .pl-progress-fill.is-done { background: linear-gradient(90deg, #22b663, #159F46); }

.pl-overview-lesson-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pl-overview-lesson-head h1 { font-size: 22px !important; margin: 0 !important; color: var(--colorBlack); }
.pl-lesson-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.pl-lesson-duration { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #6D6E76; background: rgba(30, 30, 47, .05); padding: 5px 13px; border-radius: 999px; }
.pl-lesson-duration i { color: var(--colorPrimary); }
.pl-lesson-duration:empty { display: none; }
.pl-ls { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 999px; }
.pl-ls-done { background: rgba(21, 159, 70, .12); color: #159F46; }
.pl-ls-progress { background: rgba(53, 109, 241, .12); color: var(--colorPrimary); }
.pl-lesson-desc { color: #4a4b55; line-height: 1.75; font-size: 15px; max-width: none !important; }
.pl-lesson-desc img { max-width: 100%; height: auto; border-radius: 10px; }
.pl-lesson-empty { color: #9a9ba3; font-style: italic; }

/* --- Lesson player Overview: "About this course" rich text --- */
.pl-overview-coursedesc { margin-top: 30px; padding-top: 26px; border-top: 1px solid #eef1f6; }
.pl-overview-section-h {
    display: flex; align-items: center; gap: 9px;
    font-size: 18px !important; font-weight: 600; color: var(--colorBlack); margin: 0 0 16px !important;
}
.pl-overview-section-h i { color: var(--colorPrimary); font-size: 16px; }

/* Rich-text (course description HTML authored in the admin) */
.pl-rte { color: #4a4b55; line-height: 1.75; font-size: 15px; }
.pl-rte > :first-child { margin-top: 0; }
.pl-rte h1, .pl-rte h2, .pl-rte h3, .pl-rte h4, .pl-rte h5 {
    color: var(--colorBlack); font-weight: 600; line-height: 1.35;
    margin: 22px 0 10px;
}
.pl-rte h1 { font-size: 22px; }
.pl-rte h2 { font-size: 20px; }
.pl-rte h3 { font-size: 18px; }
.pl-rte h4 { font-size: 16px; }
.pl-rte h5 { font-size: 15px; }
.pl-rte p { margin: 0 0 14px; }
/* keep the author's own inline markers (checks, emoji); don't add our own bullets */
.pl-rte ul, .pl-rte ol { margin: 0 0 16px; padding-left: 18px; }
.pl-rte li { margin-bottom: 8px; }
.pl-rte a { color: var(--colorPrimary); text-decoration: underline; }
.pl-rte img { max-width: 100%; height: auto; border-radius: 10px; margin: 10px 0; }
.pl-rte table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.pl-rte th, .pl-rte td { border: 1px solid #eef1f6; padding: 8px 12px; text-align: left; font-size: 14px; }

/* --- Lesson player: dynamic Reviews tab --- */
.pl-reviews { padding: 30px !important; }
.pl-reviews-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.pl-reviews-head h2 { font-size: 22px; font-weight: 700; margin: 0; color: var(--colorBlack); }
.pl-reviews-avg { display: inline-flex; align-items: center; gap: 10px; }
.pl-reviews-avg b { font-size: 20px; color: var(--colorBlack); }
.pl-reviews-stars i { color: var(--ratingColor, #f6a623); font-size: 14px; }
.pl-reviews-count { font-size: 13px; color: #8A8B93; }

.pl-reviews-list { display: flex; flex-direction: column; gap: 14px; }
.pl-review-item {
    display: flex; gap: 14px;
    padding: 18px; border: 1px solid rgba(30, 30, 47, .07);
    border-radius: 14px; background: #fff;
}
.pl-review-avatar img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(30, 30, 47, .12); }
.pl-review-body { flex: 1; min-width: 0; }
.pl-review-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pl-review-top h5 { margin: 0; font-size: 15px; font-weight: 600; color: var(--colorBlack); }
.pl-review-ago { font-size: 12.5px; color: #9a9ba3; }
.pl-review-stars { margin: 5px 0 7px; }
.pl-review-stars i { color: var(--ratingColor, #f6a623); font-size: 13px; }
.pl-review-body p { margin: 0; color: #4a4b55; line-height: 1.6; font-size: 14px; }

.pl-reviews-empty { text-align: center; padding: 44px 20px; color: #6D6E76; }
.pl-reviews-empty > i { font-size: 36px; color: var(--ratingColor, #f6a623); opacity: .4; }
.pl-reviews-empty h6 { margin: 14px 0 4px; font-size: 16px; font-weight: 600; color: var(--colorBlack); }

/* Your-review / write-review blocks */
.pl-review-mine, .pl-review-write {
    margin-top: 26px; padding: 22px 24px;
    background: #F7F9FC; border: 1px solid rgba(30, 30, 47, .06); border-radius: 14px;
}
.pl-review-mine h3, .pl-review-write h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; margin: 0 0 12px; color: var(--colorBlack); }
.pl-review-mine p { margin: 8px 0 0; color: #4a4b55; line-height: 1.6; }

.pl-starpick { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.pl-starpick i { color: var(--ratingColor, #f6a623); font-size: 22px; cursor: pointer; transition: transform .12s ease; }
.pl-starpick i:hover { transform: scale(1.12); }
.pl-starpick-label { margin-left: 8px; font-size: 13px; color: #8A8B93; }
.pl-review-write textarea {
    width: 100%; border: 1.5px solid #E6E8EF; border-radius: 12px;
    padding: 14px 16px; font-family: inherit; font-size: 14px; resize: vertical; margin-bottom: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.pl-review-write textarea:focus { border-color: var(--colorPrimary); box-shadow: 0 0 0 4px rgba(53, 109, 241, .12); outline: none; }
.pl-review-write .common_btn { display: inline-flex; align-items: center; gap: 8px; }

/* keep the tab nav centred now that Announcements is gone */
.video_tabs_area .nav-pills { flex-wrap: wrap; }

/* =====================================================================
   STUDENT PROFILE — tabbed sections (one at a time, no long scrolling)
   ===================================================================== */
.pl-profile-tabs {
    display: flex; flex-wrap: wrap; gap: 6px;
    padding: 16px 30px 0;
    border-bottom: 1px solid #eef1f6;
}
.pl-ptab {
    position: relative;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 18px;
    border: none; background: transparent;
    color: #6D6E76; font-size: 14px; font-weight: 600;
    cursor: pointer; border-radius: 9px 9px 0 0;
    transition: color .2s ease, background .2s ease;
}
.pl-ptab i { font-size: 13px; }
.pl-ptab:hover { color: var(--colorBlack); background: rgba(53, 109, 241, .05); }
.pl-ptab.is-active { color: var(--colorPrimary); }
.pl-ptab.is-active::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px;
    height: 2.5px; border-radius: 3px; background: var(--colorPrimary);
}
.pl-ptab-pane { display: none; }
.pl-ptab-pane.is-active { display: block; animation: pl-fade .25s ease; }
@keyframes pl-fade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
/* instructor pane heading needs its own gutter (its form is padded, the heading isn't) */
.pl-ptab-pane[data-pane="instructor"] > .wsus__dashboard_heading { padding: 22px 30px 0; }

@media (max-width: 575.98px) {
    .pl-profile-tabs { flex-wrap: nowrap; overflow-x: auto; padding: 14px 16px 0; -webkit-overflow-scrolling: touch; }
    .pl-ptab { white-space: nowrap; padding: 11px 13px; }
}

/* =====================================================================
   Navigation feedback — slim top progress bar + gentle content fade
   ===================================================================== */
#pl-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0;
    background: linear-gradient(90deg, var(--colorPrimary), #6b97ff);
    box-shadow: 0 0 10px rgba(53, 109, 241, .6);
    border-radius: 0 3px 3px 0;
    z-index: 100000;
    opacity: 0;
    transition: width .2s ease, opacity .3s ease;
    pointer-events: none;
}
/* smooth the reload flash: fade the dashboard content in on load */
.wsus__dashboard .wsus__dashboard_contant,
.wsus__dashboard .pl-profile-card,
.wsus__dashboard .wsus__dashboard_sidebar { animation: pl-content-in .32s ease both; }
@keyframes pl-content-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
    .wsus__dashboard .wsus__dashboard_contant,
    .wsus__dashboard .pl-profile-card,
    .wsus__dashboard .wsus__dashboard_sidebar { animation: none; }
}


/* ---------------------------------------------------------------------
   SCROLL-TO-TOP BUTTON — reliable inline-SVG arrow + locked bottom-right
   (the theme drew the arrow with a font glyph that wasn't rendering)
   --------------------------------------------------------------------- */
.progress-wrap {
    position: fixed !important;
    right: 28px !important;
    bottom: 28px !important;
    left: auto !important;
    top: auto !important;
    height: 48px !important;
    width: 48px !important;
    box-shadow: 0 6px 18px rgba(30, 30, 47, .18), inset 0 0 0 2px rgba(53, 109, 241, .12) !important;
}
.progress-wrap::after,
.progress-wrap::before { display: none !important; }
.progress-wrap .pl-scrolltop-arrow {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    margin: auto;
    width: 20px; height: 20px;
    z-index: 3;
    stroke: var(--colorPrimary);
    transition: transform .2s ease;
}
.progress-wrap:hover .pl-scrolltop-arrow { transform: translateY(-3px); }
.progress-wrap:hover { box-shadow: 0 10px 24px rgba(53, 109, 241, .30), inset 0 0 0 2px rgba(53, 109, 241, .22) !important; }


/* =====================================================================
   INSTRUCTOR DASHBOARD (/instructor/dashboard)
   Welcome hero, KPI tiles, status bar, quick actions, top courses,
   recent sales list, latest feedback.
   ===================================================================== */
.pl-idash { display: flex; flex-direction: column; gap: 22px; }
.pl-instructor-dashboard .wsus__dashboard_sidebar { margin-top: 0; }

/* --- Welcome hero --- */
.pl-idash-hero {
    display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
    padding: 28px 30px;
    border-radius: 16px;
    color: #fff;
    background:
        radial-gradient(420px 220px at 100% 0%, rgba(255, 255, 255, .16), transparent 70%),
        linear-gradient(120deg, #2E3192 0%, #356DF1 100%);
    box-shadow: 0 14px 34px rgba(53, 109, 241, .28);
}
.pl-idash-eyebrow {
    display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .18);
    color: #fff !important;
}
.pl-idash-hero h2 { color: #fff; font-size: 26px; font-weight: 700; margin: 12px 0 6px; line-height: 1.2; }
.pl-idash-hero p { color: rgba(255, 255, 255, .82); margin: 0; font-size: 14.5px; max-width: 420px; }
.pl-idash-hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pl-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px; border-radius: 999px;
    font-size: 14px; font-weight: 600; line-height: 1;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.pl-btn i { font-size: 13px; }
.pl-btn--solid { background: #fff; color: var(--colorPrimary); box-shadow: 0 6px 16px rgba(0, 0, 0, .14); }
.pl-btn--solid:hover { color: var(--colorPrimary); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .2); }
.pl-btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .34); }
.pl-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .24); transform: translateY(-2px); }

/* --- Pending approval notice --- */
.pl-notice {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px 18px; border-radius: 12px;
    background: rgba(245, 166, 35, .10); border: 1px solid rgba(245, 166, 35, .35);
    color: #8a5a06;
}
.pl-notice > i { font-size: 18px; margin-top: 2px; color: #E79520; }
.pl-notice strong { display: block; font-weight: 600; color: #6c4605; }
.pl-notice span { font-size: 13.5px; }

/* --- KPI tiles --- */
.pl-kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pl-kpi {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 22px; background: #fff;
    border: 1px solid rgba(30, 30, 47, .06); border-radius: 14px;
    box-shadow: var(--pl-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.pl-kpi:hover { transform: translateY(-4px); box-shadow: var(--pl-shadow-lg); }
.pl-kpi-ico {
    flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.pl-kpi--blue .pl-kpi-ico { background: rgba(53, 109, 241, .12); color: var(--colorPrimary); }
.pl-kpi--green .pl-kpi-ico { background: rgba(21, 159, 70, .12); color: #159F46; }
.pl-kpi--violet .pl-kpi-ico { background: rgba(124, 58, 237, .12); color: #7C3AED; }
.pl-kpi--amber .pl-kpi-ico { background: rgba(245, 166, 35, .16); color: #E79520; }
.pl-kpi-body { min-width: 0; }
.pl-kpi-body p { margin: 0; font-size: 12.5px; font-weight: 500; color: #8A8B93; letter-spacing: .02em; }
.pl-kpi-body h3 { margin: 2px 0 2px; font-size: 26px; font-weight: 700; color: var(--colorBlack); line-height: 1.15; word-break: break-word; }
.pl-kpi-body small { display: block; font-size: 12px; color: #9a9ba3; }

/* --- Generic card --- */
.pl-card {
    background: #fff; border: 1px solid rgba(30, 30, 47, .06);
    border-radius: 14px; box-shadow: var(--pl-shadow);
    padding: 22px 24px;
}
.pl-card--flush { padding: 0; overflow: hidden; }
.pl-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pl-card-head--pad { padding: 22px 24px 16px; margin-bottom: 0; border-bottom: 1px solid #EEF0F5; }
.pl-card-head h5 { margin: 0; font-size: 17px; font-weight: 600; color: var(--colorBlack); }
.pl-card-head p { margin: 3px 0 0; font-size: 13px; color: #8A8B93; }
.pl-card-head > a { font-size: 13px; font-weight: 600; color: var(--colorPrimary); white-space: nowrap; }
.pl-card-head > a i { font-size: 11px; margin-left: 4px; transition: transform .2s ease; }
.pl-card-head > a:hover i { transform: translateX(3px); }

.pl-idash-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pl-idash-two .pl-card { display: flex; flex-direction: column; }

/* --- Course status stacked bar --- */
.pl-stack {
    display: flex; height: 12px; border-radius: 999px; overflow: hidden;
    background: #EEF0F5; margin: 4px 0 18px;
}
.pl-seg { display: block; height: 100%; transition: width .6s ease; }
.pl-seg--green { background: #159F46; }
.pl-seg--amber { background: #F5A623; }
.pl-seg--red { background: #E5484D; }
.pl-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pl-legend li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #55565e; }
.pl-legend li b { margin-left: auto; font-weight: 700; color: var(--colorBlack); }
.pl-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.pl-dot--green { background: #159F46; }
.pl-dot--amber { background: #F5A623; }
.pl-dot--red { background: #E5484D; }

/* --- Quick actions --- */
.pl-actions { display: flex; flex-direction: column; gap: 8px; }
.pl-actions a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 12px;
    border: 1px solid transparent; background: #F7F9FC;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.pl-actions a:hover { background: #fff; border-color: rgba(53, 109, 241, .3); transform: translateX(3px); }
.pl-act-ico {
    flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.pl-actions .pl-ico-blue { background: rgba(53, 109, 241, .12); color: var(--colorPrimary); }
.pl-actions .pl-ico-green { background: rgba(21, 159, 70, .12); color: #159F46; }
.pl-actions .pl-ico-amber { background: rgba(245, 166, 35, .16); color: #E79520; }
.pl-act-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.pl-act-txt b { font-size: 14px; font-weight: 600; color: var(--colorBlack); }
.pl-act-txt small { font-size: 12px; color: #8A8B93; }
.pl-actions a > .fa-chevron-right { margin-left: auto; font-size: 11px; color: #b3b5bd; }

/* --- Top courses --- */
.pl-toplist { display: flex; flex-direction: column; gap: 10px; }
.pl-top {
    display: flex; align-items: center; gap: 14px;
    padding: 10px 12px; border-radius: 12px; background: #F7F9FC;
    transition: background .2s ease, transform .2s ease;
}
.pl-top:hover { background: #fff; box-shadow: var(--pl-shadow); transform: translateY(-2px); }
.pl-rank {
    flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; color: var(--colorPrimary); background: rgba(53, 109, 241, .12);
}
.pl-top:nth-child(1) .pl-rank { background: #F5A623; color: #fff; }
.pl-top img { flex: 0 0 auto; width: 68px !important; height: 46px !important; object-fit: cover; border-radius: 8px; background: #E9ECF3; }
.pl-top-info { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; line-height: 1.3; }
.pl-top-info b {
    font-size: 14px; font-weight: 600; color: var(--colorBlack);
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.pl-top-info small { font-size: 12px; color: #8A8B93; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 3px; }
.pl-top-info small i { font-size: 11px; color: #9aa3b5; }
.pl-top-info small .pl-star { color: #f6a623; margin-left: 8px; }
.pl-top-price { flex: 0 0 auto; font-size: 14px; font-weight: 700; color: var(--colorBlack); }

/* --- Recent sales rows --- */
.pl-sale {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 24px; border-bottom: 1px solid #EEF0F5;
    transition: background .2s ease;
}
.pl-sale:hover { background: #F9FBFF; }
.pl-sale-img { flex: 0 0 auto; width: 84px !important; height: 56px !important; object-fit: cover; border-radius: 10px; background: #E9ECF3; }
.pl-sale-main { flex: 1 1 auto; min-width: 0; }
.pl-sale-title {
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 15px; font-weight: 600; color: var(--colorBlack); line-height: 1.35;
}
.pl-sale-title:hover { color: var(--colorPrimary); }
.pl-sale-meta { display: flex; align-items: center; gap: 6px 16px; flex-wrap: wrap; margin-top: 5px; font-size: 12.5px; color: #8A8B93; }
.pl-sale-meta i { font-size: 11px; margin-right: 4px; }
.pl-stars { display: inline-flex; align-items: center; gap: 2px; }
.pl-stars i { color: #f6a623; font-size: 11px; margin: 0; }
.pl-stars .far { color: #d3d6de; }
.pl-stars em { font-style: normal; margin-left: 6px; font-size: 12px; color: #6D6E76; font-weight: 600; }
.pl-sale-amount { flex: 0 0 auto; font-size: 16px; font-weight: 700; color: var(--colorBlack); min-width: 84px; text-align: right; }
.pl-sale-edit {
    flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(53, 109, 241, .10); color: var(--colorPrimary); font-size: 14px;
    transition: background .2s ease, transform .2s ease, color .2s ease;
}
.pl-sale-edit:hover { background: var(--colorPrimary); color: #fff; transform: translateY(-2px); }
.pl-sales-pager { padding: 18px 24px 22px; display: flex; justify-content: center; }
.pl-sales-pager .pagination { margin: 0; }

.pl-empty { text-align: center; padding: 44px 20px; color: #6D6E76; }
.pl-empty > i { font-size: 38px; color: var(--colorPrimary); opacity: .35; }
.pl-empty h6 { margin: 14px 0 4px; font-size: 17px; font-weight: 600; color: var(--colorBlack); }
.pl-empty p { margin: 0; font-size: 13.5px; }

/* --- Latest feedback --- */
.pl-reviews { display: flex; flex-direction: column; gap: 16px; }
.pl-rv { display: flex; gap: 14px; align-items: flex-start; }
.pl-rv > img { flex: 0 0 auto; width: 44px !important; height: 44px !important; border-radius: 50%; object-fit: cover; background: #E9ECF3; }
.pl-rv-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pl-rv-top b { font-size: 14px; font-weight: 600; color: var(--colorBlack); }
.pl-rv p { margin: 4px 0 4px; font-size: 13.5px; color: #55565e; line-height: 1.55; }
.pl-rv small { font-size: 12px; color: #9a9ba3; }

/* --- Tablet / mobile --- */
@media (max-width: 991.98px) {
    .pl-idash-two { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .pl-idash { gap: 16px; margin-top: 24px; }
    .pl-idash-hero { padding: 22px 20px; border-radius: 14px; }
    .pl-idash-hero h2 { font-size: 22px; }
    .pl-idash-hero-actions { width: 100%; }
    .pl-idash-hero-actions .pl-btn { flex: 1 1 auto; justify-content: center; }
    .pl-kpi-grid { gap: 12px; }
    .pl-kpi { padding: 16px; gap: 12px; flex-direction: column; align-items: flex-start; }
    .pl-kpi-ico { width: 44px; height: 44px; font-size: 17px; }
    .pl-kpi-body h3 { font-size: 21px; }
    .pl-card { padding: 18px 16px; }
    .pl-card-head--pad { padding: 18px 16px 14px; }
    .pl-sale { padding: 14px 16px; gap: 12px; flex-wrap: wrap; }
    .pl-sale-img { width: 64px !important; height: 44px !important; border-radius: 8px; }
    .pl-sale-main { flex: 1 1 calc(100% - 90px); }
    .pl-sale-amount { margin-left: 76px; min-width: 0; text-align: left; font-size: 15px; }
    .pl-sale-edit { margin-left: auto; }
    .pl-sales-pager { padding: 14px 16px 18px; }
    .pl-top img { width: 56px !important; height: 40px !important; }
    .pl-top-price { display: none; }
}
@media (max-width: 380px) {
    .pl-kpi-grid { grid-template-columns: 1fr; }
}

/* Instructor course library */
.pl-instructor-courses { overflow: hidden; }
.pl-courses-add {
    display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 9px;
    min-height: 48px; padding: 0 22px; border-radius: 10px;
    background: var(--colorPrimary); color: #fff; font-size: 14px; font-weight: 700;
    box-shadow: 0 8px 20px rgba(53, 109, 241, .20);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.pl-courses-add:hover { color: #fff; background: #2f5fd8; box-shadow: 0 11px 24px rgba(53, 109, 241, .28); transform: translateY(-2px); }
.pl-course-list { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.pl-course-item {
    display: grid; grid-template-columns: 148px minmax(150px, 1fr) minmax(132px, 180px) auto;
    align-items: center; gap: 20px; min-width: 0; padding: 16px;
    border: 1px solid #edf0f5; border-radius: 14px; background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pl-course-item:hover { border-color: rgba(53, 109, 241, .24); box-shadow: 0 10px 28px rgba(28, 39, 75, .08); transform: translateY(-1px); }
.pl-course-thumb { display: block; overflow: hidden; width: 148px; aspect-ratio: 16 / 10; border-radius: 10px; background: #f0f2f7; }
.pl-course-thumb img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .25s ease; }
.pl-course-item:hover .pl-course-thumb img { transform: scale(1.04); }
.pl-course-info { min-width: 0; }
.pl-courses-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px 0; }
.pl-courses-toolbar > p { margin: 0; color: #7b8190; font-size: 13px; }
.pl-courses-toolbar > p strong { color: var(--colorBlack); font-weight: 700; }
.pl-course-view-toggle { display: inline-flex; padding: 4px; gap: 3px; border: 1px solid #e8ebf2; border-radius: 10px; background: #f7f8fb; }
.pl-course-view-toggle button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 34px; padding: 0 11px; border: 0; border-radius: 7px; background: transparent; color: #73798a; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: color .2s ease, background .2s ease, box-shadow .2s ease; }
.pl-course-view-toggle button.is-active { color: var(--colorPrimary); background: #fff; box-shadow: 0 2px 6px rgba(30, 30, 47, .10); }
.pl-course-view-toggle button:focus-visible { outline: 2px solid var(--colorPrimary); outline-offset: 2px; }
.pl-course-list-head { display: none; }
.pl-course-view.is-grid .pl-course-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); align-items: stretch; gap: 16px; padding: 18px 20px 22px; }
.pl-course-view.is-grid .pl-course-item { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
.pl-course-view.is-grid .pl-course-thumb { width: 100%; aspect-ratio: 16 / 9; border-radius: 0; }
.pl-course-view.is-grid .pl-course-info { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; padding: 15px 16px 12px; }
.pl-course-view.is-grid .pl-course-meta { width: 100%; }
.pl-course-view.is-grid .pl-course-badges { padding: 0 16px 12px; }
.pl-course-view.is-grid .pl-course-actions { justify-content: flex-start; padding: 12px 16px 15px; border-top: 1px solid #edf0f5; }
.pl-course-view.is-grid .pl-course-actions .pl-course-edit { flex: 0 0 auto; }
.pl-course-view.is-grid .pl-course-learners { display: none; }
.pl-course-view.is-list .pl-course-students { display: none; }
.pl-course-rating { display: flex; align-items: center; gap: 3px; margin-bottom: 7px; color: #f3a22a; font-size: 12px; }
.pl-course-rating span { margin-left: 5px; color: #626779; font-size: 12px; font-weight: 600; }
.pl-course-title { display: -webkit-box; overflow: hidden; color: var(--colorBlack); font-size: 16px; font-weight: 700; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pl-course-title:hover { color: var(--colorPrimary); }
.pl-course-students { display: flex; align-items: center; gap: 7px; margin-top: 9px; color: #7b8190; font-size: 13px; }
.pl-course-students i { color: var(--colorPrimary); font-size: 12px; }
.pl-instructor-courses .pl-course-meta { display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: 9px; color: #747b8c; font-size: 11px; line-height: 1.35; }
.pl-instructor-courses .pl-course-meta span { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; }
.pl-instructor-courses .pl-course-meta i { color: var(--colorPrimary); font-size: 10px; }
.pl-instructor-courses .pl-course-meta--details { padding-top: 8px; border-top: 1px solid #edf0f5; }
.pl-instructor-courses .pl-course-meta .pl-course-price { color: var(--colorPrimary); font-weight: 700; }
.pl-course-learners { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #73798a; font-size: 11px; text-align: center; }
.pl-course-learners strong { color: var(--colorBlack); font-size: 16px; line-height: 1.1; }
.pl-course-badges { display: flex; align-items: center; gap: 8px; }
.pl-course-badge { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 5px; min-width: 84px; min-height: 48px; padding: 7px 10px; border: 1px solid transparent; border-radius: 10px; line-height: 1.1; white-space: nowrap; }
.pl-course-badge small { color: #73798a; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pl-course-badge strong { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; }
.pl-course-badge strong i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pl-course-badge--live, .pl-course-badge--approved { color: #25874b; background: #f0f8f2; border-color: #e3f1e7; }
.pl-course-badge--draft, .pl-course-badge--review { color: #a66a09; background: #fff8e9; border-color: #f7ebcd; }
.pl-course-badge--inactive, .pl-course-badge--rejected { color: #bd4148; background: #fff4f4; border-color: #f6e4e4; }
.pl-instructor-courses .pl-course-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 0; padding-top: 0; }
.pl-instructor-courses .pl-course-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 700; line-height: 1; opacity: 1; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.pl-instructor-courses .pl-course-edit { color: var(--colorPrimary) !important; background: #f1f5ff; border-color: #e1e9ff !important; }
.pl-instructor-courses .pl-course-edit:hover { color: #fff !important; background: var(--colorPrimary); border-color: var(--colorPrimary) !important; transform: translateY(-1px); }
.pl-instructor-courses .pl-course-delete { color: #c84c4c !important; background: #fff; border-color: #f1dddd !important; }
.pl-instructor-courses .pl-course-delete:hover { color: #fff !important; background: #c84c4c; border-color: #c84c4c !important; transform: translateY(-1px); }
.pl-courses-empty { display: flex; flex-direction: column; align-items: center; padding: 56px 20px; text-align: center; }
.pl-courses-empty-icon { display: grid; width: 64px; height: 64px; margin-bottom: 16px; place-items: center; border-radius: 20px; color: var(--colorPrimary); background: rgba(53, 109, 241, .10); font-size: 25px; }
.pl-courses-empty h2 { margin: 0; color: var(--colorBlack); font-size: 19px; font-weight: 700; }
.pl-courses-empty p { max-width: 390px; margin: 8px 0 20px; color: #7d8190; font-size: 14px; }
.pl-courses-empty .pl-courses-add { min-height: 44px; }
.pl-courses-pagination { display: flex; justify-content: center; margin-top: 24px; }
.pl-courses-pagination nav { max-width: 100%; }

.pl-course-view.is-list .pl-course-list-head { display: grid; grid-template-columns: 100px minmax(220px, 1fr) 90px 190px 112px; align-items: center; gap: 12px; margin: 0 20px; padding: 12px 14px 8px; color: #858b99; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.pl-course-view.is-list .pl-course-list-head span:first-child { grid-column: 1 / span 2; }
.pl-course-view.is-list .pl-course-list { display: flex; flex-direction: column; gap: 8px; padding: 8px 20px 18px; }
.pl-course-view.is-list .pl-course-item { display: grid; grid-template-columns: 100px minmax(220px, 1fr) 90px 190px 112px; grid-template-areas: "thumb info learners badges actions"; align-items: center; gap: 12px; padding: 10px 12px; }
.pl-course-view.is-list .pl-course-thumb { grid-area: thumb; width: 100px; aspect-ratio: 16 / 10; border-radius: 8px; }
.pl-course-view.is-list .pl-course-info { grid-area: info; }
.pl-course-view.is-list .pl-course-learners { grid-area: learners; }
.pl-course-view.is-list .pl-course-badges { grid-area: badges; flex-direction: column; align-items: flex-start; }
.pl-course-view.is-list .pl-course-actions { grid-area: actions; }

@media (max-width: 1199.98px) {
    .pl-course-view.is-list .pl-course-list-head { grid-template-columns: 76px minmax(135px, 1fr) 60px 144px 108px; gap: 6px; margin: 0 14px; }
    .pl-course-view.is-list .pl-course-item {
        grid-template-columns: 76px minmax(135px, 1fr) 60px 144px 108px;
        gap: 6px; padding: 8px;
    }
    .pl-course-view.is-list .pl-course-thumb { width: 76px; }
    .pl-course-view.is-list .pl-course-badge { min-width: 76px; padding-right: 7px; padding-left: 7px; }
    .pl-course-view.is-list .pl-course-actions a { min-width: 38px; padding: 0 8px; }
    .pl-course-item {
        grid-template-columns: 120px minmax(130px, 1fr) auto auto;
        grid-template-areas: "thumb info info info" "thumb badges badges actions";
        gap: 12px 14px;
    }
    .pl-course-thumb { grid-area: thumb; width: 120px; }
    .pl-course-info { grid-area: info; }
    .pl-course-badges { grid-area: badges; flex-wrap: wrap; }
    .pl-instructor-courses .pl-course-actions { grid-area: actions; align-self: center; }
}
@media (max-width: 991.98px) {
    .pl-course-view.is-list .pl-course-list-head { display: none; }
    .pl-course-view.is-list .pl-course-item {
        grid-template-columns: 88px minmax(0, 1fr) auto;
        grid-template-areas: "thumb info info" "thumb learners learners" "badges badges actions";
        gap: 10px 12px;
    }
    .pl-course-view.is-list .pl-course-badges { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 767.98px) {
    .pl-courses-add { min-height: 44px; padding: 0 15px; font-size: 13px; }
    .pl-courses-toolbar { padding: 12px 14px 0; }
    .pl-course-view-toggle button { min-width: 36px; padding: 0 9px; }
    .pl-course-view-toggle button span { display: none; }
    .pl-course-view.is-grid .pl-course-list,
    .pl-course-view.is-list .pl-course-list { grid-template-columns: 1fr; gap: 10px; padding: 12px; }
    .pl-course-view.is-grid .pl-course-item,
    .pl-course-view.is-list .pl-course-item { grid-template-columns: 86px minmax(0, 1fr); grid-template-areas: "thumb info" "badges badges" "actions actions"; gap: 10px 12px; padding: 12px; }
    .pl-course-view.is-grid .pl-course-item { display: grid; }
    .pl-course-view.is-list .pl-course-item { display: grid; }
    .pl-course-view.is-grid .pl-course-thumb,
    .pl-course-view.is-list .pl-course-thumb { grid-area: thumb; width: 86px; aspect-ratio: 1; border-radius: 8px; }
    .pl-course-view.is-grid .pl-course-info,
    .pl-course-view.is-list .pl-course-info { grid-area: info; padding: 0; }
    .pl-course-view.is-grid .pl-course-learners,
    .pl-course-view.is-list .pl-course-learners { display: none; }
    .pl-course-view.is-grid .pl-course-students,
    .pl-course-view.is-list .pl-course-students { display: flex; }
    .pl-course-view.is-grid .pl-course-badges,
    .pl-course-view.is-list .pl-course-badges { grid-area: badges; flex-direction: row; flex-wrap: wrap; padding: 0; }
    .pl-course-view.is-grid .pl-course-actions,
    .pl-course-view.is-list .pl-course-actions { grid-area: actions; justify-content: flex-start; padding: 10px 0 0; border-top: 1px solid #edf0f5; }
    .pl-course-view.is-list .pl-course-list-head { display: none; }
    .pl-course-view.is-list .pl-course-item { grid-template-columns: 86px minmax(0, 1fr); }
    .pl-course-thumb { grid-area: thumb; width: 86px; border-radius: 8px; }
    .pl-course-title { font-size: 14px; }
    .pl-course-rating { margin-bottom: 5px; font-size: 11px; }
    .pl-course-students { margin-top: 6px; font-size: 12px; }
    .pl-course-badges { gap: 7px; }
    .pl-course-badge { min-width: 82px; min-height: 44px; padding: 6px 9px; }
    .pl-instructor-courses .pl-course-actions a { height: 38px; }
    .pl-courses-empty { padding: 40px 14px; }
}

/* Login page: retain the CAITD split-screen style with responsive sizing. */
.pl-login-page {
    display: block; height: auto; min-height: calc(100vh - 285px); min-height: calc(100svh - 285px);
    margin-top: 110px !important; overflow: visible; padding: 24px clamp(18px, 4vw, 64px) 36px;
    background: #f5f7fb;
}
.pl-login-layout {
    display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    width: min(1360px, 100%); min-height: 560px; margin: 0 auto;
    --bs-gutter-x: 0; border: 1px solid rgba(30, 30, 47, .06); border-radius: 20px;
    overflow: hidden; background: #fff; box-shadow: 0 24px 70px rgba(30, 44, 80, .12);
}
.pl-login-layout > .pl-login-visual-col,
.pl-login-layout > .pl-login-form-col { min-width: 0; width: auto; max-width: none; margin: 0; padding: 0; }
.pl-login-page .pl-login-visual { display: block; position: relative; width: 100%; height: 100%; min-height: 560px; overflow: hidden; background: #233052; }
.pl-login-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 27, 48, .06) 25%, rgba(20, 27, 48, .82) 100%); pointer-events: none; }
.pl-login-visual > .pl-login-photo { display: block; width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center; }
.pl-login-story { position: absolute; z-index: 1; right: 38px; bottom: 42px; left: 38px; color: #fff; }
.pl-login-kicker,
.pl-login-form-kicker { display: inline-block; color: var(--colorPrimary); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pl-login-story .pl-login-kicker { margin-bottom: 12px; color: #dce6ff; }
.pl-login-story h2 { max-width: 460px; margin: 0; color: #fff; font-size: clamp(28px, 3vw, 42px); font-weight: 700; line-height: 1.12; }
.pl-login-story p { max-width: 460px; margin: 14px 0 22px; color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.65; }
.pl-login-benefits { display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 600; }
.pl-login-benefits span { display: inline-flex; align-items: center; gap: 7px; }
.pl-login-benefits i { color: #a8c1ff; }
.pl-login-form-col { display: flex; align-items: flex-start; justify-content: center; padding: 40px clamp(24px, 5vw, 72px) 28px !important; background: #fff; }
.pl-login-form-area { width: min(500px, 100%); margin: 0; }
.wsus__sign_form_area form.pl-login-form { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pl-login-form-area h2 { margin: 8px 0 0; color: var(--colorBlack); font-size: 36px; font-weight: 700; line-height: 1.2; }
.pl-login-form-area .new_user { margin: 10px 0 24px; color: #73798a; font-size: 16px; }
.pl-login-form-area .new_user a { font-weight: 600; }
.pl-login-form-area .row { --bs-gutter-x: 0; }
.pl-login-form-area .wsus__login_form_input { margin-top: 16px; }
.pl-login-form-area .wsus__login_form_input label { margin-bottom: 7px; color: #34394a; font-size: 14px; font-weight: 600; }
.pl-login-form-area .wsus__login_form_input input:not([type="checkbox"]):not([type="file"]) { width: 100%; height: 54px; padding: 0 15px; border: 1px solid #dfe3ec; border-radius: 9px; background: #fbfcfe; color: var(--colorBlack); font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.pl-login-form-area .wsus__login_form_input input:not([type="checkbox"]):not([type="file"]):focus { border-color: var(--colorPrimary); outline: 0; background: #fff; box-shadow: 0 0 0 4px rgba(53, 109, 241, .12); }
.pl-login-password { position: relative; }
.pl-login-password input { padding-right: 52px !important; }
.pl-login-password-toggle { position: absolute !important; top: 9px !important; right: 8px; display: grid; width: 36px !important; height: 36px; margin: 0 !important; padding: 0; transform: none !important; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #73798a; font-size: 16px; line-height: 1; cursor: pointer; z-index: 2; }
.pl-login-password-toggle:hover { background: #f0f3fa; color: var(--colorPrimary); }
.pl-login-form-area .form-check { display: flex; align-items: center; gap: 8px; min-height: 20px; margin: 2px 0 0; padding: 0; }
.pl-login-form-area .form-check-input { flex: 0 0 17px; width: 17px; height: 17px; margin: 0; accent-color: var(--colorPrimary); }
.pl-login-form-area .form-check label { margin: 0; color: #626a7b; font-size: 14px; font-weight: 400; }
.pl-login-form-area .wsus__login_form_input button.common_btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; margin-top: 20px; border: 0; border-radius: 9px; color: #fff !important; font-size: 16px; font-weight: 700; }
.pl-login-form-area .wsus__login_form_input button.common_btn span { color: #fff !important; }
.pl-login-form-area .wsus__login_form_input button.common_btn i { transition: transform .2s ease; }
.pl-login-form-area .wsus__login_form_input button.common_btn:hover i { transform: translateX(4px); }
.pl-register-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 20px; }
.pl-register-form-area .pl-register-toolbar .pl-register-tabs { flex: 0 1 auto; margin: 0; }
.pl-register-toolbar .pl-login-back-inline { flex: 0 0 auto; margin: 0; white-space: nowrap; }
.pl-register-form-area .pl-register-tabs { display: inline-flex; flex-wrap: nowrap; gap: 5px; width: max-content; max-width: 100%; margin: 0 0 18px; padding: 4px; border-radius: 10px; background: #f0f3f8; }
.pl-register-form-area .pl-register-tabs .nav-link { min-width: 126px; padding: 10px 18px; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: #657084 !important; font-size: 14px; font-weight: 700; text-align: center; }
.pl-register-form-area .pl-register-tabs .nav-link.active { background: var(--colorPrimary) !important; color: #fff !important; box-shadow: 0 4px 12px rgba(53, 109, 241, .2); }
.pl-register-form-area .pl-register-tabs .nav-link:focus-visible { outline: 2px solid var(--colorPrimary); outline-offset: 2px; }
.pl-register-form-area .wsus__login_form_input input[type="file"] { width: 100%; min-height: 54px; padding: 8px; border: 1px solid #dfe3ec; border-radius: 9px; background: #fbfcfe; color: #73798a; font-size: 13px; }
.pl-register-form-area .wsus__login_form_input input[type="file"]::file-selector-button { margin-right: 12px; padding: 9px 13px; border: 0; border-radius: 7px; background: #eaf0ff; color: var(--colorPrimary); font-weight: 700; cursor: pointer; }
.pl-register-form-area .wsus__login_form_input input[type="file"]::file-selector-button:hover { background: #dce6ff; }
.pl-register-form-area .tab-content,
.pl-register-form-area .tab-pane { min-width: 0; }
.pl-login-safe { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 18px 0 0; color: #858b99; font-size: 11px; }
.pl-login-safe i { color: #25874b; }
.pl-login-back-inline { display: flex; width: max-content; align-items: center; justify-content: center; gap: 8px; min-height: 38px; margin: 0 0 24px auto; padding: 0 13px; border: 1px solid #dce5ff; border-radius: 9px; background: #f3f6ff; color: var(--colorPrimary); font-size: 13px; font-weight: 700; text-decoration: none; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.pl-login-back-inline:hover { border-color: var(--colorPrimary); background: #eaf0ff; color: var(--colorPrimary); transform: translateX(-2px); }
.pl-login-form-area .new_user a:focus-visible,
.pl-login-form-area .wsus__login_form_input a:focus-visible { outline: 2px solid var(--colorPrimary); outline-offset: 3px; border-radius: 3px; }

/* =====================================================================
   INSTRUCTOR ORDERS — sales list and responsive order cards
   ===================================================================== */
.pl-instructor-orders { overflow: hidden; }
.pl-instructor-orders-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pl-instructor-orders-head .wsus__dashboard_heading h5 { margin: 0; color: var(--colorBlack); font-size: 23px; font-weight: 700; }
.pl-instructor-orders-head .wsus__dashboard_heading p { margin: 6px 0 0; color: #777b88; font-size: 14px; }
.pl-instructor-orders-kicker { display: block; margin-bottom: 5px; color: var(--colorPrimary); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.pl-instructor-orders-count { flex: 0 0 auto; padding: 8px 12px; border: 1px solid #e3eaff; border-radius: 999px; background: #f3f6ff; color: var(--colorPrimary); font-size: 12px; font-weight: 700; }
.pl-iorders-list { padding: 4px 24px 16px; }
.pl-iorders-labels,
.pl-iorder-row { display: grid; grid-template-columns: minmax(190px, 2fr) minmax(125px, 1.25fr) minmax(105px, .95fr) minmax(90px, .8fr) minmax(120px, 1.05fr) minmax(100px, .9fr) 42px; align-items: center; gap: 14px; }
.pl-iorders-labels { padding: 13px 14px; border-bottom: 1px solid #e9edf4; color: #888d9a; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.pl-iorder-row { min-height: 84px; padding: 12px 14px; border-bottom: 1px solid #edf0f5; transition: background .18s ease; }
.pl-iorder-row:hover { background: #fafbff; }
.pl-iorder-course { display: flex; min-width: 0; align-items: center; gap: 12px; }
.pl-instructor-orders .pl-iorder-thumb { display: block; flex: 0 0 72px !important; width: 72px !important; min-width: 72px !important; max-width: 72px !important; height: 56px !important; min-height: 56px !important; max-height: 56px !important; border-radius: 8px; background: #f0f3f8; object-fit: cover; }
.pl-iorder-thumb-placeholder { display: flex; align-items: center; justify-content: center; color: #8fa7e9; font-size: 19px; }
.pl-iorder-course-copy { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.pl-iorder-course-copy a,
.pl-iorder-course-copy strong { display: -webkit-box; overflow: hidden; color: var(--colorBlack); font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: none; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pl-iorder-course-copy a:hover { color: var(--colorPrimary); }
.pl-iorder-course-copy small,
.pl-iorder-learner small { overflow: hidden; color: #8b909d; font-size: 10.5px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.pl-iorder-course-copy small span { padding: 0 3px; }
.pl-iorder-learner,
.pl-iorder-money,
.pl-iorder-commission,
.pl-iorder-earning { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.pl-iorder-learner strong { overflow: hidden; color: #303344; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pl-iorder-money strong,
.pl-iorder-earning strong { color: #303344; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pl-iorder-money strong small,
.pl-iorder-earning strong small { color: #858b99; font-size: 9px; font-weight: 600; }
.pl-iorder-money > span,
.pl-iorder-commission > span,
.pl-iorder-earning > span { color: #9499a5; font-size: 10px; }
.pl-iorder-commission strong { color: #525f7c; font-size: 12px; font-weight: 700; }
.pl-iorder-status > span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.pl-iorder-status .is-approved { background: #eaf6ee; color: #28854a; }
.pl-iorder-status .is-pending { background: #fff5e6; color: #a66a12; }
.pl-iorder-status i { font-size: 9px; }
.pl-iorder-action { display: flex; justify-content: flex-end; }
.pl-iorder-action a,
.pl-iorder-action-disabled { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid #e1e8fb; border-radius: 10px; background: #f4f7ff; color: var(--colorPrimary); font-size: 13px; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.pl-iorder-action a:hover { transform: translateY(-2px); background: var(--colorPrimary); color: #fff; }
.pl-iorder-action a:focus:not(:focus-visible) { outline: none; }
.pl-iorder-action a:focus-visible { outline: 2px solid var(--colorPrimary); outline-offset: 2px; }
.pl-iorder-action-disabled { color: #b4bac7; }
.pl-iorders-empty { padding: 54px 20px; text-align: center; }
.pl-iorders-empty > span { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 16px; background: #f1f5ff; color: var(--colorPrimary); font-size: 21px; }
.pl-iorders-empty h6 { margin: 15px 0 5px; color: #303344; font-size: 16px; font-weight: 700; }
.pl-iorders-empty p { margin: 0; color: #858b99; font-size: 13px; }
.pl-iorders-pagination { display: flex; justify-content: flex-end; padding: 16px 24px 22px; }
.pl-iorders-pagination nav { margin: 0; }

/* Instructor profile panels share the polished profile card system. */
.pl-instructor-profile .pl-profile-pane-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 30px 0; }
.pl-instructor-profile .pl-profile-pane-head h5 { margin: 0; color: var(--colorBlack); font-size: 17px; font-weight: 700; }
.pl-instructor-profile .pl-profile-pane-head p { margin: 4px 0 0; color: #858b99; font-size: 12.5px; }
.pl-instructor-profile .wsus__dashboard_profile_update { padding-top: 12px; }
.pl-instructor-profile .wsus__dashboard_social_profile { padding: 8px 30px 30px; }
.pl-instructor-profile .wsus__dashboard_social_profile_input { margin-top: 14px; }
.pl-instructor-profile .wsus__dashboard_profile_update_info,
.pl-instructor-profile .wsus__dashboard_password_change_input { margin-top: 12px; }
.pl-instructor-profile .pl-profile-tabs .pl-ptab:focus-visible { outline: 2px solid var(--colorPrimary); outline-offset: -2px; }

@media (max-width: 1199.98px) {
    .pl-iorders-list { padding-right: 18px; padding-left: 18px; }
    .pl-iorders-labels { display: none; }
    .pl-iorder-row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; border: 1px solid #e8edf5; border-radius: 12px; }
    .pl-iorder-row > div:not(.pl-iorder-course):not(.pl-iorder-action)::before { display: block; margin-bottom: 5px; color: #8c92a0; content: attr(data-label); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
    .pl-iorder-course { grid-column: span 2; }
    .pl-iorder-learner { grid-column: span 2; }
    .pl-iorder-action { align-self: end; }
}
@media (max-width: 767.98px) {
    .pl-instructor-orders-head { align-items: flex-start; padding: 20px 18px !important; }
    .pl-instructor-orders-head .wsus__dashboard_heading h5 { font-size: 20px; }
    .pl-instructor-orders-head .wsus__dashboard_heading p { max-width: 380px; font-size: 12px; line-height: 1.5; }
    .pl-instructor-orders-count { padding: 7px 9px; font-size: 10px; }
    .pl-iorders-list { padding: 0 14px 16px; }
    .pl-iorder-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding: 14px; }
    .pl-iorder-course,
    .pl-iorder-learner { grid-column: 1 / -1; }
    .pl-iorder-course { align-items: flex-start; }
    .pl-instructor-orders .pl-iorder-thumb { flex-basis: 58px !important; width: 58px !important; min-width: 58px !important; max-width: 58px !important; height: 46px !important; min-height: 46px !important; max-height: 46px !important; }
    .pl-iorder-course-copy a,
    .pl-iorder-course-copy strong { font-size: 12px; }
    .pl-iorder-action { grid-column: 1 / -1; justify-content: flex-end; }
    .pl-iorders-pagination { padding: 12px 14px 18px; overflow-x: auto; }
}
@media (max-width: 575.98px) {
    .pl-instructor-profile .pl-profile-hero-body { padding-right: 18px; padding-left: 18px; }
    .pl-instructor-profile .pl-profile-pane-head { padding: 18px 18px 0; }
    .pl-instructor-profile .wsus__dashboard_profile_update { padding: 10px 18px 22px; }
    .pl-instructor-profile .wsus__dashboard_social_profile { padding: 8px 18px 22px; }
    .pl-instructor-profile .wsus__dashboard_profile_update_btn .common_btn,
    .pl-instructor-profile .wsus__dashboard_password_change_btn .common_btn,
    .pl-instructor-profile .wsus__dashboard_social_profile_btn .common_btn { width: 100%; justify-content: center; }
}

@media (max-width: 991.98px) {
    .pl-login-page { min-height: 0; margin-top: 110px !important; padding: 24px 20px 30px; }
    .pl-login-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); min-height: 540px; }
    .pl-login-page .pl-login-visual, .pl-login-visual > .pl-login-photo { min-height: 540px; }
    .pl-login-form-col { padding: 32px 32px 24px !important; }
    .pl-login-form-area h2 { font-size: 32px; }
}
@media (max-width: 767.98px) {
    .pl-login-page { min-height: 0; margin-top: 110px !important; padding: 24px 14px 24px; }
    .pl-login-layout { grid-template-columns: minmax(0, 1fr); min-height: 0; border-radius: 16px; }
    .pl-login-page .pl-login-visual, .pl-login-visual > .pl-login-photo { min-height: 230px; height: 230px; }
    .pl-login-visual > .pl-login-photo { object-position: center 34%; }
    .pl-login-story { right: 20px; bottom: 18px; left: 20px; }
    .pl-login-story .pl-login-kicker { margin-bottom: 5px; font-size: 9px; }
    .pl-login-story h2 { max-width: 360px; font-size: 23px; }
    .pl-login-story p { max-width: 440px; margin: 6px 0 0; font-size: 12px; line-height: 1.45; }
    .pl-login-benefits { display: none; }
    .pl-login-form-col { padding: 26px 22px 24px !important; }
    .pl-login-form-area h2 { font-size: 28px; }
    .pl-login-form-area .new_user { margin-bottom: 20px; }
    .pl-login-form-area .wsus__login_form_input { margin-top: 13px; }
    .pl-login-back-inline { min-height: 36px; margin-bottom: 18px; font-size: 12px; }
    .pl-register-toolbar { flex-wrap: wrap; }
    .pl-register-form-area .pl-register-toolbar .pl-register-tabs { order: 1; width: 100%; }
    .pl-register-toolbar .pl-login-back-inline { order: 0; margin-left: auto; }
    .pl-register-form-area .pl-register-tabs { width: 100%; }
    .pl-register-form-area .pl-register-tabs .nav-link { min-width: 0; flex: 1 1 50%; padding: 9px 10px; }
}

/* =====================================================================
   INSTRUCTOR WITHDRAWALS — balances and payout request history
   ===================================================================== */
.pl-withdraw-page { overflow: hidden; }
.pl-withdraw-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pl-withdraw-kicker { display: block; margin-bottom: 5px; color: var(--colorPrimary); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pl-withdraw-header .wsus__dashboard_heading h5 { margin: 0; color: var(--colorBlack); font-size: 23px; font-weight: 700; }
.pl-withdraw-header .wsus__dashboard_heading p { margin: 6px 0 0; color: #777b88; font-size: 13px; }
.pl-withdraw-request-btn { display: inline-flex; flex: 0 0 auto; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 0 17px; border-radius: 10px; background: var(--colorPrimary); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; box-shadow: 0 7px 16px rgba(53, 109, 241, .18); transition: transform .2s ease, background .2s ease; }
.pl-withdraw-request-btn:hover { transform: translateY(-2px); background: #2c5fd6; color: #fff; }
.pl-withdraw-page .pl-withdraw-header > .pl-withdraw-request-btn,
.pl-withdraw-page .pl-withdraw-header > .pl-withdraw-request-btn:hover,
.pl-withdraw-page .pl-withdraw-header > .pl-withdraw-request-btn:focus,
.pl-withdraw-page .pl-withdraw-header > .pl-withdraw-request-btn:visited,
.pl-withdraw-page .pl-withdraw-header > .pl-withdraw-request-btn span,
.pl-withdraw-page .pl-withdraw-header > .pl-withdraw-request-btn i { color: #fff !important; }
.pl-withdraw-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 20px 24px; }
.pl-withdraw-stat { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 15px; border: 1px solid #edf0f6; border-radius: 13px; background: #fff; }
.pl-withdraw-stat-icon { display: inline-flex; flex: 0 0 42px; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; font-size: 16px; }
.pl-withdraw-stat-icon.is-blue { background: #eef3ff; color: var(--colorPrimary); }
.pl-withdraw-stat-icon.is-amber { background: #fff5e6; color: #d18a1b; }
.pl-withdraw-stat-icon.is-green { background: #eaf6ee; color: #28854a; }
.pl-withdraw-stat > div { display: flex; min-width: 0; flex-direction: column; }
.pl-withdraw-stat > div > span { color: #7f8593; font-size: 10px; font-weight: 600; }
.pl-withdraw-stat strong { overflow: hidden; margin: 2px 0; color: #25283a; font-size: 17px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.pl-withdraw-stat small { color: #969ba6; font-size: 9px; }
.pl-withdraw-history-head { display: flex; align-items: center; justify-content: space-between; padding: 19px 28px 12px; border-top: 1px solid #eef0f5; }
.pl-withdraw-history-head h6 { margin: 0; color: #292c3e; font-size: 15px; font-weight: 700; }
.pl-withdraw-history-head p { margin: 3px 0 0; color: #8c919d; font-size: 11px; }
.pl-withdraw-list { padding: 0 24px 18px; }
.pl-withdraw-labels,
.pl-withdraw-row { display: grid; grid-template-columns: minmax(155px, 1.25fr) minmax(120px, 1fr) minmax(110px, .9fr) minmax(110px, .85fr) minmax(140px, 1.1fr); align-items: center; gap: 14px; }
.pl-withdraw-labels { padding: 11px 14px; border-bottom: 1px solid #e9edf4; color: #888d9a; font-size: 9px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.pl-withdraw-row { min-height: 76px; padding: 12px 14px; border-bottom: 1px solid #edf0f5; transition: background .18s ease; }
.pl-withdraw-row:hover { background: #fafbff; }
.pl-withdraw-ref { display: flex; min-width: 0; align-items: center; gap: 10px; }
.pl-withdraw-ref-icon { display: inline-flex; flex: 0 0 34px; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 10px; background: #f0f4ff; color: var(--colorPrimary); font-size: 12px; }
.pl-withdraw-ref > div,
.pl-withdraw-date { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.pl-withdraw-ref strong,
.pl-withdraw-date strong { overflow: hidden; color: #343749; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.pl-withdraw-ref small,
.pl-withdraw-date small { color: #969ba6; font-size: 10px; }
.pl-withdraw-amount strong { color: #292c3e; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pl-withdraw-status > span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.pl-withdraw-status .is-pending { background: #fff5e6; color: #a66a12; }
.pl-withdraw-status .is-approved { background: #eaf6ee; color: #28854a; }
.pl-withdraw-status .is-rejected { background: #fff0f0; color: #c44747; }
.pl-withdraw-status i { font-size: 9px; }
.pl-withdraw-transaction span { display: block; overflow: hidden; color: #5f6573; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.pl-withdraw-transaction .is-unassigned { color: #9a9eaa; font-family: inherit; }
.pl-withdraw-empty { padding: 42px 18px; text-align: center; }
.pl-withdraw-empty > span { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: #f0f4ff; color: var(--colorPrimary); font-size: 19px; }
.pl-withdraw-empty h6 { margin: 13px 0 4px; color: #303344; font-size: 15px; font-weight: 700; }
.pl-withdraw-empty p { margin: 0; color: #858b99; font-size: 12px; }
.pl-withdraw-empty-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: var(--colorPrimary); font-size: 12px; font-weight: 700; text-decoration: none; }
.pl-withdraw-empty-link:hover { color: #2c5fd6; }
.pl-withdraw-pagination { display: flex; justify-content: flex-end; padding: 12px 24px 20px; }
.pl-withdraw-pagination nav { margin: 0; }

@media (max-width: 1199.98px) {
    .pl-withdraw-stats { gap: 10px; padding-right: 18px; padding-left: 18px; }
    .pl-withdraw-stat { padding: 12px; gap: 9px; }
    .pl-withdraw-stat strong { font-size: 15px; }
    .pl-withdraw-labels { display: none; }
    .pl-withdraw-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; border: 1px solid #e8edf5; border-radius: 12px; }
    .pl-withdraw-row > div:not(.pl-withdraw-ref)::before { display: block; margin-bottom: 4px; color: #8c92a0; content: attr(data-label); font-size: 9px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
    .pl-withdraw-ref { grid-column: span 2; }
}
@media (max-width: 767.98px) {
    .pl-withdraw-header { align-items: flex-start; padding: 20px 18px !important; }
    .pl-withdraw-header .wsus__dashboard_heading h5 { font-size: 20px; }
    .pl-withdraw-header .wsus__dashboard_heading p { max-width: 370px; font-size: 12px; line-height: 1.45; }
    .pl-withdraw-request-btn { min-height: 38px; gap: 6px; padding: 0 11px; font-size: 10px; }
    .pl-withdraw-stats { grid-template-columns: 1fr; padding: 14px 16px; }
    .pl-withdraw-stat { padding: 11px 13px; }
    .pl-withdraw-history-head { padding: 17px 18px 10px; }
    .pl-withdraw-list { padding: 0 14px 14px; }
    .pl-withdraw-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 10px; padding: 13px; }
    .pl-withdraw-ref { grid-column: 1 / -1; }
    .pl-withdraw-pagination { padding: 10px 14px 16px; overflow-x: auto; }
}

/* Enrolled-course thumbnails: keep this scoped so the shared course-list
   thumbnail rules cannot shrink the cards on the student library page. */
#plCourses .pl-course-card > .pl-course-thumb {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 0;
}
#plCourses .pl-course-card > .pl-course-thumb img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
#plCourses.pl-view-list .pl-course-card > .pl-course-thumb {
    width: 240px;
    flex: 0 0 240px;
    aspect-ratio: 16 / 10;
    margin: 16px 0 16px 16px;
    border-radius: 12px;
}

@media (max-width: 767.98px) {
    #plCourses.pl-view-list .pl-course-card { flex-direction: column; }
    #plCourses.pl-view-list .pl-course-card > .pl-course-thumb {
        width: 100%;
        flex: 0 0 auto;
        aspect-ratio: 16 / 9;
        margin: 0;
        border-radius: 0;
    }
}

/* =====================================================================
   INSTRUCTOR COURSE BUILDER — four-step creation flow
   Scoped to the create wizard so existing course edit screens keep their
   established layout and behavior.
   ===================================================================== */
.pl-course-wizard { padding: 28px 32px 34px; }
.pl-course-steps-wrap { margin-bottom: 28px; }
.pl-course-steps-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 0 0 20px; }
.pl-course-steps-kicker { display: block; margin-bottom: 5px; color: var(--colorPrimary); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.pl-course-steps-heading h2 { margin: 0; color: var(--colorBlack); font-size: 20px; font-weight: 700; line-height: 1.3; }
.pl-course-steps-heading p { margin: 5px 0 0; color: #7b8190; font-size: 13px; line-height: 1.5; }
.pl-course-step-count { flex: 0 0 auto; padding: 7px 11px; border: 1px solid #e4eaff; border-radius: 999px; background: #f4f6ff; color: var(--colorPrimary); font-size: 11px; font-weight: 700; }
.pl-course-step-count span { color: #82899a; font-weight: 500; }
.pl-course-wizard .pl-course-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0 0 22px;
    border-bottom: 1px solid #edf0f5;
}
.pl-course-wizard .pl-course-steps .nav-item { min-width: 0; }
.pl-course-wizard .pl-course-steps .nav-link {
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 11px;
    padding: 10px 13px !important;
    border: 1px solid #e8ebf2 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #636b7c !important;
    text-decoration: none;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.pl-course-wizard .pl-course-steps .nav-link:hover { border-color: #cbd7ff !important; background: #f8f9ff !important; color: var(--colorPrimary) !important; }
.pl-course-wizard .pl-course-steps .nav-link.active { border-color: var(--colorPrimary) !important; background: #f3f6ff !important; color: var(--colorBlack) !important; box-shadow: 0 5px 14px rgba(53, 109, 241, .09); }
.pl-course-step-number { display: inline-flex; flex: 0 0 34px; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 10px; background: #f0f2f7; color: #778095; font-size: 11px; font-weight: 750; }
.pl-course-steps .nav-link.active .pl-course-step-number { background: var(--colorPrimary); color: #fff; }
.pl-course-steps .is-complete .pl-course-step-number { background: #eaf6ee; color: #28854a; }
.pl-course-step-label { min-width: 0; font-size: 12px; font-weight: 700; line-height: 1.25; }
.pl-course-wizard .tab-content { min-width: 0; }
.pl-course-wizard .tab-pane { animation: pl-fade .22s ease both; }
.pl-course-wizard .tab-pane:focus:not(:focus-visible) { outline: none; }
.pl-course-wizard .tab-pane:focus-visible { outline: 2px solid var(--colorPrimary); outline-offset: -2px; }
.pl-course-wizard .add_course_basic_info,
.pl-course-wizard .add_course_more_info,
.pl-course-wizard .dashboard_add_course_finish,
.pl-course-wizard .add_course_content { padding: 0; }
.pl-course-wizard .add_course_basic_info_imput,
.pl-course-wizard .add_course_more_info_input { margin-bottom: 22px; }
.pl-course-wizard .add_course_basic_info_imput label,
.pl-course-wizard .add_course_more_info_input label { margin-bottom: 7px; color: #303548; font-size: 13px; font-weight: 650; }
.pl-course-wizard .add_course_basic_info_imput input:not([type="file"]),
.pl-course-wizard .add_course_more_info_input input,
.pl-course-wizard .add_course_basic_info_imput textarea,
.pl-course-wizard .add_course_more_info_input textarea,
.pl-course-wizard .add_course_basic_info_imput .nice-select,
.pl-course-wizard .add_course_more_info_input .nice-select,
.pl-course-wizard .add_course_more_info_input select {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #dfe4ee !important;
    border-radius: 10px;
    background-color: #fff;
    color: #292d3d;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 1px 2px rgba(24, 35, 64, .025);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.pl-course-wizard .add_course_basic_info_imput input:focus,
.pl-course-wizard .add_course_more_info_input input:focus,
.pl-course-wizard .add_course_basic_info_imput textarea:focus,
.pl-course-wizard .add_course_more_info_input textarea:focus { border-color: var(--colorPrimary) !important; outline: 0; box-shadow: 0 0 0 3px rgba(53, 109, 241, .12); }
.pl-course-wizard .add_course_basic_info_imput input[type="file"] { display: block; width: 100%; min-height: 48px; overflow: hidden; border: 1px dashed #cbd4e5; border-radius: 10px; background: #f8faff; color: #70798b; font-size: 12px; }
.pl-course-wizard .add_course_basic_info_imput input[type="file"]::file-selector-button { height: 46px; margin-right: 12px; padding: 0 16px; background: #edf2ff; color: var(--colorPrimary); font-size: 12px; font-weight: 700; }
.pl-course-wizard .add_course_basic_info_imput p,
.pl-course-wizard .add_course_more_info_input p { margin: 6px 0 0; color: #858b99; font-size: 11px; }
.pl-course-wizard .add_course_basic_info_imput .nice-select { display: flex; align-items: center; line-height: 1.4; }
.pl-course-wizard .add_course_basic_info_imput .nice-select .current { color: #292d3d; font-size: 14px; }
.pl-course-wizard .add_course_basic_info_imput .input-group { display: flex; flex-wrap: nowrap; }
.pl-course-wizard .add_course_basic_info_imput .input-group .btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 7px; border-radius: 9px 0 0 9px; font-size: 12px; font-weight: 700; }
.pl-course-wizard .add_course_basic_info_imput .input-group input { min-width: 0; }
.pl-course-wizard .add_course_basic_info_imput textarea,
.pl-course-wizard .add_course_more_info_input textarea { min-height: 150px; resize: vertical; }
.pl-course-wizard .tox-tinymce { overflow: hidden; border: 1px solid #dfe4ee !important; border-radius: 10px !important; }
.pl-course-wizard .tox .tox-edit-area::before { border: 0 !important; }
.pl-course-wizard .common_btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border-radius: 9px; background: var(--colorPrimary); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 6px 15px rgba(53, 109, 241, .17); }
.pl-course-wizard .common_btn:hover { background: #2e60d8; color: #fff; transform: translateY(-1px); }
.pl-course-wizard .add_course_more_info_checkbox,
.pl-course-wizard .add_course_more_info_radio_box { padding: 16px 18px; border: 1px solid #e8ebf2; border-radius: 12px; background: #fbfcff; }
.pl-course-wizard .add_course_more_info_radio_box { height: calc(100% - 22px); margin-bottom: 22px; }
.pl-course-wizard .add_course_more_info_radio_box h3 { margin: 0 0 12px; padding-bottom: 10px; border-color: #e8ebf2; color: #34384a; font-size: 13px; font-weight: 700; }
.pl-course-wizard .add_course_more_info_radio_box .form-check,
.pl-course-wizard .add_course_more_info_checkbox .form-check { display: flex; min-height: 30px; align-items: center; gap: 9px; margin: 0; padding: 5px 0; }
.pl-course-wizard .add_course_more_info_radio_box .form-check-input,
.pl-course-wizard .add_course_more_info_checkbox .form-check-input { float: none; flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--colorPrimary); }
.pl-course-wizard .add_course_more_info_radio_box .form-check-label,
.pl-course-wizard .add_course_more_info_checkbox .form-check-label { margin: 0; color: #505769; font-size: 12px; }
.pl-course-wizard .add_course_content_btn_area { gap: 10px; margin-bottom: 16px; }
.pl-course-wizard .add_course_content_btn_area .common_btn { min-height: 42px; }
.pl-course-wizard .add_course_content .accordion-item { overflow: visible; margin-bottom: 10px; border: 1px solid #e6eaf2; border-radius: 12px !important; background: #fff; box-shadow: 0 3px 10px rgba(24, 35, 64, .035); }
.pl-course-wizard .add_course_content .accordion-header { min-height: 58px; }
.pl-course-wizard .add_course_content .accordion-item button { min-height: 58px; border-radius: 12px; background: #fff; }
.pl-course-wizard .add_course_content .accordion-item button span { color: #303548; font-size: 14px; font-weight: 700; }
.pl-course-wizard .add_course_content .accordion-item button::before { top: 12px; width: 32px; height: 32px; line-height: 32px; border-radius: 10px; }
.pl-course-wizard .add_course_content .accordion-body { padding: 16px; }
.pl-course-wizard .add_course_content .item_list li { border-color: #e8ebf2; background: #fbfcff; font-size: 13px; }
.pl-course-wizard .dashboard_add_course_finish .add_course_more_info_input { max-width: 760px; }
.pl-course-wizard .pl-thumbnail-upload-row { display: block; }
.pl-course-wizard .pl-thumbnail-file-input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.pl-course-wizard .pl-thumbnail-file-meta { display: flex; min-width: 0; align-items: center; gap: 7px; color: #858b99; font-size: 10px; }
.pl-course-wizard .pl-thumbnail-file-meta i { color: var(--colorPrimary); }
.pl-course-wizard .pl-thumbnail-file-meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-course-wizard .pl-thumbnail-preview-panel { width: 100%; max-width: none; min-width: 0; }
.pl-course-wizard .pl-thumbnail-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: #394156; }
.pl-course-wizard .pl-thumbnail-preview-head strong { font-size: 11px; font-weight: 700; }
.pl-course-wizard .pl-thumbnail-preview-head > span { color: #8991a0; font-size: 10px; }
.pl-course-wizard .pl-thumbnail-file-input:focus-visible ~ .pl-thumbnail-preview { outline: 3px solid rgba(53, 109, 241, .5); outline-offset: 3px; }
.pl-course-wizard .pl-thumbnail-preview { position: relative; display: block; overflow: hidden; width: 100%; aspect-ratio: 2 / 1; border: 1px solid #e1e7f2; border-radius: 13px; background: #f1f4f9; box-shadow: 0 8px 24px rgba(29, 43, 75, .09); cursor: pointer; }
.pl-course-wizard .pl-thumbnail-preview:hover,
.pl-course-wizard .pl-thumbnail-preview.is-dragging { border-color: var(--colorPrimary); box-shadow: 0 0 0 3px rgba(53, 109, 241, .12), 0 10px 28px rgba(29, 43, 75, .12); }
.pl-course-wizard .pl-thumbnail-preview > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pl-course-wizard .pl-thumbnail-preview > [hidden] { display: none !important; }
.pl-course-wizard .pl-thumbnail-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px; color: #7f899e; text-align: center; }
.pl-course-wizard .pl-thumbnail-placeholder > i { color: #91a8e8; font-size: 25px; }
.pl-course-wizard .pl-thumbnail-placeholder > span { color: #485168; font-size: 12px; font-weight: 700; }
.pl-course-wizard .pl-thumbnail-placeholder > small { font-size: 10px; line-height: 1.35; }
.pl-course-wizard .pl-thumbnail-change-cue { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.42); border-radius: 9px; background: rgba(24, 34, 58, .82); color: #fff; font-size: 10px; font-weight: 700; opacity: 0; transform: translateY(3px); transition: opacity .18s ease, transform .18s ease; pointer-events: none; }
.pl-course-wizard .pl-thumbnail-preview.is-populated:hover .pl-thumbnail-change-cue { opacity: 1; transform: translateY(0); }
.pl-course-wizard .pl-thumbnail-preview.is-populated .pl-thumbnail-change-cue { opacity: 1; }
.pl-course-finish { max-width: 100%; }
.pl-course-finish .more_info_form { max-width: none; }
.pl-finish-intro { display: flex; align-items: flex-start; gap: 14px; margin: 0 0 24px; padding: 18px; border: 1px solid #e5eaff; border-radius: 14px; background: linear-gradient(120deg, #f7f9ff, #fff); }
.pl-finish-icon { display: inline-flex; flex: 0 0 42px; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 12px; background: #eaf0ff; color: var(--colorPrimary); font-size: 17px; }
.pl-finish-intro .pl-course-steps-kicker { display: block; margin: 0 0 4px; }
.pl-finish-intro h2 { margin: 0 0 4px; color: #272c3d; font-size: 19px; font-weight: 750; }
.pl-finish-intro p,
.pl-finish-section-heading p { margin: 0; color: #81899a; font-size: 12px; line-height: 1.55; }
.pl-finish-section { margin: 0 0 22px; }
.pl-finish-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.pl-finish-section-heading h3 { margin: 0 0 3px; color: #303548; font-size: 14px; font-weight: 750; }
.pl-finish-section-heading h3 > span { margin-left: 5px; color: #969dac; font-size: 11px; font-weight: 500; }
.pl-finish-required,
.pl-finish-character-count { flex: 0 0 auto; color: #8991a0; font-size: 10px; }
.pl-finish-required { padding: 5px 9px; border: 1px solid #e7eaf0; border-radius: 20px; background: #fafbfc; }
.pl-finish-status-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pl-finish-status-option { position: relative; display: block; margin: 0; cursor: pointer; }
.pl-finish-status-option > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pl-finish-status-card { display: flex; min-height: 76px; align-items: center; gap: 11px; padding: 13px; border: 1px solid #e5e9f1; border-radius: 12px; background: #fff; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.pl-finish-status-option > input:checked + .pl-finish-status-card { border-color: var(--colorPrimary); background: #f7f9ff; box-shadow: 0 0 0 3px rgba(53, 109, 241, .08); }
.pl-finish-status-option > input:focus-visible + .pl-finish-status-card { outline: 3px solid rgba(53, 109, 241, .3); outline-offset: 2px; }
.pl-finish-status-icon { display: inline-flex; flex: 0 0 36px; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; font-size: 14px; }
.pl-finish-status-icon.is-active { background: #eaf6ee; color: #3b9254; }
.pl-finish-status-icon.is-inactive { background: #f0f2f6; color: #777f90; }
.pl-finish-status-icon.is-draft { background: #fff4e5; color: #c58a31; }
.pl-finish-status-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.pl-finish-status-copy strong { color: #303548; font-size: 12px; font-weight: 700; }
.pl-finish-status-copy small { color: #8991a0; font-size: 10px; line-height: 1.35; }
.pl-finish-status-check { color: var(--colorPrimary); font-size: 14px; opacity: 0; }
.pl-finish-status-option > input:checked + .pl-finish-status-card .pl-finish-status-check { opacity: 1; }
.pl-course-finish #plReviewerMessage { display: block; width: 100%; min-height: 112px; padding: 12px 14px; border: 1px solid #dfe4ee; border-radius: 10px; color: #303548; font-size: 13px; line-height: 1.55; resize: vertical; }
.pl-course-finish #plReviewerMessage:focus { border-color: var(--colorPrimary); outline: 0; box-shadow: 0 0 0 3px rgba(53, 109, 241, .12); }
.pl-finish-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 17px; border-top: 1px solid #edf0f5; }
.pl-finish-submit-row > p { display: flex; align-items: center; gap: 7px; margin: 0; color: #8991a0; font-size: 11px; }
.pl-finish-submit-row > p i { color: var(--colorPrimary); }
.pl-course-finish .pl-finish-submit-row .common_btn { min-width: 170px; min-height: 46px; }
.pl-course-finish .pl-finish-submit-row .common_btn:disabled { cursor: wait; opacity: .75; }
.pl-course-crop-dialog { width: min(94vw, 780px); }
.pl-course-crop-area { width: 100%; height: min(58vh, 460px); min-height: 240px; overflow: hidden; background: #e8edf5; }
.pl-course-crop-area img { display: block; max-width: 100%; }
.pl-course-crop-dialog .pl-crop-foot .common_btn { width: auto; }

@media (max-width: 991.98px) {
    .pl-course-wizard { padding: 24px; }
    .pl-course-wizard .pl-course-steps { gap: 8px; }
    .pl-course-wizard .pl-course-steps .nav-link { gap: 8px; padding: 9px !important; }
    .pl-course-step-number { flex-basis: 30px; width: 30px; height: 30px; }
}
@media (max-width: 1199.98px) {
    .pl-course-wizard .pl-thumbnail-preview-panel { width: 100%; max-width: none; }
}
@media (max-width: 767.98px) {
    .pl-course-wizard { padding: 20px 16px 24px; }
    .pl-course-steps-wrap { margin-bottom: 22px; }
    .pl-course-steps-heading { align-items: flex-start; margin-bottom: 15px; }
    .pl-course-steps-heading h2 { font-size: 18px; }
    .pl-course-steps-heading p { max-width: 300px; font-size: 12px; }
    .pl-course-wizard .pl-course-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-bottom: 16px; }
    .pl-course-wizard .pl-course-steps .nav-link { min-height: 52px; gap: 8px; padding: 8px 10px !important; border-radius: 10px !important; }
    .pl-course-wizard .pl-thumbnail-preview { aspect-ratio: 16 / 9; }
    .pl-course-step-label { font-size: 11px; }
    .pl-course-step-number { flex-basis: 28px; width: 28px; height: 28px; border-radius: 8px; font-size: 10px; }
    .pl-course-wizard .row { --bs-gutter-x: 14px; }
    .pl-course-wizard .add_course_basic_info_imput,
    .pl-course-wizard .add_course_more_info_input { margin-bottom: 17px; }
    .pl-course-wizard .add_course_basic_info_imput label,
    .pl-course-wizard .add_course_more_info_input label { font-size: 12px; }
    .pl-course-wizard .add_course_content_btn_area { flex-direction: column; align-items: stretch; }
    .pl-course-wizard .add_course_content_btn_area .common_btn { width: 100%; }
    .pl-finish-intro { padding: 14px; }
    .pl-finish-status-options { grid-template-columns: 1fr; gap: 8px; }
    .pl-finish-status-card { min-height: 66px; }
    .pl-finish-submit-row { align-items: stretch; flex-direction: column; }
    .pl-course-finish .pl-finish-submit-row .common_btn { width: 100%; }
    .pl-course-crop-dialog { width: min(96vw, 780px); }
    .pl-course-crop-area { height: min(48vh, 340px); min-height: 200px; }
    .pl-course-crop-dialog .pl-crop-foot { padding: 12px 14px; }
    .pl-course-crop-dialog .pl-crop-foot button { min-height: 40px; padding: 0 14px; font-size: 12px; }
    .pl-course-wizard .add_course_content .accordion-item button { padding-right: 106px; padding-left: 50px; }
    .pl-course-wizard .add_course_content .accordion-item button span { font-size: 12px; }
    .pl-course-wizard .add_course_content_action_btn { right: 9px; gap: 5px; }
    .pl-course-wizard .add_course_content_action_btn .edit,
    .pl-course-wizard .add_course_content_action_btn .del,
    .pl-course-wizard .add_course_content_action_btn .arrow { font-size: 15px; }
    .pl-course-wizard .common_btn { width: 100%; }
}
