/* Add this to your main.css file */

#toast-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 9999;
}

.points-toast {
    background-color: #ffffff;
    color: #333;
    border-left: 4px solid #ffc107;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 300px;
}

.points-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.points-display {
    position: relative;
    transition: all 0.3s ease;
}

/* Add a glow effect when points are updated */
.points-display.updating {
    animation: glow 1s ease-in-out;
}

@keyframes glow {
    0% { text-shadow: 0 0 0 rgba(255, 193, 7, 0); }
    50% { text-shadow: 0 0 10px rgba(255, 193, 7, 0.7); }
    100% { text-shadow: 0 0 0 rgba(255, 193, 7, 0); }
}

/* Make the points display more prominent in the navbar */
.points-display {
    background-color: #f8f9fa;
    border-radius: 20px;
    padding: 5px 10px;
    font-weight: bold;
    color: #333;
}

.points-value {
    margin-left: 5px;
}