﻿.cardCourses {
    display: block;
    justify-content: center;
}

    .cardCourses .card {
        border: 1px solid #e0e0e0;
        border-radius: 6px;
        height: 100%;
    }

        .cardCourses .card .card-body {
            padding: 30px 15px 15px 15px;
        }
        .cardCourses .card .card-img-top {
            height: 250px;
            object-fit: cover;
        }
        .cardCourses .card .card-body .icon {
            width: 18px;
            height: 17px;
        }
        .cardCourses .card .icon {
            width: 15px;
            height: 14px;
        }
        .cardCourses .card .card-title {
            text-align: start;
            font-weight: 600;
            line-height: 24px;
            color: rgba(33, 31, 31, 1);
            margin-bottom: 15px;
        }

.rating i {
    color: #fbc02d; /* Màu vàng cho sao đánh giá */
}

.price {
    font-size: 1.2rem;
}

/*tooltip*/
.course-section .tooltip-custom {
    /*    max-width: 400px;
    border-radius: 12px;
    position: absolute;
    bottom: 48%;
    left: 8.08%;
    z-index: 10;
    opacity: 0;*/
    position: absolute;
    z-index: 9999;
    display: none;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    padding: 16px;
    width: 300px;
}
.tooltip.show {
    opacity: 1;
}
.tooltip-inner {
    max-width: 350px;
    color: black;
    background-color: #F9F7F2;
    border: 1px solid #FAA31A;
    padding: 1rem;
}

.card-tooltip {
    margin: 0; /* Đảm bảo không có khoảng cách không cần thiết */
}
.card-tooltip{
    width: fit-content;
    text-align: start;
}
.card-subtitle {
    color: #CA5627;
    font-weight: 500;
    padding: 0.75rem 0 1.5rem 0;
}
.tooltip-button {
    text-align: center;
    background-color: #C85527;
    border-radius: 5px;
    padding: 1rem 0;
    display: block;
    color: white;
    font-weight: 500;
    cursor: pointer;
}
.tooltip-button:hover {
    color: white;
}
.tooltip-nav li{
    margin-bottom: 10px;
}
.bs-tooltip-start .tooltip-arrow::before{
    left: -1px;
    border-width: .4rem 0 .4rem .4rem;
    border-left-color: #F9F7F2;
}
