/* LinkedIn Share Styles */

.linkedin-share-btn {
    background: #0077b5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.linkedin-share-btn:hover {
    background: #005582;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.linkedin-share-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.linkedin-share-btn.shared {
    background: #28a745;
}

.linkedin-share-btn.shared:hover {
    background: #218838;
}

/* Share Modal Styles */
.linkedin-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.linkedin-share-modal.show {
    opacity: 1;
}

.linkedin-share-modal .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.linkedin-share-modal .modal-content {
    position: relative;
    max-width: 600px;
    margin: 50px auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.linkedin-share-modal.show .modal-content {
    transform: translateY(0);
}

.linkedin-share-modal .modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
}

.linkedin-share-modal .modal-header h3 {
    margin: 0;
    color: #0077b5;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.linkedin-share-modal .modal-body {
    padding: 30px;
}

.linkedin-preview {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.linkedin-preview .preview-content {
    white-space: pre-line;
    line-height: 1.5;
    color: #333;
}

.linkedin-share-modal .modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.btn-linkedin {
    background: #0077b5;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-linkedin:hover {
    background: #005582;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-secondary:hover {
    background: #545b62;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: #28a745;
}

.notification-error {
    background: #dc3545;
}

/* Share Button Container */
.share-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.share-actions h4 {
    margin-bottom: 15px;
    color: #495057;
    font-size: 1.1rem;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .linkedin-share-modal .modal-content {
        margin: 20px;
        max-width: none;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .linkedin-share-btn {
        justify-content: center;
    }
}