/* Bookmark and Share functionality styles */

/* Share menu styles */
.share-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: block !important;
}

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

.share-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.share-item:last-child {
    border-bottom: none;
}

.share-item:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: #333;
}

.share-item i {
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.share-item.facebook i { color: #1877f2; }
.share-item.whatsapp i { color: #25d366; }
.share-item.telegram i { color: #0088cc; }
.share-item.instagram i { color: #e4405f; }
.share-item.threads i { color: #000000; }

/* Bookmark button styles */
.simplefavorite-button.bookmarked {
    background-color: #d39b10 !important;
    color: white !important;
}

.simplefavorite-button.bookmarked:hover {
    background-color: #d39b10 !important;
}

/* Position relative for share menu container */
.right {
    position: relative;
}

/* Make sure bagikan button is clickable */
.bagikan {
    cursor: pointer;
    user-select: none;
}

/* Debug styles */
.simplefavorite-button {
    cursor: pointer;
}

/* Notification styles */
.notification-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    z-index: 10000;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease-out;
}

.notification-toast.success {
    background: #4CAF50;
}

.notification-toast.error {
    background: #f44336;
}

.notification-toast.info {
    background: #2196F3;
}

@keyframes slideIn {
    from { 
        transform: translateX(100%); 
        opacity: 0; 
    }
    to { 
        transform: translateX(0); 
        opacity: 1; 
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .share-menu {
        min-width: 130px;
        right: -10px;
    }
    
    .share-item {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .notification-toast {
        right: 10px;
        left: 10px;
        font-size: 13px;
    }
}

/* Sidebar history links styling */
#lokerHistory-block ul li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 8px 0;
    transition: color 0.2s ease;
}

#lokerHistory-block ul li a:hover {
    color: #007cba;
    text-decoration: none;
}

#lokerHistory-block ul li a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

#lokerHistory-block ul li.riwayat a i {
    color: #3498db;
}

#lokerHistory-block ul li.simpan a i {
    color: #e74c3c;
} 