.my-courses-container {
    padding: 1vw;
    width: 100%;
    min-height: 10vw;
    position: relative;
    justify-content: start!important;
    align-items: start!important;
    flex-wrap: wrap!important;
    row-gap: 1.5vw;
    column-gap: 1.5vw;
}

.my-courses-container .my-course-card {
    width: 23%;
    height: 15vw;
    gap: 0.75vw;
    border-radius: 1vw;
    box-shadow: 0 0 0.75vw rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    justify-content: start!important;
    transition: all 0.25s;
}

.my-courses-container .my-course-card:hover {
    transform: scale(1.03);
}

body.dark .my-courses-container .my-course-card {
    box-shadow: 0 0 0.75vw rgba(0, 0, 0, 0.6);
}

.my-courses-container .my-course-card img {
    width: 100%;
    height: 9vw;
}

.my-courses-container .my-course-card h4 {
    width: 100%;
    font-weight: 500;
    font-size: 0.9vw;
    padding: 1vw;
    text-align: justify;
}

@media screen and (max-width: 450px) {
    .teacher-dash-courses-header {
        padding: 5vw 2vw;
        width: 98%;
        gap: 4vw;
        flex-wrap: wrap!important;
        justify-content: center!important;
        align-items: start!important;
    }

    .create-new-course.btn {
        padding: 1.75vw;
        width: 36vw;
        height: 10vw;
        border-radius: 2.5vw;
        gap: 1.4vw;
        font-size: 2.9vw;
    }

    .create-new-course.btn i {
        font-size: 3vw;
    }

    .teacher-dash-courses-boxes {
        width: 100%;
        margin-right: 3vw;
        gap: 2vw;
    }

    .teacher-dash-courses-boxes::before {
        display: none!important;
    }

    .teacher-dash-courses-boxes .home-box-card {
        padding: 1.5vw;
        width: 48%;
        height: 12vw;
        border-radius: 2.5vw;
        gap: 1.4vw;
        font-size: 2.9vw;
        box-shadow: 0 0 2.75vw rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }

    body.dark .teacher-dash-courses-boxes .home-box-card {
        box-shadow: 0 0 2.75vw rgba(0, 0, 0, 0.55);
    }

    .teacher-dash-courses-boxes .home-box-card .division1 {
        width: 11vw;
        height: 9vw;
        border-radius: 1.8vw;
        font-size: 5vw;
    }

    .teacher-dash-courses-boxes .home-box-card .division2 {
        width: calc(100% - 11vw);
        gap: 0.5vw;
        align-items: start!important;
    }

    .teacher-dash-courses-boxes .home-box-card .division2 h4 {
        font-size: 2.5vw;
    }

    .teacher-dash-courses-boxes .home-box-card .division2 h2 {
        font-size: 4vw;
        font-weight: bold;
        gap: 1.2vw;
    }


    .admin-dash-courses-searchbar {
        padding: 3vw;
        gap: 4vw;
    }

    .admin-dash-courses-searchbar .input-group {
        width: 70%;
    }

    .admin-dash-courses-searchbar .input-group input {
        padding: 2vw 3vw;
        font-size: 3.3vw;
        height: 10vw;
        border-radius: 2vw;
    }

    form.admin-dash-courses-searchbar .input-group input::-webkit-search-cancel-button {
        transform: scale(0.85);
    }

    form.admin-dash-courses-searchbar button[type='submit'] {
        min-width: 25vw;
        height: 9.5vw;
        border-radius: 2vw;
        gap: 1vw;
        font-size: 2.9vw;
    }


    .my-courses-container {
        padding: 2vw 0;
        min-height: 100vw;
        row-gap: 3vw;
        column-gap: 2vw;
        justify-content: center!important;
    }

    .my-courses-container .my-course-card {
        width: 48%;
        height: 50vw;
        gap: 2vw;
        border-radius: 3vw;
        box-shadow: 0 0 2.75vw rgba(0, 0, 0, 0.2);
    }

    body.dark .my-courses-container .my-course-card {
        box-shadow: 0 0 2.75vw rgba(0, 0, 0, 0.6);
    }

    .my-courses-container .my-course-card img {
        height: 25vw;
    }

    .my-courses-container .my-course-card h4 {
        font-size: 3.26vw;
        padding: 2vw;
    }

    h6.students-count {
        padding: 0 2vw;
        gap: 1vw;
        font-size: 2.8vw;
        transform: translateY(-1.5vw);
    }

    .teacher-dash-courses-crud-btns {
        padding-bottom: 2vw;
        gap: 0.5vw;
    }

    .teacher-dash-courses-crud-btns::after {
        height: 0.4vw;
        top: -3vw;
    }

    .teacher-dash-courses-crud-btns .btn {
        font-size: 2.5vw;
        text-align: center;
    }

    .teacher-dash-courses-crud-btns .btn i {
        font-size: 4vw;
    }


}

