/* Share functionality */
.share-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.share-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

.share-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #aaa;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.share-close:hover {
    color: #333;
}

.share-modal h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #1e293b;
    font-size: 20px;
}

.share-link-container {
    margin-bottom: 25px;
}

.share-input-group {
    display: flex;
    margin-bottom: 10px;
}

.share-link-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
}

.btn-copy {
    padding: 10px 15px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-copy:hover {
    background-color: #2563eb;
}

.copy-confirmation {
    display: none;
    font-size: 14px;
    color: #059669;
    margin-top: 5px;
    font-weight: 500;
}

.share-social p {
    margin-bottom: 15px;
    color: #4b5563;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-button {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.social-button:hover {
    opacity: 0.9;
}

.social-button svg {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.twitter-share {
    background-color: #1da1f2;
}

.facebook-share {
    background-color: #1877f2;
}

.linkedin-share {
    background-color: #0a66c2;
}

.email-share {
    background-color: #6b7280;
}

.media-player-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-share, .btn-primary {
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-share {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.btn-share:hover {
    background-color: rgba(59, 130, 246, 0.2);
}

/* Responsive styles */
@media (max-width: 768px) {
    .share-modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .share-input-group {
        flex-direction: column;
    }
    
    .share-link-input,
    .btn-copy {
        width: 100%;
        border-radius: 6px;
    }
    
    .btn-copy {
        margin-top: 10px;
    }
}