/* ==========================================================================
   Preview Facebook Post
   Référence visuelle : myCfia-designSystem step8_validate_light.html
   facebook_1 (texte) : zoom 0.80, max-width 550px
   facebook_2 (image) : zoom 0.65, max-width 550px
   ========================================================================== */

.pv-facebook {
    max-width: 550px;
    margin: 0 auto;
    background: white;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    zoom: 0.80;
}

.pv-facebook-with-image {
    zoom: 0.65;
}

/* --- Header --- */
.pv-facebook-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pv-facebook-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0A66C2, #004182);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.pv-facebook-meta {
    flex: 1;
}

.pv-facebook-name {
    font-weight: 600;
    color: #050505;
    font-size: 15px;
}

.pv-facebook-timestamp {
    color: #65676b;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.pv-facebook-menu {
    background: none;
    border: none;
    color: #65676b;
    font-size: 20px;
    cursor: default;
}

/* --- Body --- */
.pv-facebook-body {
    padding: 0 16px 16px;
}

.pv-facebook-text {
    color: #050505;
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
}

.pv-facebook-hashtags {
    color: #1877F2;
    font-weight: 600;
    font-size: 15px;
}

/* --- Image --- */
.pv-facebook-image {
    width: 100%;
    overflow: hidden;
}

.pv-facebook-image img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* --- Engagement --- */
.pv-facebook-engagement {
    padding: 0 16px;
    border-top: 1px solid #e4e6eb;
}

.pv-facebook-engagement-inner {
    padding: 8px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #65676b;
    font-size: 13px;
}

.pv-facebook-reactions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pv-facebook-reaction-icons {
    display: flex;
    margin-right: 6px;
}

.pv-facebook-reaction-icon {
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid white;
    margin-left: -4px;
}

.pv-facebook-reaction-like {
    background: #1877F2;
    color: white;
}

.pv-facebook-reaction-heart {
    background: #f33e58;
    color: white;
}

.pv-facebook-reaction-smile {
    background: #f7b125;
    color: white;
}

/* --- Actions --- */
.pv-facebook-actions {
    border-top: 1px solid #e4e6eb;
    padding: 4px 16px;
    display: flex;
    justify-content: space-around;
}

.pv-facebook-action-btn {
    background: none;
    border: none;
    color: #65676b;
    font-weight: 600;
    font-size: 15px;
    cursor: default;
    padding: 8px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pv-facebook-action-btn i {
    font-size: 18px;
}
