/* Zhaihouse Insight Rating System Styles */

.zh-post-engagement {
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #ffeef5 0%, #fff0f5 50%, #fef0e8 100%);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(200, 150, 180, 0.15);
    border: 1px solid #f5d5e0;
}

.zh-views {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #8b6b7b;
}

.zh-views .zh-icon {
    font-size: 18px;
}

.zh-votes {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.zh-vote-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #f0d0e0;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff 0%, #ffeef5 100%);
    color: #8b6b7b;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(200, 150, 180, 0.2);
}

.zh-vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(200, 150, 180, 0.3);
}

.zh-vote-btn.active {
    background: #f8b4c8;
    color: #fff;
    border-color: #f8b4c8;
}

.zh-vote-btn .zh-icon {
    font-size: 18px;
}

.zh-voters {
    font-size: 13px;
    color: #6b5b6e;
}

.zh-show-likers {
    color: #8b6b7b;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s;
}

.zh-show-likers:hover {
    color: #f8b4c8;
}

/* Modal Styles */
.zh-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zh-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.zh-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-width: 400px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
}

.zh-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f5d5e0;
}

.zh-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.zh-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
}

.zh-modal-close:hover {
    color: #333;
}

.zh-modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.zh-liker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.zh-liker-item:last-child {
    border-bottom: none;
}

.zh-liker-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.zh-liker-name {
    font-size: 14px;
    color: #333;
}

/* Loading State */
.zh-loading {
    text-align: center;
    padding: 20px;
    color: #999;
}
