/* Share Drawer Styles */
.share-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}

.share-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}

.share-drawer-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    max-height: 80vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.share-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.share-drawer-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.share-drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.share-drawer-close:hover {
    background: #f5f5f5;
}

/* Share Buttons Grid */
.share-buttons-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.share-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

.share-button:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.share-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.share-button span {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

/* Platform-specific colors */
.whatsapp-share .share-icon {
    background: #25D366;
    color: white;
}

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

.twitter-share .share-icon {
    background: #000000;
    color: white;
}

.facebook-share .share-icon {
    background: #1877F2;
    color: white;
}

.vk-share .share-icon {
    background: #0077FF;
    color: white;
}

.email-share .share-icon {
    background: #EA4335;
    color: white;
}

/* Divider */
.share-divider {
    height: 1px;
    background: #e9ecef;
    margin: 20px 0;
}

/* Copy Link Section */
.copy-link-section {
    margin-bottom: 20px;
}

.copy-link-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.share-url-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    background: #f8f9fa;
    color: #666;
}

.copy-link-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.copy-link-btn:hover {
    background: #0056b3;
}

.copy-link-btn.copied {
    background: #28a745;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 480px) {
    .share-buttons-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .share-drawer-content {
        padding: 16px;
    }
}