/* Share Icon */
.share-message-icon {
    cursor: pointer;
    font-size: 0.8em;
    color: #bbb;
    transition: color 0.2s ease;
    padding: 2px;
}

.share-message-icon:hover {
    color: #2196F3; /* A different color to distinguish from other icons */
}

/* Modal Overlay */
.scp-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    justify-content: center;
    align-items: center;
}

/* Modal Content */
.scp-modal {
    background-color: #2d2d3a;
    color: #f0f0f0;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.scp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #444;
}

.scp-modal-header h3 {
    margin: 0;
    font-size: 1.2em;
}

.scp-modal-close {
    background: none;
    border: none;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.scp-modal-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.scp-modal-body li {
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #3a3a4a;
}

.scp-modal-body li:last-child {
    border-bottom: none;
}

.scp-modal-body li:hover {
    background-color: rgba(0, 123, 255, 0.2);
}

/* Styles for SCP Modal Destination List */
#scp-destination-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#scp-destination-list .scp-dest-item {
    display: flex;
    align-items: center;
    gap: 12px; /* space between icon and text */
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    /* The theme seems to have its own list item border */
    /* border-bottom: 1px solid #f0f0f0; */
}

#scp-destination-list .scp-dest-item:last-child {
    border-bottom: none;
}

#scp-destination-list .scp-dest-item:hover {
    background-color: #3a3a4a;
}

/* MODIFIED: Styles for the new icon container */
.scp-dest-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 20px;
    text-align: center;
}

/* REMOVED: SVG-specific styles are no longer needed */
/* .scp-dest-icon svg { ... } */

/* Icon Colors (These should still work perfectly) */
.scp-dest-item--telegram .scp-dest-icon { color: #2AABEE; }
.scp-dest-item--vk .scp-dest-icon { color: #0077FF; }
.scp-dest-item--wordpress .scp-dest-icon { color: #D54E21; } /* Changed to a more common WP orange */
.scp-dest-item--default .scp-dest-icon { color: #666; }


#scp-destination-list li[style*="pointer-events: none"] {
    background-color: #1e1e28;
    color: #888;
    cursor: wait;
}
