/* Megosztás Dropdown Stílusok */

.share-button-container {
    position: relative;
    display: inline-block;
}

.share-dropdown {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.share-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-dropdown button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #32325d;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.share-dropdown button:first-child {
    border-radius: 8px 8px 0 0;
}

.share-dropdown button:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.share-dropdown button:hover {
    background: #f8f9fa;
    color: #3b9dd8;
    padding-left: 20px;
}

.share-dropdown button i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
}

/* Toast értesítés stílusok */
.share-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.share-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.share-toast.success {
    border-left: 4px solid #28a745;
}

.share-toast.error {
    border-left: 4px solid #dc3545;
}

.share-toast i {
    font-size: 1.2rem;
}

.share-toast.success i {
    color: #28a745;
}

.share-toast.error i {
    color: #dc3545;
}

.share-toast span {
    color: #32325d;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Mobil nézet */
@media (max-width: 768px) {
    .share-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        min-width: 200px;
    }
    
    .share-dropdown.active {
        bottom: 20px;
        right: 20px;
        left: 20px;
        max-width: calc(100% - 40px);
    }
    
    .share-dropdown button {
        padding: 12px 16px;
        font-size: 0.95rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .share-dropdown {
        min-width: 100%;
    }
    
    .share-dropdown button {
        padding: 14px 18px;
        font-size: 1rem;
        min-height: 48px;
    }
}
