/* Nút Xem giỏ hàng */
.tutor-btn-outline-primary {
    border: 2px solid #b30000;
    color: white;
    background-color: #b30000;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tutor-btn-outline-primary::before {
    content: "\f07a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
    padding-right: 10px;
}

.tutor-btn-outline-primary:hover {
    background-color: #990000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(179, 0, 0, 0.2);
}

.tutor-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    line-height: 1.5;
}

.tutor-btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

/* Hiệu ứng khi click */
.tutor-btn-outline-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Nút Mua ngay */
.tutor-btn-primary {
    border: 2px solid #b30000;
    color: white;
    background-color: #b30000;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    user-select: none;
    position: relative;
    overflow: hidden;
}
.tutor-btn-primary::before {
    content: "\f19d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    margin-right: 10px;
    transition: all 0.3s ease;
}
.tutor-btn-primary:hover::before {
    transform: scale(1.2);
}

.tutor-btn-primary:hover {
    background-color: #990000;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(179, 0, 0, 0.3);
}

.tutor-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(179, 0, 0, 0.2);
}

.tutor-btn-primary .btn-icon {
    font-size: 20px;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.tutor-btn-primary:hover .btn-icon {
    transform: scale(1.3) rotate(-5deg);
}

.tutor-icon-cart-filled::before {
    content: "\f07a";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
}

/* Hiệu ứng sóng khi click */
.tutor-btn-primary::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.tutor-btn-primary:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

.tutor-mt-24 {
    margin-top: 24px;
}

/* Course Thumbnail Styles */
.tutor-course-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tutor-course-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.tutor-course-thumbnail:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.tutor-course-thumbnail:hover img {
    transform: scale(1.05);
}

/* Style for Lesson Content Heading */
h2.elementor-heading-title.elementor-size-default {
    position: relative;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    padding-left: 50px;
    display: flex;
    align-items: center;
}

h2.elementor-heading-title.elementor-size-default::before {
    content: "\f19d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    font-size: 32px;
    color: #ffffff;
    margin-right: 15px;
    background: rgba(179, 0, 0, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

h2.elementor-heading-title.elementor-size-default:hover::before {
    background: rgba(179, 0, 0, 0.2);
    transform: scale(1.1);
}

/* CSS mới cho danh sách khóa học */
.tutor-courses-wrap {
    padding: 20px 0;
}

.etlms-course-list-loop-wrap {
    gap: 30px;
    margin: 0 auto;
}

.etlms-course-list-col {
    transition: all 0.3s ease;
}

.tutor-course-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tutor-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tutor-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tutor-course-name a {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.tutor-course-name a:hover {
    color: #b30000;
    text-decoration: none;
}

.tutor-meta {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tutor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.etlms-course-author-meta {
    font-size: 14px;
    color: #666;
}

.etlms-course-author-meta.tutor-meta-value {
    color: #b30000;
    font-weight: 500;
}

.tutor-card-footer {
    padding: 0 20px 20px;
}

.tutor-course-list-btn .tutor-btn {
    background-color: #b30000;
    border-color: #b30000;
    color: white;
    font-weight: 500;
    padding: 10px;
    transition: all 0.3s ease;
}

.tutor-course-list-btn .tutor-btn:hover {
    background-color: #990000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(179, 0, 0, 0.2);
}

.tutor-course-bookmark {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1;
}

.tutor-course-bookmark .tutor-iconic-btn {
    background: rgba(255, 255, 255, 0.9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tutor-course-bookmark .tutor-iconic-btn:hover {
    background: #b30000;
    color: white;
}

.tutor-course-ratings .tutor-icon-star-line {
    color: #ffc107;
}

.tutor-course-ratings .tutor-icon-star-filled {
    color: #ffc107;
}

/* CSS thêm cho chiều rộng 100% */
.tutor-wrap.tutor-courses-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
