/* --- SHARE SHEET MODAL --- */
.share-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 9999;
    display: none; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.share-modal-overlay.active { display: flex; opacity: 1; }

.share-modal-box {
    background: #fff; width: 90%; max-width: 400px;
    border-radius: 15px; padding: 20px;
    transform: translateY(20px); transition: transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.share-modal-overlay.active .share-modal-box { transform: translateY(0); }

.share-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px; font-weight: bold; font-size: 1.1rem; color: #333;
}
.share-close-btn { cursor: pointer; font-size: 1.2rem; color: #999; }

.share-options-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px;
}
.share-option-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    text-decoration: none; color: #555; font-size: 0.85rem; cursor: pointer;
}
.share-icon-circle {
    width: 50px; height: 50px; border-radius: 50%; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
    transition: transform 0.2s;
}
.share-option-item:hover .share-icon-circle { transform: scale(1.1); }

/* Brand Colors */
.so-wa { background: #25D366; }
.so-fb { background: #1877F2; }
.so-tw { background: #000000; }
.so-tg { background: #0088cc; }
.so-cp { background: #555555; }

/* --- NEW COMMENT UI STYLES --- */
.comment-item { animation: fadeIn 0.5s; }
.reply-btn, .edit-btn, .delete-btn {
    font-size: 0.75rem; color: #666; cursor: pointer; margin-right: 10px; font-weight: 600;
}
.reply-btn:hover, .edit-btn:hover, .delete-btn:hover { color: #b30000; text-decoration: underline; }
.delete-btn { color: #d9534f; }

.reply-input-box {
    margin-top: 10px; margin-left: 50px; display: flex; gap: 10px;
}
.nested-replies-container {
    margin-left: 50px; border-left: 2px solid #eee; padding-left: 10px; margin-top: 10px;
}