/* Sử dụng Bootstrap grid system */
.pros-cons-container {
    margin-bottom: 20px;
    justify-content: space-around; /* Căn đều 2 cột */
}

.pros-list, .cons-list {
    padding: 15px;
}

/* Màu sắc chủ đạo */
.pros-list {
    background-color: #e9f7ef; /* Màu xanh lá nhạt */
}

.cons-list {
    background-color: #fef2e9; /* Màu cam nhạt */
}

/* Tùy chỉnh giao diện khác */
.pros-list h4 {
    color: #007bff; /* Màu xanh dương */
}

.cons-list h4 {
    color: #dc3545; /* Màu đỏ */
}




ul.pros-list-items, ul.cons-list-items {
    list-style: none;

}

.pros-list-items li::before {
    content: "✓ "; /* Dấu tích */
    font-weight: bold;
    color: #28a745; /* Màu xanh lá cây */
    left: -18px; /* Điều chỉnh vị trí */
    top: 0;
}

.cons-list-items li::before {
    content: "✗ "; /* Dấu X */
    color: #dc3545; /* Màu đỏ */
    font-weight: bold;
    left: -18px; /* Điều chỉnh vị trí */
    top: 0;
}

.pros-cons-label {
    font-weight: bold; /* In đậm */
}

.pros-list ul li, .cons-list ul li {
    margin-bottom: 8px; /* Điều chỉnh khoảng cách giữa các mục */
    position: relative; /* Cho phép định vị tuyệt đối cho dấu X */
    line-height: 1.6; /* Tăng khoảng cách giữa các dòng */
}

/* features */
.features-container {
    background-color: #ffe6c2; /* Màu vàng */
    padding: 20px;
    border-radius: 5px;
}

.features-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    margin-bottom: 5px;
}

.features-list li::before {
    content: "✓ "; /* Dấu tích (✓) */
    margin-right: 5px;
    font-weight: bold;
    color: orange; /* Màu cam */
    left: -18px; /* Điều chỉnh vị trí */
    top: 0;
}
li.feature-item {
    line-height: 30px;
}

/* Comments*/

.main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 150px;
}

.full-boxer{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.box-top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.comment-box:hover{
    margin-top: 12px;
}

.comment-box{
    width: 100%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 3px 3px 25px rgba(0,0,0,0.3);
}

.Profile{
    display: flex;
    align-items: center;
}

.profile-image{
    width: 70px;
    height: 70px;
    box-shadow: 2px 2px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    border-radius: 50%;
    margin-right: 10px;
}

.profile-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.Name{
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.Name strong{
    color: black;
    font-size: 18px;
}

.Name span{
    color: gray;
    margin-top: 2px;
}

.comment p{
    color: black;
}
.star-rating {
    display: inline-block;
    font-size: 20px;
    color: #ccc;
}

.star-rating .star {
    cursor: pointer;
}

.star-rating .star-full {
    color: gold;
}

.star-rating .star-half {
    color: gold;
    position: relative; /* Không cần z-index nữa */
}

.star-rating .star-half::before {
    content: '\2605';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #ccc;
}

/* Letter Avatars */
.round { border-radius: 50%; }

/* Hiển thị câu hỏi trắc nghiệm trong bài viết */
li.answer-li {
  line-height: 250%;
}


/*======================== Hiển thị post card ====================*/
/* Card Post styles */
.post-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.1);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.post-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.post-card .card-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.post-card .btn-primary {
    background-color: #087f6b;
    border-color: #087f6b;
    padding: 0.375rem 1rem;
}

.post-card .btn-primary:hover {
    background-color: #066a58;
    border-color: #066a58;
}

/* Thêm vào phần CSS trong function trac_nghiem_wrapper_shortcode */
#view-leaderboard {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

#view-leaderboard:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#view-leaderboard svg {
    transition: transform 0.3s ease;
}

#view-leaderboard:hover svg {
    transform: scale(1.1);
}

.card-header .faq-title {
    line-height: 1.6em;
}