/* SpeakOX Social Sharing Styles */

/* Toast container */
.toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

/* Toast notification */
.toast {
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    max-width: 300px;
    text-align: center;
}

/* Toast colors */
.toast-success {
    background-color: var(--bs-success, #198754);
}

.toast-error {
    background-color: var(--bs-danger, #dc3545);
}

.toast-warning {
    background-color: var(--bs-warning, #ffc107);
    color: #212529;
}

.toast-info {
    background-color: var(--bs-info, #0dcaf0);
}

/* Toast animation */
.toast.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

/* Enhanced Sharing Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    gap: 8px;
    background-color: var(--bs-gray-800, #343a40);
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.share-button i {
    font-size: 18px;
}

/* Platform-specific colors */
.share-button-twitter {
    background-color: #1DA1F2;
}

.share-button-facebook {
    background-color: #4267B2;
}

.share-button-linkedin {
    background-color: #0077b5;
}

.share-button-whatsapp {
    background-color: #25D366;
}

.share-button-telegram {
    background-color: #0088cc;
}

.share-button-copy {
    background-color: var(--bs-gray-700, #495057);
}

/* Story Block Preview */
.story-block-preview {
    border: 1px solid var(--bs-gray-700, #495057);
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
    background-color: var(--bs-gray-900, #212529);
}

.story-block-header {
    padding: 15px;
    border-bottom: 1px solid var(--bs-gray-800, #343a40);
}

.story-block-content {
    padding: 15px;
}

.story-block-footer {
    padding: 15px;
    border-top: 1px solid var(--bs-gray-800, #343a40);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.story-block-title {
    margin: 0 0 10px 0;
    color: var(--bs-light, #f8f9fa);
    font-weight: 600;
}

.story-block-excerpt {
    color: var(--bs-gray-300, #dee2e6);
    margin-bottom: 10px;
}

.story-block-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--bs-gray-500, #adb5bd);
}

.story-block-actions {
    display: flex;
    gap: 10px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .share-buttons {
        justify-content: center;
    }
    
    .story-block-actions {
        flex-direction: column;
    }
    
    .story-block-meta {
        flex-direction: column;
        gap: 5px;
    }
}