.luna-notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px; /* Changed from left to right */
    z-index: 9999;
    width: 320px; /* Slightly wider */
}

.luna-notification-wrapper {
    background: rgba(255, 255, 255, 0.98); /* Slightly transparent */
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
                0 2px 8px rgba(0, 0, 0, 0.08); /* Multiple shadows for depth */
    overflow: hidden;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateX(100%); /* Start from right */
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Bouncy effect */
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer; /* Indicate it's clickable */
}

.luna-notification-wrapper:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2),
                0 3px 10px rgba(0, 0, 0, 0.1); /* Enhanced shadow on hover */
    transform: translateX(0) scale(1.02); /* Slight scale effect */
}

.luna-notification-wrapper.slide-in {
    opacity: 1;
    transform: translateX(0);
}

.luna-notification-wrapper.slide-out {
    opacity: 0;
    transform: translateX(100%);
}

.luna-notification-content {
    padding: 20px;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #4f46e5); /* Modern gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.notification-text {
    flex: 1;
    font-size: 14px;
    color: #1f2937;
    line-height: 1.5;
}

.notification-text strong {
    color: #111827;
    font-weight: 600;
}

.notification-time {
    font-size: 12px;
    color: #6b7280;
    display: block;
    margin-top: 4px;
}

.notification-cta {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.notification-cta a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.notification-cta a:hover {
    color: #4338ca;
    text-decoration: underline;
}

/* Responsive styles for mobile devices */
@media screen and (max-width: 767px) {
    .luna-notification-container {
        width: 260px;
        bottom: 10px;
        right: 10px;
    }
    
    .luna-notification-content {
        padding: 12px;
    }
    
    .notification-item {
        gap: 10px;
    }
    
    .notification-avatar {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .notification-text {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .notification-time {
        font-size: 10px;
        margin-top: 2px;
    }
    
    .notification-cta {
        margin-top: 6px;
        padding-top: 6px;
    }
}

/* Extra small devices */
@media screen and (max-width: 375px) {
    .luna-notification-container {
        width: 230px;
    }
    
    .notification-avatar {
        width: 32px;
        height: 32px;
    }
}

/* Telas extremamente pequenas (360px ou menos) */
@media screen and (max-width: 360px) {
    .luna-notification-container {
        width: 200px;
        bottom: 8px;
        right: 8px;
    }
    
    .luna-notification-content {
        padding: 8px;
    }
    
    .notification-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .notification-text {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .notification-time {
        font-size: 9px;
    }
    
    .notification-cta {
        margin-top: 4px;
        padding-top: 4px;
        font-size: 11px;
    }
    
    .notification-cta a {
        font-size: 11px;
    }
}