.my_courses {

    /* =========================================
       Statistics
    ========================================= */

    .courses_stats {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 18px;
        margin-bottom: 22px;
    }

    .course_stat_card {
        min-height: 174px;
        padding: 23px 22px;
        background: #fff;
        border: 1px solid #dce8ef;
        border-radius: 17px;
        box-shadow: 0 5px 18px rgba(20, 80, 138, 0.04);

        .course_stat_icon {
            display: flex;
            align-items: center;
            justify-content: center;

            width: 48px;
            height: 48px;
            margin-bottom: 15px;

            border-radius: 13px;

            background: #e9f4fb;
            color: #205589;

            i {
                font-size: 18px;
            }
        }

        strong {
            display: block;
            margin-bottom: 3px;
            color: #205589;
            font-size: 25px;
            font-weight: 600;
            line-height: 1;
        }

        span {
            display: block;
            margin-top: 10px;
            color: #71879a;
            font-size: 12px;
            line-height: 1.4;
        }
    }


    .course_stat_completed {

        .course_stat_icon {
            background: #e4f6ef;
            color: #159b69;
        }
    }


    .course_stat_in_progress {

        .course_stat_icon {
            background: #fcf2dd;
            color: #d58b19;
        }
    }


    .course_stat_not_started {

        .course_stat_icon {
            background: #eef2f5;
            color: #71879a;
        }
    }


    .course_stat_completion {

        .course_stat_icon {
            background: #e8f3fb;
            color: #205589;
        }
    }


    /* =========================================
       Resume Course
    ========================================= */

    .resume_course {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;

        min-height: 166px;
        margin-bottom: 24px;
        padding: 28px 30px;

        background: #205589;
        border-radius: 17px;
    }


    .resume_course_content {
        flex: 1;
        min-width: 0;
    }


    .resume_course_eyebrow {
        display: block;
        margin-bottom: 8px;

        color: #d5e5f1;
        font-size: 13px;
        line-height: 1.4;
    }


    .resume_course h3 {
        margin: 0 0 17px;

        color: #fff;
        font-size: 21px;
        font-weight: 600;
        line-height: 1.3;
    }


    .resume_progress {
        max-width: 425px;

        .resume_progress_bar {
            width: 100%;
            height: 7px;
            margin-bottom: 9px;

            overflow: hidden;

            background: rgba(255, 255, 255, 0.24);
            border-radius: 10px;
        }


        .resume_progress_fill {
            height: 100%;

            background: #55b9e8;
            border-radius: inherit;
        }


        > span {
            color: #dcebf5;
            font-size: 13px;
        }
    }


    .resume_course_button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 12px;

        min-width: 190px;
        height: 56px;
        padding: 0 25px;

        border-radius: 11px;

        background: #3298d2;
        color: #fff;

        font-size: 16px;
        font-weight: 600;

        text-decoration: none;

        transition:
            background-color 0.25s ease,
            transform 0.25s ease;

        i {
            font-size: 11px;
        }

        &:hover {
            background: #2788c0;
            color: #fff;
            transform: translateY(-1px);
        }
    }


    /* =========================================
       Filters
    ========================================= */

    .courses_filters {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 200px 200px;
        gap: 15px;

        margin-bottom: 15px;
    }


    .courses_search,
    .courses_filter {
        position: relative;
    }


    .courses_search {

        i {
            position: absolute;
            top: 50%;
            inset-inline-start: 18px;

            color: #8ca2b2;
            font-size: 14px;

            transform: translateY(-50%);
            pointer-events: none;
        }


        input {
            width: 100%;
            height: 54px;

            padding: 0 18px;
            padding-inline-start: 46px;

            border: 1px solid #dce8ef;
            border-radius: 12px;
            outline: none;

            background: #fff;
            color: #344b5b;

            font-size: 14px;

            transition:
                border-color 0.25s ease,
                box-shadow 0.25s ease;

            &::placeholder {
                color: #91a3af;
            }

            &:focus {
                border-color: var(--primary);
                box-shadow:
                    0 0 0 3px rgba(20, 80, 138, 0.06);
            }
        }
    }


    .courses_filter {

        select {
            width: 100%;
            height: 54px;

            padding: 0 40px 0 18px;

            appearance: none;

            border: 1px solid #dce8ef;
            border-radius: 12px;
            outline: none;

            background: #fff;
            color: #344b5b;

            font-size: 14px;

            cursor: pointer;

            transition:
                border-color 0.25s ease,
                box-shadow 0.25s ease;

            &:focus {
                border-color: var(--primary);
                box-shadow:
                    0 0 0 3px rgba(20, 80, 138, 0.06);
            }
        }


        i {
            position: absolute;
            top: 50%;
            inset-inline-end: 16px;

            color: #344b5b;
            font-size: 13px;

            transform: translateY(-50%);
            pointer-events: none;
        }
    }


    /* =========================================
       Course Cards
    ========================================= */

    .course_card {

        .course_image {
            height: 150px;
        }

        .course_content {

            h3 {
                height: 47px;

                overflow: hidden;

                font-size: 18px !important;
            }

            p {
                display: none;
            }
        }


        // .course_action:hover {
        //     color: #fff !important;
        // }


        // .course_action_completed:hover {
        //     color: var(--primary) !important;
        // }
    }


    /* =========================================
       Responsive
    ========================================= */

    @media screen and (max-width: 1199px) {

        .courses_stats {
            gap: 12px;
        }

        .course_stat_card {
            padding: 20px 17px;
        }

        .courses_filters {
            grid-template-columns: minmax(0, 1fr) 180px 180px;
        }
    }


    @media screen and (max-width: 991px) {

        .courses_stats {
            grid-template-columns: repeat(3, 1fr);
        }

        .resume_course {
            align-items: flex-start;
            flex-direction: column;
        }

        .resume_course_button {
            width: 100%;
        }

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

        .courses_search {
            grid-column: 1 / -1;
        }
    }


    @media screen and (max-width: 575px) {

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

        .course_stat_card {
            min-height: 150px;
        }

        .resume_course {
            padding: 23px 20px;
        }

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

        .courses_search {
            grid-column: auto;
        }
    }
}