.alezux-notifications-widget {
    position: relative;
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    /* Adjust font as needed */
}

/* Bell Icon */
.alezux-bell-icon {
    font-size: 24px;
    cursor: pointer;
    position: relative;
    color: #fff;
    /* Default to white for dark mode */
    background-color: transparent;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.alezux-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    z-index: 11;
}

/* Dropdown Container */
.alezux-notifications-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 360px;
    background: transparent;
    /* Permite control desde Elementor */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    animation: alezuxFadeInUp 0.2s ease-out forwards;
}

@keyframes alezuxFadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alezux-notifications-widget.active .alezux-notifications-dropdown {
    display: block;
}

/* Header */
.alezux-dropdown-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: transparent;
}

.alezux-dropdown-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.alezux-mark-all-read {
    font-size: 12px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}

.alezux-mark-all-read:hover {
    color: #333;
    text-decoration: underline;
}

/* Tabs Removed */


/* List */
.alezux-notifications-list {
    max-height: 400px;
    overflow-y: auto;
    background: transparent;
}

/* Empty State */
.alezux-no-notifications {
    padding: 50px 20px;
    text-align: center;
    color: #a0a0a0;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.alezux-no-notifications-icon {
    font-size: 32px;
    opacity: 0.3;
    margin-bottom: 5px;
}

.alezux-notification-item {
    padding: 15px 20px;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s;
    position: relative;
    cursor: pointer;
}

.alezux-notification-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.alezux-notification-item.unread {
    background: rgba(108, 92, 231, 0.05);
    /* Usar un color semitransparente por defecto */
}

/* Unread Indicator Dot */
.alezux-notification-item.unread::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #6c5ce7;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #fff;
}

.notif-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #666;
    font-size: 18px;
}

.notif-content {
    flex: 1;
    padding-right: 15px;
    /* Space for the dot */
}

.notif-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
    line-height: 1.3;
}

.notif-message {
    font-size: 13px;
    color: #555;
    line-height: 1.4;
    margin-bottom: 6px;
}

/* Deprecated: .notif-text logic replaced */
.notif-text {
    display: none;
}

.notif-meta {
    font-size: 12px;
    color: #999;
}