.header_menu {
    padding-bottom: 30px;
}

.content__nav2 {
    background-color: #FFFFFF;
    height: 50px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1000;
}


div.dt-container .dt-search input {
    outline: none;
    width: 300px !important;
}

.table-paid-course-orders-row {
    white-space: nowrap;
}

.table-paid-course-orders-row th {
    font-size: clamp(14px, 2vw, 16px);
}

.table-paid-course-orders-body tr {
    white-space: nowrap;
}

.table-paid-course-orders-body tr td {
    font-size: clamp(14px, 2vw, 15px);
    padding: 12px 8px;
}

.action-icon {
    cursor: pointer;
    font-size: 16px;
    margin: 0 5px;
}

.modal-info {
    margin-bottom: 10px;
}

.all__academy-time {
    align-items: center;
    display: flex;
}

.academy-time-container {
    padding: 10px 100px 10px 10px;
}

.academy__main-time {
    display: flex;
}

.academy__time-item-row {
    padding-right: 20px;
}

.academy__time-item-row :hover {
    background-color: blue;
    color: white;
}

.chart-revenue-academy {
    margin: 20px auto 10px auto;
    max-width: 90%;
}

.academy-time-item {
    background-color: white;
    border: 1px solid gray;
    border-radius: 30px;
    color: black;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    padding: 10px 15px;
    text-decoration: none;
}

.academy-time-item.active {
    background-color: blue;
    border: none;
    color: white;
}

.apexcharts-toolbar {
    display: none !important;
}

.title__main-btn-active,
.content__main-source {
    margin: 20px auto;
    max-width: 90%;
}

.title__main-btn-active {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
}

.title__btn--active {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.custom-select-container {
    color: gray;
}

.custom-select {
    border: 1px solid #ccc;
    border-radius: 4px;
    color: gray;
    font-size: clamp(14px, 2vw, 15px);
    padding: 10px 15px;
}

.custom-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

.custom-select option {
    color: gray;
}

.container {
    margin-top: 30px;
}

.order-summary-row {
    max-width: 90%;
    display: flex;
    justify-content: space-between;
    margin: auto auto 20px;
}

.order-summary-col {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1;
    margin: 0 10px;
    max-width: 31%;
    padding: 20px;
}

.order-summary-col {
    background: linear-gradient(113deg, #98ffff 1.34%, #9cf 99.03%);
}

.order-summary-top {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.order-summary-bottom {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.order-summary-left h2 {
    font-size: 2rem;
    font-weight: 700;
}

.order-summary-right {
    align-items: center;
    display: flex;
}

.order-summary-right i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.order-summary-change {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Đặt style cho tiêu đề Lịch sử mua hàng */
.order-history-title {
    color: #333;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Badge styling cho trạng thái đơn hàng */
.badge {
    border-radius: 10px;
    font-size: 0.875rem;
    padding: 5px 10px;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: #000;
}

.bg-danger {
    background-color: #dc3545 !important;
}

/* Nút chi tiết và tải hóa đơn */
.btn-detail,
.btn-invoice {
    border-radius: 5px;
    font-size: 0.875rem;
    margin: 5px;
    padding: 5px 10px;
}

.btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}

.btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

.align-items-end {
    padding-bottom: 15px;
}

.btn-dropdown {
    background-color: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    display: flex;
    font-size: 20px;
    padding: 8px;
}

.dropdown-container {
    display: inline-block;
    position: relative;
}

.dropdown-menu {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    min-width: 160px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    right: 0;
    top: 85%;
    z-index: 99;
}

.dropdown-menu.show {
    display: block;
    /* Hiển thị dropdown khi có class 'show' */
}

.dropdown-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.drop-item {
    align-items: center;
    background-color: white;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    color: #333;
    cursor: pointer;
    display: flex;
    font-size: clamp(14px, 2vw, 16px);
    gap: 5px;
    padding: 10px 16px;
    text-align: left;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    width: 100%;
}

.drop-item:hover {
    background-color: #eee;
}

.btn-delete-course-order {
    color: #e74c3c;
}

.popup-window-btn-badge {
    align-items: center;
    background: none;
    border: none;
    color: #333;
    display: flex;
    font-size: clamp(14px, 2vw, 16px);
    justify-content: center;
    padding: 10px;
    text-align: left;
}

.radio-item {
    align-items: center;
    display: flex;
    position: relative;
}

.radio-item input[type='radio'] {
    display: none;
}

.radio-item label {
    align-items: center;
    display: flex;
    font-size: clamp(14px, 2vw, 16px);
}

.radio-item label:before {
    background-color: transparent;
    border: 2px solid #4937e4;
    border-radius: 50%;
    content: " ";
    display: inline-block;
    height: 20px;
    margin: 0 5px 0 0;
    position: relative;
    width: 20px;
}

.radio-item input[type=radio]:checked + label:after {
    background: linear-gradient(162.63deg, #8D4DF3 0%, #0120D4 98.99%);
    border-radius: 50%;
    content: " ";
    display: block;
    height: 12px;
    left: 4px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
}

/* bộ lọc */
.course--filter-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #808190;
    border-radius: 5px;
    color: #808190;
    display: flex;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 700;
    padding: 5px 10px;
}

.course--filter-btn i {
    margin-right: 5px;
}

.course--add-link {
    align-items: center;
    background: linear-gradient(163deg, #8d4df3 0%, #0120d4 98.99%);
    border-radius: 5px;
    color: rgba(255, 255, 255, 1);
    display: flex;
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 700;
    padding: 5px 10px;
    text-decoration: none;
}

.course--add-link:hover {
    color: #fff;
}

.course--add-link i {
    margin-right: 5px;
}

/* drop filter */
.popup-filter {
    margin-top: 30px;
    position: relative;
    width: 150px;
}

.popup-filter:hover .popup-window-filter {
    display: block;
}

.popup-window-filter {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.15);
    display: none;
    position: absolute;
    right: 0;
    top: 110%;
    transition: all 0.1s ease-in-out;
    white-space: nowrap;
    width: fit-content;
    z-index: 99;
}

.popup-window-filter:before {
    border: 10px solid transparent;
    content: "";
    position: absolute;
    right: 0;
    top: -10px;
    width: 100%;
}

.drop--filter-row {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    padding: 15px;
}

.drop--filter-row h2 {
    color: #000;
    font-size: clamp(14px, 2vw, 15px);
    font-weight: 700;
    margin-bottom: 10px;
}

.drop--filter-item {
    width: 100%;
}

.form__desc {
    color: #000;
    font-size: 14px;
    font-weight: 400;
}

.line {
    border: 1px solid rgba(128, 129, 144, 1);
    margin: 10px 0;
}

.created__course--filter:hover .drop--filter {
    display: block;
}

.radio-item-group {
    margin-bottom: 10px;
}

.btn-success{

}

@media (max-width: 575.98px) {
    .order-summary-row {
        flex-direction: column;
        margin-bottom: 10px;
    }

    .order-summary-col {
        margin: 10px 0;
        max-width: 100%;
    }

    .all__academy-time {
        align-items: flex-start;
        flex-direction: column;
    }

    .academy-time-container {
        padding-right: 0;
        width: 100%;
    }

    .academy__time-item-row {
        margin-top: 10px;
        padding-right: 0;
    }

    .teacher-statistical {
        flex-direction: column;
        gap: 10px;
    }

    .teacher-statistical-item {
        padding-right: 0;
    }

    .chart-revenue-academy-body {
        flex-direction: column;
        gap: 20px;
        padding-bottom: 15px;
    }

    .chart-revenue,
    .chart-academy {
        margin-right: 0;
        max-width: 100%;
        padding: 20px;
        /* Đảm bảo chiều rộng 100% */
        width: 100%;
        /* Đảm bảo không vượt quá chiều rộng màn hình */
    }

    .order-summary-left h2 {
        font-size: 15px;
    }

}

@media (min-width: 768px) and (max-width: 991.98px) {
    .custom-select {
        font-size: 23px;
    }

    .teacher-info-container {
        display: grid;
        gap: 20px;
        /* Chia làm 2 cột */
        grid-template-columns: repeat(2, 1fr);
        /* Khoảng cách giữa các cột và hàng */
    }

    .teacher-statistical {
        display: grid;
        gap: 20px;
        /* Chia làm 2 cột */
        grid-template-columns: repeat(2, 1fr);
        /* Khoảng cách giữa các phần tử */
    }

    .teacher-statistical-item {
        padding-right: 90px;
        /* Đảm bảo không có padding không cần thiết */
        width: 100%;
        /* Đảm bảo chiều rộng của phần tử chiếm toàn bộ cột */
    }

    .chart-revenue-academy,
    .title__main-btn-active,
    .content__main-source {
        box-sizing: border-box;
        /* Chiếm 100% chiều rộng của container */
        padding: 0 10px;
        /* Đảm bảo padding và border không làm tăng kích thước phần tử */
        width: 100%;
        /* Thêm padding nếu cần để tránh sát mép */
    }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .teacher-statistical-item {
        padding-right: 60px;
    }

    .teacher-statistical-item img {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        height: 70px;
        object-fit: cover;
        padding: 20px;
        width: 70px;
    }
}