/* =========================================================
   MAYOBA LEARNER DASHBOARD — ALL MY COURSES
   STANDALONE PAGE

   Scoped exclusively to:
   .dashboard-learner-all-courses

   No sidebar
   No header / topbar
   No footer
   No unrelated dashboard styles
   ========================================================= */


/* =========================================================
   ROOT
   ========================================================= */

.dashboard-learner-all-courses {
    --navy: #0c2a7a;
    --navy2: #071c5e;
    --blue: #1e63ef;
    --blue-soft: #e9f1ff;

    --ink: #12205c;
    --muted: #5f6f9a;

    --bg: #f3f7ff;
    --line: #dbe5f6;

    --white: #ffffff;

    --green: #10a56f;
    --green-soft: #e4f8ef;

    --purple: #7042eb;
    --purple-soft: #efe8ff;

    --orange: #ff7a24;
    --red: #e93e66;

    --shadow:
        0 10px 28px
        rgba(13, 41, 113, .08);

    --radius: 15px;

    margin: 0;
    padding: 0;

    min-height: 100vh;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: var(--ink);

    background:
        linear-gradient(
            180deg,
            #f7faff 0,
            #edf4ff 100%
        );

    font-size: 14px;
}


/* =========================================================
   BOX SIZING
   ========================================================= */

.dashboard-learner-all-courses *,
.dashboard-learner-all-courses *::before,
.dashboard-learner-all-courses *::after {
    box-sizing: border-box;
}


/* =========================================================
   BASIC ELEMENTS
   ========================================================= */

.dashboard-learner-all-courses a {
    color: inherit;
    text-decoration: none;
}

.dashboard-learner-all-courses button,
.dashboard-learner-all-courses input,
.dashboard-learner-all-courses select,
.dashboard-learner-all-courses textarea {
    font: inherit;
}

.dashboard-learner-all-courses button {
    cursor: pointer;
}

.dashboard-learner-all-courses img {
    max-width: 100%;
}

.dashboard-learner-all-courses [hidden] {
    display: none !important;
}


/* =========================================================
   ICON
   ========================================================= */

.dashboard-learner-all-courses .icon {
    width: 22px;
    height: 22px;

    display: block;

    flex: 0 0 auto;
}


/* =========================================================
   VISUALLY HIDDEN
   ========================================================= */

.dashboard-learner-all-courses .visually-hidden {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* =========================================================
   MAIN
   ========================================================= */

.dashboard-learner-all-courses .main {
    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;
}


.dashboard-learner-all-courses .content {
    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 24px;
}


/* =========================================================
   PAGE HERO
   ========================================================= */

.dashboard-learner-all-courses .page-hero {
    min-height: 148px;

    border-radius: 15px;

    overflow: hidden;

    position: relative;

    color: #ffffff;

    display: flex;
    align-items: center;

    padding: 22px 34px;

    margin-bottom: 14px;

    box-shadow: var(--shadow);
}


.dashboard-learner-all-courses .page-hero::after {
    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(7, 28, 94, .10),
            rgba(7, 28, 94, 0)
        );
}


.dashboard-learner-all-courses .page-hero.courses {
    background-image:
        linear-gradient(
            90deg,
            #07236b 0%,
            #0e3296 58%,
            rgba(14, 50, 150, .65) 100%
        ),
        url("/assets/dashboard-assets/banner-courses.png");

    background-repeat: no-repeat;

    background-size: cover;

    background-position: right center;
}


.dashboard-learner-all-courses .page-hero .hero-copy {
    position: relative;

    z-index: 2;

    max-width: 68%;

    padding: 3px 0;
}


.dashboard-learner-all-courses .page-hero h1 {
    margin: 0 0 8px;

    font-size: 42px;

    line-height: 1.08;

    letter-spacing: -.025em;
}


.dashboard-learner-all-courses .page-hero p {
    margin: 0;

    max-width: 720px;

    color:
        rgba(
            255,
            255,
            255,
            .90
        );

    font-size: 18px;

    line-height: 1.45;
}


.dashboard-learner-all-courses .hero-note {
    position: absolute;

    right: 28px;
    top: 25px;

    z-index: 3;

    font-family: cursive;

    font-size: 24px;

    line-height: 1.1;

    text-align: right;

    color: #ffffff;

    transform: rotate(-2deg);
}


/* =========================================================
   PAGE NAVIGATION
   ========================================================= */

.dashboard-learner-all-courses .page-navigation {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin: 4px 0 14px;
}


.dashboard-learner-all-courses .back-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    min-height: 38px;

    color: #23418f;

    font-size: 13px;

    font-weight: 750;

    transition:
        color .18s ease,
        transform .18s ease;
}


.dashboard-learner-all-courses .back-link:hover {
    color: #0f54e8;
}


.dashboard-learner-all-courses .back-link:active {
    transform: translateY(1px);
}


.dashboard-learner-all-courses .back-link .icon {
    width: 20px;
    height: 20px;
}


/* =========================================================
   TOOLBAR
   ========================================================= */

.dashboard-learner-all-courses .courses-toolbar {
    display: grid;

    grid-template-columns:
        minmax(320px, 1fr)
        auto
        215px;

    align-items: center;

    gap: 12px;

    margin-bottom: 16px;
}


/* =========================================================
   SEARCH FORM
   ========================================================= */

.dashboard-learner-all-courses .course-search-form {
    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;
}


.dashboard-learner-all-courses .searchbox {
    height: 44px;

    min-width: 0;

    flex: 1;

    border: 1px solid var(--line);

    border-radius: 10px;

    background: #ffffff;

    display: flex;

    align-items: center;

    padding: 0 14px;

    gap: 10px;

    color: #6878a0;

    box-shadow:
        0 3px 10px
        rgba(14, 41, 114, .025);

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}


.dashboard-learner-all-courses .searchbox:focus-within {
    border-color: #6a92ef;

    box-shadow:
        0 0 0 3px
        rgba(30, 99, 239, .10);
}


.dashboard-learner-all-courses .searchbox .icon {
    width: 21px;
    height: 21px;
}


.dashboard-learner-all-courses .searchbox input {
    width: 100%;

    min-width: 0;

    border: 0;

    outline: 0;

    background: transparent;

    color: #263766;

    font-size: 14px;
}


.dashboard-learner-all-courses .searchbox input::placeholder {
    color: #8793ad;
}


/* =========================================================
   FILTER TABS
   ========================================================= */

.dashboard-learner-all-courses .tabs {
    display: flex;

    align-items: center;

    gap: 8px;
}


.dashboard-learner-all-courses .tab {
    min-height: 44px;

    padding: 0 17px;

    border: 1px solid var(--line);

    border-radius: 10px;

    background: #ffffff;

    color: #23336d;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-weight: 750;

    font-size: 13px;

    white-space: nowrap;

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}


.dashboard-learner-all-courses .tab:hover {
    background: #f5f8ff;

    border-color: #c8d7f2;
}


.dashboard-learner-all-courses .tab:active {
    transform: translateY(1px);
}


.dashboard-learner-all-courses .tab.active {
    background: #0a2477;

    color: #ffffff;

    border-color: #0a2477;

    box-shadow:
        0 5px 14px
        rgba(10, 36, 119, .16);
}


.dashboard-learner-all-courses .tab-count-wrap {
    display: inline-flex;

    align-items: center;
}


/* =========================================================
   SORT
   ========================================================= */

.dashboard-learner-all-courses .sort {
    width: 100%;

    min-width: 0;
}


.dashboard-learner-all-courses .select {
    width: 100%;

    height: 44px;

    border: 1px solid var(--line);

    border-radius: 10px;

    padding: 0 13px;

    background: #ffffff;

    color: #25366d;

    outline: 0;

    font-weight: 650;

    cursor: pointer;

    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}


.dashboard-learner-all-courses .select:focus {
    border-color: #6a92ef;

    box-shadow:
        0 0 0 3px
        rgba(30, 99, 239, .10);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.dashboard-learner-all-courses .btn {
    min-height: 42px;

    border-radius: 9px;

    border: 1px solid #1d5df0;

    background: #ffffff;

    color: #0e4bdc;

    padding: 0 22px;

    font-weight: 750;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    white-space: nowrap;

    transition:
        background .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}


.dashboard-learner-all-courses .btn:hover {
    box-shadow:
        0 5px 14px
        rgba(30, 93, 240, .10);
}


.dashboard-learner-all-courses .btn:active {
    transform: translateY(1px);
}


.dashboard-learner-all-courses .btn.primary {
    background:
        linear-gradient(
            135deg,
            #0a2577,
            #071c61
        );

    border-color: #0a2577;

    color: #ffffff;
}


.dashboard-learner-all-courses .btn.primary:hover {
    background:
        linear-gradient(
            135deg,
            #0d318f,
            #08236f
        );
}


.dashboard-learner-all-courses .btn .icon {
    width: 20px;
    height: 20px;
}


.dashboard-learner-all-courses .search-submit {
    height: 44px;

    min-width: 92px;
}


/* =========================================================
   RESULTS HEADER
   ========================================================= */

.dashboard-learner-all-courses .results-header {
    margin-bottom: 12px;

    padding: 2px 2px 0;
}


.dashboard-learner-all-courses .results-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 16px;
}


.dashboard-learner-all-courses .results-heading h2 {
    margin: 0;

    color: #112668;

    font-size: 24px;

    line-height: 1.2;
}


.dashboard-learner-all-courses .results-heading p {
    margin: 4px 0 0;

    color: #6879a0;

    font-size: 13px;

    line-height: 1.45;
}


.dashboard-learner-all-courses .results-count {
    color: #53658f;

    font-size: 12px;

    font-weight: 750;

    white-space: nowrap;
}


/* =========================================================
   ACTIVE SEARCH
   ========================================================= */

.dashboard-learner-all-courses .active-search {
    margin-top: 10px;

    padding: 9px 12px;

    border: 1px solid #dce6f7;

    border-radius: 10px;

    background: #ffffff;

    display: flex;

    align-items: center;

    gap: 6px;

    color: #65769d;

    font-size: 12px;
}


.dashboard-learner-all-courses .active-search strong {
    color: #102d7b;

    font-weight: 800;
}


.dashboard-learner-all-courses .clear-search {
    margin-left: auto;

    padding: 5px 9px;

    border: 0;

    border-radius: 7px;

    background: #edf3ff;

    color: #1451d8;

    font-size: 11px;

    font-weight: 800;
}


.dashboard-learner-all-courses .clear-search:hover {
    background: #e1ebff;
}


/* =========================================================
   CARD / PANEL
   ========================================================= */

.dashboard-learner-all-courses .card {
    background: #ffffff;

    border: 1px solid #e0e8f6;

    border-radius: 14px;

    box-shadow:
        0 7px 20px
        rgba(14, 41, 114, .045);
}


.dashboard-learner-all-courses .panel {
    padding: 16px;
}


/* =========================================================
   ALL COURSES PANEL
   ========================================================= */

.dashboard-learner-all-courses .all-courses-panel {
    min-height: 300px;
}


.dashboard-learner-all-courses .all-courses-list {
    display: grid;

    gap: 12px;
}


/* =========================================================
   COURSE ROW
   ========================================================= */

.dashboard-learner-all-courses .course-row {
    display: grid;

    grid-template-columns:
        205px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 18px;

    padding: 14px;

    border: 1px solid #e1e9f6;

    border-radius: 12px;

    background: #ffffff;

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}


.dashboard-learner-all-courses .course-row:hover {
    border-color: #ccd9f0;

    box-shadow:
        0 7px 20px
        rgba(14, 41, 114, .055);
}


.dashboard-learner-all-courses .course-row img {
    width: 205px;

    height: 110px;

    object-fit: contain;

    border-radius: 10px;

    display: block;

    background: #f8faff;
}


.dashboard-learner-all-courses .course-row-content {
    min-width: 0;
}


.dashboard-learner-all-courses .course-row h3 {
    margin: 0 0 5px;

    color: #0b226a;

    font-size: 17px;

    line-height: 1.3;

    overflow-wrap: anywhere;
}


.dashboard-learner-all-courses .course-row .course-description {
    margin: 0 0 7px;

    color: #66779e;

    font-size: 12px;

    line-height: 1.45;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


.dashboard-learner-all-courses .course-row .meta {
    color: #6878a0;

    font-size: 12px;

    line-height: 1.45;
}


.dashboard-learner-all-courses .course-row .meta + .meta {
    margin-top: 2px;
}


/* =========================================================
   COURSE META ROW
   ========================================================= */

.dashboard-learner-all-courses .course-meta-row {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 6px 12px;

    margin-top: 5px;
}


.dashboard-learner-all-courses .course-meta-item {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    color: #6878a0;

    font-size: 12px;
}


/* =========================================================
   COURSE STATUS
   ========================================================= */

.dashboard-learner-all-courses .course-status {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 26px;

    padding: 0 9px;

    border-radius: 999px;

    font-size: 11px;

    font-weight: 800;

    text-transform: capitalize;
}


.dashboard-learner-all-courses .course-status.active,
.dashboard-learner-all-courses .course-status.in-progress {
    background: #e9f1ff;

    color: #1451d8;
}


.dashboard-learner-all-courses .course-status.completed {
    background: #e4f8ef;

    color: #0a8e62;
}


.dashboard-learner-all-courses .course-status.suspended {
    background: #fff2dc;

    color: #a7650d;
}


.dashboard-learner-all-courses .course-status.cancelled {
    background: #fde8ed;

    color: #c52d52;
}


/* =========================================================
   PROGRESS
   ========================================================= */

.dashboard-learner-all-courses .progress {
    width: 100%;

    max-width: 620px;

    height: 7px;

    margin: 10px 0 5px;

    background: #e6ebf6;

    border-radius: 999px;

    overflow: hidden;
}


.dashboard-learner-all-courses .progress span {
    display: block;

    height: 100%;

    width: 0;

    background: #2264ed;

    border-radius: 999px;

    transition: width .28s ease;
}


/* =========================================================
   COURSE ACTIONS
   ========================================================= */

.dashboard-learner-all-courses .course-actions {
    min-width: 130px;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    justify-content: center;

    gap: 8px;
}


.dashboard-learner-all-courses .course-actions .btn {
    width: 100%;
}


/* =========================================================
   SAVED BUTTON
   ========================================================= */

.dashboard-learner-all-courses .save-course-btn {
    min-height: 38px;

    padding: 0 13px;

    border: 1px solid #d9e2f2;

    border-radius: 9px;

    background: #ffffff;

    color: #566990;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    font-size: 12px;

    font-weight: 750;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}


.dashboard-learner-all-courses .save-course-btn:hover {
    background: #f5f8ff;

    border-color: #c9d7ed;
}


.dashboard-learner-all-courses .save-course-btn.saved {
    background: #efe8ff;

    color: #6434df;

    border-color: #d9cbff;
}


/* =========================================================
   LOADING STATE
   ========================================================= */

.dashboard-learner-all-courses .courses-loading {
    min-height: 250px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 12px;

    color: #6878a0;
}


.dashboard-learner-all-courses .courses-loading p {
    margin: 0;

    font-size: 13px;

    font-weight: 650;
}


.dashboard-learner-all-courses .loading-spinner {
    width: 34px;

    height: 34px;

    border: 3px solid #dce6f7;

    border-top-color: #1e63ef;

    border-radius: 50%;

    animation:
        mayoba-course-spin
        .8s
        linear
        infinite;
}


@keyframes mayoba-course-spin {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   EMPTY / ERROR STATES
   ========================================================= */

.dashboard-learner-all-courses .courses-state {
    min-height: 300px;

    padding: 30px 20px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;
}


.dashboard-learner-all-courses .courses-state .state-icon {
    width: 60px;

    height: 60px;

    margin-bottom: 13px;

    border-radius: 16px;

    background: #edf3ff;

    color: #2865e7;

    display: grid;

    place-items: center;
}


.dashboard-learner-all-courses .courses-state .state-icon .icon {
    width: 29px;

    height: 29px;
}


.dashboard-learner-all-courses .courses-state h3 {
    margin: 0 0 7px;

    color: #112668;

    font-size: 19px;
}


.dashboard-learner-all-courses .courses-state p {
    max-width: 460px;

    margin: 0 0 17px;

    color: #6a7a9e;

    font-size: 13px;

    line-height: 1.5;
}


.dashboard-learner-all-courses .courses-error .state-icon {
    background: #fdecef;

    color: #d23a5d;
}


/* =========================================================
   PAGINATION SECTION
   ========================================================= */

.dashboard-learner-all-courses .pagination-section {
    margin-top: 14px;

    padding: 12px 3px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 14px;
}


.dashboard-learner-all-courses .page-summary {
    color: #6a7a9e;

    font-size: 12px;

    font-weight: 650;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.dashboard-learner-all-courses .pagination {
    display: flex;

    align-items: center;

    gap: 7px;
}


.dashboard-learner-all-courses .pagination-btn,
.dashboard-learner-all-courses .pagination-pages button {
    min-height: 38px;

    border: 1px solid #d8e2f3;

    border-radius: 9px;

    background: #ffffff;

    color: #2b417c;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

    font-weight: 750;

    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}


.dashboard-learner-all-courses .pagination-btn {
    padding: 0 13px;

    gap: 6px;
}


.dashboard-learner-all-courses .pagination-btn .icon {
    width: 18px;
    height: 18px;
}


.dashboard-learner-all-courses .pagination-pages {
    display: flex;

    align-items: center;

    gap: 6px;
}


.dashboard-learner-all-courses .pagination-pages button {
    width: 38px;

    padding: 0;
}


.dashboard-learner-all-courses .pagination-btn:hover:not(:disabled),
.dashboard-learner-all-courses .pagination-pages button:hover {
    background: #f2f6ff;

    border-color: #c6d6f1;
}


.dashboard-learner-all-courses .pagination-pages button.active {
    background: #0a2477;

    color: #ffffff;

    border-color: #0a2477;
}


.dashboard-learner-all-courses .pagination-btn:disabled {
    opacity: .45;

    cursor: not-allowed;
}


/* =========================================================
   FOCUS STATES
   ========================================================= */

.dashboard-learner-all-courses a:focus-visible,
.dashboard-learner-all-courses button:focus-visible,
.dashboard-learner-all-courses input:focus-visible,
.dashboard-learner-all-courses select:focus-visible {
    outline: 3px solid
        rgba(
            30,
            99,
            239,
            .18
        );

    outline-offset: 2px;
}


/* =========================================================
   RESPONSIVE — LARGE TABLET
   ========================================================= */

@media (max-width: 1250px) {

    .dashboard-learner-all-courses .content {
        padding-left: 18px;
        padding-right: 18px;
    }


    .dashboard-learner-all-courses .courses-toolbar {
        grid-template-columns:
            minmax(300px, 1fr)
            auto;
    }


    .dashboard-learner-all-courses .sort {
        grid-column: 1 / -1;

        max-width: 260px;

        justify-self: end;
    }


    .dashboard-learner-all-courses .tabs {
        flex-wrap: wrap;

        justify-content: flex-end;
    }

}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .dashboard-learner-all-courses .courses-toolbar {
        grid-template-columns: 1fr;

        align-items: stretch;
    }


    .dashboard-learner-all-courses .course-search-form {
        width: 100%;
    }


    .dashboard-learner-all-courses .tabs {
        width: 100%;

        justify-content: flex-start;
    }


    .dashboard-learner-all-courses .sort {
        grid-column: auto;

        max-width: none;

        width: 100%;

        justify-self: stretch;
    }


    .dashboard-learner-all-courses .course-row {
        grid-template-columns:
            180px
            minmax(0, 1fr)
            auto;
    }


    .dashboard-learner-all-courses .course-row img {
        width: 180px;

        height: 105px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .dashboard-learner-all-courses .content {
        padding: 16px;
    }


    .dashboard-learner-all-courses .page-hero {
        min-height: 132px;

        padding: 20px;
    }


    .dashboard-learner-all-courses .page-hero .hero-copy {
        max-width: 78%;
    }


    .dashboard-learner-all-courses .page-hero h1 {
        font-size: 32px;
    }


    .dashboard-learner-all-courses .page-hero p {
        font-size: 15px;
    }


    .dashboard-learner-all-courses .hero-note {
        display: none;
    }


    .dashboard-learner-all-courses .course-search-form {
        display: grid;

        grid-template-columns: 1fr auto;
    }


    .dashboard-learner-all-courses .tabs {
        display: grid;

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 8px;
    }


    .dashboard-learner-all-courses .tab {
        width: 100%;

        padding: 0 10px;
    }


    .dashboard-learner-all-courses .results-heading {
        align-items: flex-start;
    }


    .dashboard-learner-all-courses .course-row {
        grid-template-columns: 1fr;

        gap: 13px;
    }


    .dashboard-learner-all-courses .course-row img {
        width: 100%;

        height: 190px;

        object-fit: contain;
    }


    .dashboard-learner-all-courses .course-actions {
        width: 100%;

        min-width: 0;

        display: grid;

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .dashboard-learner-all-courses .pagination-section {
        align-items: flex-start;

        flex-direction: column;
    }


    .dashboard-learner-all-courses .pagination {
        width: 100%;

        justify-content: space-between;
    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .dashboard-learner-all-courses .content {
        padding: 12px;
    }


    .dashboard-learner-all-courses .page-hero {
        min-height: 125px;

        padding: 18px;

        border-radius: 13px;
    }


    .dashboard-learner-all-courses .page-hero .hero-copy {
        max-width: 100%;
    }


    .dashboard-learner-all-courses .page-hero h1 {
        font-size: 29px;
    }


    .dashboard-learner-all-courses .page-hero p {
        font-size: 14px;
    }


    .dashboard-learner-all-courses .page-navigation {
        margin-bottom: 11px;
    }


    .dashboard-learner-all-courses .course-search-form {
        grid-template-columns: 1fr;
    }


    .dashboard-learner-all-courses .search-submit {
        width: 100%;
    }


    .dashboard-learner-all-courses .tabs {
        grid-template-columns:
            1fr
            1fr;
    }


    .dashboard-learner-all-courses .tab {
        min-height: 42px;

        font-size: 12px;
    }


    .dashboard-learner-all-courses .panel {
        padding: 12px;
    }


    .dashboard-learner-all-courses .results-heading {
        display: block;
    }


    .dashboard-learner-all-courses .results-heading h2 {
        font-size: 21px;
    }


    .dashboard-learner-all-courses .results-count {
        margin-top: 7px;
    }


    .dashboard-learner-all-courses .active-search {
        align-items: flex-start;

        flex-wrap: wrap;
    }


    .dashboard-learner-all-courses .clear-search {
        margin-left: 0;
    }


    .dashboard-learner-all-courses .course-row {
        padding: 11px;
    }


    .dashboard-learner-all-courses .course-row img {
        height: 165px;
    }


    .dashboard-learner-all-courses .course-row h3 {
        font-size: 16px;
    }


    .dashboard-learner-all-courses .course-actions {
        grid-template-columns: 1fr;
    }


    .dashboard-learner-all-courses .courses-state {
        min-height: 260px;

        padding: 24px 14px;
    }


    .dashboard-learner-all-courses .pagination {
        flex-wrap: wrap;

        justify-content: center;
    }


    .dashboard-learner-all-courses .pagination-pages {
        order: 3;

        width: 100%;

        justify-content: center;
    }


    .dashboard-learner-all-courses .pagination-btn {
        flex: 1;
    }

}


/* =========================================================
   RESPONSIVE — EXTRA SMALL MOBILE
   ========================================================= */

@media (max-width: 390px) {

    .dashboard-learner-all-courses .tabs {
        grid-template-columns: 1fr;
    }


    .dashboard-learner-all-courses .page-hero h1 {
        font-size: 27px;
    }


    .dashboard-learner-all-courses .back-link {
        font-size: 12px;
    }


    .dashboard-learner-all-courses .course-row img {
        height: 145px;
    }

}



















