﻿
.chi-tiet-mon-an {
    padding: 30px 0;
    width: 133%;
}
.chi-tiet-noi-dung img {
    max-width: 80% !important;
    height: auto !important;
/*    display: block;*/
    margin: 10px 0;
    margin-left: 0 auto;
}
.chi-tiet-noi-dung p {
    /*ném ra giữa hết*/
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}
    .mon-image img {
    /* giới hạn width lại  */
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    /* hình ra giữa*/
    display: block;
    margin: 20px auto;
    border: 1px solid #eee;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mon-ten {
    font-size: 42px;
    font-weight: 700;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
    text-align: center;
    letter-spacing: 0.5px;
}
.mon-mo-ta {
    color: #555;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}
    .mon-mo-ta p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .mon-meta {
        color: #555;
        font-size: 1.05rem;
        margin-bottom: 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        -webkit-justify-content: center;
        justify-content: center;
    }

.mon-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.mon-mo-ta {
    margin: 25px 0;
    font-size: 1.1rem;
    line-height: 1.8;
}

.mon-tags .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    -webkit-justify-content: center;
    justify-content: center;
}
.tag-container {
    display: flex;
    flex-wrap: wrap; /* cho xuống dòng */
    gap: 10px; /* khoảng cách đều */
}
.tag {
    background: #fff1f0;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 1rem;
}

.sidebar-box {
    background: #fffaf0;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #f0e6d2;
    margin-top: 20%;
}

.info-list {
    list-style: none;
    padding: 0;
}

    .info-list li {
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

/* Modal */
#baoCaoModal .modal-content {
    border-radius: 12px;
}
.chi-tiet-noi-dung .section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
.chi-tiet-noi-dung h3 {
    font-size: 28px;
    font-weight: 600;
    color: cyan;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: center;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
/*.chitietcohinh {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    text-align: center;
    font-size: 20px;
}*/
/* ==================== PHẦN BÌNH LUẬN - WAO ==================== */
.binh-luan {
    margin-top: 30px;
}

.binh-luan-item {
    background: white;
    border-radius: 16px;
    padding: 22px 25px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary);
}

    .binh-luan-item:hover {
        transform: translateX(8px);
        box-shadow: 0 10px 30px rgba(200, 16, 46, 0.18);
    }

.binh-luan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0e6d2;
}

.ten-nguoi-dung {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.15rem;
}

.so-sao {
    color: #f39c12;
    font-size: 1.2rem;
}

.noi-dung-binh-luan p {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #444;
    margin-bottom: 12px;
}

.binh-luan-footer {
    color: #777;
    font-size: 0.95rem;
    display: flex;
    justify-content: flex-end;
}

/* Nếu có nhiều bình luận */
.binh-luan h2 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.8rem;
}

/* ==================== THÊM BÌNH LUẬN - WAO ==================== */
.them-binh-luan {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(200, 16, 46, 0.1);
    margin-top: 30px;
    border: 1px solid #f0e6d2;
}

    .them-binh-luan h3 {
        color: var(--primary);
        margin-bottom: 25px;
        font-size: 1.75rem;
    }

    .them-binh-luan .form-group {
        margin-bottom: 22px;
    }

    .them-binh-luan label {
        font-weight: 600;
        color: #444;
        margin-bottom: 8px;
        display: block;
    }

    .them-binh-luan textarea {
        resize: vertical;
        min-height: 120px;
        border-radius: 10px;
        border: 2px solid #ddd;
        transition: all 0.3s;
    }

        .them-binh-luan textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.15);
        }

    .them-binh-luan select {
        border-radius: 10px;
        padding: 12px;
        border: 2px solid #ddd;
    }

    .them-binh-luan .btn-primary {
        background: linear-gradient(135deg, var(--primary), #e63939);
        border: none;
        padding: 14px 32px;
        font-size: 1.1rem;
        border-radius: 30px;
        font-weight: 600;
        transition: all 0.3s;
    }

        .them-binh-luan .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3);
        }
.star-rating {
    font-size: 2.2rem;
    color: #ddd;
    cursor: pointer;
    margin: 10px 0 20px;
}

    .star-rating .star {
        transition: all 0.2s;
    }

        .star-rating .star:hover,
        .star-rating .star.active {
            color: #f39c12;
            transform: scale(1.2);
        }