﻿ 
.review-details-page {
    background-color: var(--card-bg);
    min-height: 100vh;
}

 
.post-header-detailed {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.user-info-full {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-meta .user-name {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
}

.user-meta .user-handle-loc {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.user-meta .dot {
    margin: 0 4px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.follow-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px 12px;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.menu-icon {
    color: var(--text-muted);
    cursor: pointer;
}

 
.main-post-image {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 15px;
}

.post-image-container {
    padding: 0 15px;
}

 
.post-actions-bar {
    display: flex;
    padding: 15px 25px;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--text-dark);
    font-size: 13px;
    cursor: pointer;
}

    .action-item i {
        font-size: 22px;
    }

 
.post-body-content {
    padding: 15px 20px;
}

.section-heading {
    font-size: 16px;
    font-weight: 700;
    margin: 20px 0 10px;
    color: var(--text-dark);
}

 
.book-info-snippet {
    display: flex;
    justify-content: space-between;
    background-color: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 15px;
    align-items: center;
}

.book-snippet-text {
    flex: 1;
    text-align: right;
}

    .book-snippet-text .book-type {
        font-size: 11px;
        color: var(--text-muted);
        margin: 0 0 5px;
    }

    .book-snippet-text h4 {
        margin: 0 0 5px;
        font-size: 16px;
    }

    .book-snippet-text .book-author {
        margin: 0 0 10px;
        font-size: 13px;
        color: var(--text-muted);
    }

.rating-stars {
    color: #f39c12;
    font-size: 12px;
}

    .rating-stars .rate-num {
        color: var(--text-dark);
        font-weight: bold;
        margin-left: 5px;
    }

.book-snippet-cover {
    width: 60px;
    height: 90px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

 
.review-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0 0 10px;
}

.hashtags-list {
    color: #1d5374;
    font-size: 13px;
    font-weight: 500;
    margin: 0;
}

 
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row-reverse;  
    justify-content: flex-end;
}

.comment-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    text-align: left;
}

.comment-handle {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
}

.comment-likes {
    font-size: 11px;
    color: var(--text-muted);
}
/**************/
/* 1. إعدادات الرابط (لمنع ظهور الخط الأزرق الافتراضي للروابط) */
.book-snippet-link {
    display: block;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 12px;
    margin-bottom: 20px;
}

    /* تأثير جميل عند لمس الكارت (يطفو للأعلى قليلاً) */
    .book-snippet-link:active, .book-snippet-link:hover {
        transform: translateY(-3px) scale(1.01);
    }

        .book-snippet-link:hover .book-info-snippet {
            box-shadow: 0 8px 20px rgba(0,0,0,0.08) !important;
            border-color: #21618C; /* يتغير لون الإطار للون البراند */
        }

/* 2. حاوية الكارت الأساسية */
.book-info-snippet {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

/* 3. قسم النصوص */
.book-snippet-text {
    flex: 1;
    text-align: right;
    padding-left: 15px; /* مسافة بين النص والصورة */
}

/* شارة التصنيف (Category Badge) */
.book-type-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #e8510a; /* اللون البرتقالي */
    background-color: rgba(232, 81, 10, 0.1); /* خلفية برتقالية شفافة */
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.book-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* يمنع العنوان الطويل من تشويه الكارت */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-author {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.85rem;
}

.rate-num {
    font-weight: 800;
    color: #333;
    margin-left: 5px;
}

/* 4. قسم الصورة */
.book-snippet-cover {
    width: 65px;
    height: 95px;
    object-fit: contain; /* لتظهر الصورة كاملة كما طلبنا سابقاً */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #f8f9fa;
}